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 905
values | visit_date
timestamp[us]date 2015-08-09 11:21:18
2023-09-06 10:45:07
| revision_date
timestamp[us]date 1997-09-14 05:04:47
2023-09-17 19:19:19
| committer_date
timestamp[us]date 1997-09-14 05:04:47
2023-09-06 06:22:19
| github_id
int64 3.89k
681M
⌀ | star_events_count
int64 0
209k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 22
values | gha_event_created_at
timestamp[us]date 2012-06-07 00:51:45
2023-09-14 21:58:39
⌀ | gha_created_at
timestamp[us]date 2008-03-27 23:40:48
2023-08-21 23:17:38
⌀ | gha_language
stringclasses 141
values | src_encoding
stringclasses 34
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 2
classes | length_bytes
int64 3
10.4M
| extension
stringclasses 115
values | content
stringlengths 3
10.4M
| authors
sequencelengths 1
1
| author_id
stringlengths 0
158
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c05daa45af758a825eec8c296df91074bb1309c6 | c25754529ef5d5d2b2aa5d4bba97f5ef6a163551 | /lab3/xvec.h | f7da70fd53ed8884cef234f3cead8d9c73507d05 | [] | no_license | wangxf123456/UM_F15_EECS487_courseWork | 6fd46d0ed1faa7dc0afbba5b9d2a1500d5f01bc3 | eac00a564b0a0b554f064b5deeabd7d2cc541f7b | refs/heads/master | 2021-07-12T02:29:10.401565 | 2017-10-06T22:22:41 | 2017-10-06T22:22:41 | 106,053,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,977 | h | /*
* Copyright (c) 2007, 2011 University of Michigan, Ann Arbor.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, and other materials related to such
* distribution and use acknowledge that the software was developed
* by the University of Michigan, Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* Authors: Igor Guskov, Ari Grant, Sugih Jamin
*
*/
#ifndef __XVEC_H__
#define __XVEC_H__
#ifndef _NO_IOSTREAMS
#include <iostream>
#endif
#include <assert.h>
#include <math.h>
// Column type vector class.
template<int dim, class real_type>
class XVec {
public:
// Constructors.
XVec() {
}
explicit XVec(real_type f) {
for(int i=0; i<dim; ++i)
m_v[i] = f;
}
XVec(real_type f0, real_type f1) {
assert(dim>1);
m_v[0] = f0;
m_v[1] = f1;
}
XVec(real_type f0, real_type f1, real_type f2) {
assert(dim>2);
m_v[0] = f0;
m_v[1] = f1;
m_v[2] = f2;
}
XVec(real_type f0, real_type f1, real_type f2, real_type f3) {
assert(dim>3);
m_v[0] = f0;
m_v[1] = f1;
m_v[2] = f2;
m_v[3] = f3;
}
XVec(const XVec& c) {
for(int i=0; i<dim; ++i)
m_v[i] = c.m_v[i];
}
explicit XVec(const real_type* a) {
for(int i=0; i<dim; ++i)
m_v[i] = a[i];
}
template<class oreal_type>
explicit XVec(const XVec<dim, oreal_type>& c) {
for(int i=0; i<dim; ++i)
m_v[i] = static_cast<oreal_type>(c(i));
}
// Useful for OpenGL calls.
operator real_type*() {
return &m_v[0];
}
operator const real_type*() const {
return &m_v[0];
}
// Component-wise comparison.
bool operator==(const XVec& c) const {
for(int i=0; i<dim; ++i)
if(m_v[i]!=c.m_v[i])
return false;
return true;
}
bool operator!=(const XVec& c) const {
return !((*this)==c);
}
XVec& operator=(const XVec& c) {
for(int i=0; i<dim; ++i)
m_v[i] = c.m_v[i];
return *this;
}
// Algebraic operations.
XVec operator+(const XVec& c) const {
XVec pt(*this);
for(int i=0; i<dim; ++i)
pt[i] += c.m_v[i];
return pt;
}
XVec operator-(const XVec& c) const {
XVec pt(*this);
for(int i=0; i<dim; ++i)
pt[i] -= c.m_v[i];
return pt;
}
XVec operator*(real_type s) const {
XVec pt(*this);
for(int i=0; i<dim; ++i)
pt[i] *= s;
return pt;
}
friend XVec operator*(real_type s, const XVec& c) {
XVec pt(c);
for(int i=0; i<dim; ++i)
pt[i] *= s;
return pt;
}
XVec operator/(real_type s) const {
XVec pt(*this);
for(int i=0; i<dim; ++i)
pt[i] /= s;
return pt;
}
XVec& operator+=(const XVec& c) {
for(int i=0; i<dim; ++i)
m_v[i] += c.m_v[i];
return *this;
}
XVec& operator-=(const XVec& c) {
for(int i=0; i<dim; ++i)
m_v[i] -= c.m_v[i];
return *this;
}
XVec& operator*=(real_type s) {
for(int i=0; i<dim; ++i)
m_v[i] *= s;
return *this;
}
XVec& operator/=(real_type s) {
for(int i=0; i<dim; ++i)
m_v[i] /= s;
return *this;
}
XVec operator-() const {
XVec pt(*this);
for(int i=0; i<dim; ++i)
pt[i] = -pt[i];
return pt;
}
// Element-wise multiplication.
XVec operator*(const XVec& c) const {
XVec pt(*this);
for(int i=0; i<dim; ++i)
pt[i] *= c.m_v[i];
return pt;
}
// Element-wise division.
XVec operator/(const XVec& c) const {
XVec pt(*this);
for(int i=0; i<dim; ++i)
pt[i] /= c.m_v[i];
return pt;
}
// Access the components.
real_type& operator() (const int i) {
return m_v[i];
}
real_type operator() (const int i) const {
return m_v[i];
}
real_type& operator[] (const int i) {
return m_v[i];
}
real_type operator[] (const int i) const {
return m_v[i];
}
const real_type& ref() const {
return m_v[0];
}
real_type& x() {
return m_v[0];
}
real_type& y() {
assert(dim>1);
return m_v[1];
}
real_type& z() {
assert(dim>2);
return m_v[2];
}
real_type& w() {
assert(dim>3);
return m_v[3];
}
real_type& red() {
return x();
}
real_type& green() {
return y();
}
real_type& blue() {
return z();
}
real_type& alpha() {
return w();
}
// Updates bounding box corners to include itself.
void bbox(XVec& cmin, XVec& cmax) const {
for(int i=0; i<dim; ++i) {
if(m_v[i] < cmin.m_v[i])
cmin.m_v[i] = m_v[i];
if(m_v[i] > cmax.m_v[i])
cmax.m_v[i] = m_v[i];
}
}
// Dot product.
real_type dot(const XVec& c) const {
real_type d = 0;
for(int i=0; i<dim; ++i)
d += m_v[i] * c.m_v[i];
return d;
}
// Dot product with itself -- vector norm squared.
real_type dot() const {
real_type d = 0;
for(int i=0; i<dim; ++i)
d += m_v[i] * m_v[i];
return d;
}
XVec cross(const XVec& c) const {
// Cross-product is only defined for 3D vectors
// and it is specialized below.
assert(false);
}
// norm of a vector.
real_type norm(void) const {
return sqrtf(dot());
}
// Euclidean distance between two points.
real_type dist(const XVec& c) const {
return (*this - c).norm();
}
void normalize(void) {
real_type mag = norm();
if(fabs(mag) >= 1e-25)
*this *= 1 / mag;
}
XVec dehomogenize() {
assert(dim == 4);
if ((*this).w() == 0.0 || (*this).w() == 1.0) {
return(XVec3f((*this).x(), (*this).y(), (*this).z()));
} else {
return(XVec3f((*this).x()/(*this).w(), (*this).y()/(*this).w(), (*this).z()/(*this).w()));
}
}
// Projection of this onto u
XVec project(const XVec& c) {
return c*dot(c)/c.dot();
}
protected:
real_type m_v[dim];
};
// This can be done shorter with partial template specialization but some
// compilers do not support it as of now.
template<>
inline XVec<3, float> XVec<3, float>::cross(const XVec<3, float>& c) const {
return XVec<3, float>(m_v[1] * c.m_v[2] - m_v[2] * c.m_v[1],
m_v[2] * c.m_v[0] - m_v[0] * c.m_v[2],
m_v[0] * c.m_v[1] - m_v[1] * c.m_v[0]);
}
template<>
inline XVec<4, float> XVec<4, float>::cross(const XVec<4, float>& c) const {
return XVec<4, float>(m_v[1] * c.m_v[2] - m_v[2] * c.m_v[1],
m_v[2] * c.m_v[0] - m_v[0] * c.m_v[2],
m_v[0] * c.m_v[1] - m_v[1] * c.m_v[0], 0.0);
}
#ifndef _NO_IOSTREAMS
template<int dim, class real_type>
std::ostream& operator<<(std::ostream& os, const XVec<dim, real_type>& c)
{
for(int i=0; i<dim; ++i)
os << c(i) << " ";
return os;
}
template<int dim, class real_type>
std::istream&
operator>>(std::istream& is, XVec<dim, real_type>& f)
{
return is >> f.x() >> f.y() >> f.z();
}
#endif
typedef XVec<2, float> XVec2d;
typedef XVec<2, float> XVec2f;
typedef XVec<2, int> XVec2i;
typedef XVec<3, float> XVec3d;
typedef XVec<3, float> XVec3f;
typedef XVec<3, int> XVec3i;
typedef XVec<4, float> XVec4d;
typedef XVec<4, float> XVec4f;
typedef XVec<4, int> XVec4i;
#endif // __XVEC_H__
| [
"[email protected]"
] | |
6ff3859bb8b240a9e88c22a3fef6a28e3ad53838 | 55db0e99e6a54618dee469d1907b3f781b741ba1 | /header/types/feature.h | 8da4989795e76ac9abe9e52980ed33bde809d4af | [] | no_license | hubin858130/dog-face-recognition | 2ca46f525337e4258293a68d089e21862cc36c23 | 06999265abdbcb519d99e6660d54bc86dd23b079 | refs/heads/master | 2023-08-15T21:20:39.991166 | 2021-10-06T04:44:40 | 2021-10-06T04:44:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | h | // Copyright 2021 The DaisyKit Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef DAISYKIT_COMMON_TYPES_FEATURE_H_
#define DAISYKIT_COMMON_TYPES_FEATURE_H_
#include <opencv2/opencv.hpp>
namespace facedogrecognition {
namespace types {
struct Feature {
cv::Mat feature_norm;
float feature[512];
};
} // namespace types
} // namespace facedogrecognition
#endif | [
"[email protected]"
] | |
dac613efb3a2eed1fe784c4a8ec32f9938440844 | e0fb1fdf1a349089b14e8aef0dcc346a7358620a | /Src/WWhizInterface/WorkspaceInfo.cpp | 19dc7b08b33da78775025c02bf4bb0e2ace42b0c | [] | no_license | sgraham/workspacewhiz | 64b97f07648e03ee8fd3ef6d36be6a7d863d110f | 8e30b06100f80543aa6253121f17c50ef2c97579 | refs/heads/master | 2020-12-25T09:00:14.704390 | 2010-09-07T06:30:37 | 2010-09-07T06:30:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,254 | cpp | ///////////////////////////////////////////////////////////////////////////////
// $Workfile: WorkspaceInfo.cpp $
// $Archive: /WorkspaceWhiz/Src/WWhizInterface/WorkspaceInfo.cpp $
// $Date: 2003/01/07 $ $Revision: #11 $ $Author: Joshua $
///////////////////////////////////////////////////////////////////////////////
// This source file is part of the Workspace Whiz source distribution and
// is Copyright 1997-2003 by Joshua C. Jensen. (http://workspacewhiz.com/)
//
// The code presented in this file may be freely used and modified for all
// non-commercial and commercial purposes so long as due credit is given and
// this header is left intact.
///////////////////////////////////////////////////////////////////////////////
#include "pchWWhizInterface.h"
#include "WorkspaceInfo.h"
#include "WorkspaceTags.h"
#include "CompilerFiles.h"
#include "XmlData.h"
#include "MemFile.h"
#include "FileGlobList.h"
#ifdef _DEBUG
#define WNEW DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
CTime g_lastFileRefresh;
CString WorkspaceInfo::s_windowListFileName;
CString WorkspaceInfo::s_workspacePath;
CString WorkspaceInfo::s_workspaceFullPath;
CString WorkspaceInfo::s_extraFilename;
ProjectList WorkspaceInfo::s_projects;
FileList WorkspaceInfo::s_fileList;
FileList WorkspaceInfo::s_activeFileList;
int g_numRefs;
extern WMap<CString, int> g_filesChangedFileMap;
///////////////////////////////////////////////////////////////////////////////
void WorkspaceInfo::ResolveFilename(const CString& rootDir, CString& filename)
{
// Initially resolve all environment variables.
int position = -1;
while (1)
{
// Search for $ symbols, denoting an environment variable.
position = filename.Find('$', position + 1);
if (position == -1)
break;
// Okay, there is an environment variable in there... resolve it.
if (filename[position + 1] == '(')
{
int lastpos = filename.Find(')');
CString env = filename.Mid(position + 2, lastpos - (position + 2));
// See if we can resolve it. If not, then exit.
char buffer[_MAX_PATH];
if (::GetEnvironmentVariable(env, buffer, _MAX_PATH) == 0)
continue;
// Okay, rebuild the string.
filename = filename.Left(position) + buffer +
filename.Right(filename.GetLength() - lastpos - 1);
}
}
CString noEnvFileName = filename;
// Now resolve relative paths.
if (filename[0] == '.' ||
((filename[0] != '\\' && filename[0] != '/') && filename[1] != ':')
)
{
int nRootLastCharPos = rootDir.GetLength()-1;
CString strSep;
if( filename[0] == '.' &&
!rootDir.IsEmpty() &&
nRootLastCharPos >= 0 &&
rootDir[nRootLastCharPos] != '\\' &&
rootDir[nRootLastCharPos] != '/' )
{
strSep = '\\';
}
filename = rootDir + strSep + filename;
}
CFileStatus fileStatus;
CFile::GetStatus(filename, fileStatus);
filename = fileStatus.m_szFullName;
if (filename.IsEmpty())
filename = noEnvFileName;
}
void WorkspaceInfo::SetWorkspaceLocation(void)
{
// Retrieve the workspace name.
s_workspaceFullPath = g_wwhizInterface->GetWorkspaceName();
// Is it empty?
if (s_workspaceFullPath.IsEmpty() || s_workspaceFullPath == "!!WWhizSolution!!.sln")
{
// If so, then there is no workspace open.
// Call the OS for the current directory.
::GetCurrentDirectory(_MAX_PATH, s_workspaceFullPath.GetBuffer(_MAX_PATH));
s_workspaceFullPath.ReleaseBuffer();
// Make sure it ends in a closing backslash.
s_workspaceFullPath.TrimRight('\\');
s_workspaceFullPath += "\\!!!WWhizSolution!!!.sln";
}
int slashPos = s_workspaceFullPath.ReverseFind('\\');
if (slashPos != -1)
{
s_workspacePath = s_workspaceFullPath.Left(slashPos + 1);
}
// Assign the extra filename.
CString pathNoExt = s_workspaceFullPath;
int dotPos = pathNoExt.ReverseFind('.');
if (dotPos != -1)
pathNoExt = pathNoExt.Left(dotPos);
s_extraFilename = pathNoExt + ".ExtraFiles.WW";
}
bool WorkspaceInfo::GetCurrentFilename(CString& filename)
{
// Is there an application?
if (!ObjModelHelper::VStudioExists())
{
filename.Empty();
return false;
}
ObjModelHelper objModel;
if (objModel.GetActiveDocument())
{
filename = objModel.GetFilename();
return !filename.IsEmpty();
}
filename.Empty();
return false;
}
Project* WorkspaceInfo::GetCurrentProject()
{
ObjModelHelper objModelHelper;
CString projectName = objModelHelper.GetCurrentProjectName();
ProjectList& projectList = WorkspaceInfo::GetProjectList();
POSITION pos = projectList.GetHeadPosition();
while (pos)
{
Project* project = projectList.GetNext(pos);
if (project->GetName().CompareNoCase(projectName) == 0)
{
return project;
}
}
return NULL;
}
bool g_filesRefreshed;
// Clean the projects and filenames lists.
void WorkspaceInfo::RemoveAll(void)
{
// Clean the projects list.
s_projects.RemoveAll();
// Clean the filenames list.
s_fileList.RemoveAll();
WorkspaceInfo::GetGlobalFileMap().RemoveAll();
g_filesRefreshed = true;
}
static void WriteString(CFile& file, UINT numSpaces, LPCTSTR msg, ...)
{
va_list args;
char textBuffer[1024];
va_start(args, msg);
_vsnprintf(textBuffer, 1023, msg, args);
va_end(args);
// Write out indentation.
char spaces[500];
memset(spaces, ' ', numSpaces);
file.Write(spaces, numSpaces);
file.Write(textBuffer, strlen(textBuffer));
}
void WorkspaceInfo::ReadDSPFile(Project& prj)
{
// Open the .dsp file.
CStdioFile file;
if (!file.Open(prj.GetName(), CFile::modeRead))
{
// Huh?
return;
}
enum ParseState
{
FINDTARGET,
PARSETARGET,
};
ParseState state = FINDTARGET;
MemFile xmlMemFile;
WriteString(xmlMemFile, 0, "<VisualStudioProject\n ProjectType=\"Visual C++\"\n"
" Version=\"6.00\"\n Name = \"Test\">\n");
// Begin reading the file.
bool localListRefreshed = false;
CString line;
UINT numSpaces = 4;
int inGroup = 0; // Hack to fix a CMake generation bug.
while (true)
{
// Read in a line from the file.
if (!file.ReadString(line))
break;
if (line.IsEmpty())
continue;
// Check the state.
if (state == FINDTARGET)
{
if (line.CompareNoCase("# Begin Target") == 0)
{
WriteString(xmlMemFile, 2, "<Files>\n");
state = PARSETARGET;
}
}
else if (state == PARSETARGET)
{
enum Types
{
NONE,
BEGIN_GROUP,
END_GROUP,
END_TARGET,
SOURCE,
};
Types type = NONE;
// Check for # Begin Group lines.
if (line.GetLength() > 13 && _tcsncmp(line, "# Begin Group", 13) == 0)
{
type = BEGIN_GROUP;
line = line.Mid(14);
inGroup++;
}
// Check for # End Group lines
else if (line.GetLength() >= 11 && _tcsncmp(line, "# End Group", 11) == 0 && inGroup > 0)
{
type = END_GROUP;
line = line.Mid(11);
inGroup--;
}
// Check for SOURCE= lines. (Do _tcsncmp() for speed)
else if (line.GetLength() > 7 && _tcsncmp(line, "SOURCE=", 7) == 0)
{
type = SOURCE;
line = line.Mid(7);
}
// Check for # End Group lines
else if (line.GetLength() >= 12 && _tcsncmp(line, "# End Target", 12) == 0)
{
type = END_TARGET;
line = line.Mid(12);
}
if (type == NONE)
continue;
if (type == END_GROUP)
{
numSpaces -= 2;
WriteString(xmlMemFile, numSpaces, "</Filter>\n");
continue;
}
else if (type == END_TARGET)
{
WriteString(xmlMemFile, 2, "</Files>\n");
state = FINDTARGET;
continue;
}
///////////////////////////////////////////////////////////////////////
// Start the pointer just after the SOURCE=, but strip the beginning
// and end quotes if they exist.
int startPos = 0;
if (line[0] == '"')
startPos = 1;
int endPos = line.GetLength();
if (line[endPos - 1] == '"')
endPos--;
// Strip spaces, just in case.
while (startPos < endPos && line[startPos] == ' ')
startPos++;
// Create and resolve the filename.
CString text = line.Mid(startPos, endPos - startPos);
if (type == BEGIN_GROUP)
{
WriteString(xmlMemFile, numSpaces, "<Filter Name=\"%s\">\n", text);
numSpaces += 2;
}
if (type == SOURCE)
{
WriteString(xmlMemFile, numSpaces, "<File RelativePath=\"%s\">\n", text);
WriteString(xmlMemFile, numSpaces, "</File>\n", text);
}
}
} //while(1)
WriteString(xmlMemFile, 0, "</VisualStudioProject>\n");
#ifdef DUMP_FILE
FILE* textFile = fopen("c:\\test.dsp", "wt");
DWORD size = xmlMemFile.GetLength();
char* buffer = WNEW char[size + 1];
xmlMemFile.SeekToBegin();
xmlMemFile.Read(buffer, size);
buffer[size] = 0;
fputs(buffer, textFile);
fclose(textFile);
delete [] buffer;
#endif DUMP_FILE
// Close the .dsp file.
file.Close();
xmlMemFile.SeekToBegin();
ReadVCProjFile(prj, &xmlMemFile);
}
void WorkspaceInfo::RecurseVCProjNode(
XmlNode* parentNode, const CString& rootPath, FileList& fileList,
bool& localListRefreshed, WList<CString>& projectsToAdd)
{
if (!parentNode)
return;
XmlNode* node = (XmlNode*)parentNode->GetFirstChildNode();
while (node)
{
// Is it a File node?
if (node->GetName() == "File")
{
// Create and resolve the filename.
XmlNode::Attribute* attr = node->FindAttribute("RelativePath");
if (attr)
{
CString filename = attr->GetValue();
WorkspaceInfo::ResolveFilename(rootPath, filename);
WList<CString> filenameList;
// Does it have a wildcard in it?
if (filename.Find('*') != -1 || filename.Find('?') != -1)
{
// Yes. Run the globber.
FileGlobList glob;
glob.MatchPattern(filename);
for (FileGlobList::iterator it = glob.begin(); it != glob.end(); ++it)
{
filenameList.AddTail((*it).c_str());
}
}
else
{
filenameList.AddTail(filename);
}
POSITION pos = filenameList.GetHeadPosition();
while (pos)
{
CString filename = filenameList.GetNext(pos);
WorkspaceInfo::ResolveFilename(rootPath, filename);
if (!filename.IsEmpty())
{
File* file = File::Create(filename);
// Insert it into the current project.
if (fileList.Add(file))
{
g_filesRefreshed = true;
localListRefreshed = true;
}
file->m_touched = true;
// Test the file to see if it is a project or workspace.
int dotPos = filename.ReverseFind('.');
if (dotPos != -1)
{
CString ext = filename.Mid(dotPos + 1);
ext.MakeLower();
if (ext == "vcxproj" || ext == "dsp" || ext == "dsw" || ext == "vcp" || ext == "vcw" ||
ext == "vcproj" || ext == "csproj" || ext == "vbproj" || ext == "stproj" ||
ext == "sln" || ext == "ucproj")
projectsToAdd.AddTail(filename);
}
}
}
}
}
else if (node->GetName() == "Filter")
{
XmlNode::Attribute* attr = node->FindAttribute("Filter");
RecurseVCProjNode(node, rootPath, fileList, localListRefreshed, projectsToAdd);
}
node = (XmlNode*)node->GetNextSiblingNode();
}
}
void WorkspaceInfo::ReadVCProjFile(Project& prj, CFile* inFile)
{
if (!inFile)
{
// Parse the .vcproj file.
if (!prj.GetXmlData().ParseXmlFile(prj.GetName()))
return;
}
else
{
// Parse the .vcproj file.
if (!prj.GetXmlData().ParseXmlFile(*inFile))
return;
}
FileList& fileList = (FileList&)prj.GetFileList();
// Build the root path to resolve filenames from.
CString rootPath = prj.GetName().Left(prj.GetName().ReverseFind('\\') + 1);
// Build the projectsToAdd list.
WList<CString> projectsToAdd;
bool prjIsExtraFiles = false;
if (prj.GetName().CompareNoCase(GetExtraFilename() + ".dsp") != 0)
projectsToAdd.AddTail(const_cast<CString&>(prj.GetName()));
else
prjIsExtraFiles = true;
// Make sure no files have been touched yet.
int fileListCount = fileList.GetCount();
int i;
for (i = 0; i < fileListCount; i++)
{
File* file = (File*)fileList.Get(i);
file->m_touched = false;
}
bool localListRefreshed = false;
XmlNode* filesNode = prj.GetXmlData().Find("Files");
RecurseVCProjNode(filesNode, rootPath, fileList, localListRefreshed, projectsToAdd);
// Remove unused files.
fileListCount = fileList.GetCount();
for (i = 0; i < fileListCount; i++)
{
File* file = (File*)fileList.Get(i);
if (!file->m_touched)
{
// The file doesn't exist in the project anymore.
fileList.Remove(i);
i--;
fileListCount--;
g_filesRefreshed = true;
localListRefreshed = true;
}
}
if (localListRefreshed)
{
// Sort it.
fileList.Sort();
}
// Add the .dsp and .dsw files.
POSITION pos = projectsToAdd.GetHeadPosition();
if (!prjIsExtraFiles)
projectsToAdd.GetNext(pos);
while (pos)
{
const CString& projectFilename = projectsToAdd.GetNext(pos);
AddProject(projectFilename, prj.IsActive());
}
}
void WorkspaceInfo::RecurseCSProjNode(
XmlNode* parentNode, const CString& rootPath, FileList& fileList,
bool& localListRefreshed, WList<CString>& projectsToAdd)
{
if (!parentNode)
return;
XmlNode* node = (XmlNode*)parentNode->GetFirstChildNode();
while (node)
{
if (node->GetName() == "ItemGroup")
{
XmlNode* childNode = (XmlNode*)node->GetFirstChildNode();
while (childNode)
{
if (childNode->GetName() == "ClCompile" || childNode->GetName() == "ClInclude" ||
childNode->GetName() == "Compile" || childNode->GetName() == "Content" ||
childNode->GetName() == "EmbeddedResource" || childNode->GetName() == "None" ||
childNode->GetName() == "Ruby" || childNode->GetName() == "EmbeddedRuby")
{
XmlNode::Attribute* attr = childNode->FindAttribute("Include");
if (attr)
{
CString filename = attr->GetValue();
WorkspaceInfo::ResolveFilename(rootPath, filename);
if (!filename.IsEmpty())
{
FileGlobList glob;
// Does it have a wildcard in it?
if (filename.Find('*') != -1 || filename.Find('?') != -1)
{
// Yes. Run the globber.
glob.MatchPattern(filename);
}
else
{
glob.push_back(std::string(filename));
}
for (FileGlobList::iterator it = glob.begin(); it != glob.end(); ++it)
{
filename = (*it).c_str();
filename.Replace('/', '\\');
File* file = File::Create(filename);
// Insert it into the current project.
if (fileList.Add(file))
{
g_filesRefreshed = true;
localListRefreshed = true;
}
file->m_touched = true;
// Test the file to see if it is a project or workspace.
int dotPos = filename.ReverseFind('.');
if (dotPos != -1)
{
CString ext = filename.Mid(dotPos + 1);
ext.MakeLower();
if (ext == "vcxproj" || ext == "dsp" || ext == "dsw" || ext == "vcp" ||
ext == "vcw" || ext == "vcproj" || ext == "csproj" ||
ext == "vbproj" || ext == "stproj" || ext == "sln" ||
ext == "ucproj")
projectsToAdd.AddTail(filename);
}
}
}
}
}
childNode = (XmlNode*)childNode->GetNextSiblingNode();
}
}
// Is it a File node?
else if (node->GetName() == "File")
{
// Create and resolve the filename.
XmlNode::Attribute* attr = node->FindAttribute("RelPath");
if (attr)
{
CString filename = attr->GetValue();
WorkspaceInfo::ResolveFilename(rootPath, filename);
if (!filename.IsEmpty())
{
File* file = File::Create(filename);
// Insert it into the current project.
if (fileList.Add(file))
{
g_filesRefreshed = true;
localListRefreshed = true;
}
file->m_touched = true;
// Test the file to see if it is a project or workspace.
int dotPos = filename.ReverseFind('.');
if (dotPos != -1)
{
CString ext = filename.Mid(dotPos + 1);
ext.MakeLower();
if (ext == "vcxproj" || ext == "dsp" || ext == "dsw" || ext == "vcp" ||
ext == "vcw" || ext == "vcproj" || ext == "csproj" ||
ext == "vbproj" || ext == "stproj" || ext == "sln" ||
ext == "ucproj")
projectsToAdd.AddTail(filename);
}
}
}
}
else
{
RecurseCSProjNode(node, rootPath, fileList, localListRefreshed, projectsToAdd);
}
node = (XmlNode*)node->GetNextSiblingNode();
}
}
void WorkspaceInfo::ReadCSProjFile(Project& prj, CFile* inFile)
{
if (!inFile)
{
// Parse the .vcproj file.
if (!prj.GetXmlData().ParseXmlFile(prj.GetName()))
return;
}
else
{
// Parse the .vcproj file.
if (!prj.GetXmlData().ParseXmlFile(*inFile))
return;
}
FileList& fileList = (FileList&)prj.GetFileList();
// Build the root path to resolve filenames from.
CString rootPath = prj.GetName().Left(prj.GetName().ReverseFind('\\') + 1);
// Build the projectsToAdd list.
WList<CString> projectsToAdd;
bool prjIsExtraFiles = false;
if (prj.GetName().CompareNoCase(GetExtraFilename() + ".dsp") != 0)
projectsToAdd.AddTail(const_cast<CString&>(prj.GetName()));
else
prjIsExtraFiles = true;
// Make sure no files have been touched yet.
int fileListCount = fileList.GetCount();
int i;
for (i = 0; i < fileListCount; i++)
{
File* file = (File*)fileList.Get(i);
file->m_touched = false;
}
bool localListRefreshed = false;
// Determine the version of the project file.
bool vs2005 = false;
XmlNode* rootNode = prj.GetXmlData().GetRootNode()->Find("Project");
if (rootNode)
{
XmlNode::Attribute* attr = rootNode->FindAttribute("xmlns");
if (attr)
{
CString xmlns = attr->GetValue();
if (xmlns == "http://schemas.microsoft.com/developer/msbuild/2003")
{
vs2005 = true;
}
}
}
if (vs2005)
{
RecurseCSProjNode(prj.GetXmlData().GetRootNode(), rootPath, fileList, localListRefreshed, projectsToAdd);
}
else
{
XmlNode* filesNode = prj.GetXmlData().Find("Files");
RecurseCSProjNode(filesNode, rootPath, fileList, localListRefreshed, projectsToAdd);
}
// Remove unused files.
fileListCount = fileList.GetCount();
for (i = 0; i < fileListCount; i++)
{
File* file = (File*)fileList.Get(i);
if (!file->m_touched)
{
// The file doesn't exist in the project anymore.
fileList.Remove(i);
i--;
fileListCount--;
g_filesRefreshed = true;
localListRefreshed = true;
}
}
if (localListRefreshed)
{
// Sort it.
fileList.Sort();
}
// Add the .dsp and .dsw files.
POSITION pos = projectsToAdd.GetHeadPosition();
if (!prjIsExtraFiles)
projectsToAdd.GetNext(pos);
while (pos)
{
const CString& projectFilename = projectsToAdd.GetNext(pos);
AddProject(projectFilename, prj.IsActive());
}
}
// Read in a .dsw file.
void WorkspaceInfo::ReadDSWFile(Project& prj)
{
// Open the .dsw file.
CStdioFile file;
if (!file.Open(prj.GetName(), CFile::modeRead))
{
// Huh?
return;
}
// Build the root path to resolve filenames from.
CString rootPath = prj.GetName().Left(prj.GetName().ReverseFind('\\') + 1);
// Begin reading the file.
CString line;
while (1)
{
// Read in a line from the file.
if (!file.ReadString(line))
break;
// Look for something that looks like this.
// Project: "!MyLib"=".\Prj\!MyLib.dsp" - Package Owner=<4>
// Project: "Gfx"=.\Prj\Gfx.dsp - Package Owner=<4>
if (line.GetLength() <= 8 || strncmp(line, "Project:", 8) != 0)
continue;
// Search for the =.
int endPos; // Will be one past the last letter.
int startPos = line.Find('=');
if (startPos == -1)
continue;
startPos++; // Move to the beginning of the name.
// See if the name is quoted.
if (line[startPos] == '"')
{
// Move past the quote.
startPos++;
// Find the closing quote.
endPos = line.Find('"', startPos);
if (endPos == -1)
continue;
}
else //if (line[namePos] == '"')
{
// Find a space, since that should denote the end of the filename.
endPos = line.Find(' ', startPos);
}
// Got the name isolated. Add it.
CString projectPath = line.Mid(startPos, endPos - startPos);
ResolveFilename(rootPath, projectPath);
Project* newlyAddedProject = AddHelper(projectPath, "", prj.IsActive());
if (newlyAddedProject)
{
newlyAddedProject->m_parent = &prj;
File* dspFile = File::Create(projectPath);
prj.m_fileList.Add(dspFile);
}
} //while(1)
// Close the .dsp file.
file.Close();
// Add the .dsw file.
File* dswFile = File::Create(prj.m_name);
prj.m_fileList.Add(dswFile);
prj.m_fileList.Sort();
}
// Read in a .dsw file.
void WorkspaceInfo::ReadSlnFile(Project& prj)
{
// Open the .sln file.
CStdioFile file;
if (!file.Open(prj.GetName(), CFile::modeRead))
{
// Huh?
return;
}
// Build the root path to resolve filenames from.
CString rootPath = prj.GetName().Left(prj.GetName().ReverseFind('\\') + 1);
// Begin reading the file.
CString line;
while (1)
{
// Read in a line from the file.
if (!file.ReadString(line))
break;
// Look for something that looks like this.
// Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WWhizNet", "WWhizNet.vcproj", "{4C0121D7-16F7-41E1-AEF1-C044693AFF30}"
if (line.GetLength() <= 8 || strncmp(line, "Project(", 8) != 0)
continue;
// Search for the first ,.
int endPos; // Will be one past the last letter.
int startPos = line.Find(',');
if (startPos == -1)
continue;
// Find the first quote.
startPos++; // Move to the beginning of the name.
while (line[startPos] != '"')
startPos++;
// See if the name is quoted.
if (line[startPos] == '"')
{
// Move past the quote.
startPos++;
// Find the closing quote.
endPos = line.Find('"', startPos);
if (endPos == -1)
continue;
}
// Got the name isolated. Add it.
CString projectPath = line.Mid(startPos, endPos - startPos);
ResolveFilename(rootPath, projectPath);
Project* newlyAddedProject = AddHelper(projectPath, "", prj.IsActive());
if (newlyAddedProject)
{
newlyAddedProject->m_parent = &prj;
File* vcprojFile = File::Create(projectPath);
prj.m_fileList.Add(vcprojFile);
}
} //while(1)
// Close the .sln file.
file.Close();
// Add the .sln file.
File* slnFile = File::Create(prj.m_name);
prj.m_fileList.Add(slnFile);
prj.m_fileList.Sort();
}
// Add a new project or workspace to the list of projects.
Project* WorkspaceInfo::AddProject(CString projectName, bool active, bool noRefresh)
{
if (projectName.IsEmpty())
return NULL;
return AddHelper(projectName, "", active, noRefresh);
}
POSITION FindProject(const CString& projectName)
{
// Is it already in the list?
ProjectList& projectList = WorkspaceInfo::GetProjectList();
POSITION pos = projectList.GetHeadPosition();
while (pos)
{
POSITION lastPos = pos;
Project* compProject = projectList.GetNext(pos);
if (projectName.CompareNoCase(compProject->GetName()) == 0)
return lastPos;
}
return pos;
}
// Internal helper function.
Project* WorkspaceInfo::AddHelper(CString projectName, CString ext, bool active, bool noRefresh)
{
// Resolve the filename.
ResolveFilename(GetWorkspaceLocation(), projectName);
// Make sure there is an extension.
int dotPosition = projectName.ReverseFind('.');
if (dotPosition == -1 && ext.IsEmpty())
{
// What?!
return NULL;
}
// Is it already in the list?
Project* project = NULL;
POSITION projectPos = FindProject(projectName);
if (projectPos)
{
project = s_projects.GetAt(projectPos);
}
// Make sure the file exists.
CFileStatus fileStatus;
if (!CFile::GetStatus(projectName, fileStatus))
{
if (projectPos)
{
// The project no longer exists. Destroy it.
delete project;
s_projects.RemoveAt(projectPos);
return NULL;
}
}
// If there isn't a project, create a new project structure.
if (!project)
{
project = WNEW Project;
project->m_name = projectName;
project->m_newProject = true;
project->SetActive(active);
// Add it to the end of the projects list.
projectPos = s_projects.AddTail(project);
// Automatic refresh for a new project.
noRefresh = false;
}
// Assign the project's refresh flag.
project->m_noRefresh = noRefresh;
// Workspace projects are assigned later.
project->m_workspaceProject = false;
// Determine which type of file this is:
if (ext.IsEmpty())
{
ext = project->m_name.Mid(dotPosition + 1);
ext.MakeLower();
}
// Check the project time stamp.
if (noRefresh)
{
// Check any projects in the list.
for (int i = 0; i < project->m_fileList.GetCount(); i++)
{
File* file = (File*)project->m_fileList.Get(i);
file->m_touched = true;
const CString& fullExt = file->GetExt();
int dotPos = fullExt.ReverseFind('.');
CString ext = dotPos == -1 ? fullExt : fullExt.Mid(dotPos + 1);
if (ext == "dsp" || ext == "dsw" || ext == "vcp" ||
ext == "vcw" || ext == "vcproj" || ext == "csproj" ||
ext == "vbproj" || ext == "stproj" || ext == "sln" ||
ext == "ucproj")
{
if (projectName.CompareNoCase(file->GetFullName()) != 0)
AddProject(file->GetCaseFullName(), project->IsActive(), noRefresh);
}
}
}
else
{
if (project->GetTimeStamp() != fileStatus.m_mtime)
{
// Set the project time stamp.
project->m_timeStamp = fileStatus.m_mtime;
if (ext == "dsw" || ext == "vcw")
{
// This is a workspace file.
ReadDSWFile(*project);
}
else if (ext == "dsp" || ext == "vcp")
{
TRY
{
// Assume it is a project file.
ReadDSPFile(*project);
}
CATCH_ALL(e)
{
e->Delete();
}
END_CATCH_ALL
}
else if (ext == "vcproj")
{
ReadVCProjFile(*project);
}
else if (ext == "csproj" || ext == "vbproj" || ext == "stproj" || ext == "ucproj" || ext == "vcxproj")
{
ReadCSProjFile(*project);
}
else if (ext == "sln")
{
ReadSlnFile(*project);
}
}
else
{
// Check any projects in the list.
for (int i = 0; i < project->m_fileList.GetCount(); i++)
{
File* file = (File*)project->m_fileList.Get(i);
const CString& fullExt = file->GetExt();
int dotPos = fullExt.ReverseFind('.');
CString ext = dotPos == -1 ? fullExt : fullExt.Mid(dotPos + 1);
if (ext == "vcxproj" || ext == "dsp" || ext == "dsw" || ext == "vcp" ||
ext == "vcw" || ext == "vcproj" || ext == "csproj" ||
ext == "vbproj" || ext == "stproj" || ext == "sln" ||
ext == "ucproj")
{
if (projectName.CompareNoCase(file->GetFullName()) != 0)
AddProject(file->GetCaseFullName(), project->IsActive(), noRefresh);
}
}
}
}
project->m_touched = true;
return project;
}
// Refresh the projects list.
bool WorkspaceInfo::Refresh(void)
{
// Turn off the workspace project flag.
POSITION pos = GetProjectList().GetHeadPosition();
while (pos)
{
Project* project = GetProjectList().GetNext(pos);
project->m_workspaceProject = false;
}
for (int i = 0; i < s_fileList.GetCount(); ++i)
{
File* file = (File*)s_fileList.Get(i);
file->m_workspaceFile = true;
}
// Only do this part if DevStudio exists.
if (ObjModelHelper::VStudioExists())
{
CString workspaceName = g_wwhizInterface->GetWorkspaceName();
if (!workspaceName.IsEmpty())
{
Project* workspace = AddProject(workspaceName, true);
// Assign the workspace projects.
FileList& workspaceFileList = (FileList&)workspace->GetFileList();
workspace->m_workspaceProject = true;
for (int i = 0; i < workspaceFileList.GetCount(); ++i)
{
// Get the project name.
File* projectFile = (File*)workspaceFileList.Get(i);
projectFile->m_workspaceFile = true;
Project* project =
static_cast<Project*>(GetProjectList().Find(
projectFile->GetCaseFullName()));
if (project)
{
project->m_workspaceProject = true;
FileList& projectFileList = (FileList&)project->GetFileList();
for (int j = 0; j < projectFileList.GetCount(); ++j)
{
File* file = (File*)projectFileList.Get(j);
file->m_workspaceFile = true;
}
project->m_active = true;
}
}
}
#if 0
// This works, but it isn't complete.
#ifdef WWHIZ_VSNET
if (s_windowListFileName.IsEmpty())
{
// Generate a unique temporary name.
char* asciiTempName = _tempnam(NULL, "WW300WINDOWLIST_");
s_windowListFileName = asciiTempName;
free(asciiTempName);
}
FILE* f = fopen(s_windowListFileName, "wt");
if (f)
{
fprintf(f, "<Files>\n");
CComPtr<EnvDTE::Documents> pDocuments;
g_pDTE->get_Documents(&pDocuments);
long count;
pDocuments->get_Count(&count);
for (int i = 1; i <= count; ++i)
{
CComPtr<EnvDTE::Document> pDocument;
pDocuments->Item(CComVariant(i), &pDocument);
CComBSTR bstrFullName;
pDocument->get_FullName(&bstrFullName);
CString fullName(bstrFullName);
fprintf(f, "\t<File RelativePath=\"%s\"/>\n", fullName);
}
fprintf(f, "</Files>\n");
fclose(f);
AddHelper(s_windowListFileName, "vcproj", true, false);
}
_unlink(s_windowListFileName);
#endif WWHIZ_VSNET
#endif 0
}
// Remove unused projects.
pos = s_projects.GetHeadPosition();
while (pos)
{
POSITION oldPos = pos;
Project* project = s_projects.GetNext(pos);
if (!project->m_touched)
{
s_projects.RemoveAt(oldPos);
delete project;
g_filesRefreshed = true;
}
else
{
project->m_touched = false;
if (project->m_changed)
{
project->m_changed = false;
g_filesRefreshed = true;
}
project->m_lastActive = project->m_active;
}
}
if (g_filesRefreshed)
{
// Add all files to global file list.
s_fileList.RemoveAll();
s_activeFileList.RemoveAll();
pos = s_projects.GetHeadPosition();
while (pos)
{
Project* project = s_projects.GetNext(pos);
WWhizFileList& fileList = project->GetFileList();
int fileListCount = fileList.GetCount();
bool projectActive = project->IsActive();
for (int i = 0; i < fileListCount; i++)
{
File* file = (File*)fileList.Get(i);
if (projectActive)
s_activeFileList.Add(file);
s_fileList.Add(file);
}
}
// Sort the global file array.
s_activeFileList.Sort();
s_fileList.Sort();
extern FileMap g_globalFileMap;
g_globalFileMap.CleanUp();
g_lastFileRefresh = CTime::GetCurrentTime();
}
g_filesChangedFileMap.RemoveAll();
// Rebuilt stuff.
return false;
}
extern FileMap g_globalFileMap;
FileMap& WorkspaceInfo::GetGlobalFileMap()
{
return g_globalFileMap;
}
| [
"[email protected]"
] | |
1c887df5accad1dd2b88ed9b2edf73735d7ce38e | 363b83d5d9a6eadb24b2527d939f04854d2f024d | /Plugins/DungeonArchitect/Source/DungeonArchitectRuntime/Private/Builders/Grid/GridDungeonBuilder.cpp | 489b9f25505ca0e4909047ca29bf71a8efbd98e8 | [] | no_license | solomonlu/UE4-HorrorStory | eaa1c67ba680efe8e6e2877dc447d9edf4736379 | 8cea4adf3aa9c97777ccf8ac25ae697ef0a3f7c0 | refs/heads/master | 2021-01-22T22:28:33.785992 | 2017-12-02T12:27:18 | 2017-12-02T12:27:18 | 85,544,858 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 87,823 | cpp | //$ Copyright 2015 Ali Akbar, Code Respawn Technologies Pvt Ltd - All Rights Reserved $//
#include "DungeonArchitectRuntimePrivatePCH.h"
#include "GridDungeonBuilder.h"
#include "Core/Dungeon.h"
#include "Core/Volumes/VolumeUtils.h"
#include "Core/Volumes/DungeonThemeOverrideVolume.h"
#include "Core/Volumes/DungeonNegationVolume.h"
#include "Core/Volumes/DungeonMirrorVolume.h"
#include "Core/DungeonArchitectConstants.h"
#include "Core/Actors/DungeonMesh.h"
#include "Core/Utils/DungeonModelHelper.h"
#include "Core/Utils/Triangulator/Impl/DelauneyTriangleGenerator.h"
#include "Core/Utils/Profiler.h"
#include "Volumes/GridDungeonPlatformVolume.h"
#include "GridDungeonSelectorLogic.h"
#include "GridDungeonTransformLogic.h"
#include "GridDungeonModel.h"
#include "GridDungeonModelHelper.h"
#include "GridDungeonToolData.h"
#include "GridDungeonConfig.h"
#include <stack>
#include <sstream>
#include <queue>
#include "SpatialConstraints/GridSpatialConstraint3x3.h"
#include "SpatialConstraints/GridSpatialConstraint2x2.h"
#include "SpatialConstraints/GridSpatialConstraintEdge.h"
DEFINE_LOG_CATEGORY(GridDungeonBuilderLog);
void UGridDungeonBuilder::BuildDungeonImpl(UWorld* World) {
gridModel = Cast<UGridDungeonModel>(model);
gridConfig = Cast<UGridDungeonConfig>(config);
if (!gridModel) {
UE_LOG(GridDungeonBuilderLog, Error, TEXT("Invalid dungeon model provided to the grid builder"));
return;
}
if (!gridConfig) {
UE_LOG(GridDungeonBuilderLog, Error, TEXT("Invalid dungeon gridConfig provided to the grid builder"));
return;
}
Initialize();
GridToMeshScale = gridConfig->GridCellSize;
BuildCells();
while (gridModel->BuildState == DungeonModelBuildState::Separation) {
Seperate();
}
FIntVector Offset = GetDungeonOffset();
ApplyCellOffset(Offset);
// Apply negation volumes by removing procedural geometry that lie within it
ApplyNegationVolumes(World);
// Add cells defined by platform volumes in the world
AddUserDefinedPlatforms(World);
// Connect the rooms with delaunay triangulation to have nice evenly spaced triangles
TriangulateRooms();
// Build a minimum spanning tree of the above triangulation, to avoid having lots of loops
BuildMinimumSpanningTree();
// Connect the rooms by converting cells between the rooms into corridors. Also adds new corridor cells if needed for the connection
ConnectCorridors();
// Apply negation volumes by removing procedural geometry that lie within it
ApplyNegationVolumes(World);
// Build a lookup of adjacent tiles for later use with height and stair creation
GenerateAdjacencyLookup();
GenerateDungeonHeights();
int IterationWeights[] = { 100, 50, 0, -100 };
for (int WeightIndex = 0; WeightIndex < 4; WeightIndex++) {
ConnectStairs(IterationWeights[WeightIndex]);
}
RemoveRedundantDoors();
gridModel->BuildState = DungeonModelBuildState::Complete;
}
void UGridDungeonBuilder::Initialize()
{
if (gridModel) {
gridModel->GridCellInfoLookup.Reset();
gridModel->CellStairs.Reset();
}
PropSockets.Reset();
}
void UGridDungeonBuilder::MirrorDungeonWithVolume(ADungeonMirrorVolume* MirrorVolume)
{
FVector MirrorAxis(1, 0, 0);
FVector MirrorNormal(0, 1, 0);
MirrorAxis = MirrorVolume->GetTransform().GetRotation() * MirrorAxis;
MirrorNormal = MirrorVolume->GetTransform().GetRotation() * MirrorNormal;
FVector MirrorLocation = MirrorVolume->GetTransform().GetTranslation();
TArray<FCell> CellsToRemove;
TArray<FCell> CellsToAdd;
for (FCell& Cell : gridModel->Cells) {
float Width = Cell.Bounds.Size.X;
float Length = Cell.Bounds.Size.Y;
FVector CellLocation(Cell.Bounds.Location.X, Cell.Bounds.Location.Y, 0);
const FVector Tips[4] = {
CellLocation,
CellLocation + FVector(Width, 0, 0),
CellLocation + FVector(Width, Length, 0),
CellLocation + FVector(0, Length, 0)
};
int32 TipsReflected = 0;
FVector GridSize = gridConfig->GridCellSize;
TArray<FVector> ReflectedTips;
for (int i = 0; i < 4; i++) {
const FVector Tip = Tips[i] * GridSize;
// Check if this point lies in the reflective side
FVector DirectionToTip = Tip - MirrorLocation;
FVector TipUp = FVector::CrossProduct(DirectionToTip, MirrorAxis);
if (TipUp.Z > 0) {
TipsReflected++;
ReflectedTips.Add(Tip);
FVector ReflectedTip = FMath::GetReflectionVector(DirectionToTip, MirrorNormal);
ReflectedTips.Add(ReflectedTip);
}
}
if (TipsReflected == 0) {
// This cell lies totally outside the reflective volume
CellsToRemove.Add(Cell);
}
else if (TipsReflected == 4) {
CellLocation = FVector(Cell.Bounds.Location.X, Cell.Bounds.Location.Y, Cell.Bounds.Location.Z);
// This cell lies totally inside the reflective volume
const FVector Center = (CellLocation + FVector(Width, Length, 0) / 2.0f) * GridSize;
float DistanceToMirror = FVector::DotProduct(Center - MirrorLocation, MirrorNormal);
FVector MirroredCenter = Center - MirrorNormal * (DistanceToMirror * 2.0f);
FCell MirroredCell;
MirroredCell.Id = GetNextCellId();
MirroredCell.UserDefined = false;
FRectangle bounds;
bounds.Size = Cell.Bounds.Size;
FVector MirroredCenterGrid = MirroredCenter / GridSize;
bounds.Location.X = FMath::RoundToInt(MirroredCenterGrid.X - bounds.Size.X / 2.0f);
bounds.Location.Y = FMath::RoundToInt(MirroredCenterGrid.Y - bounds.Size.Y / 2.0f);
bounds.Location.Z = FMath::RoundToInt(MirroredCenterGrid.Z);
MirroredCell.Bounds = bounds;
MirroredCell.CellType = Cell.CellType;
CellsToAdd.Add(MirroredCell);
}
else {
if (ReflectedTips.Num() > 0) {
// This cell partially lies within the reflective volume
// Extend the bounds
float MinX = ReflectedTips[0].X;
float MaxX = ReflectedTips[0].X;
float MinY = ReflectedTips[0].Y;
float MaxY = ReflectedTips[0].Y;
for (const FVector& ReflectedTip : ReflectedTips) {
MinX = FMath::Min(MinX, ReflectedTip.X);
MinY = FMath::Min(MinY, ReflectedTip.Y);
MaxX = FMath::Max(MaxX, ReflectedTip.X);
MaxY = FMath::Max(MaxY, ReflectedTip.Y);
}
FRectangle bounds;
bounds.Size.X = FMath::RoundToInt((MaxX - MinX) / GridSize.X);
bounds.Size.Y = FMath::RoundToInt((MaxY - MinY) / GridSize.Y);
bounds.Location.X = FMath::RoundToInt(MinX / GridSize.X);
bounds.Location.Y = FMath::RoundToInt(MinY / GridSize.Y);
Cell.Bounds = bounds;
}
}
}
for (const FCell& CellToRemove : CellsToRemove) {
gridModel->Cells.Remove(CellToRemove);
}
for (const FCell& CellToAdd : CellsToAdd) {
gridModel->Cells.Add(CellToAdd);
}
// TODO: reflect doors and stair gridModel
// Reflect the low level markers
TArray<FPropSocket> MarkersToAdd;
TArray<FPropSocket> MarkersToRemove;
for (const FPropSocket& Marker : PropSockets) {
// Check if this point lies in the reflective side
FVector DirectionToMarker = Marker.Transform.GetLocation() - MirrorLocation;
FVector MarkerUp = FVector::CrossProduct(DirectionToMarker, MirrorAxis);
if (MarkerUp.Z > 0) {
// Reflect this tip
FVector MarkerLocation = Marker.Transform.GetLocation();
float DistanceToMirror = FVector::DotProduct(MarkerLocation - MirrorLocation, MirrorNormal);
FVector MirroredLocation = MarkerLocation - MirrorNormal * (DistanceToMirror * 2.0f);
FQuat MirroredRotation = Marker.Transform.GetRotation(); // TODO: Rotate by 180
{
FRotator Rotator(MirroredRotation);
FVector ReflectedVector = FMath::GetReflectionVector(Rotator.Vector(), MirrorNormal);
MirroredRotation = FQuat(ReflectedVector.Rotation());
}
FPropSocket ReflectedMarker = Marker;
ReflectedMarker.Id = ++_SocketIdCounter;
ReflectedMarker.Transform.SetLocation(MirroredLocation);
ReflectedMarker.Transform.SetRotation(MirroredRotation);
MarkersToAdd.Add(ReflectedMarker);
}
else {
// Lies outside. Discard
MarkersToRemove.Add(Marker);
}
}
// Remove discarded markers
for (const FPropSocket& Marker : MarkersToRemove) {
PropSockets.Remove(Marker);
}
// Add reflected markers
for (const FPropSocket& Marker : MarkersToAdd) {
PropSockets.Add(Marker);
}
}
bool UGridDungeonBuilder::PerformSelectionLogic(const TArray<UDungeonSelectorLogic*>& SelectionLogics, const FPropSocket& socket)
{
for (UDungeonSelectorLogic* SelectionLogic : SelectionLogics) {
UGridDungeonSelectorLogic* GridSelectionLogic = Cast<UGridDungeonSelectorLogic>(SelectionLogic);
if (!GridSelectionLogic) {
UE_LOG(GridDungeonBuilderLog, Warning, TEXT("Invalid selection logic specified. GridDungeonSelectorLogic expected"));
return false;
}
FCell InvalidCell;
// Perform blueprint based selection logic
FVector location = socket.Transform.GetLocation();
int32 gridX = FMath::FloorToInt(location.X / GridToMeshScale.X);
int32 gridY = FMath::FloorToInt(location.Y / GridToMeshScale.Y);
FGridCellInfo cellInfo = gridModel->GetGridCellLookup(gridX, gridY);
FCell* cell = gridModel->GetCell(cellInfo.CellId);
FCell& cellRef = cell ? *cell : InvalidCell;
bool selected = GridSelectionLogic->SelectNode(gridModel, gridConfig, cellRef, random, gridX, gridY);
if (!selected) {
return false;
}
}
return true;
}
FTransform UGridDungeonBuilder::PerformTransformLogic(const TArray<UDungeonTransformLogic*>& TransformLogics, const FPropSocket& socket)
{
FTransform result = FTransform::Identity;
for (UDungeonTransformLogic* TransformLogic : TransformLogics) {
UGridDungeonTransformLogic* GridTransformLogic = Cast<UGridDungeonTransformLogic>(TransformLogic);
if (!GridTransformLogic) {
UE_LOG(GridDungeonBuilderLog, Warning, TEXT("Invalid transform logic specified. GridDungeonTransformLogic expected"));
continue;
}
FCell InvalidCell;
FVector location = socket.Transform.GetLocation();
int32 gridX = FMath::FloorToInt(location.X / GridToMeshScale.X);
int32 gridY = FMath::FloorToInt(location.Y / GridToMeshScale.Y);
FGridCellInfo cellInfo = gridModel->GetGridCellLookup(gridX, gridY);
FCell* cell = gridModel->GetCell(cellInfo.CellId);
FCell& cellRef = cell ? *cell : InvalidCell;
FTransform logicOffset;
if (TransformLogic) {
GridTransformLogic->GetNodeOffset(gridModel, gridConfig, cellRef, random, gridX, gridY, logicOffset);
}
else {
logicOffset = FTransform::Identity;
}
FTransform out;
FTransform::Multiply(&out, &logicOffset, &result);
result = out;
}
return result;
}
FCell UGridDungeonBuilder::BuildCell()
{
FCell cell;
cell.Id = GetNextCellId();
cell.UserDefined = false;
FRectangle bounds;
bounds.Location = GetRandomPointInCircle(gridConfig->InitialRoomRadius);
int32 baseSize = GetRandomRoomSize();
int32 width = baseSize;
float aspectRatio = 1 + (random.FRand() * 2 - 1) * gridConfig->RoomAspectDelta;
int32 length = FMath::RoundToInt(width * aspectRatio);
bounds.Size = FIntVector(width, length, 0);
cell.Bounds = bounds;
int32 area = width * length;
if (area >= gridConfig->RoomAreaThreshold)
{
cell.CellType = FCellType::Room;
}
return cell;
}
void UGridDungeonBuilder::Shuffle()
{
TArray<FCell>& cells = gridModel->Cells;
int n = cells.Num();
for (int i = 0; i < n; i++)
{
int r = i + (int)(random.FRand() * (n - i));
FCell t = cells[r];
cells[r] = cells[i];
cells[i] = t;
}
gridModel->BuildCellLookup();
}
void UGridDungeonBuilder::BuildCells() {
TArray<FCell> cells;
_CellIdCounter = 0;
for (int i = 0; i < gridConfig->NumCells; i++)
{
FCell cell = BuildCell();
cells.Add(cell);
}
gridModel->Cells = cells;
gridModel->BuildCellLookup();
gridModel->BuildState = DungeonModelBuildState::Separation;
}
void UGridDungeonBuilder::ApplyCellOffset(const FIntVector& Offset)
{
for (FCell& Cell : gridModel->Cells) {
Cell.Bounds.Location += Offset;
}
}
int32 UGridDungeonBuilder::GetNextCellId()
{
++_CellIdCounter;
return _CellIdCounter;
}
bool IsRoomCorridor(FCellType type0, FCellType type1) {
int32 rooms = 0, corridors = 0;
rooms += (type0 == FCellType::Room) ? 1 : 0;
rooms += (type1 == FCellType::Room) ? 1 : 0;
corridors += (type0 == FCellType::Corridor || type0 == FCellType::CorridorPadding) ? 1 : 0;
corridors += (type1 == FCellType::Corridor || type1 == FCellType::CorridorPadding) ? 1 : 0;
return (rooms == 1 && corridors == 1);
}
TArray<FGridSpatialConstraintCellData> RotateNeighborConfig3x3(const TArray<FGridSpatialConstraintCellData>& Neighbors) {
const int SrcIndex[] = {
0, 1, 2,
3, 4, 5,
6, 7, 8
};
const int DstIndex[] = {
6, 3, 0,
7, 4, 1,
8, 5, 2
};
TArray<FGridSpatialConstraintCellData> Result;
Result.SetNumUninitialized(9);
for (int i = 0; i < 9; i++) {
Result[DstIndex[i]] = Neighbors[SrcIndex[i]];
}
return Result;
}
TArray<FGridSpatialConstraintCellData> RotateNeighborConfig2x2(const TArray<FGridSpatialConstraintCellData>& Neighbors) {
const int SrcIndex[] = {
0, 1,
2, 3
};
const int DstIndex[] = {
2, 0,
3, 1
};
TArray<FGridSpatialConstraintCellData> Result;
Result.SetNumUninitialized(4);
for (int i = 0; i < 4; i++) {
Result[DstIndex[i]] = Neighbors[SrcIndex[i]];
}
return Result;
}
int ClampToInt(float value) {
return FMath::FloorToInt(value);
}
bool UGridDungeonBuilder::ProcessSpatialConstraint3x3(UGridSpatialConstraint3x3* SpatialConstraint, const FTransform& Transform, FQuat& OutRotationOffset)
{
if (!SpatialConstraint) return false;
FVector WorldLoc = Transform.GetLocation();
FVector GridLocF = WorldLoc / GridToMeshScale;
FIntVector GridLoc(
ClampToInt(GridLocF.X),
ClampToInt(GridLocF.Y),
ClampToInt(GridLocF.Z));
auto CenterCellInfo = gridModel->GetGridCellLookup(GridLoc.X, GridLoc.Y);
auto Neighbors = SpatialConstraint->Configuration.Cells;
int RotationsRequired = SpatialConstraint->bRotateToFitConstraint ? 3 : 0;
for (int RotationStep = 0; RotationStep <= RotationsRequired; RotationStep++) {
bool ConfigMatches = true;
for (int i = 0; i < Neighbors.Num(); i++) {
auto code = Neighbors[i];
if (code.OccupationConstraint == EGridSpatialCellOccupation::DontCare) {
// Don't care about this cell
continue;
}
int32 dx = i % 3;
int32 dy = i / 3;
dx--; dy--; // bring to -1..1 range (from previous 0..2)
//dy *= -1;
int32 x = GridLoc.X + dx;
int32 y = GridLoc.Y + dy;
auto cellInfo = gridModel->GetGridCellLookup(x, y);
bool empty = cellInfo.CellType == FCellType::Unknown;
if (IsRoomCorridor(CenterCellInfo.CellType, cellInfo.CellType)) {
// Make sure we aren't within a door
if (CenterCellInfo.ContainsDoor || cellInfo.ContainsDoor) {
empty = false;
}
else {
empty = true;
}
}
if (code.OccupationConstraint == EGridSpatialCellOccupation::Occupied && empty) {
// We were expecting a non-empty space here, but it is empty
ConfigMatches = false;
break;
}
else if (code.OccupationConstraint == EGridSpatialCellOccupation::Empty && !empty) {
// We were expecting a empty space here, but it is not empty
ConfigMatches = false;
break;
}
}
if (ConfigMatches) {
float RotationAngle = -90 * RotationStep;
OutRotationOffset = FQuat::MakeFromEuler(FVector(0, 0, RotationAngle));
return true;
}
if (RotationStep < RotationsRequired) {
Neighbors = RotateNeighborConfig3x3(Neighbors);
}
}
// No configurations matched
OutRotationOffset = FQuat::Identity;
return false;
}
bool UGridDungeonBuilder::ProcessSpatialConstraint2x2(UGridSpatialConstraint2x2* SpatialConstraint, const FTransform& Transform, FQuat& OutRotationOffset)
{
FVector WorldLoc = Transform.GetLocation();
FVector GridLocF = WorldLoc / GridToMeshScale;
FIntVector GridLoc(
ClampToInt(GridLocF.X + 0.01f),
ClampToInt(GridLocF.Y + 0.01f),
ClampToInt(GridLocF.Z + 0.01f));
auto CenterCellInfo = gridModel->GetGridCellLookup(GridLoc.X, GridLoc.Y);
auto Neighbors = SpatialConstraint->Configuration.Cells;
int RotationsRequired = SpatialConstraint->bRotateToFitConstraint ? 3 : 0;
for (int RotationStep = 0; RotationStep <= RotationsRequired; RotationStep++) {
bool ConfigMatches = true;
for (int i = 0; i < Neighbors.Num(); i++) {
auto code = Neighbors[i];
if (code.OccupationConstraint == EGridSpatialCellOccupation::DontCare) {
// Don't care about this cell
continue;
}
int32 dx = i % 2;
int32 dy = i / 2;
dx--;
dy--; // bring to -1..0 range (from previous 0..1)
int32 x = GridLoc.X + dx;
int32 y = GridLoc.Y + dy;
auto cellInfo = gridModel->GetGridCellLookup(x, y);
bool empty = cellInfo.CellType == FCellType::Unknown;
auto cell0 = gridModel->GetCell(cellInfo.CellId);
auto cell1 = gridModel->GetCell(CenterCellInfo.CellId);
if (!empty) {
if (cell0 && cell1 && cell0->Bounds.Location.Z != cell1->Bounds.Location.Z) {
empty = true;
}
}
/*
if (IsRoomCorridor(CenterCellInfo.CellType, cellInfo.CellType)) {
// Make sure we aren't within a door
if (CenterCellInfo.ContainsDoor && cellInfo.ContainsDoor) {
empty = false;
}
else {
empty = true;
}
}
*/
if (code.OccupationConstraint == EGridSpatialCellOccupation::Occupied && empty) {
// We were expecting a non-empty space here, but it is empty
ConfigMatches = false;
break;
}
else if (code.OccupationConstraint == EGridSpatialCellOccupation::Empty && !empty) {
// We were expecting a empty space here, but it is not empty
ConfigMatches = false;
break;
}
}
if (ConfigMatches) {
float RotationAngle = -90 * RotationStep;
OutRotationOffset = FQuat::MakeFromEuler(FVector(0, 0, RotationAngle));
return true;
}
if (RotationStep < RotationsRequired) {
Neighbors = RotateNeighborConfig2x2(Neighbors);
}
}
// No configurations matched
OutRotationOffset = FQuat::Identity;
return false;
}
bool UGridDungeonBuilder::ProcessSpatialConstraintEdge(UGridSpatialConstraintEdge* SpatialConstraint, const FTransform& Transform, FQuat& OutRotationOffset)
{
FVector WorldLoc = Transform.GetLocation();
FVector GridLocF = WorldLoc / GridToMeshScale;
float XFrac = FMath::Frac(GridLocF.X);
float YFrac = FMath::Frac(GridLocF.Y);
FIntVector GridLoc(
ClampToInt(GridLocF.X),
ClampToInt(GridLocF.Y),
ClampToInt(GridLocF.Z));
auto CenterCellInfo = gridModel->GetGridCellLookup(GridLoc.X, GridLoc.Y);
auto LeftInfo = gridModel->GetGridCellLookup(GridLoc.X - 1, GridLoc.Y);
auto RightInfo = CenterCellInfo;
auto TopInfo = gridModel->GetGridCellLookup(GridLoc.X, GridLoc.Y - 1);
auto BottomInfo = CenterCellInfo;
bool passed;
if (XFrac > YFrac) {
// Vertical comparison since the point in in the middle of a horizontal line
passed = ProcessSpatialConstraintEdgeEntry(SpatialConstraint, Transform, TopInfo, BottomInfo, 90, OutRotationOffset);
if (!passed) {
passed = ProcessSpatialConstraintEdgeEntry(SpatialConstraint, Transform, BottomInfo, TopInfo, 270, OutRotationOffset);
}
}
else {
// Horizontal comparison since the point in in the middle of a vertical line
passed = ProcessSpatialConstraintEdgeEntry(SpatialConstraint, Transform, LeftInfo, RightInfo, 0, OutRotationOffset);
if (!passed) {
passed = ProcessSpatialConstraintEdgeEntry(SpatialConstraint, Transform, RightInfo, LeftInfo, 180, OutRotationOffset);
}
}
return passed;
}
bool UGridDungeonBuilder::ProcessSpatialConstraintEdgeEntry(UGridSpatialConstraintEdge* SpatialConstraint, const FTransform& Transform, const FGridCellInfo& Cell0, const FGridCellInfo& Cell1, float BaseRotation, FQuat& OutRotationOffset)
{
if (!SpatialConstraint) return false;
FGridCellInfo CellInfos[] = { Cell0, Cell1 };
for (int i = 0; i < 2; i++) {
bool empty = (CellInfos[i].CellType == FCellType::Unknown);
auto data = SpatialConstraint->Configuration.Cells[i];
if (data.OccupationConstraint == EGridSpatialCellOccupation::Occupied && empty) {
// We were expecting a non-empty space here, but it is empty
return false;
}
else if (data.OccupationConstraint == EGridSpatialCellOccupation::Empty && !empty) {
// We were expecting a empty space here, but it is not empty
return false;
}
}
OutRotationOffset = FQuat::MakeFromEuler(FVector(0, 0, BaseRotation));
return true;
}
void UGridDungeonBuilder::AddUserDefinedPlatforms(UWorld* World)
{
if (!Dungeon) return;
// Add geometry defined by the editor paint tool
UGridDungeonToolData* ToolData = Cast<UGridDungeonToolData>(Dungeon->GetToolData());
if (ToolData) {
for (const FIntVector& CellPoint : ToolData->PaintedCells) {
FCell cell;
cell.Id = GetNextCellId();
cell.UserDefined = true;
FRectangle Bounds;
Bounds.Location = CellPoint;
Bounds.Size = FIntVector(1, 1, 1);
cell.Bounds = Bounds;
cell.CellType = FCellType::Corridor;
gridModel->Cells.Add(cell); // TODO: Check for duplicates
}
}
// Add platform volumes defined in the world
if (World) {
for (TObjectIterator<AGridDungeonPlatformVolume> Volume; Volume; ++Volume)
{
if (Volume->Dungeon == Dungeon) {
AddUserDefinedPlatform(*Volume);
}
}
}
gridModel->BuildCellLookup();
}
void UGridDungeonBuilder::AddUserDefinedPlatform(AGridDungeonPlatformVolume* Volume)
{
if (Volume->IsPendingKill()) {
return;
}
FCell cell;
cell.Id = GetNextCellId();
cell.UserDefined = true;
Volume->GetDungeonVolumeBounds(GridToMeshScale, cell.Bounds);
cell.CellType = Volume->CellType;
// Remove any cell that intersects with this user defined platform
for (int i = 0; i < gridModel->Cells.Num();) {
if (cell.Bounds.IntersectsWith(gridModel->Cells[i].Bounds)) {
gridModel->Cells.RemoveAt(i);
}
else {
i++;
}
}
gridModel->Cells.Add(cell);
}
struct NegationVolumeInfo {
FRectangle Bounds;
ADungeonNegationVolume* Volume;
};
void UGridDungeonBuilder::ApplyNegationVolumes(UWorld* World)
{
if (World) {
// Grab the bounds of all the negation volumes
TArray<NegationVolumeInfo> NegationList;
for (TObjectIterator<ADungeonNegationVolume> NegationVolume; NegationVolume; ++NegationVolume)
{
if (!NegationVolume->IsValidLowLevel() || NegationVolume->IsPendingKill()) {
continue;
}
if (NegationVolume->Dungeon != Dungeon) {
continue;
}
FRectangle VolumeBounds;
NegationVolume->GetDungeonVolumeBounds(GridToMeshScale, VolumeBounds);
NegationVolumeInfo Info;
Info.Volume = *NegationVolume;
Info.Bounds = VolumeBounds;
NegationList.Add(Info);
}
// Remove any cells that fall within any of the negation bounds
TSet<int32> CellsToRemove;
for (const FCell& cell : gridModel->Cells) {
for (const NegationVolumeInfo& VolumeInfo : NegationList) {
if (cell.UserDefined && !VolumeInfo.Volume->AffectsUserDefinedCells) {
// The volume does not affect user defined cells. Ignore it
continue;
}
bool intersects = cell.Bounds.IntersectsWith(VolumeInfo.Bounds);
bool remove = intersects;
if (VolumeInfo.Volume->Reversed) {
remove = !remove;
if (!remove) {
// Do an exhaustive search, and make sure it is fully inside
FRectangle intersection = FRectangle::Intersect(cell.Bounds, VolumeInfo.Bounds);
if (intersection.Size != cell.Bounds.Size) {
remove = true;
}
}
}
if (remove) {
CellsToRemove.Add(cell.Id);
break;
}
}
}
gridModel->CellLookup.Reset();
for (int i = 0; i < gridModel->Cells.Num();) {
int32 cellId = gridModel->Cells[i].Id;
if (CellsToRemove.Contains(cellId)) {
gridModel->Cells.RemoveAt(i);
}
else {
i++;
}
}
}
gridModel->BuildCellLookup();
}
FIntVector UGridDungeonBuilder::GetDungeonOffset() {
FIntVector Offset = FIntVector::ZeroValue;
if (Dungeon) {
FVector OffsetF = Dungeon->GetActorLocation() / gridConfig->GridCellSize;
Offset = FIntVector(FMath::RoundToInt(OffsetF.X),
FMath::RoundToInt(OffsetF.Y),
FMath::RoundToInt(OffsetF.Z));
}
return Offset;
}
void UGridDungeonBuilder::Seperate()
{
if (gridModel->BuildState != DungeonModelBuildState::Separation) return;
Shuffle();
int32 count = gridModel->Cells.Num();
TArray<FIntVector> forces;
forces.AddZeroed(count);
gridModel->Cells.Sort(CompareFromCenterPredicate);
bool separated = false;
for (int a = 0; a < count; a++)
{
for (int b = a + 1; b < count; b++)
{
if (a == b) continue;
FRectangle& c0 = gridModel->Cells[a].Bounds;
FRectangle& c1 = gridModel->Cells[b].Bounds;
if (c0.IntersectsWith(c1))
{
FIntVector force(0, 0, 0);
FRectangle intersection = FRectangle::Intersect(c0, c1);
bool applyOnX = (intersection.Width() < intersection.Height());
if (intersection.Width() == intersection.Height())
{
applyOnX = random.FRand() > 0.5f;
}
if (applyOnX)
{
force.X = intersection.Width();
force.X *= GetForceDirectionMultiplier(c0.X(), c1.X(), c0.Y(), c1.Y());
}
else
{
force.Y = intersection.Height();
force.Y *= GetForceDirectionMultiplier(c0.Y(), c1.Y(), c0.X(), c1.X());
}
forces[a].X += force.X;
forces[a].Y += force.Y;
forces[b].X -= force.X;
forces[b].Y -= force.Y;
separated = true;
}
}
}
for (int a = 0; a < count; a++)
{
FIntVector force(0, 0, 0);
FIntVector& f = forces[a];
if (FMath::Abs(f.X) > 0 || FMath::Abs(f.Y) > 0)
{
if (FMath::Abs(f.X) > FMath::Abs(f.Y))
{
force.X = FMath::Sign(f.X);
}
else
{
force.Y = FMath::Sign(f.Y);
}
}
FCell& cell = gridModel->Cells[a];
FIntVector& location = cell.Bounds.Location;
location.X += force.X;
location.Y += force.Y;
}
if (!separated)
{
gridModel->BuildState = DungeonModelBuildState::Triangulation;
}
return;
}
TArray<FCell*> UGridDungeonBuilder::GetCellsOfType(FCellType CellType) {
FCell* CellArray = gridModel->Cells.GetData();
TArray<FCell*> filtered;
for (int i = 0; i < gridModel->Cells.Num(); i++) {
FCell* cell = CellArray + i;
if (cell->CellType == CellType) {
filtered.Add(cell);
}
}
return filtered;
}
void UGridDungeonBuilder::TriangulateRooms()
{
FRandomStream RoomCenterOffsetRandom;
RoomCenterOffsetRandom.Initialize(gridConfig->Seed);
TArray<FCell*> rooms = GetCellsOfType(FCellType::Room);
TArray<float> positions;
DelauneyTriangleGenerator generator;
const float RandomOffsetLength = 0.01f;
for (const FCell* room : rooms) {
FVector2D RoomCenterOffset = FMathUtils::GetRandomDirection2D(RoomCenterOffsetRandom) * RandomOffsetLength;
FIntVector RoomCenter = room->Center();
generator.AddPoint(FVector2D(RoomCenter.X, RoomCenter.Y) + RoomCenterOffset);
}
if (rooms.Num() >= 3) {
generator.Triangulate();
const TArray<FDelauneyTriangle>& Triangles = generator.GetTriangles();
for (const FDelauneyTriangle& Triangle : Triangles) {
FCell& cell0 = *rooms[Triangle.v0];
FCell& cell1 = *rooms[Triangle.v1];
FCell& cell2 = *rooms[Triangle.v2];
ConnectCells(cell0, cell1);
ConnectCells(cell1, cell2);
ConnectCells(cell2, cell0);
}
}
else if (rooms.Num() == 2) {
ConnectCells(*rooms[0], *rooms[1]);
}
gridModel->BuildState = DungeonModelBuildState::SpanningTree;
}
struct Edge {
Edge(int32 pCellA, int32 pCellB, float pWeight) : cellA(pCellA), cellB(pCellB), weight(pWeight) {}
int32 cellA;
int32 cellB;
float weight;
bool operator<(const Edge& other) const {
return weight < other.weight;
}
};
float GetDistance(const FCell& A, const FCell& B) {
FVector pointA = UDungeonModelHelper::MakeVector(A.Center());
FVector pointB = UDungeonModelHelper::MakeVector(B.Center());
return (pointA - pointB).Size();
}
bool UGridDungeonBuilder::CheckLoop(FCell* currentNode, FCell* comingFrom, TSet<FCell*> visited)
{
visited.Add(currentNode);
// check if any of the children have already been visited
for (int32 childId : currentNode->FixedRoomConnections)
{
FCell* child = gridModel->GetCell(childId);
if (!child) continue;
if (child == comingFrom) continue;
if (visited.Contains(child))
{
return true;
}
bool branchHasLoop = CheckLoop(child, currentNode, visited);
if (branchHasLoop) return true;
}
return false;
}
bool UGridDungeonBuilder::ContainsLoop(TArray<FCell*> rooms)
{
for (FCell* room : rooms)
{
if (room) {
TSet<FCell*> visited;
bool hasLoop = CheckLoop(room, 0, visited);
if (hasLoop) return true;
}
}
return false;
}
void UGridDungeonBuilder::BuildMinimumSpanningTree() {
TArray<FCell*> rooms = GetCellsOfType(FCellType::Room);
TMap<int32, TSet<int32> > edgesMapped;
// Generate unique edge list
TArray<Edge> edges;
for (const FCell* room : rooms) {
for (int32 connectedRoomId : room->ConnectedRooms) {
FCell* other = gridModel->GetCell(connectedRoomId);
float distance = GetDistance(*room, *other);
int32 id0 = room->Id;
int32 id1 = other->Id;
if (!edgesMapped.Contains(id0) || !edgesMapped[id0].Contains(id1)) {
Edge edge(id0, id1, distance);
edges.Add(edge);
if (!edgesMapped.Contains(id0)) edgesMapped.Add(id0, TSet<int32>());
if (!edgesMapped.Contains(id1)) edgesMapped.Add(id1, TSet<int32>());
edgesMapped[id0].Add(id1);
edgesMapped[id1].Add(id0);
}
}
}
edges.Sort();
for (const Edge& edge : edges) {
FCell* cell0 = gridModel->GetCell(edge.cellA);
FCell* cell1 = gridModel->GetCell(edge.cellB);
if (cell0 && cell1) {
AddUnique<int32>(cell0->FixedRoomConnections, cell1->Id);
AddUnique<int32>(cell1->FixedRoomConnections, cell0->Id);
// Check if this new edge insertion caused a loop in the MST
bool loop = ContainsLoop(rooms);
if (loop) {
cell0->FixedRoomConnections.Remove(cell1->Id);
cell1->FixedRoomConnections.Remove(cell0->Id);
}
}
}
// Add some edges from the Delauney triangulation based on a probability
for (FCell* room : rooms) {
for (int32 otherDelauney : room->ConnectedRooms) {
if (!room->FixedRoomConnections.Contains(otherDelauney)) {
float probability = random.FRand();
if (probability < gridConfig->SpanningTreeLoopProbability) {
FCell* other = gridModel->GetCell(otherDelauney);
if (other) {
room->FixedRoomConnections.Add(otherDelauney);
other->FixedRoomConnections.Add(room->Id);
}
}
}
}
}
gridModel->BuildState = DungeonModelBuildState::Corridors;
}
void UGridDungeonBuilder::RemoveRedundantDoors()
{
if (!gridConfig || !gridModel || gridConfig->DoorProximitySteps <= 0) {
return;
}
TArray<FCellDoor>& Doors = gridModel->DoorManager.GetDoors();
TArray<FCellDoor> DoorsToRemove;
for (FCellDoor& Door : Doors) {
int32 CellIdA = Door.AdjacentCells[0];
int32 CellIdB = Door.AdjacentCells[1];
// Temporarily disable the door to see if the two adjacent cells can still reach (possbily through a nearby door)
Door.bEnabled = false;
bool pathExists = ContainsAdjacencyPath(CellIdA, CellIdB, gridConfig->DoorProximitySteps, false);
if (!pathExists)
{
// No path exists. We need a door here
Door.bEnabled = true;
}
else {
// Remove the door
DoorsToRemove.Add(Door);
}
}
for (const FCellDoor& Door : DoorsToRemove) {
gridModel->DoorManager.RemoveDoor(Door);
RemoveStairAtDoor(Door);
}
gridModel->BuildCellLookup();
GenerateAdjacencyLookup();
}
#define HASH(a, b) (((a) << 16) + (b))
void UGridDungeonBuilder::ConnectCorridors() {
TArray<FCell*> rooms = GetCellsOfType(FCellType::Room);
if (rooms.Num() < 2) return;
TSet<int32> visited;
FCell* startingRoom = rooms[0];
ConnectCooridorRecursive(-1, startingRoom->Id, visited);
// Remove unused cells
for (int i = 0; i < gridModel->Cells.Num();) {
if (gridModel->Cells[i].CellType == FCellType::Unknown) {
gridModel->Cells.RemoveAt(i);
}
else {
i++;
}
}
// Rebuild the cell cache list, since it has been modified
gridModel->BuildCellLookup();
gridModel->BuildState = DungeonModelBuildState::Complete;
}
void UGridDungeonBuilder::ConnectCooridorRecursive(int32 incomingRoomId, int32 currentRoomId, TSet<int32>& visited) {
if (incomingRoomId >= 0)
{
int32 c0 = incomingRoomId;
int32 c1 = currentRoomId;
if (visited.Contains(HASH(c0, c1))) return;
visited.Add(HASH(c0, c1));
visited.Add(HASH(c1, c0));
ConnectRooms(incomingRoomId, currentRoomId);
}
FCell* currentRoom = gridModel->GetCell(currentRoomId);
check(currentRoom);
TArray<int32> children = currentRoom->FixedRoomConnections;
for (int32 otherRoomId : children)
{
FCell* otherRoom = gridModel->GetCell(otherRoomId);
check(otherRoom);
int32 i0 = currentRoom->Id;
int32 i1 = otherRoom->Id;
if (!visited.Contains(HASH(i0, i1))) {
ConnectCooridorRecursive(currentRoomId, otherRoomId, visited);
}
}
}
void UGridDungeonBuilder::ConnectAdjacentCells(int32 roomA, int32 roomB) {
FCell* cellA = gridModel->GetCell(roomA);
FCell* cellB = gridModel->GetCell(roomB);
check(cellA && cellB);
FRectangle intersection = FRectangle::Intersect(cellA->Bounds, cellB->Bounds);
bool adjacent = (intersection.Width() > 0 || intersection.Height() > 0);
if (adjacent)
{
FIntVector doorPointA;
FIntVector doorPointB;
doorPointA.Z = cellA->Bounds.Location.Z;
doorPointB.Z = cellB->Bounds.Location.Z;
if (intersection.Width() > 0)
{
// shares a horizontal edge
doorPointA.X = intersection.X() + intersection.Width() / 2;
doorPointA.Y = intersection.Y() - 1;
doorPointB.X = doorPointA.X;
doorPointB.Y = doorPointA.Y + 1;
}
else
{
// shares a vertical edge
doorPointA.X = intersection.X() - 1;
doorPointA.Y = intersection.Y() + intersection.Height() / 2;
doorPointB.X = doorPointA.X + 1;
doorPointB.Y = doorPointA.Y;
}
// Add a door and return (no corridors needed for adjacent rooms)
gridModel->DoorManager.CreateDoor(doorPointA, doorPointB, roomA, roomB);
}
}
TArray<FCellDoor> UGridDungeonBuilder::GetDoors() {
return gridModel->DoorManager.GetDoors();
}
int32 UGridDungeonBuilder::RegisterCorridorCell(int cellX, int cellY, int cellZ, int32 roomA, int32 roomB, bool canRegisterDoors) {
FCell* cellA = gridModel->GetCell(roomA);
FCell* cellB = gridModel->GetCell(roomB);
check(roomA && roomB);
FRectangle PaddingBounds(cellX, cellY, 1, 1);
PaddingBounds.Location.Z = cellZ;
if (cellA->Bounds.Contains(PaddingBounds.Location) || cellB->Bounds.Contains(PaddingBounds.Location)) {
// ignore
return -1;
}
bool bRequiresPadding = true;
int32 CurrentCellId = -1;
for (FCell& cell : gridModel->Cells)
{
if (cell.Bounds.Contains(PaddingBounds.Location))
{
if (cell.Id == roomA || cell.Id == roomB)
{
// collides with inside of the room.
return -1;
}
if (cell.CellType == FCellType::Unknown)
{
// Convert this cell into a corridor
cell.CellType = FCellType::Corridor;
}
// Intersects with an existing cell. do not add corridor padding
bRequiresPadding = false;
CurrentCellId = cell.Id;
break;
}
}
if (bRequiresPadding) {
FCell corridorCell;
corridorCell.Id = GetNextCellId();
corridorCell.UserDefined = false;
corridorCell.Bounds = PaddingBounds;
corridorCell.CellType = FCellType::CorridorPadding;
gridModel->Cells.Add(corridorCell);
gridModel->BuildCellLookup();
CurrentCellId = corridorCell.Id;
}
if (canRegisterDoors)
{
// Check if we are adjacent to to any of the room nodes
if (AreCellsAdjacent(CurrentCellId, roomA))
{
ConnectAdjacentCells(CurrentCellId, roomA);
}
if (AreCellsAdjacent(CurrentCellId, roomB))
{
ConnectAdjacentCells(CurrentCellId, roomB);
}
}
return CurrentCellId; // Return the cell id of the registered cell
}
void UGridDungeonBuilder::ConnectRooms(int32 roomAId, int32 roomBId) {
FCell* roomA = gridModel->GetCell(roomAId);
FCell* roomB = gridModel->GetCell(roomBId);
check(roomA && roomB);
FRectangle intersection = FRectangle::Intersect(roomA->Bounds, roomB->Bounds);
bool adjacent = (intersection.Width() > 0 || intersection.Height() > 0);
if (adjacent)
{
ConnectAdjacentCells(roomAId, roomBId);
}
else
{
// Create a corridor segment as the rooms are not touching each other
FIntVector centerA = roomA->Center();
FIntVector centerB = roomB->Center();
int32 LaneThicknessLeft = 0;
int32 LaneThicknessRight = 0;
// Calculate the lane thickness
{
int32 width = FMath::Max(gridConfig->LaneWidth, 1); // We need a with of at least one
width = gridConfig->LaneWidth - 1; // Since we draw a line in the center regardless of the thickness value
LaneThicknessRight = width / 2; // Will be an integer division (truncated)
LaneThicknessLeft = width - LaneThicknessRight;
}
// Sweep X axis
{
int32 sourceX = centerA.X;
int32 targetX = centerB.X;
int32 sourceY = centerA.Y;
int32 direction = FMath::Sign(targetX - sourceX);
int32 PreviousCellId = -1;
for (int x = sourceX; x != targetX; x += direction)
{
int y = sourceY;
int z = 0;
// add a corridor cell
int32 CurrentCellId = RegisterCorridorCell(x, y, z, roomAId, roomBId, true);
// Check if we need to create a door between the two.
// This is needed in case we have an extra room through the corridor.
// This room needs to have doors created
{
if (PreviousCellId != -1 && CurrentCellId != PreviousCellId) {
FCell* PreviousCell = gridModel->GetCell(PreviousCellId);
FCell* CurrentCell = gridModel->GetCell(CurrentCellId);
if (PreviousCell && CurrentCell && PreviousCell != CurrentCell) {
if (PreviousCell->CellType == FCellType::Room || PreviousCell->CellType == FCellType::Room) {
ConnectAdjacentCells(PreviousCellId, CurrentCellId);
}
}
}
PreviousCellId = CurrentCellId;
}
for (int i = 1; i <= LaneThicknessLeft; i++) {
RegisterCorridorCell(x, y - i, z, roomAId, roomBId);
}
for (int i = 1; i <= LaneThicknessRight; i++) {
RegisterCorridorCell(x, y + i, z, roomAId, roomBId);
}
}
}
// Sweep Y axis
{
int32 sourceY = centerA.Y;
int32 targetY = centerB.Y;
int32 sourceX = centerB.X;
int32 direction = FMath::Sign(targetY - sourceY);
int32 PreviousCellId = -1;
for (int y = sourceY; y != targetY; y += direction)
{
int x = sourceX;
int z = 0;
// add a corridor cell
int32 CurrentCellId = RegisterCorridorCell(x, y, z, roomAId, roomBId, true);
// Check if we need to create a door between the two.
// This is needed in case we have an extra room through the corridor.
// This room needs to have doors created
{
if (PreviousCellId != -1 && CurrentCellId != PreviousCellId) {
FCell* PreviousCell = gridModel->GetCell(PreviousCellId);
FCell* CurrentCell = gridModel->GetCell(CurrentCellId);
if (PreviousCell && CurrentCell && PreviousCell != CurrentCell) {
if (PreviousCell->CellType == FCellType::Room || PreviousCell->CellType == FCellType::Room) {
ConnectAdjacentCells(PreviousCellId, CurrentCellId);
}
}
}
PreviousCellId = CurrentCellId;
}
for (int i = 1; i <= LaneThicknessLeft; i++) {
RegisterCorridorCell(x - i, y, z, roomAId, roomBId);
}
for (int i = 1; i <= LaneThicknessRight; i++) {
RegisterCorridorCell(x + i, y, z, roomAId, roomBId);
}
}
}
}
}
DungeonModelBuildState UGridDungeonBuilder::GetBuildState() {
return gridModel->BuildState;
}
FCell UGridDungeonBuilder::GetCell(int32 Id) {
FCell* cell = gridModel->GetCell(Id);
return cell ? *cell : FCell();
}
struct CellHeightNode {
int32 CellId;
int32 Height;
bool MarkForIncrease;
bool MarkForDecrease;
};
struct CellHeightFrameInfo {
CellHeightFrameInfo(int32 pCellId, int32 pCurrentHeight) : CellId(pCellId), CurrentHeight(pCurrentHeight) {}
int32 CellId;
int32 CurrentHeight;
};
struct StairEdgeInfo {
StairEdgeInfo(int32 pCellIdA, int32 pCellIdB) : CellIdA(pCellIdA), CellIdB(pCellIdB) {}
int32 CellIdA;
int32 CellIdB;
};
bool UGridDungeonBuilder::GetStair(int32 ownerCell, int32 connectedToCell, FStairInfo& outStair) {
if (gridModel->CellStairs.Contains(ownerCell)) {
for (const FStairInfo& stair : gridModel->CellStairs[ownerCell]) {
if (stair.ConnectedToCell == connectedToCell) {
outStair = stair;
return true;
}
}
}
return false;
}
struct StairAdjacencyQueueNode {
StairAdjacencyQueueNode(int32 pCellId, int32 pDepth) : cellId(pCellId), depth(pDepth) {}
int32 cellId;
int32 depth;
};
bool UGridDungeonBuilder::ContainsAdjacencyPath(int32 cellIdA, int32 cellIdB, int32 maxDepth, bool bForceRoomConnection) {
FCell* cellA = gridModel->GetCell(cellIdA);
FCell* cellB = gridModel->GetCell(cellIdB);
if (!cellA || !cellB) return false;
// Force a connection if any one is a room
if (bForceRoomConnection && (cellA->CellType == FCellType::Room || cellB->CellType == FCellType::Room)) {
return false;
}
std::queue<StairAdjacencyQueueNode> queue;
TSet<uint32> visited;
queue.push(StairAdjacencyQueueNode(cellIdA, 0));
while (!queue.empty()) {
StairAdjacencyQueueNode topNode = queue.front(); queue.pop();
if (topNode.depth > maxDepth) continue;
int32 topId = topNode.cellId;
if (visited.Contains(topId)) continue;
visited.Add(topId);
if (topId == cellIdB) {
// Reached the target cell
return true;
}
FCell* top = gridModel->GetCell(topId);
if (!top) continue;
for (int32 adjacentCellId : top->AdjacentCells) {
if (visited.Contains(adjacentCellId)) continue;
// Check if we have a valid path between these two adjacent cells
// (either through same height or by a already registered stair)
FCell* adjacentCell = gridModel->GetCell(adjacentCellId);
bool pathExists = (adjacentCell->Bounds.Location.Z == top->Bounds.Location.Z);
if (!pathExists) {
// Cells are on different heights. Check if we have a stair connecting these cells
FStairInfo stair;
if (GetStair(topId, adjacentCellId, stair)) {
pathExists = true;
}
if (!pathExists) {
if (GetStair(adjacentCellId, topId, stair)) {
pathExists = true;
}
}
}
if (pathExists) {
// We sure we are not going through a wall
if (top->CellType == FCellType::Room || adjacentCell->CellType == FCellType::Room) {
const bool containsDoor = gridModel->DoorManager.ContainsDoorBetweenCells(top->Id, adjacentCellId);
pathExists = containsDoor;
}
}
if (pathExists) {
queue.push(StairAdjacencyQueueNode(adjacentCellId, topNode.depth + 1));
}
}
}
return false;
}
int UGridDungeonBuilder::GetForceDirectionMultiplier(float a, float b, float a1, float b1)
{
if (a == b)
{
return (a1 < b1) ? -1 : 1;
}
return (a < b) ? -1 : 1;
}
FIntVector UGridDungeonBuilder::GetRandomPointInCircle(double radius)
{
float angle = random.FRand() * PI * 2;
float u = random.FRand() + random.FRand();
float r = (u > 1) ? 2 - u : u;
r *= radius;
int32 x = FMath::RoundToInt(FMath::Cos(angle) * r);
int32 y = FMath::RoundToInt(FMath::Sin(angle) * r);
return FIntVector(x, y, 0);
}
bool UGridDungeonBuilder::AreCellsAdjacent(int32 cellAId, int32 cellBId)
{
FCell* cellA = gridModel->GetCell(cellAId);
FCell* cellB = gridModel->GetCell(cellBId);
check(cellA && cellB);
FRectangle intersection = FRectangle::Intersect(cellA->Bounds, cellB->Bounds);
bool adjacent = (intersection.Width() > 0 || intersection.Height() > 0);
return adjacent;
}
int32 UGridDungeonBuilder::GetRandomRoomSize()
{
float r = 0;
while (r <= 0) r = nrandom.NextGaussianFloat(gridConfig->NormalMean, gridConfig->NormalStd);
float roomSize = gridConfig->MinCellSize + r * (gridConfig->MaxCellSize - gridConfig->MinCellSize);
return FMath::RoundToInt(roomSize);
}
struct StairConnectionWeight {
StairConnectionWeight(int32 InPosition, int32 InWeight) : position(InPosition), weight(InWeight) {}
int32 position;
int32 weight;
bool operator<(const StairConnectionWeight& other) const {
return weight > other.weight;
}
};
void UGridDungeonBuilder::ConnectStairs(int32 WeightThreshold) {
if (gridModel->Cells.Num() == 0) return;
TSet<uint32> visited;
TSet<int32> islandVisited; // The node visited, to track multiple isolated islands
// Loop through all the nodes, pick only one node from an island. The entire island is then processed within the inner while loop with BFS
for (int i = 0; i < gridModel->Cells.Num(); i++) {
const FCell& start = gridModel->Cells[i];
if (islandVisited.Contains(start.Id)) {
// This island has already been processed
continue;
}
std::stack<StairEdgeInfo> stack;
stack.push(StairEdgeInfo(-1, start.Id));
while (!stack.empty()) {
StairEdgeInfo top = stack.top(); stack.pop();
if (top.CellIdA >= 0) {
int32 hash1 = HASH(top.CellIdA, top.CellIdB);
int32 hash2 = HASH(top.CellIdB, top.CellIdA);
if (visited.Contains(hash1) || visited.Contains(hash2)) {
// Already processed
continue;
}
// Mark as processed
visited.Add(hash1);
visited.Add(hash2);
islandVisited.Add(top.CellIdA);
islandVisited.Add(top.CellIdB);
// Check if it is really required to place a stair here. There might be other paths nearby to this cell
bool pathExists = ContainsAdjacencyPath(top.CellIdA, top.CellIdB, gridConfig->StairConnectionTollerance, true);
if (!pathExists) {
// Process the edge
FCell* cellA = gridModel->GetCell(top.CellIdA);
FCell* cellB = gridModel->GetCell(top.CellIdB);
if (!cellA || !cellB) continue;
if (cellA->Bounds.Location.Z != cellB->Bounds.Location.Z) {
bool bothRooms = false;
if (cellA->CellType == FCellType::Room && cellB->CellType == FCellType::Room) {
bothRooms = true;
}
// Find the intersecting line
FRectangle intersection = FRectangle::Intersect(cellA->Bounds, cellB->Bounds);
if (intersection.Size.X > 0) {
bool cellAAbove = (cellA->Bounds.Location.Z > cellB->Bounds.Location.Z);
FCell* stairOwner = (cellAAbove ? cellB : cellA);
FCell* stairConnectedTo = (!cellAAbove ? cellB : cellA);
if (ContainsStair(stairOwner->Id, stairConnectedTo->Id)) {
// Stair already exists here. Move to the next one
continue;
}
bool cellOwnerOnLeft = (stairOwner->Bounds.Center().Y < intersection.Location.Y);
bool foundValidStairLocation = false;
int32 validX = intersection.Location.X;
int32 validY = intersection.Location.Y;
if (cellOwnerOnLeft) validY--;
TArray<StairConnectionWeight> StairConnectionCandidates;
for (validX = intersection.Location.X; validX < intersection.Location.X + intersection.Size.X; validX++) {
auto currentPointInfo = gridModel->GetGridCellLookup(validX, validY);
if (stairOwner->CellType == FCellType::Room || stairConnectedTo->CellType == FCellType::Room) {
// Make sure the stair is on a door cell
FGridCellInfo stairCellInfo = gridModel->GetGridCellLookup(validX, validY);
if (!stairCellInfo.ContainsDoor) {
// Stair not connected to a door. Probably trying to attach itself to a room wall. ignore
continue;
}
// We have a door here. A stair case is a must, but first make sure we have a door between these two cells
bool hasDoor = gridModel->DoorManager.ContainsDoorBetweenCells(stairOwner->Id, stairConnectedTo->Id);
if (!hasDoor) continue;
// Check again in more detail
auto tz1 = validY;
auto tz2 = validY - 1;
if (cellOwnerOnLeft) {
tz2 = validY + 1;
}
hasDoor = gridModel->DoorManager.ContainsDoor(validX, tz1, validX, tz2);
if (hasDoor) {
StairConnectionCandidates.Add(StairConnectionWeight(validX, 100));
foundValidStairLocation = true;
break;
}
}
else { // Both the cells are non-rooms (corridors)
int32 weight = 0;
FGridCellInfo cellInfo0 = gridModel->GetGridCellLookup(validX, validY - 1);
FGridCellInfo cellInfo1 = gridModel->GetGridCellLookup(validX, validY + 1);
weight += (cellInfo0.CellType != FCellType::Unknown) ? 10 : 0;
weight += (cellInfo1.CellType != FCellType::Unknown) ? 10 : 0;
if (currentPointInfo.ContainsDoor) {
// Increase the weight if we connect into a door
int adjacentY = cellOwnerOnLeft ? (validY - 1) : (validY + 1);
bool ownerOnDoor = gridModel->DoorManager.ContainsDoor(validX, validY, validX, adjacentY);
if (ownerOnDoor) {
// Connect to this
weight += 100;
}
else {
// Add a penalty if we are creating a stair blocking a door entry/exit
weight -= 100;
}
}
else {
// Make sure we don't connect to a wall
int adjacentY = cellOwnerOnLeft ? (validY - 1) : (validY + 1);
FGridCellInfo adjacentOwnerCellInfo = gridModel->GetGridCellLookup(validX, adjacentY);
if (adjacentOwnerCellInfo.CellType == FCellType::Room) {
// We are connecting to a wall. Add a penalty
weight -= 100;
}
}
// Check the side of the stairs to see if we are not blocking a stair entry / exit
if (gridModel->ContainsStairAtLocation(validX - 1, validY)) {
weight -= 60;
}
if (gridModel->ContainsStairAtLocation(validX + 1, validY)) {
weight -= 60;
}
StairConnectionCandidates.Add(StairConnectionWeight(validX, weight));
}
}
// Create a stair if necessary
if (StairConnectionCandidates.Num() > 0) {
StairConnectionCandidates.Sort();
StairConnectionWeight candidate = StairConnectionCandidates[0];
if (candidate.weight < WeightThreshold) {
continue;
}
validX = candidate.position;
int stairZ = stairOwner->Bounds.Location.Z;
int paddingOffset = (stairOwner->Bounds.Y() > stairConnectedTo->Bounds.Y()) ? 1 : -1;
// Add a corridor padding here
for (int dx = -1; dx <= 1; dx++) {
bool requiresPadding = false;
if (dx == 0) {
requiresPadding = true;
}
else {
auto cellInfo = gridModel->GetGridCellLookup(validX + dx, validY);
if (cellInfo.CellType != FCellType::Unknown) {
requiresPadding = true;
}
}
if (requiresPadding) {
auto paddingInfo = gridModel->GetGridCellLookup(validX + dx, validY + paddingOffset);
if (paddingInfo.CellType == FCellType::Unknown) {
AddCorridorPadding(validX + dx, validY + paddingOffset, stairZ);
}
}
}
gridModel->BuildCellLookup();
GenerateAdjacencyLookup();
}
else {
continue;
}
float validZ = stairOwner->Bounds.Location.Z;
FVector StairLocation(validX, validY, validZ);
StairLocation += FVector(0.5f, 0.5f, 0);
StairLocation *= GridToMeshScale;
FQuat StairRotation = FQuat::Identity;
StairRotation = FQuat(FVector(0, 0, 1), cellOwnerOnLeft ? -PI / 2 : PI / 2);
if (!gridModel->CellStairs.Contains(stairOwner->Id)) {
gridModel->CellStairs.Add(stairOwner->Id, TArray<FStairInfo>());
}
FStairInfo Stair;
Stair.OwnerCell = stairOwner->Id;
Stair.ConnectedToCell = stairConnectedTo->Id;
Stair.Position = StairLocation;
Stair.Rotation = StairRotation;
Stair.IPosition = FIntVector(validX, validY, validZ);
gridModel->CellStairs[stairOwner->Id].Add(Stair);
}
else if (intersection.Size.Y > 0) {
bool cellAAbove = (cellA->Bounds.Location.Z > cellB->Bounds.Location.Z);
FCell* stairOwner = (cellAAbove ? cellB : cellA);
FCell* stairConnectedTo = (!cellAAbove ? cellB : cellA);
if (ContainsStair(stairOwner->Id, stairConnectedTo->Id)) {
// Stair already exists here. Move to the next one
continue;
}
bool cellOwnerOnLeft = (stairOwner->Bounds.Center().X < intersection.Location.X);
float validX = intersection.Location.X;
if (cellOwnerOnLeft) validX--;
float validY = intersection.Location.Y;
bool foundValidStairLocation = false;
TArray<StairConnectionWeight> StairConnectionCandidates;
for (validY = intersection.Location.Y; validY < intersection.Location.Y + intersection.Size.Y; validY++) {
auto currentPointInfo = gridModel->GetGridCellLookup(validX, validY);
if (stairOwner->CellType == FCellType::Room || stairConnectedTo->CellType == FCellType::Room) {
// Make sure the stair is on a door cell
FGridCellInfo stairCellInfo = gridModel->GetGridCellLookup(validX, validY);
if (!stairCellInfo.ContainsDoor) {
// Stair not connected to a door. Probably trying to attach itself to a room wall. ignore
continue;
}
// We have a door here. A stair case is a must, but first make sure we have a door between these two cells
bool hasDoor = gridModel->DoorManager.ContainsDoorBetweenCells(stairOwner->Id, stairConnectedTo->Id);
if (!hasDoor) continue;
// Check again in more detail
auto tx1 = validX;
auto tx2 = validX - 1;
if (cellOwnerOnLeft) {
tx2 = validX + 1;
}
hasDoor = gridModel->DoorManager.ContainsDoor(tx1, validY, tx2, validY);
if (hasDoor) {
StairConnectionCandidates.Add(StairConnectionWeight(validY, 100));
foundValidStairLocation = true;
break;
}
}
else { // Both the cells are non-rooms (corridors)
int32 weight = 0;
FGridCellInfo cellInfo0 = gridModel->GetGridCellLookup(validX - 1, validY);
FGridCellInfo cellInfo1 = gridModel->GetGridCellLookup(validX + 1, validY);
weight += (cellInfo0.CellType != FCellType::Unknown) ? 10 : 0;
weight += (cellInfo1.CellType != FCellType::Unknown) ? 10 : 0;
if (currentPointInfo.ContainsDoor) {
// Increase the weight if we connect into a door
int adjacentX = cellOwnerOnLeft ? (validX - 1) : (validX + 1);
bool ownerOnDoor = gridModel->DoorManager.ContainsDoor(validX, validY, adjacentX, validY);
if (ownerOnDoor) {
// Connect to this
weight += 100;
}
else {
// Add a penalty if we are creating a stair blocking a door entry/exit
weight -= 100;
}
}
else {
// Make sure we don't connect to a wall
int adjacentX = cellOwnerOnLeft ? (validX - 1) : (validX + 1);
FGridCellInfo adjacentOwnerCellInfo = gridModel->GetGridCellLookup(adjacentX, validY);
if (adjacentOwnerCellInfo.CellType == FCellType::Room) {
// We are connecting to a wall. Add a penalty
weight -= 100;
}
}
// Check the side of the stairs to see if we are not blocking a stair entry / exit
if (gridModel->ContainsStairAtLocation(validX, validY - 1)) {
weight -= 60;
}
if (gridModel->ContainsStairAtLocation(validX, validY + 1)) {
weight -= 60;
}
StairConnectionCandidates.Add(StairConnectionWeight(validY, weight));
}
}
// Connect the stairs if necessary
if (StairConnectionCandidates.Num() > 0) {
StairConnectionCandidates.Sort();
StairConnectionWeight candidate = StairConnectionCandidates[0];
if (candidate.weight < WeightThreshold) {
continue;
}
validY = candidate.position;
int stairZ = stairOwner->Bounds.Location.Z;
int paddingOffset = (stairOwner->Bounds.X() > stairConnectedTo->Bounds.X()) ? 1 : -1;
// Add a corridor padding here
for (int dy = -1; dy <= 1; dy++) {
bool requiresPadding = false;
if (dy == 0) {
requiresPadding = true;
}
else {
auto cellInfo = gridModel->GetGridCellLookup(validX, validY + dy);
if (cellInfo.CellType != FCellType::Unknown) {
requiresPadding = true;
}
}
if (requiresPadding) {
auto paddingInfo = gridModel->GetGridCellLookup(validX + paddingOffset, validY + dy);
if (paddingInfo.CellType == FCellType::Unknown) {
AddCorridorPadding(validX + paddingOffset, validY + dy, stairZ);
}
}
}
gridModel->BuildCellLookup();
//gridModel.BuildSpatialCellLookup();
GenerateAdjacencyLookup();
}
else {
continue;
}
float validZ = stairOwner->Bounds.Location.Z;
FVector StairLocation(validX, validY, validZ);
StairLocation += FVector(0.5f, 0.5f, 0);
StairLocation *= GridToMeshScale;
FQuat StairRotation = FQuat::Identity;
StairRotation = FQuat(FVector(0, 0, 1), cellOwnerOnLeft ? PI : 0);
if (!gridModel->CellStairs.Contains(stairOwner->Id)) {
gridModel->CellStairs.Add(stairOwner->Id, TArray<FStairInfo>());
}
FStairInfo Stair;
Stair.OwnerCell = stairOwner->Id;
Stair.ConnectedToCell = stairConnectedTo->Id;
Stair.Position = StairLocation;
Stair.Rotation = StairRotation;
Stair.IPosition = FIntVector(validX, validY, validZ);
gridModel->CellStairs[stairOwner->Id].Add(Stair);
}
}
}
}
// Move to the next adjacent nodes
FCell* cellB = gridModel->GetCell(top.CellIdB);
if (!cellB) continue;
for (int32 adjacentCell : cellB->AdjacentCells) {
int32 hash1 = HASH(cellB->Id, adjacentCell);
int32 hash2 = HASH(adjacentCell, cellB->Id);
if (visited.Contains(hash1) || visited.Contains(hash2)) continue;
StairEdgeInfo edge(top.CellIdB, adjacentCell);
stack.push(edge);
}
}
}
}
void UGridDungeonBuilder::GenerateDungeonHeights() {
// build the adjacency graph in memory
if (gridModel->Cells.Num() == 0) return;
TMap<int32, CellHeightNode> CellHeightNodes;
TSet<int32> visited;
for (const FCell& startCell : gridModel->Cells) {
std::stack<CellHeightFrameInfo> stack;
if (visited.Contains(startCell.Id)) {
continue;
}
stack.push(CellHeightFrameInfo(startCell.Id, startCell.Bounds.Location.Z));
while (!stack.empty()) {
CellHeightFrameInfo top = stack.top(); stack.pop();
if (visited.Contains(top.CellId)) continue;
visited.Add(top.CellId);
FCell* cell = gridModel->GetCell(top.CellId);
if (!cell) continue;
bool applyHeightVariation = (cell->Bounds.Size.X > 1 && cell->Bounds.Size.Y > 1);
applyHeightVariation &= (cell->CellType != FCellType::Room && cell->CellType != FCellType::CorridorPadding);
applyHeightVariation &= !cell->UserDefined;
if (applyHeightVariation) {
float rand = random.FRand();
if (rand < gridConfig->HeightVariationProbability / 2.0f) {
top.CurrentHeight--;
}
else if (rand < gridConfig->HeightVariationProbability) {
top.CurrentHeight++;
}
}
if (cell->UserDefined) {
top.CurrentHeight = cell->Bounds.Location.Z;
}
CellHeightNode node;
node.CellId = cell->Id;
node.Height = top.CurrentHeight;
node.MarkForIncrease = false;
node.MarkForDecrease = false;
CellHeightNodes.Add(node.CellId, node);
// Add the child nodes
for (int32 childId : cell->AdjacentCells) {
if (visited.Contains(childId)) continue;
stack.push(CellHeightFrameInfo(childId, top.CurrentHeight));
}
}
}
// Fix the dungeon heights
const int32 FIX_MAX_TRIES = 50; // TODO: Move to gridConfig
int32 fixIterations = 0;
while (fixIterations < FIX_MAX_TRIES && FixDungeonCellHeights(CellHeightNodes)) {
fixIterations++;
}
// Assign the calculated heights
for (FCell& cell : gridModel->Cells) {
if (CellHeightNodes.Contains(cell.Id)) {
const CellHeightNode& node = CellHeightNodes[cell.Id];
cell.Bounds.Location.Z = node.Height;
}
}
}
bool UGridDungeonBuilder::FixDungeonCellHeights(TMap<int32, CellHeightNode>& CellHeightNodes)
{
bool bContinueIteration = false;
if (gridModel->Cells.Num() == 0) return bContinueIteration;
TSet<int32> visited;
std::stack<int32> stack;
const FCell& rootCell = gridModel->Cells[0];
stack.push(rootCell.Id);
while (!stack.empty()) {
int32 cellId = stack.top(); stack.pop();
if (visited.Contains(cellId)) continue;
visited.Add(cellId);
FCell* cell = gridModel->GetCell(cellId);
if (!cell) continue;
if (!CellHeightNodes.Contains(cellId)) continue;
CellHeightNode& heightNode = CellHeightNodes[cellId];
heightNode.MarkForIncrease = false;
heightNode.MarkForDecrease = false;
// Check if the adjacent cells have unreachable heights
for (int32 childId : cell->AdjacentCells) {
FCell* childCell = gridModel->GetCell(childId);
if (!childCell || !CellHeightNodes.Contains(childId)) continue;
CellHeightNode& childHeightNode = CellHeightNodes[childId];
int32 heightDifference = FMath::Abs(childHeightNode.Height - heightNode.Height);
if (heightDifference > gridConfig->MaxAllowedStairHeight) {
if (heightNode.Height > childHeightNode.Height) {
heightNode.MarkForDecrease = true;
}
else {
heightNode.MarkForIncrease = true;
}
break;
}
}
// Add the child nodes
for (int32 childId : cell->AdjacentCells) {
if (visited.Contains(childId)) continue;
stack.push(childId);
}
}
TArray<int32> HeightCellIds;
CellHeightNodes.GenerateKeyArray(HeightCellIds);
bool bHeightChanged = false;
for (int32 cellId : HeightCellIds) {
CellHeightNode& heightNode = CellHeightNodes[cellId];
if (heightNode.MarkForDecrease) {
heightNode.Height--;
bHeightChanged = true;
}
else if (heightNode.MarkForIncrease) {
heightNode.Height++;
bHeightChanged = true;
}
}
// Iterate this function again if the height was changed in this step
bContinueIteration = bHeightChanged;
return bContinueIteration;
}
void UGridDungeonBuilder::GenerateAdjacencyLookup() {
// Cache the cell types based on their positions
TMap<int32, TMap<int32, FGridCellInfo> >& GridCellInfoLookup = gridModel->GridCellInfoLookup;
GridCellInfoLookup.Reset();
for (const FCell& cell : gridModel->Cells) {
if (cell.CellType == FCellType::Unknown) continue;
FIntVector basePosition = cell.Bounds.Location;
FTransform transform = FTransform::Identity;
for (int dx = 0; dx < cell.Bounds.Size.X; dx++) {
for (int dy = 0; dy < cell.Bounds.Size.Y; dy++) {
int32 x = basePosition.X + dx;
int32 y = basePosition.Y + dy;
// register the cell type in the lookup
if (!GridCellInfoLookup.Contains(x)) GridCellInfoLookup.Add(x, TMap<int32, FGridCellInfo>());
GridCellInfoLookup[x].Add(y, FGridCellInfo(cell.Id, cell.CellType));
}
}
}
// Create cell adjacency list
for (FCell& cell : gridModel->Cells) {
if (cell.CellType == FCellType::Unknown) continue;
FIntVector basePosition = cell.Bounds.Location;
FTransform transform = FTransform::Identity;
int32 SizeX = cell.Bounds.Size.X;
int32 SizeY = cell.Bounds.Size.Y;
for (int dx = 0; dx < SizeX; dx++) {
for (int dy = 0; dy < SizeY; dy++) {
if (dx >= 0 && dx < SizeX - 1 && dy >= 0 && dy < SizeY - 1) {
// Ignore the cells in the middle
continue;
}
int32 x = cell.Bounds.Location.X + dx;
int32 y = cell.Bounds.Location.Y + dy;
CheckAndMarkAdjacent(cell, x + 1, y);
CheckAndMarkAdjacent(cell, x, y + 1);
}
}
}
// Cache the positions of the doors in the grid
for (const FCellDoor& Door : GetDoors()) {
int32 x0 = Door.AdjacentTiles[0].X;
int32 y0 = Door.AdjacentTiles[0].Y;
int32 x1 = Door.AdjacentTiles[1].X;
int32 y1 = Door.AdjacentTiles[1].Y;
if (GridCellInfoLookup.Contains(x0) && GridCellInfoLookup[x0].Contains(y0)) GridCellInfoLookup[x0][y0].ContainsDoor = true;
if (GridCellInfoLookup.Contains(x1) && GridCellInfoLookup[x1].Contains(y1)) GridCellInfoLookup[x1][y1].ContainsDoor = true;
}
}
void UGridDungeonBuilder::CheckAndMarkAdjacent(FCell& cell, int32 otherCellX, int32 otherCellY) {
FGridCellInfo info = gridModel->GetGridCellLookup(otherCellX, otherCellY);
if (info.CellId == cell.Id) return;
FCell* otherCell = gridModel->GetCell(info.CellId);
if (!otherCell) return;
if (otherCell->CellType == FCellType::Unknown || cell.CellType == FCellType::Unknown) return;
// Mark the two cells as adjacent
cell.AdjacentCells.Add(otherCell->Id);
otherCell->AdjacentCells.Add(cell.Id);
}
void UGridDungeonBuilder::DrawDebugData(UWorld* InWorld, bool bPersistant, float lifeTime) {
if (!gridModel || !gridConfig) return;
for (const FCell& cell : gridModel->Cells) {
if (cell.CellType == FCellType::Unknown) continue;
FVector Location = UDungeonModelHelper::MakeVector(cell.Bounds.Location);
FVector Size = UDungeonModelHelper::MakeVector(cell.Bounds.Size);
Size /= 2;
Location += Size;
Location *= GridToMeshScale;
Size *= GridToMeshScale;
Size += FVector(0, 0, 5);
FColor Color = FColor::White;
switch (cell.CellType) {
case FCellType::Room:
Color = FColor::Red;
break;
case FCellType::Corridor:
Color = FColor(0, 255, 255);
break;
case FCellType::CorridorPadding:
Color = FColor(0, 0, 255);
break;
}
FColor SolidColor = Color;
SolidColor.A = 32;
DrawDebugSolidBox(InWorld, Location, Size, SolidColor, bPersistant, lifeTime);
DrawDebugBox(InWorld, Location, Size, Color, bPersistant, lifeTime);
std::stringstream message;
message << Location.Z << " [" << cell.Id << "]";
//FString HeightText = FString::FormatAsNumber(Location.Z);
FString HeightText = message.str().c_str();
DrawDebugString(InWorld, Location, HeightText, NULL, Color.White, lifeTime);
// Debug draw the adjacency list
for (int32 adjacentCellId : cell.AdjacentCells) {
FCell* adjacentCell = gridModel->GetCell(adjacentCellId);
if (!adjacentCell) continue;
FVector CellCenter0, CellCenter1;
UGridDungeonModelHelper::GetCellCenter(cell, CellCenter0);
UGridDungeonModelHelper::GetCellCenter(*adjacentCell, CellCenter1);
CellCenter0 *= GridToMeshScale;
CellCenter1 *= GridToMeshScale;
DrawDebugLine(InWorld, CellCenter0, CellCenter1, FColor(255, 128, 0), bPersistant, lifeTime, 0, 20);
}
}
// Draw room connections
TArray<FCell*> rooms = GetCellsOfType(FCellType::Room);
for (FCell* room : rooms) {
for (int32 otherDelauney : room->ConnectedRooms) {
FCell* other = gridModel->GetCell(otherDelauney);
if (other) {
bool bPreferedEdge = room->FixedRoomConnections.Contains(otherDelauney);
FColor color = bPreferedEdge ? FColor::Red : FColor::Green;
FVector CellCenter0, CellCenter1;
UGridDungeonModelHelper::GetCellCenter(*room, CellCenter0);
UGridDungeonModelHelper::GetCellCenter(*other, CellCenter1);
CellCenter0 *= GridToMeshScale;
CellCenter1 *= GridToMeshScale;
DrawDebugLine(InWorld, CellCenter0, CellCenter1, color, bPersistant, lifeTime, 0, 40);
}
}
}
for (const FCellDoor& door : GetDoors()) {
FVector Start = UDungeonModelHelper::MakeVector(door.AdjacentTiles[0]);
FVector End = UDungeonModelHelper::MakeVector(door.AdjacentTiles[1]);
Start += FVector(0.5f, 0.5f, 0);
End += FVector(0.5f, 0.5f, 0);
Start *= GridToMeshScale;
End *= GridToMeshScale;
DrawDebugLine(InWorld, Start, End, FColor::Green, bPersistant, lifeTime, 0, 20);
}
}
void UGridDungeonBuilder::MirrorDungeon()
{
if (Dungeon) {
for (TObjectIterator<ADungeonMirrorVolume> Volume; Volume; ++Volume)
{
if (!Volume || Volume->IsPendingKill() || !Volume->IsValidLowLevel()) {
continue;
}
if (Volume->Dungeon == Dungeon) {
// Build a lookup of the theme for faster access later on
MirrorDungeonWithVolume(*Volume);
// Cache the cell types based on their positions
TMap<int32, TMap<int32, FGridCellInfo> >& GridCellInfoLookup = gridModel->GridCellInfoLookup;
GridCellInfoLookup.Reset();
for (const FCell& cell : gridModel->Cells) {
if (cell.CellType == FCellType::Unknown) continue;
FIntVector basePosition = cell.Bounds.Location;
FTransform transform = FTransform::Identity;
for (int dx = 0; dx < cell.Bounds.Size.X; dx++) {
for (int dy = 0; dy < cell.Bounds.Size.Y; dy++) {
int32 x = basePosition.X + dx;
int32 y = basePosition.Y + dy;
// register the cell type in the lookup
if (!GridCellInfoLookup.Contains(x)) GridCellInfoLookup.Add(x, TMap<int32, FGridCellInfo>());
GridCellInfoLookup[x].Add(y, FGridCellInfo(cell.Id, cell.CellType));
}
}
}
gridModel->BuildCellLookup();
}
}
}
}
TSubclassOf<UDungeonModel> UGridDungeonBuilder::GetModelClass()
{
return UGridDungeonModel::StaticClass();
}
TSubclassOf<UDungeonConfig> UGridDungeonBuilder::GetConfigClass()
{
return UGridDungeonConfig::StaticClass();
}
TSubclassOf<UDungeonToolData> UGridDungeonBuilder::GetToolDataClass()
{
return UGridDungeonToolData::StaticClass();
}
bool UGridDungeonBuilder::ProcessSpatialConstraint(UDungeonSpatialConstraint* SpatialConstraint, const FTransform& Transform, FQuat& OutRotationOffset)
{
if (UGridSpatialConstraint3x3* Constraint = Cast<UGridSpatialConstraint3x3>(SpatialConstraint)) {
return ProcessSpatialConstraint3x3(Constraint, Transform, OutRotationOffset);
}
if (UGridSpatialConstraint2x2* Constraint = Cast<UGridSpatialConstraint2x2>(SpatialConstraint)) {
return ProcessSpatialConstraint2x2(Constraint, Transform, OutRotationOffset);
}
if (UGridSpatialConstraintEdge* Constraint = Cast<UGridSpatialConstraintEdge>(SpatialConstraint)) {
return ProcessSpatialConstraintEdge(Constraint, Transform, OutRotationOffset);
}
return false;
}
void UGridDungeonBuilder::GetDefaultMarkerNames(TArray<FString>& OutMarkerNames)
{
OutMarkerNames.Reset();
OutMarkerNames.Add("Ground");
OutMarkerNames.Add("Wall");
OutMarkerNames.Add("WallSeparator");
OutMarkerNames.Add("Fence");
OutMarkerNames.Add("FenceSeparator");
OutMarkerNames.Add("Door");
OutMarkerNames.Add("Stair");
OutMarkerNames.Add("Stair2X");
OutMarkerNames.Add("WallHalf");
OutMarkerNames.Add("WallHalfSeparator");
}
bool UGridDungeonBuilder::ContainsCell(int32 x, int32 y)
{
return gridModel->GridCellInfoLookup.Contains(x) && gridModel->GridCellInfoLookup[x].Contains(y);
}
void UGridDungeonBuilder::GetRooms(TArray<FCell>& RoomCells)
{
GetCellsOfType(FCellType::Room, RoomCells);
}
void UGridDungeonBuilder::GetCorridors(TArray<FCell>& CorridorCells)
{
GetCellsOfType(FCellType::Corridor, CorridorCells);
GetCellsOfType(FCellType::CorridorPadding, CorridorCells);
}
void UGridDungeonBuilder::GetCellsOfType(FCellType CellType, TArray<FCell>& Cells)
{
for (const FCell& cell : gridModel->Cells) {
if (cell.CellType == CellType) {
Cells.Add(cell);
}
}
}
void UGridDungeonBuilder::BuildMesh_Floor(const FCell& cell) {
FIntVector basePosition = cell.Bounds.Location;
FTransform transform = FTransform::Identity;
for (int dx = 0; dx < cell.Bounds.Size.X; dx++) {
for (int dy = 0; dy < cell.Bounds.Size.Y; dy++) {
int32 x = basePosition.X + dx;
int32 y = basePosition.Y + dy;
int32 z = basePosition.Z;
FVector position(x, y, z);
position += FVector(0.5f, 0.5f, 0);
position *= GridToMeshScale;
transform.SetLocation(position);
AddPropSocket(ST_GROUND, transform);
}
}
}
/*
void UGridDungeonBuilder::DrawDebugSockets(const TArray<FNamedPropSocket>& sockets) {
for (const FNamedPropSocket& socket : sockets) {
FVector Location = socket.Transform.GetLocation();
DrawDebugSphere(GetWorld(), Location, 50, 8, FColor::Green, true, 1000);
DrawDebugString(GetWorld(), Location, socket.SocketType, NULL, FColor::White, 1000);
}
}
*/
void UGridDungeonBuilder::BuildMesh_RoomDecoration(const FCell& cell) {
FIntVector ILocation = cell.Bounds.Location;
FIntVector ISize = cell.Bounds.Size;
FVector Position = UDungeonModelHelper::MakeVector(ILocation) * GridToMeshScale;
FVector Size = UDungeonModelHelper::MakeVector(ISize) * GridToMeshScale;
FVector Center = Position + Size / 2.0f;
FTransform transform = FTransform::Identity;
int32 x = ILocation.X;
int32 y = ILocation.Y;
int32 z = ILocation.Z;
for (int32 dx = 0; dx < ISize.X; dx++) {
FVector Location = FVector(x + dx, y, z);
transform.SetRotation(FQuat(FVector(0, 0, 1), 0));
transform.SetLocation(Location * GridToMeshScale);
if (dx > 0) {
AddPropSocket(ST_ROOMWALLSEPARATOR, transform);
}
Location += FVector(0.5f, 0, 0);
transform.SetLocation(Location * GridToMeshScale);
AddPropSocket(ST_ROOMWALL, transform);
Location = FVector(x + dx, y + ISize.Y, z);
transform.SetRotation(FQuat(FVector(0, 0, 1), PI));
transform.SetLocation(Location * GridToMeshScale);
if (dx > 0) {
AddPropSocket(ST_ROOMWALLSEPARATOR, transform);
}
Location += FVector(0.5f, 0, 0);
transform.SetLocation(Location * GridToMeshScale);
AddPropSocket(ST_ROOMWALL, transform);
}
for (int32 dy = 0; dy < ISize.Y; dy++) {
FVector Location = FVector(x, y + dy, z);
transform.SetLocation(Location * GridToMeshScale);
transform.SetRotation(FQuat(FVector(0, 0, 1), -PI / 2));
if (dy > 0) {
AddPropSocket(ST_ROOMWALLSEPARATOR, transform);
}
Location += FVector(0, 0.5f, 0);
transform.SetLocation(Location * GridToMeshScale);
AddPropSocket(ST_ROOMWALL, transform);
Location = FVector(x + ISize.X, y + dy, z);
transform.SetRotation(FQuat(FVector(0, 0, 1), PI / 2));
transform.SetLocation(Location * GridToMeshScale);
if (dy > 0) {
AddPropSocket(ST_ROOMWALLSEPARATOR, transform);
}
Location += FVector(0, 0.5f, 0);
transform.SetLocation(Location * GridToMeshScale);
AddPropSocket(ST_ROOMWALL, transform);
}
{
// Add open space markers
transform = FTransform::Identity;
transform.SetLocation(Center);
AddPropSocket(ST_ROOMOPENSPACE, transform);
}
//DrawDebugSockets(RoomSockets);
}
void UGridDungeonBuilder::FixDoorTransform(int32 x0, int32 y0, int32 x1, int32 y1, FTransform& OutTransform)
{
FCell* cell0 = gridModel->GetCell(gridModel->GetGridCellLookup(x0, y0).CellId);
FCell* cell1 = gridModel->GetCell(gridModel->GetGridCellLookup(x1, y1).CellId);
if (!cell0 || !cell1) return;
float z = FMath::Max(cell0->Bounds.Location.Z, cell1->Bounds.Location.Z);
FVector Location = OutTransform.GetLocation();
Location.Z = z * GridToMeshScale.Z;
//OutTransform.SetLocation(Location);
}
void UGridDungeonBuilder::AddCorridorPadding(int x, int y, int z)
{
FCell padding;
padding.Id = GetNextCellId();
padding.UserDefined = false;
FRectangle bounds(x, y, 1, 1);
bounds.Location.Z = z;
padding.Bounds = bounds;
padding.CellType = FCellType::CorridorPadding;
gridModel->Cells.Add(padding);
}
void UGridDungeonBuilder::RemoveStairAtDoor(const FCellDoor& Door)
{
int32 CellA = Door.AdjacentCells[0];
int32 CellB = Door.AdjacentCells[1];
if (gridModel->CellStairs.Contains(CellA)) {
TArray<FStairInfo>& CellAStairs = gridModel->CellStairs[CellA];
for (int i = 0; i < CellAStairs.Num(); i++) {
if (CellAStairs[i].ConnectedToCell == CellB) {
// Found our cell. Remove it
CellAStairs.RemoveAt(i);
break;
}
}
}
// Remove from the other direction
if (gridModel->CellStairs.Contains(CellB)) {
TArray<FStairInfo>& CellBStairs = gridModel->CellStairs[CellB];
for (int i = 0; i < CellBStairs.Num(); i++) {
if (CellBStairs[i].ConnectedToCell == CellA) {
// Found our cell. Remove it
CellBStairs.RemoveAt(i);
break;
}
}
}
}
void OffsetTransformZ(const float Z, FTransform& OutTransform) {
FVector Location = OutTransform.GetLocation();
Location.Z += Z;
OutTransform.SetLocation(Location);
}
void UGridDungeonBuilder::BuildMesh_Room(const FCell& cell) {
BuildMesh_Floor(cell);
FVector HalfWallOffset = GridToMeshScale * FVector(0, 0, -1);
// Build the room walls
FIntVector basePosition = cell.Bounds.Location;
int32 elevation;
// build walls along the width
for (int dx = 0; dx < cell.Bounds.Size.X; dx++) {
int32 x = basePosition.X + dx;
int32 y = basePosition.Y;
int32 z = basePosition.Z;
FTransform transform = FTransform::Identity;
FVector position(x, y, z);
position += FVector(0.5f, 0, 0);
position *= GridToMeshScale;
transform.SetLocation(position);
transform.SetRotation(FQuat(FVector(0, 0, 1), PI));
int32 OffsetZ = 0;
bool makeDoor = (gridModel->GetGridCellLookup(x, y).ContainsDoor && gridModel->GetGridCellLookup(x, y - 1).ContainsDoor);
elevation = GetElevation(cell, x, y - 1, OffsetZ);
OffsetTransformZ(OffsetZ * GridToMeshScale.Z, transform);
FString SocketType = makeDoor ? ST_DOOR : ST_WALL;
AddPropSocket(SocketType, transform);
AddPropSocket(ST_WALLHALF, transform, elevation, HalfWallOffset);
// Add the pillar
transform.SetLocation(FVector(x, y, z) * GridToMeshScale);
OffsetTransformZ(OffsetZ * GridToMeshScale.Z, transform);
AddPropSocket(ST_WALLSEPARATOR, transform);
AddPropSocket(ST_WALLHALFSEPARATOR, transform, elevation, HalfWallOffset);
y += cell.Bounds.Size.Y;
elevation = GetElevation(cell, x, y, OffsetZ);
FGridCellInfo AdjacentCellInfo = gridModel->GetGridCellLookup(x, y);
if (AdjacentCellInfo.CellType != FCellType::Room) {
position.Y = y * GridToMeshScale.Y;
transform.SetLocation(position);
transform.SetRotation(FQuat(FVector(0, 0, 1), 0));
makeDoor = (gridModel->GetGridCellLookup(x, y).ContainsDoor && gridModel->GetGridCellLookup(x, y - 1).ContainsDoor);
SocketType = makeDoor ? ST_DOOR : ST_WALL;
OffsetTransformZ(OffsetZ * GridToMeshScale.Z, transform);
AddPropSocket(SocketType, transform);
AddPropSocket(ST_WALLHALF, transform, elevation, HalfWallOffset);
// Add the pillar
transform.SetLocation(FVector(x + 1, y, z) * GridToMeshScale);
OffsetTransformZ(OffsetZ * GridToMeshScale.Z, transform);
AddPropSocket(ST_WALLSEPARATOR, transform);
AddPropSocket(ST_WALLHALFSEPARATOR, transform, elevation, HalfWallOffset);
}
}
// build walls along the length
for (int dy = 0; dy < cell.Bounds.Size.Y; dy++) {
int32 x = basePosition.X;
int32 y = basePosition.Y + dy;
int32 z = basePosition.Z;
FTransform transform = FTransform::Identity;
FVector position(x, y, z);
position += FVector(0, 0.5f, 0);
position *= GridToMeshScale;
transform.SetLocation(position);
transform.SetRotation(FQuat(FVector(0, 0, 1), PI / 2));
int32 OffsetZ = 0;
bool makeDoor = (gridModel->GetGridCellLookup(x, y).ContainsDoor && gridModel->GetGridCellLookup(x - 1, y).ContainsDoor);
elevation = GetElevation(cell, x - 1, y, OffsetZ);
FString SocketType = makeDoor ? ST_DOOR : ST_WALL;
OffsetTransformZ(OffsetZ * GridToMeshScale.Z, transform);
AddPropSocket(SocketType, transform);
AddPropSocket(ST_WALLHALF, transform, elevation, HalfWallOffset);
// Add the pillar
transform.SetLocation(FVector(x, y + 1, z) * GridToMeshScale);
OffsetTransformZ(OffsetZ * GridToMeshScale.Z, transform);
AddPropSocket(ST_WALLSEPARATOR, transform);
AddPropSocket(ST_WALLHALFSEPARATOR, transform, elevation, HalfWallOffset);
x += cell.Bounds.Size.X;
elevation = GetElevation(cell, x, y, OffsetZ);
FGridCellInfo AdjacentCellInfo = gridModel->GetGridCellLookup(x, y);
if (AdjacentCellInfo.CellType != FCellType::Room) {
position.X = x * GridToMeshScale.X;
transform.SetLocation(position);
transform.SetRotation(FQuat(FVector(0, 0, 1), -PI / 2));
makeDoor = (gridModel->GetGridCellLookup(x, y).ContainsDoor && gridModel->GetGridCellLookup(x - 1, y).ContainsDoor);
SocketType = makeDoor ? ST_DOOR : ST_WALL;
OffsetTransformZ(OffsetZ * GridToMeshScale.Z, transform);
AddPropSocket(SocketType, transform);
AddPropSocket(ST_WALLHALF, transform, elevation, HalfWallOffset);
// Add the pillar
transform.SetLocation(FVector(x, y, z) * GridToMeshScale);
OffsetTransformZ(OffsetZ * GridToMeshScale.Z, transform);
AddPropSocket(ST_WALLSEPARATOR, transform);
AddPropSocket(ST_WALLHALFSEPARATOR, transform, elevation, HalfWallOffset);
}
}
}
int32 UGridDungeonBuilder::GetElevation(const FCell& baseCell, int32 x, int32 y, int32& OutZOffset) {
OutZOffset = 0;
FGridCellInfo info = gridModel->GetGridCellLookup(x, y);
int32 elevation = gridConfig->FloorHeight;
if (info.CellType == FCellType::Unknown) return elevation;
FCell* otherCell = gridModel->GetCell(info.CellId);
if (!otherCell) {
return elevation;
}
OutZOffset = otherCell->Bounds.Location.Z - baseCell.Bounds.Location.Z;
elevation = FMath::Max(elevation, FMath::Abs(OutZOffset));
OutZOffset = FMath::Max(0, OutZOffset);
//return FMath::Max(elevation, baseCell.Bounds.Location.Z - otherCell->Bounds.Location.Z);
return elevation;
}
int32 UGridDungeonBuilder::GetStairHeight(const FStairInfo& stair) {
FCell* owner = gridModel->GetCell(stair.OwnerCell);
FCell* target = gridModel->GetCell(stair.ConnectedToCell);
if (!owner || !target) return 1;
return FMath::Abs(owner->Bounds.Location.Z - target->Bounds.Location.Z);
}
void UGridDungeonBuilder::BuildMesh_Stairs(const FCell& cell) {
// Draw all the stairs registered with this cell
if (!gridModel->CellStairs.Contains(cell.Id)) {
// No stairs registered here
return;
}
for (const FStairInfo stair : gridModel->CellStairs[cell.Id]) {
FTransform transform = FTransform::Identity;
transform.SetLocation(stair.Position);
transform.SetRotation(stair.Rotation);
int stairHeight = GetStairHeight(stair);
FString StairType = (stairHeight > 1) ? ST_STAIR2X : ST_STAIR;
AddPropSocket(StairType, transform);
}
}
bool UGridDungeonBuilder::ContainsStair(const FCell& baseCell, int32 x, int32 y) {
FGridCellInfo info = gridModel->GetGridCellLookup(x, y);
if (info.CellType == FCellType::Unknown) return false;
FCell* cell = gridModel->GetCell(info.CellId);
if (!cell) return false;
FStairInfo stair;
if (GetStair(cell->Id, baseCell.Id, stair)) {
FVector IPosition = (stair.Position / GridToMeshScale);
int32 ix = FMath::FloorToInt(IPosition.X);
int32 iy = FMath::FloorToInt(IPosition.Y);
if (ix == x && iy == y) {
return true;
}
}
return false;
}
bool UGridDungeonBuilder::ContainsStair(int32 ownerCellId, int32 connectedToCellId)
{
if (!gridModel->CellStairs.Contains(ownerCellId)) {
return false;
}
for (const FStairInfo& stairInfo : gridModel->CellStairs[ownerCellId]) {
if (stairInfo.ConnectedToCell == connectedToCellId) {
return true;
}
}
return false;
}
bool UGridDungeonBuilder::CanDrawFence(const FCell& baseCell, int32 x, int32 y, bool& isElevatedFence, bool& drawPillar, int& elevationHeight) {
FGridCellInfo info = gridModel->GetGridCellLookup(x, y);
isElevatedFence = false;
drawPillar = false;
elevationHeight = 0;
if (info.CellType == FCellType::Unknown) {
isElevatedFence = false;
drawPillar = true;
return true;
}
bool bCanDrawFence = false;
FCell* otherCell = gridModel->GetCell(info.CellId);
if (otherCell->Bounds.Location.Z < baseCell.Bounds.Location.Z) {
isElevatedFence = true;
elevationHeight = baseCell.Bounds.Location.Z - otherCell->Bounds.Location.Z;
drawPillar = true;
// Make sure we don't have a stair between the two cells
if (!ContainsStair(baseCell, x, y)) {
bCanDrawFence = true;
}
}
// If the two cells are a room / corridor combo, we don't want a fence here
if (IsRoomCorridor(baseCell.CellType, info.CellType)) {
isElevatedFence = false;
elevationHeight = 0;
bCanDrawFence = false;
}
return bCanDrawFence;
}
void UGridDungeonBuilder::BuildMesh_Corridor(const FCell& cell) {
BuildMesh_Floor(cell);
FVector HalfWallOffset = GridToMeshScale * FVector(0, 0, -1);
FIntVector basePosition = cell.Bounds.Location;
// build fence along the width
for (int dx = 0; dx < cell.Bounds.Size.X; dx++) {
int32 x = basePosition.X + dx;
int32 y = basePosition.Y;
int32 z = basePosition.Z;
int elevationHeight;
bool isElevatedFence, drawPillar;
bool drawFence = CanDrawFence(cell, x, y - 1, isElevatedFence, drawPillar, elevationHeight);
FTransform transform = FTransform::Identity;
if (drawFence || isElevatedFence) {
FVector position(x, y, z);
position += FVector(0.5f, 0, 0);
position *= GridToMeshScale;
transform.SetLocation(position);
transform.SetRotation(FQuat(FVector(0, 0, 1), 0));
if (drawFence) {
AddPropSocket(ST_FENCE, transform);
}
if (isElevatedFence) {
AddPropSocket(ST_WALLHALF, transform, elevationHeight, HalfWallOffset);
}
}
if (drawFence || drawPillar) {
transform.SetLocation(FVector(x, y, z) * GridToMeshScale);
AddPropSocket(ST_FENCESEPARATOR, transform);
if (isElevatedFence) {
AddPropSocket(ST_WALLHALFSEPARATOR, transform, elevationHeight, HalfWallOffset);
}
}
y += cell.Bounds.Size.Y;
drawFence = CanDrawFence(cell, x, y, isElevatedFence, drawPillar, elevationHeight);
transform = FTransform::Identity;
if (drawFence || isElevatedFence) {
FVector position(x, y, z);
position += FVector(0.5f, 0, 0);
position *= GridToMeshScale;
transform.SetLocation(position);
transform.SetRotation(FQuat(FVector(0, 0, 1), PI));
if (drawFence) {
AddPropSocket(ST_FENCE, transform);
}
if (isElevatedFence) {
AddPropSocket(ST_WALLHALF, transform, elevationHeight, HalfWallOffset);
}
}
if (drawFence || drawPillar) {
transform.SetLocation(FVector(x + 1, y, z) * GridToMeshScale);
AddPropSocket(ST_FENCESEPARATOR, transform);
if (isElevatedFence) {
AddPropSocket(ST_WALLHALFSEPARATOR, transform, elevationHeight, HalfWallOffset);
}
}
}
// build fence along the length
for (int dy = 0; dy < cell.Bounds.Size.Y; dy++) {
int32 x = basePosition.X;
int32 y = basePosition.Y + dy;
int32 z = basePosition.Z;
int elevationHeight;
bool isElevatedFence, drawPillar;
bool drawFence = CanDrawFence(cell, x - 1, y, isElevatedFence, drawPillar, elevationHeight);
FTransform transform = FTransform::Identity;
if (drawFence || isElevatedFence) {
FVector position(x, y, z);
position += FVector(0, 0.5f, 0);
position *= GridToMeshScale;
transform.SetLocation(position);
transform.SetRotation(FQuat(FVector(0, 0, 1), -PI / 2));
if (drawFence) {
AddPropSocket(ST_FENCE, transform);
}
if (isElevatedFence) {
AddPropSocket(ST_WALLHALF, transform, elevationHeight, HalfWallOffset);
}
}
if (drawFence || drawPillar) {
transform.SetLocation(FVector(x, y + 1, z) * GridToMeshScale);
AddPropSocket(ST_FENCESEPARATOR, transform);
if (isElevatedFence) {
AddPropSocket(ST_WALLHALFSEPARATOR, transform, elevationHeight, HalfWallOffset);
}
}
x += cell.Bounds.Size.X;
drawFence = CanDrawFence(cell, x, y, isElevatedFence, drawPillar, elevationHeight);
transform = FTransform::Identity;
if (drawFence || isElevatedFence) {
FVector position(x, y, z);
position += FVector(0, 0.5f, 0);
position *= GridToMeshScale;
transform.SetLocation(position);
transform.SetRotation(FQuat(FVector(0, 0, 1), PI / 2));
if (drawFence) {
AddPropSocket(ST_FENCE, transform);
}
if (isElevatedFence) {
AddPropSocket(ST_WALLHALF, transform, elevationHeight, HalfWallOffset);
}
}
if (drawFence || drawPillar) {
transform.SetLocation(FVector(x, y, z) * GridToMeshScale);
AddPropSocket(ST_FENCESEPARATOR, transform);
if (isElevatedFence) {
AddPropSocket(ST_WALLHALFSEPARATOR, transform, elevationHeight, HalfWallOffset);
}
}
}
}
void UGridDungeonBuilder::EmitDungeonMarkers_Implementation() {
Super::EmitDungeonMarkers_Implementation();
gridModel = Cast<UGridDungeonModel>(model);
gridConfig = Cast<UGridDungeonConfig>(config);
if (gridModel->Cells.Num() == 0) return;
ClearSockets();
// Populate the prop sockets all over the map
for (const FCell& cell : gridModel->Cells) {
switch (cell.CellType) {
case FCellType::Room:
BuildMesh_Room(cell);
BuildMesh_RoomDecoration(cell);
break;
case FCellType::Corridor:
case FCellType::CorridorPadding:
BuildMesh_Corridor(cell);
break;
}
BuildMesh_Stairs(cell);
}
// Mirror the dungeon based on the mirror volumes placed in the level
MirrorDungeon();
}
| [
"[email protected]"
] | |
87406dd0dcf85d5a7e4ecb623852b51d58c29eb5 | b3ed2dd1682d39cb4004460e818b78e326414865 | /GP/Cerberus/CubeMapMaterial.cpp | 8f53caa669d8b768f2cacb66b2bba73798e6068e | [] | no_license | Baranzo94/Port-GP | b47b14cc67f2e1aaa7fb6ea889c01f1a08ed296c | 3f62cf8a5116ec3c58ae0108ccdccc2b721b6e34 | refs/heads/master | 2021-01-10T23:14:07.756628 | 2016-10-11T15:29:41 | 2016-10-11T15:29:41 | 70,605,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,121 | cpp | #include "CubeMapMaterial.h"
#include "Texture.h"
#include "Vertex.h"
CubeMapMaterial::CubeMapMaterial()
{
m_CubeTexture = 0;
}
CubeMapMaterial::~CubeMapMaterial()
{
}
void CubeMapMaterial::destory()
{
if (m_CubeTexture)
{
glDeleteTextures(1, &m_CubeTexture);
}
}
void CubeMapMaterial::bind()
{
glDepthMask(GL_FALSE);
glUseProgram(m_ShaderProgram);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_CUBE_MAP, m_CubeTexture);
GLint vertexPosLocation = glGetAttribLocation(m_ShaderProgram, "vertexPosition");
glBindAttribLocation(m_ShaderProgram, vertexPosLocation, "vertexPosition");
glEnableVertexAttribArray(vertexPosLocation);
glVertexAttribPointer(vertexPosLocation, 3, GL_FLOAT, GL_FALSE, sizeof(Vertex), NULL);
}
void CubeMapMaterial::unbind()
{
glDepthMask(GL_TRUE);
}
void CubeMapMaterial::loadCubeTexture
(const std::string& PosXFilename,
const std::string& NegXFilename,
const std::string& PosYFilename,
const std::string& NegYFilename,
const std::string& PosZFilename,
const std::string& NegZFilename)
{
glActiveTexture(GL_TEXTURE0);
glGenTextures(1, &m_CubeTexture);
glBindTexture(GL_TEXTURE_CUBE_MAP, m_CubeTexture);
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_R, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_BASE_LEVEL, 0);
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAX_LEVEL, 0);
loadCubeMapSide(PosXFilename, GL_TEXTURE_CUBE_MAP_POSITIVE_X);
loadCubeMapSide(NegXFilename, GL_TEXTURE_CUBE_MAP_NEGATIVE_X);
loadCubeMapSide(PosZFilename, GL_TEXTURE_CUBE_MAP_POSITIVE_Z);
loadCubeMapSide(NegZFilename, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z);
loadCubeMapSide(PosYFilename, GL_TEXTURE_CUBE_MAP_POSITIVE_Y);
loadCubeMapSide(NegYFilename, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y);
}
GLuint CubeMapMaterial::getCubeTexture()
{
return m_CubeTexture;
} | [
"[email protected]"
] | |
9ea1718c1ffae3115b0f522fe122ab6b0ee2f9b3 | dffebedc1e3fcc6fab7217d5e4fe52edeac7316d | /tree/segment_tree/segment_tree_test.cc | 751d6742a7939a4e961c0cf5d54bafca55b7861a | [] | no_license | inthra-onsap/algorithms-archive | 48be17edec14738621a9328416c007b824842558 | 0dbde55f2a852dfc5d670f90485a9710a73a9629 | refs/heads/master | 2021-01-20T04:37:40.982236 | 2018-08-19T16:16:46 | 2018-08-19T16:16:46 | 89,710,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | cc | #include "segment_tree.h"
#include <gtest/gtest.h>
namespace algorithms_archive {
namespace tree {
class SegmentTreeTest : public testing::Test {
public:
virtual void SetUp() {}
virtual void TearDown() {}
};
/** RangeQuery Tests **/
TEST_F(SegmentTreeTest, ExpectSegmentTreeReturnMinElementByRangeQuerySuccess) {
SegmentTree<int> tree({2, 3, 4, 5, 9, 3, 6, 5, 7});
EXPECT_EQ(2, tree.RangeQuery(0, 8));
EXPECT_EQ(5, tree.RangeQuery(7, 8));
EXPECT_EQ(2, tree.RangeQuery(0, 1));
EXPECT_EQ(9, tree.RangeQuery(4, 4));
}
/** IncreaseValueByRange Tests **/
TEST_F(SegmentTreeTest, ExpectSegmentTreeIncreaseValueByRangeSuccess) {
SegmentTree<int> tree({-1, 2, 4, 1, 7, 1, 3, 2});
tree.IncreaseValueByRange(0, 3, 3);
EXPECT_EQ(2, tree.RangeQuery(0, 3));
tree.IncreaseValueByRange(0, 3, 1);
EXPECT_EQ(3, tree.RangeQuery(0, 3));
tree.IncreaseValueByRange(0, 0, 2);
EXPECT_EQ(5, tree.RangeQuery(0, 1));
EXPECT_EQ(1, tree.RangeQuery(0, 7));
}
} // namespace tree
} // namespace algorithms_archive | [
"[email protected]"
] | |
65cc8cf61dc9658b7edc5f0fea0077f9112ca7d2 | 6f0f959900df9dc2b79cffff0a2c85afa0b17393 | /examples/Qt/ISFEditor/ISFEditor_app/OutputWindow.h | ffd1359709cb2230bd513e0f2adb4efa0b348c1d | [
"BSD-3-Clause"
] | permissive | mrRay/VVISF-GL | 12d7fd41d35158ba6ff5a0149da11305b334db7c | 96b00da11e4497da304041ea2a5ffc6e3a8c9454 | refs/heads/master | 2022-09-19T01:09:39.493569 | 2021-05-07T22:47:19 | 2021-05-07T22:47:19 | 80,032,079 | 36 | 4 | BSD-3-Clause | 2022-08-23T08:49:06 | 2017-01-25T16:20:12 | C++ | UTF-8 | C++ | false | false | 1,223 | h | #ifndef OUTPUTWINDOW_H
#define OUTPUTWINDOW_H
#include <QWidget>
#include "ISFGLBufferQWidget.h"
#include <VVGL.hpp>
#include <VVISF.hpp>
#include "InterAppOutput.h"
namespace Ui {
class OutputWindow;
}
class OutputWindow : public QWidget
{
Q_OBJECT
public:
explicit OutputWindow(QWidget *parent = nullptr);
~OutputWindow();
ISFGLBufferQWidget * bufferView();
void drawBuffer(const VVGL::GLBufferRef & n);
void updateContentsFromISFController();
int selectedIndexToDisplay();
bool getFreezeOutputFlag() { return freezeOutputFlag; }
signals:
Q_SIGNAL void outputWindowMouseMoved(VVGL::Point normMouseEventLoc, VVGL::Point absMouseEventLoc);
protected:
void closeEvent(QCloseEvent * event);
void showEvent(QShowEvent * event);
void moveEvent(QMoveEvent * event);
private slots:
void on_freezeOutputToggle_stateChanged(int arg1);
void on_displayAlphaToggle_stateChanged(int arg1);
//void widgetDrewItsFirstFrame();
void aboutToQuit();
private:
Ui::OutputWindow *ui;
bool freezeOutputFlag = false;
InterAppOutput *interAppOutput = nullptr;
};
// gets the global singleton for this class, which is created in main()
OutputWindow * GetOutputWindow();
#endif // OUTPUTWINDOW_H
| [
"[email protected]"
] | |
1f5ea636d5b1b29160db08c9e53f4e15c2c46eee | 12128d814eb4aa8b981b0164f243f1ab64e46422 | /Chapter 06/6.47.cpp | 9d0042a1317262fa8c6a25d7ba66601f864a9813 | [] | no_license | leizhichengg/CppPrimer | 8037abc1b8a4aaddc54406a902f6fb18703e4903 | ed6d0403312de109ecbd2be8b885e58a7c636e87 | refs/heads/master | 2023-06-01T08:05:11.319347 | 2016-10-22T08:38:34 | 2016-10-22T08:38:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include<iostream>
#include<vector>
using namespace std;
typedef vector<int>::iterator iter;
int print(iter b, iter e)
{
#ifndef NDEBUG
cout << e - b << " ";
#endif // !NDEBUG
if (b != e)
{
cout << *b << endl;
print(++b, e);
}
return 0;
}
int main()
{
vector<int> v;
for (int i = 0; i != 10; ++i)
v.push_back(i);
print(v.begin(), v.end());
cout << endl;
return 0;
} | [
"[email protected]"
] | |
d27a8e3b4b3a04360491bbb815bdad04a469f154 | 57b5f9d0b28a2a98884a21658c0df30a421dab51 | /kkaczor/lab7/ex7main.cpp | 1ce064d61354ce2ed779b77cb45b3955d34bd215 | [] | no_license | draz123/studies.c-plus | b775d10ea910d6de91f4d6a2af8b7ddad648ea43 | 54a86d77e55a5924ec676400a29870e6a3a12ec9 | refs/heads/master | 2021-05-27T21:55:28.820119 | 2013-07-05T13:54:46 | 2013-07-05T13:54:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,505 | cpp | #include "aghInclude.h"
// ---------------------------------------------------------
void showTestResult(int, bool);
// ---------------------------------------------------------
int main(void) {
cout << "main by kk. Last updated 15.04.2013\n";
aghVector<int> a, b;
aghContainer<int>* cptr = &a;
aghIterator<int> iter1(&a), iter2(&b), iter3(cptr);
a.append(1);
a.append(2);
a.append(3);
a.append(4);
a.append(5);
b.append(6);
b.append(7);
b.append(8);
b.append(9);
b.append(10);
// 1st test - iterators setting up v1
showTestResult(1, iter1.current() == a.at(0));
// 2nd test - iterators setting up v2
showTestResult(2, iter2.current() == b.at(0));
// 3rd test - next method
iter1.next();
showTestResult(3, iter1.current() == a.at(1));
// 4th test - prev method
iter2.prev();
try {
iter2.current();
showTestResult(4, false);
} catch (aghException& e) {
showTestResult(4, true);
} catch (...) {
showTestResult(4, false);
}
// 5th test - first method
showTestResult(5, (iter1.first().current() == a.at(0)) && (iter1.current() == a.at(1)));
// 6th test - last method
showTestResult(6, (iter3.last().current() == a.at(a.size() - 1)) && (iter3.current() == a.at(0)));
// 7th test - atFirst method
iter1.atFirst();
showTestResult(7, iter1.current() == a.at(0));
// 8th test - atLast method
iter2.atLast();
showTestResult(8, iter2.current() == b.at(b.size() - 1));
// 9th method - size method
iter3.atFirst();
iter3.next().next();
showTestResult(9, iter3.size() == (a.size() - 2));
// 10th test - operator []
iter3.atFirst();
bool t10 = (iter3[2] == a.at(2));
t10 = t10 && (iter3.current() == a.at(0));
t10 = t10 && (iter3.next().next()[1] == a.at(3));
t10 = t10 && (iter3.current() == a.at(2));
t10 = t10 && (iter3[-1] == a.at(1));
showTestResult(10, t10);
// 11th test - operator int
iter3.atFirst();
iter3.prev();
bool t11 = ((int)iter3 == NULL);
iter3.next().next().next();
t11 = t11 && ((int)iter3 != NULL);
iter3.atLast();
iter3.next();
t11 = t11 && ((int)iter3 == NULL);
showTestResult(11, t11);
// 12th - test operator*
iter1.atFirst();
bool t12 = (*iter1 == a.at(0));
t12 = t12 && (*iter1.next().last() == a.at(a.size() - 1));
t12 = t12 && (*iter1 == a.at(1));
*iter1 += 10;
t12 = t12 && (a.at(1) == 12);
iter1.current() = 2;
t12 = t12 && (*iter1 == 2);
showTestResult(12, t12);
// 13th test - operator+
iter2.atFirst();
bool t13 = (*(iter2 + 2) == b.at(2));
try {
*(iter2.atLast() + 1);
} catch (aghException& e) {
t13 = t13 && true;
} catch (...) {
t13 = t13 && false;
}
showTestResult(13, t13);
// 14th test - operator-
iter2.atLast();
bool t14 = (*(iter2 - 3) == b.at(1));
try {
*(iter2.first() - 1);
} catch (aghException& e) {
t14 = t14 && true;
} catch (...) {
t14 = t14 && false;
}
showTestResult(14, t14);
// 15th test - operator += and -=
iter1.atFirst();
iter1 += 2;
bool t15 = (*iter1 == a.at(2));
iter1 += 1;
t15 = t15 && (*iter1 == a.at(3));
iter1 -= 3;
t15 = t15 && (*iter1 == a.at(0));
try {
iter1 -= 1;
} catch (...) {
t15 = false;
}
showTestResult(15, t15);
// 16th test - operators ++
iter3.atFirst();
bool t16 = (*iter3++ == cptr->at(0));
t16 = t16 && (*iter3 == cptr->at(1));
t16 = t16 && (*++iter3 == cptr->at(2));
t16 = t16 && (*iter3 == cptr->at(2));
showTestResult(16, t16);
// 17th test - operators --
iter3.atLast();
bool t17 = (*iter3-- == cptr->at(cptr->size() - 1));
t17 = t17 && (*iter3 == cptr->at(cptr->size() - 2));
t17 = t17 && (*--iter3 == cptr->at(cptr->size() - 3));
t17 = t17 && (*iter3 == cptr->at(cptr->size() - 3));
showTestResult(17, t17);
// 18th test - operator == and !=
iter1.atFirst();
iter2.atFirst();
iter3.atFirst();
bool t18 = (iter1 == iter3);
t18 = t18 && (iter1 != iter2);
t18 = t18 && (iter2 != iter3);
t18 = t18 && (iter1 != (iter3 + 1));
iter1.next();
t18 = t18 && (iter1 == (iter3 + 1));
iter2.next();
t18 = t18 && (iter1 != iter2);
iter1.atFirst();
iter3.atLast();
t18 = t18 && ((iter1 + 2) == (iter3 - 2));
iter3.prev();
t18 = t18 && (*(iter1 + 2) == *(iter3 - 1));
showTestResult(18, t18);
// 19th test - operator =
iter1.atFirst();
iter2.atFirst().next();
iter3.atLast();
iter1 = iter3;
bool t19 = (iter1 == iter3);
t19 = t19 && (iter1 != iter2);
t19 = t19 && (iter1.size() == 1);
iter1 = iter2;
t19 = t19 && (iter1 == iter2);
t19 = t19 && (*iter1 == b.at(1));
showTestResult(19, t19);
// 20th test - operator =
iter1.atLast();
iter2.atLast();
iter3.atLast();
bool t20 = (iter1 == iter2);
iter1 = cptr;
t20 = t20 && (iter1 != iter2);
t20 = t20 && (iter1 != iter3);
t20 = t20 && (iter1 == iter3.first());
t20 = t20 && (*iter1 == a.at(0));
iter1.atLast();
t20 = t20 && (iter1 == iter3);
t20 = t20 && (iter1 != iter2);
showTestResult(20, t20);
cout << "Finally, this is the end...\n";
return 0;
}
// ---------------------------------------------------------
void showTestResult(int _ti, bool _r) {
if(_r)
cout << "Test" << _ti << " PASSED\n";
else
cout << "Test" << _ti << " FAILED\n";
}
// ---------------------------------------------------------
| [
"[email protected]"
] | |
6b56973b3a0956919ea8e68a4dc193ff6f29d1bc | 39460b2295c13a414287184c6c1f78cc33d6dd44 | /GAM200_Engine/Engine/Engine.hpp | b9f6c2dfac3cfb45625ec659b7c6b884c3b8000b | [] | no_license | IDokan/hello-world | a51504e91400245468b205b20d490305b26f4a59 | 6713ec3d739f7257e78000dc9659925ac262c3d4 | refs/heads/master | 2020-06-14T02:03:34.637164 | 2019-08-08T09:28:36 | 2019-08-08T09:28:36 | 194,860,880 | 0 | 0 | null | 2019-07-03T08:24:28 | 2019-07-02T12:41:36 | null | UTF-8 | C++ | false | false | 299 | hpp | #pragma once
#include "Timer.hpp"
class Application;
class Engine
{
public:
Engine() = default;
void Init();
void Update();
void Clear();
bool IsRunning() noexcept
{
return isRunnig;
}
private:
bool isRunnig = false;
float m_dt;
Timer gameTimer;
}; | [
"[email protected]"
] | |
d8ca5b9645b38876ccad15051bc08d2101ca9342 | 8ea4b7fe3f20a3d6b62c9f1be16227a9fe8e759f | /routing/arouterex/src/db/grDB/GridMapGR.h | 7283c5f54fb8a057b637d76b7f6e92258bff0c4c | [
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | rbarzic/MAGICAL | af2e2bd78cc005bb8846c97db8dbbe56ef3b3f28 | 0510550b263913f8c62f46662a9dfa2ae94d2386 | refs/heads/master | 2020-12-23T03:20:46.349108 | 2020-01-30T21:46:41 | 2020-01-30T21:46:41 | 237,017,902 | 0 | 0 | BSD-3-Clause | 2020-01-29T15:37:32 | 2020-01-29T15:37:31 | null | UTF-8 | C++ | false | false | 23,891 | h | /**
* @file GridMapGR.h
* @brief Map of grid cell and grid edge for global routing
* @author Keren Zhu
* @date 10/06/2018
*/
#ifndef AROUTER_GRIDMAPGR_H_
#define AROUTER_GRIDMAPGR_H_
#include "GridCellGR.h"
#include "GridEdgeGR.h"
#include "util/Vector3D.h"
#include "util/Vector2D.h"
#include "util/Interval.h"
PROJECT_NAMESPACE_BEGIN
/// @class AROUTER::GridMapGR
/// @brief Map of grid cells and grid edges for global routing
class GridMapGR
{
public:
/*------------------------------*/
/* Constructors */
/*------------------------------*/
/// @brief default constructor
explicit GridMapGR() = default;
/// @brief constructor with x, y, and layer size
/// @param the number of x grid cells, the number of y grid cells, and the number of layers
explicit GridMapGR(IndexType numX, IndexType numY, IndexType numLayers);
/*------------------------------*/
/* Initialization */
/*------------------------------*/
/// @brief initialize the capacity for horizontal edges
/// @param layerIdx: the layer. totalCap: the capacity of the horizontal edges
void initHCap(IndexType layerIdx, IntType totalCap);
/// @brief initialize the capacity for vertical edges
/// @param layerIdx: the layer. totalCap: the capacity of the horizontal edges
void initVCap(IndexType layerIdx, IntType totalCap);
/// @brief initialize the capacity for via edges
/// @param layerIdx: the lower layer. totalCap: the capacity of the horizontal edges
void initViaCap(IndexType layerIdx, IntType totalCap);
/// @brief initialize the 2D maps
void init2D();
/*------------------------------*/
/* Getters */
/*------------------------------*/
/// @brief get _gridCellMap
/// @return const reference to the grid cells
const Vector3D<GridCellGR> & gridCells() const { return _gridCellMap; }
/// @brief get _gridCellMap
/// @return reference to the grid cells
Vector3D<GridCellGR> & gridCells() { return _gridCellMap; }
/// @brief get _viaEdgeMap
/// @return const reference to the via edges between the layers
const Vector3D<GridEdgeGR> & viaEdges() const { return _viaEdgeMap; }
/// @brief get _viaEdgeMap
/// @return reference to the via edges between the layers
Vector3D<GridEdgeGR> & viaEdges() { return _viaEdgeMap; }
/// @brief get _horizontalEdgeMap
/// @return const reference to the horizontal edges on the same layer
const Vector3D<GridEdgeGR> & horizontalEdges() const { return _horizontalEdgeMap; }
/// @brief get _horizontalEdgeMap
/// @return reference to the horizontal edges on the same layer
Vector3D<GridEdgeGR> & horizontalEdges() { return _horizontalEdgeMap; }
/// @brief get _verticalEdgeMap
/// @return const reference to the vertical edges on the same layer
const Vector3D<GridEdgeGR> & verticalEdges() const { return _verticalEdgeMap; }
/// @brief get _verticalEdgeMap
/// @return reference to the vertical edges on the same layer
Vector3D<GridEdgeGR> & verticalEdges() { return _verticalEdgeMap; }
/// @brief get _gridCellMap2D
/// @return the 2D gridcell map
const Vector2D<GridCellGR> & gridCells2D() const { return _gridCellMap2D; }
/// @brief get _gridCellMap2D
/// @return the 2D gridcell map
Vector2D<GridCellGR> & gridCells2D() { return _gridCellMap2D; }
/// @brief get _hEdgeMap2D
/// @return the horizontal edges on the 2D grid
const Vector2D<GridEdgeGR> & horizontalEdges2D() const { return _hEdgeMap2D; }
/// @brief get _hEdgeMap2D
/// @return the horizontal edges on the 2D grid
Vector2D<GridEdgeGR> & horizontalEdges2D() { return _hEdgeMap2D; }
/// @brief get _vEdgeMap2D
/// @return the vertical edges on the 2D grid
const Vector2D<GridEdgeGR> & verticalEdges2D() const { return _vEdgeMap2D; }
/// @brief get _vEdgeMap2D
/// @return the vertical edges on the 2D grid
Vector2D<GridEdgeGR> & verticalEdges2D() { return _vEdgeMap2D; }
/// @brief get _gridWidth
/// @return the width of a grid
LocType gridWidth() const { return _gridWidth; }
/// @brief get _gridHeight
/// @return the height of a grid
LocType gridHeight() const { return _gridHeight; }
/*------------------------------*/
/* Setters */
/*------------------------------*/
/// @brief set whether in 2D mode
/// @param bool: whether in 2D mode
void setMode2D(bool mode2D) { _mode2D = mode2D; }
/// @brief set _gridWidth
/// @param width of a grid
void setGridWidth(LocType gridWidth) { _gridWidth = gridWidth; }
/// @brief get _gridHeight
/// @param height of a grid
void setGridHeight(LocType gridHeight) { _gridHeight =gridHeight; }
/*------------------------------*/
/* sizes... */
/*------------------------------*/
/// @brief number of layers
/// @return number of metal/masterslice layers
IndexType numLayers() const { return _gridCellMap.zSize(); }
/// @brief number of x grid cells
/// @return the number of x grid cells on a layer
IndexType numX() const { return _gridCellMap.xSize(); }
/// @brief the number of y grid cells
/// @return the number of y grid cells on a layer
IndexType numY() const { return _gridCellMap.ySize(); }
/// @brief the number of grid cells
/// @return the number of grid cells
IndexType numGCs() const { return _gridCellMap.size(); }
/// @brief the number of grid cells on a layer
/// @return the number of grid cells on a layer
IndexType numLayerGCs() const { return numX() * numY(); }
/*------------------------------*/
/* Single cell/edge acess */
/*------------------------------*/
/// @brief get the grid cell
/// @param the index of the gridCell XYZ<IndexType>(xIdx, yIdx, zIdx)
/// @return const reference to grid cell
const GridCellGR & gridCell(const XYZ<IndexType> &xyzIdx) const { if (_mode2D) {return _gridCellMap2D.at(xyzIdx.xy()); } return _gridCellMap.at(xyzIdx); }
/// @brief get the grid cell
/// @param the index of the gridCell XYZ<IndexType>(xIdx, yIdx, zIdx)
/// @return reference to grid cell
GridCellGR & gridCell(const XYZ<IndexType> &xyzIdx) { if (_mode2D) {return _gridCellMap2D.at(xyzIdx.xy()); } return _gridCellMap.at(xyzIdx); }
/// @brief get the grid cell 2D version
/// @param the index of the gridCell XY<IndexType>(xIdx, yIdx)
/// @return const reference to grid cell
const GridCellGR & gridCell(const XY<IndexType> &xyIdx) const { Assert(_mode2D); return _gridCellMap2D.at(xyIdx); }
/// @brief get the grid cell 2D version
/// @param the index of the gridCell XY<IndexType>(xIdx, yIdx, zIdx)
/// @return reference to grid cell
GridCellGR & gridCell(const XY<IndexType> &xyIdx) { Assert(_mode2D); return _gridCellMap2D.at(xyIdx); }
/// @brief get the via edge
/// @param the index of the via edge XYZ<IndexType>(xIdx, yIdx, lower layerIdx)
/// @return const referece to the viaEdge
const GridEdgeGR & viaEdge(const XYZ<IndexType> &xyzIdx) const { Assert(!_mode2D); return _viaEdgeMap.at(xyzIdx); }
/// @brief get the via edge
/// @param the index of the via edge XYZ<IndexType>(xIdx, yIdx, lower layerIdx)
/// @return referece to the viaEdge
GridEdgeGR & viaEdge(const XYZ<IndexType> &xyzIdx) { Assert(!_mode2D); return _viaEdgeMap.at(xyzIdx); }
/// @brief get the horizontal grid edge
/// @param the index of the horizontal grid edge XYZ<IndexType>(lower x index, y index, layer index)
/// @return const reference to the horizontal grid edge
const GridEdgeGR & horizontalEdge(const XYZ<IndexType> &xyzIdx) const { if (_mode2D) { return _hEdgeMap2D.at(xyzIdx.xy()); } return _horizontalEdgeMap.at(xyzIdx); }
/// @brief get the horizontal grid edge
/// @param the index of the horizontal grid edge XYZ<IndexType>(lower x index, y index, layer index)
/// @return reference to the horizontal grid edge
GridEdgeGR & horizontalEdge(const XYZ<IndexType> &xyzIdx) { if (_mode2D) { return _hEdgeMap2D.at(xyzIdx.xy()); } return _horizontalEdgeMap.at(xyzIdx); }
/// @brief get the horizontal grid edge (2D version)
/// @param the index of the horizontal grid edge XY<IndexType>(lower x index, y index)
/// @return const reference to the horizontal grid edge
const GridEdgeGR & horizontalEdge(const XY<IndexType> &xyIdx) const { Assert(_mode2D); return _hEdgeMap2D.at(xyIdx); }
/// @brief get the horizontal grid edge (2D version)
/// @param the index of the horizontal grid edge XY<IndexType>(lower x index, y index)
/// @return reference to the horizontal grid edge
GridEdgeGR & horizontalEdge(const XY<IndexType> &xyIdx) { Assert(_mode2D); return _hEdgeMap2D.at(xyIdx); }
/// @brief get the vertical grid edge
/// @param the index of the vertical grid edge XYZ<IndexType>(x index, lower y index, layer index)
/// @return const reference to the vertical grid edge
const GridEdgeGR & verticalEdge(const XYZ<IndexType> &xyzIdx) const { if (_mode2D) { return _vEdgeMap2D.at(xyzIdx.xy()); } return _verticalEdgeMap.at(xyzIdx); }
/// @brief get the vertical grid edge
/// @param the index of the vertical grid edge XYZ<IndexType>(x index, lower y index, layer index)
/// @return const reference to the vertical grid edge
GridEdgeGR & verticalEdge(const XYZ<IndexType> &xyzIdx) { if (_mode2D) { return _vEdgeMap2D.at(xyzIdx.xy()); } return _verticalEdgeMap.at(xyzIdx); }
/// @brief get the vertical grid edge (2D version)
/// @param the index of the vertical grid edge XY<IndexType>(x index, lower y index)
/// @return const reference to the vertical grid edge
const GridEdgeGR & verticalEdge(const XY<IndexType> &xyIdx) const { Assert(_mode2D); return _vEdgeMap2D.at(xyIdx); }
/// @brief get the vertical grid edge (2D version)
/// @param the index of the vertical grid edge XY<IndexType>(x index, lower y index)
/// @return reference to the vertical grid edge
GridEdgeGR & verticalEdge(const XY<IndexType> &xyIdx) { Assert(_mode2D); return _vEdgeMap2D.at(xyIdx); }
/// @brief get the grid edge, whether it is horizontal and vertical should be determined by the actual parameters
/// @param the Interval that begin() and end() represent the index of the two terminals of the grid cells
/// @return const reference tothe grid edge between the input parameter grid nodes
const GridEdgeGR & gridEdge(const Interval<XYZ<IndexType>> &edge) const { return gridEdge(edge.begin(), edge.end()); }
/// @brief get the grid edge, whether it is horizontal and vertical should be determined by the actual parameters
/// @param the Interval that begin() and end() represent the index of the two terminals of the grid cells
/// @return reference to the grid edge between the input parameter grid nodes
GridEdgeGR & gridEdge(const Interval<XYZ<IndexType>> &edge) { return gridEdge(edge.begin(), edge.end()); }
/// @brief get the grid edge, whether it is horizontal and vertical should be determined by the actual parameters (2D version)
/// @param the Interval that begin() and end() represent the index of the two terminals of the grid cells
/// @return const reference tothe grid edge between the input parameter grid nodes
const GridEdgeGR & gridEdge(const Interval<XY<IndexType>> &edge) const { return gridEdge(edge.begin(), edge.end()); }
/// @brief get the grid edge, whether it is horizontal and vertical should be determined by the actual parameters (2D version)
/// @param the Interval that begin() and end() represent the index of the two terminals of the grid cells
/// @return const reference tothe grid edge between the input parameter grid nodes
GridEdgeGR & gridEdge(const Interval<XY<IndexType>> &edge) { return gridEdge(edge.begin(), edge.end()); }
/// @brief get the grid edge, whether it is horizontal and vertical should be determined by the actual parameters
/// @param two XYZ<IndexType> represent the index of the two terminals of the grid cells
/// @return const reference to the grid edge between the input parameter grid nodes
const GridEdgeGR & gridEdge(const XYZ<IndexType> &node1, const XYZ<IndexType> &node2) const;
/// @brief get the grid edge, whether it is horizontal and vertical should be determined by the actual parameters
/// @param two XYZ<IndexType> represent the index of the two terminals of the grid cells
/// @return reference to the grid edge between the input parameter grid nodes
GridEdgeGR & gridEdge(const XYZ<IndexType> &node1, const XYZ<IndexType> &node2);
/// @brief get the grid edge, whether it is horizontal and vertical should be determined by the actual parameters (2D version)
/// @param two XY<IndexType> represent the index of the two terminals of the grid cells
/// @return const reference to the grid edge between the input parameter grid nodes
const GridEdgeGR & gridEdge(const XY<IndexType> &node1, const XY<IndexType> &node2) const;
/// @brief get the grid edge, whether it is horizontal and vertical should be determined by the actual parameters (2D version)
/// @param two XY<IndexType> represent the index of the two terminals of the grid cells
/// @return const reference to the grid edge between the input parameter grid nodes
GridEdgeGR & gridEdge(const XY<IndexType> &node1, const XY<IndexType> &node2);
/*------------------------------*/
/* Routing operations */
/*------------------------------*/
/// @brief drop a subnet on a edge
/// @param subNetIdx: the index of subnet to be dropped. IntType useCap: the amount of capacity it use node1, node2: a XYZ<IndexType> to determine the edge.
/// @return bool. true: the insert success, false: the subNet already exists in the edge
bool dropSubNet(IndexType subNetIdx, IntType useCap, const XYZ<IndexType> &node1, const XYZ<IndexType> &node2);
/// @brief drop a subnet on a edge (2D version)
/// @param subNetIdx: the index of subnet to be dropped. IntType useCap: the amount of capacity it use node1, node2: a XY<IndexType> to determine the edge.
/// @return bool. true: the insert success, false: the subNet already exists in the edge
bool dropSubNet(IndexType subNetIdx, IntType useCap, const XY<IndexType> &node1, const XY<IndexType> &node2);
/// @brief drop a subnet on a edge
/// @param subNetIdx: the index of subnet to be dropped. IntType useCap: the amount of capacity it use edge: a Interval<XYZ<IndexType>> to determine the edge.
/// @return bool. true: the insert success, false: the subNet already exists in the edge
bool dropSubNet(IndexType subNetIdx, IntType useCap, const Interval<XYZ<IndexType>> &edge) { return dropSubNet(subNetIdx, useCap, edge.begin(), edge.end()); }
/// @brief drop a subnet on a edge (2D version)
/// @param subNetIdx: the index of subnet to be dropped. IntType useCap: the amount of capacity it use edge: a Interval<XY<IndexType>> to determine the edge.
/// @return bool. true: the insert success, false: the subNet already exists in the edge
bool dropSubNet(IndexType subNetIdx, IntType useCap, const Interval<XY<IndexType>> &edge) { return dropSubNet(subNetIdx, useCap, edge.begin(), edge.end()); }
/// @brief drop a pin on a gridcell
/// @param pinIdx: the index of a pin. node: XYZ<IndexType> the index of the grid cell
/// @return bool. true: the insert success. false: the pinIdx already exists in the grid cell
bool dropPin(IndexType pinIdx, const XYZ<IndexType> &node) { return this->gridCell(node).dropPin(pinIdx); }
/// @brief drop a pin on a gridcell (2D version)
/// @param pinIdx: the index of a pin. node: XY<IndexType> the index of the grid cell
/// @return bool. true: the insert success. false: the pinIdx already exists in the grid cell
bool dropPin(IndexType pinIdx, const XY<IndexType> &node) { return this->gridCell(node).dropPin(pinIdx); }
/// @brief drop a blockage on a gridcell
/// @param node: XYZ<IndexType> the index of the grid cell
/// @return bool. true: the insert success. false: the grid cell has already been blocked
bool dropBlockage(const XYZ<IndexType> &node) { return this->gridCell(node).dropBlockage(); }
/// @brief drop a blockage on a gridcell (2D version)
/// @param node: XY<IndexType> the index of the grid cell
/// @return bool. true: the insert success. false: the grid cell has already been blocked
bool dropBlockage(const XY<IndexType> &node) { return this->gridCell(node).dropBlockage(); }
/// @brief erase a subnet on a edge
/// @param subNetIdx: the index of the subnet to be erased. useCap: the amount of the capacity the subnet use. node1, node2: a XYZ<IndexType> to determine the edge.
/// @return bool. true: the erase success. false: the subnet wasn't in the edge
bool eraseSubNet(IndexType subNetIdx, IntType useCap, const XYZ<IndexType> &node1, const XYZ<IndexType> &node2);
/// @brief erase a subnet on a edge (2D version)
/// @param subNetIdx: the index of the subnet to be erased. useCap: the amount of the capacity the subnet use. node1, node2: a XY<IndexType> to determine the edge.
/// @return bool. true: the erase success. false: the subnet wasn't in the edge
bool eraseSubNet(IndexType subNetIdx, IntType useCap, const XY<IndexType> &node1, const XY<IndexType> &node2);
/// @brief erase a subnet on a edge
/// @param subNetIdx: the index of the subnet to be erased. useCap: the amount of the capacity the subnet use. edge: a Interval<XYZ<IndexType>> to determine the edge.
/// @return bool. true: the erase success. false: the subnet wasn't in the edge
bool eraseSubNet(IndexType subNetIdx, IntType useCap, const Interval<XYZ<IndexType>> &edge) { return eraseSubNet(subNetIdx, useCap, edge.begin(), edge.end()); }
/// @brief erase a subnet on a edge (2D version)
/// @param subNetIdx: the index of the subnet to be erased. useCap: the amount of the capacity the subnet use. edge: a Interval<XY<IndexType>> to determine the edge.
/// @return bool. true: the erase success. false: the subnet wasn't in the edge
bool eraseSubNet(IndexType subNetIdx, IntType useCap, const Interval<XY<IndexType>> &edge) { return eraseSubNet(subNetIdx, useCap, edge.begin(), edge.end()); }
/// @brief erase a pin from a grid cell
/// @param node: XYZ<IndexType> the index of the grid cell
/// @return bool. True: the erase success. False: the pin wasn't in the gridcell
bool erasePin(IndexType pinIdx, const XYZ<IndexType> &node) { return this->gridCell(node).erasePin(pinIdx); }
/// @brief erase a pin from a grid cell (2D version)
/// @param node: XYZ<IndexType> the index of the grid cell
/// @return bool. True: the erase success. False: the pin wasn't in the gridcell
bool erasePin(IndexType pinIdx, const XY<IndexType> &node) { return this->gridCell(node).erasePin(pinIdx); }
/// @brief erase a blockage from a grid cell
/// @param node: XY<IndexType>: the index of the grid cell
/// @return bool. True: the erase success. False: the gridcell wasn't being blocked
bool eraseBlockage(const XYZ<IndexType> &node) { return this->gridCell(node).eraseBlockage(); }
/// @brief erase a blockage from a grid cell (2D version)
/// @param node: XY<IndexType>: the index of the grid cell
/// @return bool. True: the erase success. False: the gridcell wasn't being blocked
bool eraseBlockage(const XY<IndexType> &node) { return this->gridCell(node).eraseBlockage(); }
private:
Vector3D<GridCellGR> _gridCellMap; ///< the map for grid cells
Vector3D<GridEdgeGR> _viaEdgeMap; ///< the map for the viaEdge _viaEdgeMap[lower layer][x index][y index] = GridEdgeGR()
Vector3D<GridEdgeGR> _horizontalEdgeMap; ///< the map for the horizontal edge on a layer _horizontalEdgeMap[layer index][lower x index][y index] = GridEdgeGR()
Vector3D<GridEdgeGR> _verticalEdgeMap; ///< the map for the vertical edge on a layer _verticalEdgeMap[layer index][x index][lower y index] = GridEdgeGR()
bool _mode2D = false; /// True: return the 2D cells and edges
Vector2D<GridCellGR> _gridCellMap2D; ///< the version for 2D map
Vector2D<GridEdgeGR> _hEdgeMap2D; ///< the horizontal edges in 2D mode
Vector2D<GridEdgeGR> _vEdgeMap2D; ///< the vertical edges in 2D mode
LocType _gridHeight = 1; ///< height of a grid
LocType _gridWidth = 1; ///< width of a grid
};
inline bool GridMapGR::dropSubNet(IndexType subNetIdx, IntType useCap, const XYZ<IndexType> &node1, const XYZ<IndexType> &node2)
{
auto &edge = this->gridEdge(node1, node2);
return edge.occupy(subNetIdx, useCap);
}
inline bool GridMapGR::dropSubNet(IndexType subNetIdx, IntType useCap, const XY<IndexType> &node1, const XY<IndexType> &node2)
{
auto &edge = this->gridEdge(node1, node2); // mode2D should be asserted inside gridEdge()
return edge.occupy(subNetIdx, useCap);
}
inline bool GridMapGR::eraseSubNet(IndexType subNetIdx, IntType useCap, const XYZ<IndexType> &node1, const XYZ<IndexType> &node2)
{
auto &edge = this->gridEdge(node1, node2);
return edge.remove(subNetIdx, useCap);
}
inline bool GridMapGR::eraseSubNet(IndexType subNetIdx, IntType useCap, const XY<IndexType> &node1, const XY<IndexType> &node2)
{
auto &edge = this->gridEdge(node1, node2); // mode2D should be asserted inside gridEdge()
return edge.remove(subNetIdx, useCap);
}
PROJECT_NAMESPACE_END
#endif /// AROUTER_GRIDMAPGR_H_
| [
"[email protected]"
] | |
460090e62a371e768c705008873770e3a77fdc73 | c32d1e39f04493a704dfd8b58eade22601773b65 | /graph/relay/backend/vm/compiler.h | a8e0b994c6851d89ed86d546d8507aeb0e3b1c76 | [] | no_license | chisuhua/graph | 873e29f509f5cf8daa380c359b106c7cd225f5f7 | bf82af49979297a1722832dc1468f4e7374862b8 | refs/heads/master | 2020-12-18T18:14:50.581839 | 2020-01-22T03:08:22 | 2020-01-22T03:08:22 | 235,480,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,411 | h | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*/
/*!
* Copyright (c) 2019 by Contributors
* \file src/relay/backend/vm/compiler.h
* \brief A compiler from relay::Module to the VM byte code.
*/
#ifndef TVM_RELAY_BACKEND_VM_COMPILER_H_
#define TVM_RELAY_BACKEND_VM_COMPILER_H_
#include "../../../../compiler/runtime/vm/naive_allocator.h"
#include "../../../../compiler/runtime/vm/profiler/vm.h"
#include "../../backend/compile_engine.h"
#include "../../pass/pass_util.h"
#include <iostream>
#include <memory>
#include <string>
#include <tvm/logging.h>
#include <tvm/relay/error.h>
#include <tvm/relay/expr_functor.h>
#include <tvm/relay/interpreter.h>
#include <tvm/relay/transform.h>
#include <tvm/runtime/vm.h>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
namespace tvm {
namespace relay {
namespace vm {
using namespace tvm::runtime;
using namespace tvm::runtime::vm;
using namespace relay::transform;
template <typename T, typename U>
using NodeMap = std::unordered_map<T, U, NodeHash, NodeEqual>;
using TagMap = NodeMap<tvm::relay::Constructor, Index>;
using TagNameMap = std::unordered_map<size_t, tvm::relay::Constructor>;
using GlobalMap = NodeMap<GlobalVar, Index>;
using ConstMap = NodeMap<Constant, Index>;
using ConstTensorShapeMap = NodeMap<TensorType, std::pair<Index, NDArray>>;
using TargetsMap = Map<tvm::Integer, tvm::Target>;
struct VMCompilerContext {
// The module context for the compilation
Module module;
// Error reporter
ErrorReporter err_reporter;
// Map from a unique integer to ADT constructor tag
TagNameMap tag_index_map;
// Map from ADT constructor tag to a unique integer
TagMap tag_map;
// Map from global var to a unique integer
GlobalMap global_map;
// List of constants
std::vector<NDArray> constants;
// List of cached functions
std::vector<CachedFunc> cached_funcs;
// The functions that have been lowered.
std::unordered_map<LoweredFunc, size_t, NodeHash, NodeEqual> seen_funcs;
};
class VMCompiler : public runtime::ModuleNode {
public:
virtual ~VMCompiler() {}
virtual PackedFunc GetFunction(const std::string& name,
const std::shared_ptr<ModuleNode>& sptr_to_self);
const char* type_key() const
{
return "VMCompiler";
}
std::shared_ptr<VirtualMachine> GetVirtualMachine() const
{
return vm_;
}
virtual void InitVM()
{
vm_ = std::make_shared<VirtualMachine>();
}
void Compile(const Module& mod_ref,
const TargetsMap& targets,
const tvm::Target& target_host);
protected:
Module OptimizeModule(const Module& mod);
void PopulateGlobalMap();
void LibraryCodegen();
protected:
/*! \brief Target devices. */
TargetsMap targets_;
/*! \brief Target host device. */
tvm::Target target_host_;
/*! \brief Global shared meta data */
VMCompilerContext context_;
/*! \brief Compiled virtual machine. */
std::shared_ptr<VirtualMachine> vm_;
};
} // namespace vm
} // namespace relay
} // namespace tvm
#endif // TVM_RELAY_BACKEND_VM_COMPILER_H_
| [
"[email protected]"
] | |
5d9757e0285bcf0fb5f5e592acee7d43601b48b9 | cec628def1aad94ccbefa814d2a0dbd51588e9bd | /cnd.makeproject/samples_src/freeway/police.cc | dc581da890a86d88527cc7af314d96dd171e1634 | [
"BSD-3-Clause"
] | permissive | emilianbold/netbeans-releases | ad6e6e52a896212cb628d4522a4f8ae685d84d90 | 2fd6dc84c187e3c79a959b3ddb4da1a9703659c7 | refs/heads/master | 2021-01-12T04:58:24.877580 | 2017-10-17T14:38:27 | 2017-10-17T14:38:27 | 78,269,363 | 30 | 15 | null | 2020-10-13T08:36:08 | 2017-01-07T09:07:28 | null | UTF-8 | C++ | false | false | 3,825 | cc | /*
* Copyright (c) 2009-2010, Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* * Neither the name of Oracle 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.
*/
//
// Implementation of police driver class for "Freeway".
//
#include <math.h>
#include "vehicle_list.h"
#include "police.h"
const double DELTA_T = 0.0000555; // 1/5 sec expressed in hours
const double OPT_DT = 0.0001; // optimal buffer (in hrs) in front
const double CAR_LEN = 0.004; // car length (in miles) (roughly 16 ft)
const double BRAKE_DV = 6.0; // 30 mph / sec for 1/5 sec
const int CAR_LENGTH = 8;
const int CAR_WIDTH = 4;
Police::Police(int i, int l, double p, double v) {
classID = CLASS_POLICE;
name_int = i;
lane_num = l;
position = p;
velocity = v;
state = VSTATE_MAINTAIN;
max_speed = 150;
xlocation = 0;
ylocation = 0;
change_state = 0;
restrict_change = 0;
absent_mindedness = 0;
flash_state = 0;
}
double
Police::vehicle_length() {
return CAR_LEN;
}
void
Police::recalc_pos() {
// Update position based on velocity
position += velocity * DELTA_T;
// Update state of flashing lights
flash_state = 1 - flash_state;
}
void
Police::draw(GdkDrawable *pix, GdkGC *gc, int x, int y,
int direction_right, int scale, int xorg, int yorg, int selected) {
extern GdkColor *color_red, *color_blue;
this->xloc(x);
this->yloc(y);
// If I am heading to the right, then I need to draw brick to the left of
// front of car. If I am heading left, draw brick to the right.
if (direction_right) {
x -= (CAR_LENGTH - 1);
}
int l = x * scale + xorg;
int t = y * scale + yorg;
int w = CAR_LENGTH * scale;
int h = CAR_WIDTH * scale;
int w2 = w / 2;
int h2 = h / 2;
// Draw brick.
if (flash_state) {
gdk_gc_set_foreground(gc, color_red);
} else {
gdk_gc_set_foreground(gc, color_blue);
}
gdk_draw_rectangle(pix, gc, TRUE, l, t, w, h);
// Draw flashing lights on top and bottom
if (flash_state) {
gdk_gc_set_foreground(gc, color_blue);
} else {
gdk_gc_set_foreground(gc, color_red);
}
gdk_draw_rectangle(pix, gc, TRUE, l, t, w2, h2);
gdk_draw_rectangle(pix, gc, TRUE, l + w2, t + h2, w2, h2);
// Put red box around "current vehicle"
if (selected) {
draw_selection(pix, gc, l, t, w, h, scale);
}
}
| [
"[email protected]"
] | |
7caac1e206b9a0ec70e3c1c847590245ddff185f | 8199728ed6b05f5800387a2c9c52adbffc7a1859 | /tensorflow/lite/schema/schema_generated.h | 2e0e81238edfbab4f7242f735dee655af4602495 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | Manas1820/tensorflow | 7d2c578edb06992173d0f646258113ae21dd3d89 | c6dcf8e91a46d60b898dacd2f8e94b6e46a706a4 | refs/heads/master | 2023-09-01T11:50:58.798938 | 2023-07-13T23:45:54 | 2023-07-13T23:50:20 | 233,268,851 | 2 | 0 | Apache-2.0 | 2022-09-08T12:56:41 | 2020-01-11T17:21:09 | C++ | UTF-8 | C++ | false | false | 885,560 | h | /* Copyright 2023 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
// automatically generated by the FlatBuffers compiler, do not modify
#ifndef FLATBUFFERS_GENERATED_SCHEMA_TFLITE_H_
#define FLATBUFFERS_GENERATED_SCHEMA_TFLITE_H_
#include "flatbuffers/flatbuffers.h"
// Ensure the included flatbuffers.h is the same version as when this file was
// generated, otherwise it may not be compatible.
static_assert(FLATBUFFERS_VERSION_MAJOR == 23 &&
FLATBUFFERS_VERSION_MINOR == 5 &&
FLATBUFFERS_VERSION_REVISION == 26,
"Non-compatible flatbuffers version included");
namespace tflite {
struct CustomQuantization;
struct CustomQuantizationBuilder;
struct CustomQuantizationT;
struct QuantizationParameters;
struct QuantizationParametersBuilder;
struct QuantizationParametersT;
struct Int32Vector;
struct Int32VectorBuilder;
struct Int32VectorT;
struct Uint16Vector;
struct Uint16VectorBuilder;
struct Uint16VectorT;
struct Uint8Vector;
struct Uint8VectorBuilder;
struct Uint8VectorT;
struct DimensionMetadata;
struct DimensionMetadataBuilder;
struct DimensionMetadataT;
struct SparsityParameters;
struct SparsityParametersBuilder;
struct SparsityParametersT;
struct VariantSubType;
struct VariantSubTypeBuilder;
struct VariantSubTypeT;
struct Tensor;
struct TensorBuilder;
struct TensorT;
struct Conv2DOptions;
struct Conv2DOptionsBuilder;
struct Conv2DOptionsT;
struct Conv3DOptions;
struct Conv3DOptionsBuilder;
struct Conv3DOptionsT;
struct Pool2DOptions;
struct Pool2DOptionsBuilder;
struct Pool2DOptionsT;
struct DepthwiseConv2DOptions;
struct DepthwiseConv2DOptionsBuilder;
struct DepthwiseConv2DOptionsT;
struct ConcatEmbeddingsOptions;
struct ConcatEmbeddingsOptionsBuilder;
struct ConcatEmbeddingsOptionsT;
struct LSHProjectionOptions;
struct LSHProjectionOptionsBuilder;
struct LSHProjectionOptionsT;
struct SVDFOptions;
struct SVDFOptionsBuilder;
struct SVDFOptionsT;
struct RNNOptions;
struct RNNOptionsBuilder;
struct RNNOptionsT;
struct SequenceRNNOptions;
struct SequenceRNNOptionsBuilder;
struct SequenceRNNOptionsT;
struct BidirectionalSequenceRNNOptions;
struct BidirectionalSequenceRNNOptionsBuilder;
struct BidirectionalSequenceRNNOptionsT;
struct FullyConnectedOptions;
struct FullyConnectedOptionsBuilder;
struct FullyConnectedOptionsT;
struct SoftmaxOptions;
struct SoftmaxOptionsBuilder;
struct SoftmaxOptionsT;
struct ConcatenationOptions;
struct ConcatenationOptionsBuilder;
struct ConcatenationOptionsT;
struct AddOptions;
struct AddOptionsBuilder;
struct AddOptionsT;
struct MulOptions;
struct MulOptionsBuilder;
struct MulOptionsT;
struct L2NormOptions;
struct L2NormOptionsBuilder;
struct L2NormOptionsT;
struct LocalResponseNormalizationOptions;
struct LocalResponseNormalizationOptionsBuilder;
struct LocalResponseNormalizationOptionsT;
struct LSTMOptions;
struct LSTMOptionsBuilder;
struct LSTMOptionsT;
struct UnidirectionalSequenceLSTMOptions;
struct UnidirectionalSequenceLSTMOptionsBuilder;
struct UnidirectionalSequenceLSTMOptionsT;
struct BidirectionalSequenceLSTMOptions;
struct BidirectionalSequenceLSTMOptionsBuilder;
struct BidirectionalSequenceLSTMOptionsT;
struct ResizeBilinearOptions;
struct ResizeBilinearOptionsBuilder;
struct ResizeBilinearOptionsT;
struct ResizeNearestNeighborOptions;
struct ResizeNearestNeighborOptionsBuilder;
struct ResizeNearestNeighborOptionsT;
struct CallOptions;
struct CallOptionsBuilder;
struct CallOptionsT;
struct PadOptions;
struct PadOptionsBuilder;
struct PadOptionsT;
struct PadV2Options;
struct PadV2OptionsBuilder;
struct PadV2OptionsT;
struct ReshapeOptions;
struct ReshapeOptionsBuilder;
struct ReshapeOptionsT;
struct SpaceToBatchNDOptions;
struct SpaceToBatchNDOptionsBuilder;
struct SpaceToBatchNDOptionsT;
struct BatchToSpaceNDOptions;
struct BatchToSpaceNDOptionsBuilder;
struct BatchToSpaceNDOptionsT;
struct SkipGramOptions;
struct SkipGramOptionsBuilder;
struct SkipGramOptionsT;
struct SpaceToDepthOptions;
struct SpaceToDepthOptionsBuilder;
struct SpaceToDepthOptionsT;
struct DepthToSpaceOptions;
struct DepthToSpaceOptionsBuilder;
struct DepthToSpaceOptionsT;
struct SubOptions;
struct SubOptionsBuilder;
struct SubOptionsT;
struct DivOptions;
struct DivOptionsBuilder;
struct DivOptionsT;
struct TopKV2Options;
struct TopKV2OptionsBuilder;
struct TopKV2OptionsT;
struct EmbeddingLookupSparseOptions;
struct EmbeddingLookupSparseOptionsBuilder;
struct EmbeddingLookupSparseOptionsT;
struct GatherOptions;
struct GatherOptionsBuilder;
struct GatherOptionsT;
struct TransposeOptions;
struct TransposeOptionsBuilder;
struct TransposeOptionsT;
struct ExpOptions;
struct ExpOptionsBuilder;
struct ExpOptionsT;
struct CosOptions;
struct CosOptionsBuilder;
struct CosOptionsT;
struct ReducerOptions;
struct ReducerOptionsBuilder;
struct ReducerOptionsT;
struct SqueezeOptions;
struct SqueezeOptionsBuilder;
struct SqueezeOptionsT;
struct SplitOptions;
struct SplitOptionsBuilder;
struct SplitOptionsT;
struct SplitVOptions;
struct SplitVOptionsBuilder;
struct SplitVOptionsT;
struct StridedSliceOptions;
struct StridedSliceOptionsBuilder;
struct StridedSliceOptionsT;
struct LogSoftmaxOptions;
struct LogSoftmaxOptionsBuilder;
struct LogSoftmaxOptionsT;
struct CastOptions;
struct CastOptionsBuilder;
struct CastOptionsT;
struct DequantizeOptions;
struct DequantizeOptionsBuilder;
struct DequantizeOptionsT;
struct MaximumMinimumOptions;
struct MaximumMinimumOptionsBuilder;
struct MaximumMinimumOptionsT;
struct TileOptions;
struct TileOptionsBuilder;
struct TileOptionsT;
struct ArgMaxOptions;
struct ArgMaxOptionsBuilder;
struct ArgMaxOptionsT;
struct ArgMinOptions;
struct ArgMinOptionsBuilder;
struct ArgMinOptionsT;
struct GreaterOptions;
struct GreaterOptionsBuilder;
struct GreaterOptionsT;
struct GreaterEqualOptions;
struct GreaterEqualOptionsBuilder;
struct GreaterEqualOptionsT;
struct LessOptions;
struct LessOptionsBuilder;
struct LessOptionsT;
struct LessEqualOptions;
struct LessEqualOptionsBuilder;
struct LessEqualOptionsT;
struct NegOptions;
struct NegOptionsBuilder;
struct NegOptionsT;
struct SelectOptions;
struct SelectOptionsBuilder;
struct SelectOptionsT;
struct SliceOptions;
struct SliceOptionsBuilder;
struct SliceOptionsT;
struct TransposeConvOptions;
struct TransposeConvOptionsBuilder;
struct TransposeConvOptionsT;
struct ExpandDimsOptions;
struct ExpandDimsOptionsBuilder;
struct ExpandDimsOptionsT;
struct SparseToDenseOptions;
struct SparseToDenseOptionsBuilder;
struct SparseToDenseOptionsT;
struct EqualOptions;
struct EqualOptionsBuilder;
struct EqualOptionsT;
struct NotEqualOptions;
struct NotEqualOptionsBuilder;
struct NotEqualOptionsT;
struct ShapeOptions;
struct ShapeOptionsBuilder;
struct ShapeOptionsT;
struct RankOptions;
struct RankOptionsBuilder;
struct RankOptionsT;
struct PowOptions;
struct PowOptionsBuilder;
struct PowOptionsT;
struct FakeQuantOptions;
struct FakeQuantOptionsBuilder;
struct FakeQuantOptionsT;
struct PackOptions;
struct PackOptionsBuilder;
struct PackOptionsT;
struct LogicalOrOptions;
struct LogicalOrOptionsBuilder;
struct LogicalOrOptionsT;
struct OneHotOptions;
struct OneHotOptionsBuilder;
struct OneHotOptionsT;
struct AbsOptions;
struct AbsOptionsBuilder;
struct AbsOptionsT;
struct HardSwishOptions;
struct HardSwishOptionsBuilder;
struct HardSwishOptionsT;
struct LogicalAndOptions;
struct LogicalAndOptionsBuilder;
struct LogicalAndOptionsT;
struct LogicalNotOptions;
struct LogicalNotOptionsBuilder;
struct LogicalNotOptionsT;
struct UnpackOptions;
struct UnpackOptionsBuilder;
struct UnpackOptionsT;
struct FloorDivOptions;
struct FloorDivOptionsBuilder;
struct FloorDivOptionsT;
struct SquareOptions;
struct SquareOptionsBuilder;
struct SquareOptionsT;
struct ZerosLikeOptions;
struct ZerosLikeOptionsBuilder;
struct ZerosLikeOptionsT;
struct FillOptions;
struct FillOptionsBuilder;
struct FillOptionsT;
struct FloorModOptions;
struct FloorModOptionsBuilder;
struct FloorModOptionsT;
struct RangeOptions;
struct RangeOptionsBuilder;
struct RangeOptionsT;
struct LeakyReluOptions;
struct LeakyReluOptionsBuilder;
struct LeakyReluOptionsT;
struct SquaredDifferenceOptions;
struct SquaredDifferenceOptionsBuilder;
struct SquaredDifferenceOptionsT;
struct MirrorPadOptions;
struct MirrorPadOptionsBuilder;
struct MirrorPadOptionsT;
struct UniqueOptions;
struct UniqueOptionsBuilder;
struct UniqueOptionsT;
struct ReverseV2Options;
struct ReverseV2OptionsBuilder;
struct ReverseV2OptionsT;
struct AddNOptions;
struct AddNOptionsBuilder;
struct AddNOptionsT;
struct GatherNdOptions;
struct GatherNdOptionsBuilder;
struct GatherNdOptionsT;
struct WhereOptions;
struct WhereOptionsBuilder;
struct WhereOptionsT;
struct ReverseSequenceOptions;
struct ReverseSequenceOptionsBuilder;
struct ReverseSequenceOptionsT;
struct MatrixDiagOptions;
struct MatrixDiagOptionsBuilder;
struct MatrixDiagOptionsT;
struct QuantizeOptions;
struct QuantizeOptionsBuilder;
struct QuantizeOptionsT;
struct MatrixSetDiagOptions;
struct MatrixSetDiagOptionsBuilder;
struct MatrixSetDiagOptionsT;
struct IfOptions;
struct IfOptionsBuilder;
struct IfOptionsT;
struct CallOnceOptions;
struct CallOnceOptionsBuilder;
struct CallOnceOptionsT;
struct WhileOptions;
struct WhileOptionsBuilder;
struct WhileOptionsT;
struct NonMaxSuppressionV4Options;
struct NonMaxSuppressionV4OptionsBuilder;
struct NonMaxSuppressionV4OptionsT;
struct NonMaxSuppressionV5Options;
struct NonMaxSuppressionV5OptionsBuilder;
struct NonMaxSuppressionV5OptionsT;
struct ScatterNdOptions;
struct ScatterNdOptionsBuilder;
struct ScatterNdOptionsT;
struct SelectV2Options;
struct SelectV2OptionsBuilder;
struct SelectV2OptionsT;
struct DensifyOptions;
struct DensifyOptionsBuilder;
struct DensifyOptionsT;
struct SegmentSumOptions;
struct SegmentSumOptionsBuilder;
struct SegmentSumOptionsT;
struct BatchMatMulOptions;
struct BatchMatMulOptionsBuilder;
struct BatchMatMulOptionsT;
struct CumsumOptions;
struct CumsumOptionsBuilder;
struct CumsumOptionsT;
struct BroadcastToOptions;
struct BroadcastToOptionsBuilder;
struct BroadcastToOptionsT;
struct Rfft2dOptions;
struct Rfft2dOptionsBuilder;
struct Rfft2dOptionsT;
struct HashtableOptions;
struct HashtableOptionsBuilder;
struct HashtableOptionsT;
struct HashtableFindOptions;
struct HashtableFindOptionsBuilder;
struct HashtableFindOptionsT;
struct HashtableImportOptions;
struct HashtableImportOptionsBuilder;
struct HashtableImportOptionsT;
struct HashtableSizeOptions;
struct HashtableSizeOptionsBuilder;
struct HashtableSizeOptionsT;
struct VarHandleOptions;
struct VarHandleOptionsBuilder;
struct VarHandleOptionsT;
struct ReadVariableOptions;
struct ReadVariableOptionsBuilder;
struct ReadVariableOptionsT;
struct AssignVariableOptions;
struct AssignVariableOptionsBuilder;
struct AssignVariableOptionsT;
struct RandomOptions;
struct RandomOptionsBuilder;
struct RandomOptionsT;
struct BucketizeOptions;
struct BucketizeOptionsBuilder;
struct BucketizeOptionsT;
struct GeluOptions;
struct GeluOptionsBuilder;
struct GeluOptionsT;
struct DynamicUpdateSliceOptions;
struct DynamicUpdateSliceOptionsBuilder;
struct DynamicUpdateSliceOptionsT;
struct UnsortedSegmentProdOptions;
struct UnsortedSegmentProdOptionsBuilder;
struct UnsortedSegmentProdOptionsT;
struct UnsortedSegmentMaxOptions;
struct UnsortedSegmentMaxOptionsBuilder;
struct UnsortedSegmentMaxOptionsT;
struct UnsortedSegmentSumOptions;
struct UnsortedSegmentSumOptionsBuilder;
struct UnsortedSegmentSumOptionsT;
struct ATan2Options;
struct ATan2OptionsBuilder;
struct ATan2OptionsT;
struct UnsortedSegmentMinOptions;
struct UnsortedSegmentMinOptionsBuilder;
struct UnsortedSegmentMinOptionsT;
struct SignOptions;
struct SignOptionsBuilder;
struct SignOptionsT;
struct BitcastOptions;
struct BitcastOptionsBuilder;
struct BitcastOptionsT;
struct BitwiseXorOptions;
struct BitwiseXorOptionsBuilder;
struct BitwiseXorOptionsT;
struct RightShiftOptions;
struct RightShiftOptionsBuilder;
struct RightShiftOptionsT;
struct OperatorCode;
struct OperatorCodeBuilder;
struct OperatorCodeT;
struct Operator;
struct OperatorBuilder;
struct OperatorT;
struct SubGraph;
struct SubGraphBuilder;
struct SubGraphT;
struct Buffer;
struct BufferBuilder;
struct BufferT;
struct Metadata;
struct MetadataBuilder;
struct MetadataT;
struct TensorMap;
struct TensorMapBuilder;
struct TensorMapT;
struct SignatureDef;
struct SignatureDefBuilder;
struct SignatureDefT;
struct Model;
struct ModelBuilder;
struct ModelT;
enum TensorType : int8_t {
TensorType_FLOAT32 = 0,
TensorType_FLOAT16 = 1,
TensorType_INT32 = 2,
TensorType_UINT8 = 3,
TensorType_INT64 = 4,
TensorType_STRING = 5,
TensorType_BOOL = 6,
TensorType_INT16 = 7,
TensorType_COMPLEX64 = 8,
TensorType_INT8 = 9,
TensorType_FLOAT64 = 10,
TensorType_COMPLEX128 = 11,
TensorType_UINT64 = 12,
TensorType_RESOURCE = 13,
TensorType_VARIANT = 14,
TensorType_UINT32 = 15,
TensorType_UINT16 = 16,
TensorType_INT4 = 17,
TensorType_MIN = TensorType_FLOAT32,
TensorType_MAX = TensorType_INT4
};
inline const TensorType (&EnumValuesTensorType())[18] {
static const TensorType values[] = {
TensorType_FLOAT32,
TensorType_FLOAT16,
TensorType_INT32,
TensorType_UINT8,
TensorType_INT64,
TensorType_STRING,
TensorType_BOOL,
TensorType_INT16,
TensorType_COMPLEX64,
TensorType_INT8,
TensorType_FLOAT64,
TensorType_COMPLEX128,
TensorType_UINT64,
TensorType_RESOURCE,
TensorType_VARIANT,
TensorType_UINT32,
TensorType_UINT16,
TensorType_INT4
};
return values;
}
inline const char * const *EnumNamesTensorType() {
static const char * const names[19] = {
"FLOAT32",
"FLOAT16",
"INT32",
"UINT8",
"INT64",
"STRING",
"BOOL",
"INT16",
"COMPLEX64",
"INT8",
"FLOAT64",
"COMPLEX128",
"UINT64",
"RESOURCE",
"VARIANT",
"UINT32",
"UINT16",
"INT4",
nullptr
};
return names;
}
inline const char *EnumNameTensorType(TensorType e) {
if (::flatbuffers::IsOutRange(e, TensorType_FLOAT32, TensorType_INT4)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesTensorType()[index];
}
enum QuantizationDetails : uint8_t {
QuantizationDetails_NONE = 0,
QuantizationDetails_CustomQuantization = 1,
QuantizationDetails_MIN = QuantizationDetails_NONE,
QuantizationDetails_MAX = QuantizationDetails_CustomQuantization
};
inline const QuantizationDetails (&EnumValuesQuantizationDetails())[2] {
static const QuantizationDetails values[] = {
QuantizationDetails_NONE,
QuantizationDetails_CustomQuantization
};
return values;
}
inline const char * const *EnumNamesQuantizationDetails() {
static const char * const names[3] = {
"NONE",
"CustomQuantization",
nullptr
};
return names;
}
inline const char *EnumNameQuantizationDetails(QuantizationDetails e) {
if (::flatbuffers::IsOutRange(e, QuantizationDetails_NONE, QuantizationDetails_CustomQuantization)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesQuantizationDetails()[index];
}
template<typename T> struct QuantizationDetailsTraits {
static const QuantizationDetails enum_value = QuantizationDetails_NONE;
};
template<> struct QuantizationDetailsTraits<tflite::CustomQuantization> {
static const QuantizationDetails enum_value = QuantizationDetails_CustomQuantization;
};
template<typename T> struct QuantizationDetailsUnionTraits {
static const QuantizationDetails enum_value = QuantizationDetails_NONE;
};
template<> struct QuantizationDetailsUnionTraits<tflite::CustomQuantizationT> {
static const QuantizationDetails enum_value = QuantizationDetails_CustomQuantization;
};
struct QuantizationDetailsUnion {
QuantizationDetails type;
void *value;
QuantizationDetailsUnion() : type(QuantizationDetails_NONE), value(nullptr) {}
QuantizationDetailsUnion(QuantizationDetailsUnion&& u) FLATBUFFERS_NOEXCEPT :
type(QuantizationDetails_NONE), value(nullptr)
{ std::swap(type, u.type); std::swap(value, u.value); }
QuantizationDetailsUnion(const QuantizationDetailsUnion &);
QuantizationDetailsUnion &operator=(const QuantizationDetailsUnion &u)
{ QuantizationDetailsUnion t(u); std::swap(type, t.type); std::swap(value, t.value); return *this; }
QuantizationDetailsUnion &operator=(QuantizationDetailsUnion &&u) FLATBUFFERS_NOEXCEPT
{ std::swap(type, u.type); std::swap(value, u.value); return *this; }
~QuantizationDetailsUnion() { Reset(); }
void Reset();
template <typename T>
void Set(T&& val) {
typedef typename std::remove_reference<T>::type RT;
Reset();
type = QuantizationDetailsUnionTraits<RT>::enum_value;
if (type != QuantizationDetails_NONE) {
value = new RT(std::forward<T>(val));
}
}
static void *UnPack(const void *obj, QuantizationDetails type, const ::flatbuffers::resolver_function_t *resolver);
::flatbuffers::Offset<void> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr) const;
tflite::CustomQuantizationT *AsCustomQuantization() {
return type == QuantizationDetails_CustomQuantization ?
reinterpret_cast<tflite::CustomQuantizationT *>(value) : nullptr;
}
const tflite::CustomQuantizationT *AsCustomQuantization() const {
return type == QuantizationDetails_CustomQuantization ?
reinterpret_cast<const tflite::CustomQuantizationT *>(value) : nullptr;
}
};
bool VerifyQuantizationDetails(::flatbuffers::Verifier &verifier, const void *obj, QuantizationDetails type);
bool VerifyQuantizationDetailsVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset<void>> *values, const ::flatbuffers::Vector<uint8_t> *types);
enum DimensionType : int8_t {
DimensionType_DENSE = 0,
DimensionType_SPARSE_CSR = 1,
DimensionType_MIN = DimensionType_DENSE,
DimensionType_MAX = DimensionType_SPARSE_CSR
};
inline const DimensionType (&EnumValuesDimensionType())[2] {
static const DimensionType values[] = {
DimensionType_DENSE,
DimensionType_SPARSE_CSR
};
return values;
}
inline const char * const *EnumNamesDimensionType() {
static const char * const names[3] = {
"DENSE",
"SPARSE_CSR",
nullptr
};
return names;
}
inline const char *EnumNameDimensionType(DimensionType e) {
if (::flatbuffers::IsOutRange(e, DimensionType_DENSE, DimensionType_SPARSE_CSR)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesDimensionType()[index];
}
enum SparseIndexVector : uint8_t {
SparseIndexVector_NONE = 0,
SparseIndexVector_Int32Vector = 1,
SparseIndexVector_Uint16Vector = 2,
SparseIndexVector_Uint8Vector = 3,
SparseIndexVector_MIN = SparseIndexVector_NONE,
SparseIndexVector_MAX = SparseIndexVector_Uint8Vector
};
inline const SparseIndexVector (&EnumValuesSparseIndexVector())[4] {
static const SparseIndexVector values[] = {
SparseIndexVector_NONE,
SparseIndexVector_Int32Vector,
SparseIndexVector_Uint16Vector,
SparseIndexVector_Uint8Vector
};
return values;
}
inline const char * const *EnumNamesSparseIndexVector() {
static const char * const names[5] = {
"NONE",
"Int32Vector",
"Uint16Vector",
"Uint8Vector",
nullptr
};
return names;
}
inline const char *EnumNameSparseIndexVector(SparseIndexVector e) {
if (::flatbuffers::IsOutRange(e, SparseIndexVector_NONE, SparseIndexVector_Uint8Vector)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesSparseIndexVector()[index];
}
template<typename T> struct SparseIndexVectorTraits {
static const SparseIndexVector enum_value = SparseIndexVector_NONE;
};
template<> struct SparseIndexVectorTraits<tflite::Int32Vector> {
static const SparseIndexVector enum_value = SparseIndexVector_Int32Vector;
};
template<> struct SparseIndexVectorTraits<tflite::Uint16Vector> {
static const SparseIndexVector enum_value = SparseIndexVector_Uint16Vector;
};
template<> struct SparseIndexVectorTraits<tflite::Uint8Vector> {
static const SparseIndexVector enum_value = SparseIndexVector_Uint8Vector;
};
template<typename T> struct SparseIndexVectorUnionTraits {
static const SparseIndexVector enum_value = SparseIndexVector_NONE;
};
template<> struct SparseIndexVectorUnionTraits<tflite::Int32VectorT> {
static const SparseIndexVector enum_value = SparseIndexVector_Int32Vector;
};
template<> struct SparseIndexVectorUnionTraits<tflite::Uint16VectorT> {
static const SparseIndexVector enum_value = SparseIndexVector_Uint16Vector;
};
template<> struct SparseIndexVectorUnionTraits<tflite::Uint8VectorT> {
static const SparseIndexVector enum_value = SparseIndexVector_Uint8Vector;
};
struct SparseIndexVectorUnion {
SparseIndexVector type;
void *value;
SparseIndexVectorUnion() : type(SparseIndexVector_NONE), value(nullptr) {}
SparseIndexVectorUnion(SparseIndexVectorUnion&& u) FLATBUFFERS_NOEXCEPT :
type(SparseIndexVector_NONE), value(nullptr)
{ std::swap(type, u.type); std::swap(value, u.value); }
SparseIndexVectorUnion(const SparseIndexVectorUnion &);
SparseIndexVectorUnion &operator=(const SparseIndexVectorUnion &u)
{ SparseIndexVectorUnion t(u); std::swap(type, t.type); std::swap(value, t.value); return *this; }
SparseIndexVectorUnion &operator=(SparseIndexVectorUnion &&u) FLATBUFFERS_NOEXCEPT
{ std::swap(type, u.type); std::swap(value, u.value); return *this; }
~SparseIndexVectorUnion() { Reset(); }
void Reset();
template <typename T>
void Set(T&& val) {
typedef typename std::remove_reference<T>::type RT;
Reset();
type = SparseIndexVectorUnionTraits<RT>::enum_value;
if (type != SparseIndexVector_NONE) {
value = new RT(std::forward<T>(val));
}
}
static void *UnPack(const void *obj, SparseIndexVector type, const ::flatbuffers::resolver_function_t *resolver);
::flatbuffers::Offset<void> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr) const;
tflite::Int32VectorT *AsInt32Vector() {
return type == SparseIndexVector_Int32Vector ?
reinterpret_cast<tflite::Int32VectorT *>(value) : nullptr;
}
const tflite::Int32VectorT *AsInt32Vector() const {
return type == SparseIndexVector_Int32Vector ?
reinterpret_cast<const tflite::Int32VectorT *>(value) : nullptr;
}
tflite::Uint16VectorT *AsUint16Vector() {
return type == SparseIndexVector_Uint16Vector ?
reinterpret_cast<tflite::Uint16VectorT *>(value) : nullptr;
}
const tflite::Uint16VectorT *AsUint16Vector() const {
return type == SparseIndexVector_Uint16Vector ?
reinterpret_cast<const tflite::Uint16VectorT *>(value) : nullptr;
}
tflite::Uint8VectorT *AsUint8Vector() {
return type == SparseIndexVector_Uint8Vector ?
reinterpret_cast<tflite::Uint8VectorT *>(value) : nullptr;
}
const tflite::Uint8VectorT *AsUint8Vector() const {
return type == SparseIndexVector_Uint8Vector ?
reinterpret_cast<const tflite::Uint8VectorT *>(value) : nullptr;
}
};
bool VerifySparseIndexVector(::flatbuffers::Verifier &verifier, const void *obj, SparseIndexVector type);
bool VerifySparseIndexVectorVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset<void>> *values, const ::flatbuffers::Vector<uint8_t> *types);
enum BuiltinOperator : int32_t {
BuiltinOperator_ADD = 0,
BuiltinOperator_AVERAGE_POOL_2D = 1,
BuiltinOperator_CONCATENATION = 2,
BuiltinOperator_CONV_2D = 3,
BuiltinOperator_DEPTHWISE_CONV_2D = 4,
BuiltinOperator_DEPTH_TO_SPACE = 5,
BuiltinOperator_DEQUANTIZE = 6,
BuiltinOperator_EMBEDDING_LOOKUP = 7,
BuiltinOperator_FLOOR = 8,
BuiltinOperator_FULLY_CONNECTED = 9,
BuiltinOperator_HASHTABLE_LOOKUP = 10,
BuiltinOperator_L2_NORMALIZATION = 11,
BuiltinOperator_L2_POOL_2D = 12,
BuiltinOperator_LOCAL_RESPONSE_NORMALIZATION = 13,
BuiltinOperator_LOGISTIC = 14,
BuiltinOperator_LSH_PROJECTION = 15,
BuiltinOperator_LSTM = 16,
BuiltinOperator_MAX_POOL_2D = 17,
BuiltinOperator_MUL = 18,
BuiltinOperator_RELU = 19,
BuiltinOperator_RELU_N1_TO_1 = 20,
BuiltinOperator_RELU6 = 21,
BuiltinOperator_RESHAPE = 22,
BuiltinOperator_RESIZE_BILINEAR = 23,
BuiltinOperator_RNN = 24,
BuiltinOperator_SOFTMAX = 25,
BuiltinOperator_SPACE_TO_DEPTH = 26,
BuiltinOperator_SVDF = 27,
BuiltinOperator_TANH = 28,
BuiltinOperator_CONCAT_EMBEDDINGS = 29,
BuiltinOperator_SKIP_GRAM = 30,
BuiltinOperator_CALL = 31,
BuiltinOperator_CUSTOM = 32,
BuiltinOperator_EMBEDDING_LOOKUP_SPARSE = 33,
BuiltinOperator_PAD = 34,
BuiltinOperator_UNIDIRECTIONAL_SEQUENCE_RNN = 35,
BuiltinOperator_GATHER = 36,
BuiltinOperator_BATCH_TO_SPACE_ND = 37,
BuiltinOperator_SPACE_TO_BATCH_ND = 38,
BuiltinOperator_TRANSPOSE = 39,
BuiltinOperator_MEAN = 40,
BuiltinOperator_SUB = 41,
BuiltinOperator_DIV = 42,
BuiltinOperator_SQUEEZE = 43,
BuiltinOperator_UNIDIRECTIONAL_SEQUENCE_LSTM = 44,
BuiltinOperator_STRIDED_SLICE = 45,
BuiltinOperator_BIDIRECTIONAL_SEQUENCE_RNN = 46,
BuiltinOperator_EXP = 47,
BuiltinOperator_TOPK_V2 = 48,
BuiltinOperator_SPLIT = 49,
BuiltinOperator_LOG_SOFTMAX = 50,
BuiltinOperator_DELEGATE = 51,
BuiltinOperator_BIDIRECTIONAL_SEQUENCE_LSTM = 52,
BuiltinOperator_CAST = 53,
BuiltinOperator_PRELU = 54,
BuiltinOperator_MAXIMUM = 55,
BuiltinOperator_ARG_MAX = 56,
BuiltinOperator_MINIMUM = 57,
BuiltinOperator_LESS = 58,
BuiltinOperator_NEG = 59,
BuiltinOperator_PADV2 = 60,
BuiltinOperator_GREATER = 61,
BuiltinOperator_GREATER_EQUAL = 62,
BuiltinOperator_LESS_EQUAL = 63,
BuiltinOperator_SELECT = 64,
BuiltinOperator_SLICE = 65,
BuiltinOperator_SIN = 66,
BuiltinOperator_TRANSPOSE_CONV = 67,
BuiltinOperator_SPARSE_TO_DENSE = 68,
BuiltinOperator_TILE = 69,
BuiltinOperator_EXPAND_DIMS = 70,
BuiltinOperator_EQUAL = 71,
BuiltinOperator_NOT_EQUAL = 72,
BuiltinOperator_LOG = 73,
BuiltinOperator_SUM = 74,
BuiltinOperator_SQRT = 75,
BuiltinOperator_RSQRT = 76,
BuiltinOperator_SHAPE = 77,
BuiltinOperator_POW = 78,
BuiltinOperator_ARG_MIN = 79,
BuiltinOperator_FAKE_QUANT = 80,
BuiltinOperator_REDUCE_PROD = 81,
BuiltinOperator_REDUCE_MAX = 82,
BuiltinOperator_PACK = 83,
BuiltinOperator_LOGICAL_OR = 84,
BuiltinOperator_ONE_HOT = 85,
BuiltinOperator_LOGICAL_AND = 86,
BuiltinOperator_LOGICAL_NOT = 87,
BuiltinOperator_UNPACK = 88,
BuiltinOperator_REDUCE_MIN = 89,
BuiltinOperator_FLOOR_DIV = 90,
BuiltinOperator_REDUCE_ANY = 91,
BuiltinOperator_SQUARE = 92,
BuiltinOperator_ZEROS_LIKE = 93,
BuiltinOperator_FILL = 94,
BuiltinOperator_FLOOR_MOD = 95,
BuiltinOperator_RANGE = 96,
BuiltinOperator_RESIZE_NEAREST_NEIGHBOR = 97,
BuiltinOperator_LEAKY_RELU = 98,
BuiltinOperator_SQUARED_DIFFERENCE = 99,
BuiltinOperator_MIRROR_PAD = 100,
BuiltinOperator_ABS = 101,
BuiltinOperator_SPLIT_V = 102,
BuiltinOperator_UNIQUE = 103,
BuiltinOperator_CEIL = 104,
BuiltinOperator_REVERSE_V2 = 105,
BuiltinOperator_ADD_N = 106,
BuiltinOperator_GATHER_ND = 107,
BuiltinOperator_COS = 108,
BuiltinOperator_WHERE = 109,
BuiltinOperator_RANK = 110,
BuiltinOperator_ELU = 111,
BuiltinOperator_REVERSE_SEQUENCE = 112,
BuiltinOperator_MATRIX_DIAG = 113,
BuiltinOperator_QUANTIZE = 114,
BuiltinOperator_MATRIX_SET_DIAG = 115,
BuiltinOperator_ROUND = 116,
BuiltinOperator_HARD_SWISH = 117,
BuiltinOperator_IF = 118,
BuiltinOperator_WHILE = 119,
BuiltinOperator_NON_MAX_SUPPRESSION_V4 = 120,
BuiltinOperator_NON_MAX_SUPPRESSION_V5 = 121,
BuiltinOperator_SCATTER_ND = 122,
BuiltinOperator_SELECT_V2 = 123,
BuiltinOperator_DENSIFY = 124,
BuiltinOperator_SEGMENT_SUM = 125,
BuiltinOperator_BATCH_MATMUL = 126,
BuiltinOperator_PLACEHOLDER_FOR_GREATER_OP_CODES = 127,
BuiltinOperator_CUMSUM = 128,
BuiltinOperator_CALL_ONCE = 129,
BuiltinOperator_BROADCAST_TO = 130,
BuiltinOperator_RFFT2D = 131,
BuiltinOperator_CONV_3D = 132,
BuiltinOperator_IMAG = 133,
BuiltinOperator_REAL = 134,
BuiltinOperator_COMPLEX_ABS = 135,
BuiltinOperator_HASHTABLE = 136,
BuiltinOperator_HASHTABLE_FIND = 137,
BuiltinOperator_HASHTABLE_IMPORT = 138,
BuiltinOperator_HASHTABLE_SIZE = 139,
BuiltinOperator_REDUCE_ALL = 140,
BuiltinOperator_CONV_3D_TRANSPOSE = 141,
BuiltinOperator_VAR_HANDLE = 142,
BuiltinOperator_READ_VARIABLE = 143,
BuiltinOperator_ASSIGN_VARIABLE = 144,
BuiltinOperator_BROADCAST_ARGS = 145,
BuiltinOperator_RANDOM_STANDARD_NORMAL = 146,
BuiltinOperator_BUCKETIZE = 147,
BuiltinOperator_RANDOM_UNIFORM = 148,
BuiltinOperator_MULTINOMIAL = 149,
BuiltinOperator_GELU = 150,
BuiltinOperator_DYNAMIC_UPDATE_SLICE = 151,
BuiltinOperator_RELU_0_TO_1 = 152,
BuiltinOperator_UNSORTED_SEGMENT_PROD = 153,
BuiltinOperator_UNSORTED_SEGMENT_MAX = 154,
BuiltinOperator_UNSORTED_SEGMENT_SUM = 155,
BuiltinOperator_ATAN2 = 156,
BuiltinOperator_UNSORTED_SEGMENT_MIN = 157,
BuiltinOperator_SIGN = 158,
BuiltinOperator_BITCAST = 159,
BuiltinOperator_BITWISE_XOR = 160,
BuiltinOperator_RIGHT_SHIFT = 161,
BuiltinOperator_MIN = BuiltinOperator_ADD,
BuiltinOperator_MAX = BuiltinOperator_RIGHT_SHIFT
};
inline const BuiltinOperator (&EnumValuesBuiltinOperator())[162] {
static const BuiltinOperator values[] = {
BuiltinOperator_ADD,
BuiltinOperator_AVERAGE_POOL_2D,
BuiltinOperator_CONCATENATION,
BuiltinOperator_CONV_2D,
BuiltinOperator_DEPTHWISE_CONV_2D,
BuiltinOperator_DEPTH_TO_SPACE,
BuiltinOperator_DEQUANTIZE,
BuiltinOperator_EMBEDDING_LOOKUP,
BuiltinOperator_FLOOR,
BuiltinOperator_FULLY_CONNECTED,
BuiltinOperator_HASHTABLE_LOOKUP,
BuiltinOperator_L2_NORMALIZATION,
BuiltinOperator_L2_POOL_2D,
BuiltinOperator_LOCAL_RESPONSE_NORMALIZATION,
BuiltinOperator_LOGISTIC,
BuiltinOperator_LSH_PROJECTION,
BuiltinOperator_LSTM,
BuiltinOperator_MAX_POOL_2D,
BuiltinOperator_MUL,
BuiltinOperator_RELU,
BuiltinOperator_RELU_N1_TO_1,
BuiltinOperator_RELU6,
BuiltinOperator_RESHAPE,
BuiltinOperator_RESIZE_BILINEAR,
BuiltinOperator_RNN,
BuiltinOperator_SOFTMAX,
BuiltinOperator_SPACE_TO_DEPTH,
BuiltinOperator_SVDF,
BuiltinOperator_TANH,
BuiltinOperator_CONCAT_EMBEDDINGS,
BuiltinOperator_SKIP_GRAM,
BuiltinOperator_CALL,
BuiltinOperator_CUSTOM,
BuiltinOperator_EMBEDDING_LOOKUP_SPARSE,
BuiltinOperator_PAD,
BuiltinOperator_UNIDIRECTIONAL_SEQUENCE_RNN,
BuiltinOperator_GATHER,
BuiltinOperator_BATCH_TO_SPACE_ND,
BuiltinOperator_SPACE_TO_BATCH_ND,
BuiltinOperator_TRANSPOSE,
BuiltinOperator_MEAN,
BuiltinOperator_SUB,
BuiltinOperator_DIV,
BuiltinOperator_SQUEEZE,
BuiltinOperator_UNIDIRECTIONAL_SEQUENCE_LSTM,
BuiltinOperator_STRIDED_SLICE,
BuiltinOperator_BIDIRECTIONAL_SEQUENCE_RNN,
BuiltinOperator_EXP,
BuiltinOperator_TOPK_V2,
BuiltinOperator_SPLIT,
BuiltinOperator_LOG_SOFTMAX,
BuiltinOperator_DELEGATE,
BuiltinOperator_BIDIRECTIONAL_SEQUENCE_LSTM,
BuiltinOperator_CAST,
BuiltinOperator_PRELU,
BuiltinOperator_MAXIMUM,
BuiltinOperator_ARG_MAX,
BuiltinOperator_MINIMUM,
BuiltinOperator_LESS,
BuiltinOperator_NEG,
BuiltinOperator_PADV2,
BuiltinOperator_GREATER,
BuiltinOperator_GREATER_EQUAL,
BuiltinOperator_LESS_EQUAL,
BuiltinOperator_SELECT,
BuiltinOperator_SLICE,
BuiltinOperator_SIN,
BuiltinOperator_TRANSPOSE_CONV,
BuiltinOperator_SPARSE_TO_DENSE,
BuiltinOperator_TILE,
BuiltinOperator_EXPAND_DIMS,
BuiltinOperator_EQUAL,
BuiltinOperator_NOT_EQUAL,
BuiltinOperator_LOG,
BuiltinOperator_SUM,
BuiltinOperator_SQRT,
BuiltinOperator_RSQRT,
BuiltinOperator_SHAPE,
BuiltinOperator_POW,
BuiltinOperator_ARG_MIN,
BuiltinOperator_FAKE_QUANT,
BuiltinOperator_REDUCE_PROD,
BuiltinOperator_REDUCE_MAX,
BuiltinOperator_PACK,
BuiltinOperator_LOGICAL_OR,
BuiltinOperator_ONE_HOT,
BuiltinOperator_LOGICAL_AND,
BuiltinOperator_LOGICAL_NOT,
BuiltinOperator_UNPACK,
BuiltinOperator_REDUCE_MIN,
BuiltinOperator_FLOOR_DIV,
BuiltinOperator_REDUCE_ANY,
BuiltinOperator_SQUARE,
BuiltinOperator_ZEROS_LIKE,
BuiltinOperator_FILL,
BuiltinOperator_FLOOR_MOD,
BuiltinOperator_RANGE,
BuiltinOperator_RESIZE_NEAREST_NEIGHBOR,
BuiltinOperator_LEAKY_RELU,
BuiltinOperator_SQUARED_DIFFERENCE,
BuiltinOperator_MIRROR_PAD,
BuiltinOperator_ABS,
BuiltinOperator_SPLIT_V,
BuiltinOperator_UNIQUE,
BuiltinOperator_CEIL,
BuiltinOperator_REVERSE_V2,
BuiltinOperator_ADD_N,
BuiltinOperator_GATHER_ND,
BuiltinOperator_COS,
BuiltinOperator_WHERE,
BuiltinOperator_RANK,
BuiltinOperator_ELU,
BuiltinOperator_REVERSE_SEQUENCE,
BuiltinOperator_MATRIX_DIAG,
BuiltinOperator_QUANTIZE,
BuiltinOperator_MATRIX_SET_DIAG,
BuiltinOperator_ROUND,
BuiltinOperator_HARD_SWISH,
BuiltinOperator_IF,
BuiltinOperator_WHILE,
BuiltinOperator_NON_MAX_SUPPRESSION_V4,
BuiltinOperator_NON_MAX_SUPPRESSION_V5,
BuiltinOperator_SCATTER_ND,
BuiltinOperator_SELECT_V2,
BuiltinOperator_DENSIFY,
BuiltinOperator_SEGMENT_SUM,
BuiltinOperator_BATCH_MATMUL,
BuiltinOperator_PLACEHOLDER_FOR_GREATER_OP_CODES,
BuiltinOperator_CUMSUM,
BuiltinOperator_CALL_ONCE,
BuiltinOperator_BROADCAST_TO,
BuiltinOperator_RFFT2D,
BuiltinOperator_CONV_3D,
BuiltinOperator_IMAG,
BuiltinOperator_REAL,
BuiltinOperator_COMPLEX_ABS,
BuiltinOperator_HASHTABLE,
BuiltinOperator_HASHTABLE_FIND,
BuiltinOperator_HASHTABLE_IMPORT,
BuiltinOperator_HASHTABLE_SIZE,
BuiltinOperator_REDUCE_ALL,
BuiltinOperator_CONV_3D_TRANSPOSE,
BuiltinOperator_VAR_HANDLE,
BuiltinOperator_READ_VARIABLE,
BuiltinOperator_ASSIGN_VARIABLE,
BuiltinOperator_BROADCAST_ARGS,
BuiltinOperator_RANDOM_STANDARD_NORMAL,
BuiltinOperator_BUCKETIZE,
BuiltinOperator_RANDOM_UNIFORM,
BuiltinOperator_MULTINOMIAL,
BuiltinOperator_GELU,
BuiltinOperator_DYNAMIC_UPDATE_SLICE,
BuiltinOperator_RELU_0_TO_1,
BuiltinOperator_UNSORTED_SEGMENT_PROD,
BuiltinOperator_UNSORTED_SEGMENT_MAX,
BuiltinOperator_UNSORTED_SEGMENT_SUM,
BuiltinOperator_ATAN2,
BuiltinOperator_UNSORTED_SEGMENT_MIN,
BuiltinOperator_SIGN,
BuiltinOperator_BITCAST,
BuiltinOperator_BITWISE_XOR,
BuiltinOperator_RIGHT_SHIFT
};
return values;
}
inline const char * const *EnumNamesBuiltinOperator() {
static const char * const names[163] = {
"ADD",
"AVERAGE_POOL_2D",
"CONCATENATION",
"CONV_2D",
"DEPTHWISE_CONV_2D",
"DEPTH_TO_SPACE",
"DEQUANTIZE",
"EMBEDDING_LOOKUP",
"FLOOR",
"FULLY_CONNECTED",
"HASHTABLE_LOOKUP",
"L2_NORMALIZATION",
"L2_POOL_2D",
"LOCAL_RESPONSE_NORMALIZATION",
"LOGISTIC",
"LSH_PROJECTION",
"LSTM",
"MAX_POOL_2D",
"MUL",
"RELU",
"RELU_N1_TO_1",
"RELU6",
"RESHAPE",
"RESIZE_BILINEAR",
"RNN",
"SOFTMAX",
"SPACE_TO_DEPTH",
"SVDF",
"TANH",
"CONCAT_EMBEDDINGS",
"SKIP_GRAM",
"CALL",
"CUSTOM",
"EMBEDDING_LOOKUP_SPARSE",
"PAD",
"UNIDIRECTIONAL_SEQUENCE_RNN",
"GATHER",
"BATCH_TO_SPACE_ND",
"SPACE_TO_BATCH_ND",
"TRANSPOSE",
"MEAN",
"SUB",
"DIV",
"SQUEEZE",
"UNIDIRECTIONAL_SEQUENCE_LSTM",
"STRIDED_SLICE",
"BIDIRECTIONAL_SEQUENCE_RNN",
"EXP",
"TOPK_V2",
"SPLIT",
"LOG_SOFTMAX",
"DELEGATE",
"BIDIRECTIONAL_SEQUENCE_LSTM",
"CAST",
"PRELU",
"MAXIMUM",
"ARG_MAX",
"MINIMUM",
"LESS",
"NEG",
"PADV2",
"GREATER",
"GREATER_EQUAL",
"LESS_EQUAL",
"SELECT",
"SLICE",
"SIN",
"TRANSPOSE_CONV",
"SPARSE_TO_DENSE",
"TILE",
"EXPAND_DIMS",
"EQUAL",
"NOT_EQUAL",
"LOG",
"SUM",
"SQRT",
"RSQRT",
"SHAPE",
"POW",
"ARG_MIN",
"FAKE_QUANT",
"REDUCE_PROD",
"REDUCE_MAX",
"PACK",
"LOGICAL_OR",
"ONE_HOT",
"LOGICAL_AND",
"LOGICAL_NOT",
"UNPACK",
"REDUCE_MIN",
"FLOOR_DIV",
"REDUCE_ANY",
"SQUARE",
"ZEROS_LIKE",
"FILL",
"FLOOR_MOD",
"RANGE",
"RESIZE_NEAREST_NEIGHBOR",
"LEAKY_RELU",
"SQUARED_DIFFERENCE",
"MIRROR_PAD",
"ABS",
"SPLIT_V",
"UNIQUE",
"CEIL",
"REVERSE_V2",
"ADD_N",
"GATHER_ND",
"COS",
"WHERE",
"RANK",
"ELU",
"REVERSE_SEQUENCE",
"MATRIX_DIAG",
"QUANTIZE",
"MATRIX_SET_DIAG",
"ROUND",
"HARD_SWISH",
"IF",
"WHILE",
"NON_MAX_SUPPRESSION_V4",
"NON_MAX_SUPPRESSION_V5",
"SCATTER_ND",
"SELECT_V2",
"DENSIFY",
"SEGMENT_SUM",
"BATCH_MATMUL",
"PLACEHOLDER_FOR_GREATER_OP_CODES",
"CUMSUM",
"CALL_ONCE",
"BROADCAST_TO",
"RFFT2D",
"CONV_3D",
"IMAG",
"REAL",
"COMPLEX_ABS",
"HASHTABLE",
"HASHTABLE_FIND",
"HASHTABLE_IMPORT",
"HASHTABLE_SIZE",
"REDUCE_ALL",
"CONV_3D_TRANSPOSE",
"VAR_HANDLE",
"READ_VARIABLE",
"ASSIGN_VARIABLE",
"BROADCAST_ARGS",
"RANDOM_STANDARD_NORMAL",
"BUCKETIZE",
"RANDOM_UNIFORM",
"MULTINOMIAL",
"GELU",
"DYNAMIC_UPDATE_SLICE",
"RELU_0_TO_1",
"UNSORTED_SEGMENT_PROD",
"UNSORTED_SEGMENT_MAX",
"UNSORTED_SEGMENT_SUM",
"ATAN2",
"UNSORTED_SEGMENT_MIN",
"SIGN",
"BITCAST",
"BITWISE_XOR",
"RIGHT_SHIFT",
nullptr
};
return names;
}
inline const char *EnumNameBuiltinOperator(BuiltinOperator e) {
if (::flatbuffers::IsOutRange(e, BuiltinOperator_ADD, BuiltinOperator_RIGHT_SHIFT)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesBuiltinOperator()[index];
}
enum BuiltinOptions : uint8_t {
BuiltinOptions_NONE = 0,
BuiltinOptions_Conv2DOptions = 1,
BuiltinOptions_DepthwiseConv2DOptions = 2,
BuiltinOptions_ConcatEmbeddingsOptions = 3,
BuiltinOptions_LSHProjectionOptions = 4,
BuiltinOptions_Pool2DOptions = 5,
BuiltinOptions_SVDFOptions = 6,
BuiltinOptions_RNNOptions = 7,
BuiltinOptions_FullyConnectedOptions = 8,
BuiltinOptions_SoftmaxOptions = 9,
BuiltinOptions_ConcatenationOptions = 10,
BuiltinOptions_AddOptions = 11,
BuiltinOptions_L2NormOptions = 12,
BuiltinOptions_LocalResponseNormalizationOptions = 13,
BuiltinOptions_LSTMOptions = 14,
BuiltinOptions_ResizeBilinearOptions = 15,
BuiltinOptions_CallOptions = 16,
BuiltinOptions_ReshapeOptions = 17,
BuiltinOptions_SkipGramOptions = 18,
BuiltinOptions_SpaceToDepthOptions = 19,
BuiltinOptions_EmbeddingLookupSparseOptions = 20,
BuiltinOptions_MulOptions = 21,
BuiltinOptions_PadOptions = 22,
BuiltinOptions_GatherOptions = 23,
BuiltinOptions_BatchToSpaceNDOptions = 24,
BuiltinOptions_SpaceToBatchNDOptions = 25,
BuiltinOptions_TransposeOptions = 26,
BuiltinOptions_ReducerOptions = 27,
BuiltinOptions_SubOptions = 28,
BuiltinOptions_DivOptions = 29,
BuiltinOptions_SqueezeOptions = 30,
BuiltinOptions_SequenceRNNOptions = 31,
BuiltinOptions_StridedSliceOptions = 32,
BuiltinOptions_ExpOptions = 33,
BuiltinOptions_TopKV2Options = 34,
BuiltinOptions_SplitOptions = 35,
BuiltinOptions_LogSoftmaxOptions = 36,
BuiltinOptions_CastOptions = 37,
BuiltinOptions_DequantizeOptions = 38,
BuiltinOptions_MaximumMinimumOptions = 39,
BuiltinOptions_ArgMaxOptions = 40,
BuiltinOptions_LessOptions = 41,
BuiltinOptions_NegOptions = 42,
BuiltinOptions_PadV2Options = 43,
BuiltinOptions_GreaterOptions = 44,
BuiltinOptions_GreaterEqualOptions = 45,
BuiltinOptions_LessEqualOptions = 46,
BuiltinOptions_SelectOptions = 47,
BuiltinOptions_SliceOptions = 48,
BuiltinOptions_TransposeConvOptions = 49,
BuiltinOptions_SparseToDenseOptions = 50,
BuiltinOptions_TileOptions = 51,
BuiltinOptions_ExpandDimsOptions = 52,
BuiltinOptions_EqualOptions = 53,
BuiltinOptions_NotEqualOptions = 54,
BuiltinOptions_ShapeOptions = 55,
BuiltinOptions_PowOptions = 56,
BuiltinOptions_ArgMinOptions = 57,
BuiltinOptions_FakeQuantOptions = 58,
BuiltinOptions_PackOptions = 59,
BuiltinOptions_LogicalOrOptions = 60,
BuiltinOptions_OneHotOptions = 61,
BuiltinOptions_LogicalAndOptions = 62,
BuiltinOptions_LogicalNotOptions = 63,
BuiltinOptions_UnpackOptions = 64,
BuiltinOptions_FloorDivOptions = 65,
BuiltinOptions_SquareOptions = 66,
BuiltinOptions_ZerosLikeOptions = 67,
BuiltinOptions_FillOptions = 68,
BuiltinOptions_BidirectionalSequenceLSTMOptions = 69,
BuiltinOptions_BidirectionalSequenceRNNOptions = 70,
BuiltinOptions_UnidirectionalSequenceLSTMOptions = 71,
BuiltinOptions_FloorModOptions = 72,
BuiltinOptions_RangeOptions = 73,
BuiltinOptions_ResizeNearestNeighborOptions = 74,
BuiltinOptions_LeakyReluOptions = 75,
BuiltinOptions_SquaredDifferenceOptions = 76,
BuiltinOptions_MirrorPadOptions = 77,
BuiltinOptions_AbsOptions = 78,
BuiltinOptions_SplitVOptions = 79,
BuiltinOptions_UniqueOptions = 80,
BuiltinOptions_ReverseV2Options = 81,
BuiltinOptions_AddNOptions = 82,
BuiltinOptions_GatherNdOptions = 83,
BuiltinOptions_CosOptions = 84,
BuiltinOptions_WhereOptions = 85,
BuiltinOptions_RankOptions = 86,
BuiltinOptions_ReverseSequenceOptions = 87,
BuiltinOptions_MatrixDiagOptions = 88,
BuiltinOptions_QuantizeOptions = 89,
BuiltinOptions_MatrixSetDiagOptions = 90,
BuiltinOptions_HardSwishOptions = 91,
BuiltinOptions_IfOptions = 92,
BuiltinOptions_WhileOptions = 93,
BuiltinOptions_DepthToSpaceOptions = 94,
BuiltinOptions_NonMaxSuppressionV4Options = 95,
BuiltinOptions_NonMaxSuppressionV5Options = 96,
BuiltinOptions_ScatterNdOptions = 97,
BuiltinOptions_SelectV2Options = 98,
BuiltinOptions_DensifyOptions = 99,
BuiltinOptions_SegmentSumOptions = 100,
BuiltinOptions_BatchMatMulOptions = 101,
BuiltinOptions_CumsumOptions = 102,
BuiltinOptions_CallOnceOptions = 103,
BuiltinOptions_BroadcastToOptions = 104,
BuiltinOptions_Rfft2dOptions = 105,
BuiltinOptions_Conv3DOptions = 106,
BuiltinOptions_HashtableOptions = 107,
BuiltinOptions_HashtableFindOptions = 108,
BuiltinOptions_HashtableImportOptions = 109,
BuiltinOptions_HashtableSizeOptions = 110,
BuiltinOptions_VarHandleOptions = 111,
BuiltinOptions_ReadVariableOptions = 112,
BuiltinOptions_AssignVariableOptions = 113,
BuiltinOptions_RandomOptions = 114,
BuiltinOptions_BucketizeOptions = 115,
BuiltinOptions_GeluOptions = 116,
BuiltinOptions_DynamicUpdateSliceOptions = 117,
BuiltinOptions_UnsortedSegmentProdOptions = 118,
BuiltinOptions_UnsortedSegmentMaxOptions = 119,
BuiltinOptions_UnsortedSegmentMinOptions = 120,
BuiltinOptions_UnsortedSegmentSumOptions = 121,
BuiltinOptions_ATan2Options = 122,
BuiltinOptions_SignOptions = 123,
BuiltinOptions_BitcastOptions = 124,
BuiltinOptions_BitwiseXorOptions = 125,
BuiltinOptions_RightShiftOptions = 126,
BuiltinOptions_MIN = BuiltinOptions_NONE,
BuiltinOptions_MAX = BuiltinOptions_RightShiftOptions
};
inline const BuiltinOptions (&EnumValuesBuiltinOptions())[127] {
static const BuiltinOptions values[] = {
BuiltinOptions_NONE,
BuiltinOptions_Conv2DOptions,
BuiltinOptions_DepthwiseConv2DOptions,
BuiltinOptions_ConcatEmbeddingsOptions,
BuiltinOptions_LSHProjectionOptions,
BuiltinOptions_Pool2DOptions,
BuiltinOptions_SVDFOptions,
BuiltinOptions_RNNOptions,
BuiltinOptions_FullyConnectedOptions,
BuiltinOptions_SoftmaxOptions,
BuiltinOptions_ConcatenationOptions,
BuiltinOptions_AddOptions,
BuiltinOptions_L2NormOptions,
BuiltinOptions_LocalResponseNormalizationOptions,
BuiltinOptions_LSTMOptions,
BuiltinOptions_ResizeBilinearOptions,
BuiltinOptions_CallOptions,
BuiltinOptions_ReshapeOptions,
BuiltinOptions_SkipGramOptions,
BuiltinOptions_SpaceToDepthOptions,
BuiltinOptions_EmbeddingLookupSparseOptions,
BuiltinOptions_MulOptions,
BuiltinOptions_PadOptions,
BuiltinOptions_GatherOptions,
BuiltinOptions_BatchToSpaceNDOptions,
BuiltinOptions_SpaceToBatchNDOptions,
BuiltinOptions_TransposeOptions,
BuiltinOptions_ReducerOptions,
BuiltinOptions_SubOptions,
BuiltinOptions_DivOptions,
BuiltinOptions_SqueezeOptions,
BuiltinOptions_SequenceRNNOptions,
BuiltinOptions_StridedSliceOptions,
BuiltinOptions_ExpOptions,
BuiltinOptions_TopKV2Options,
BuiltinOptions_SplitOptions,
BuiltinOptions_LogSoftmaxOptions,
BuiltinOptions_CastOptions,
BuiltinOptions_DequantizeOptions,
BuiltinOptions_MaximumMinimumOptions,
BuiltinOptions_ArgMaxOptions,
BuiltinOptions_LessOptions,
BuiltinOptions_NegOptions,
BuiltinOptions_PadV2Options,
BuiltinOptions_GreaterOptions,
BuiltinOptions_GreaterEqualOptions,
BuiltinOptions_LessEqualOptions,
BuiltinOptions_SelectOptions,
BuiltinOptions_SliceOptions,
BuiltinOptions_TransposeConvOptions,
BuiltinOptions_SparseToDenseOptions,
BuiltinOptions_TileOptions,
BuiltinOptions_ExpandDimsOptions,
BuiltinOptions_EqualOptions,
BuiltinOptions_NotEqualOptions,
BuiltinOptions_ShapeOptions,
BuiltinOptions_PowOptions,
BuiltinOptions_ArgMinOptions,
BuiltinOptions_FakeQuantOptions,
BuiltinOptions_PackOptions,
BuiltinOptions_LogicalOrOptions,
BuiltinOptions_OneHotOptions,
BuiltinOptions_LogicalAndOptions,
BuiltinOptions_LogicalNotOptions,
BuiltinOptions_UnpackOptions,
BuiltinOptions_FloorDivOptions,
BuiltinOptions_SquareOptions,
BuiltinOptions_ZerosLikeOptions,
BuiltinOptions_FillOptions,
BuiltinOptions_BidirectionalSequenceLSTMOptions,
BuiltinOptions_BidirectionalSequenceRNNOptions,
BuiltinOptions_UnidirectionalSequenceLSTMOptions,
BuiltinOptions_FloorModOptions,
BuiltinOptions_RangeOptions,
BuiltinOptions_ResizeNearestNeighborOptions,
BuiltinOptions_LeakyReluOptions,
BuiltinOptions_SquaredDifferenceOptions,
BuiltinOptions_MirrorPadOptions,
BuiltinOptions_AbsOptions,
BuiltinOptions_SplitVOptions,
BuiltinOptions_UniqueOptions,
BuiltinOptions_ReverseV2Options,
BuiltinOptions_AddNOptions,
BuiltinOptions_GatherNdOptions,
BuiltinOptions_CosOptions,
BuiltinOptions_WhereOptions,
BuiltinOptions_RankOptions,
BuiltinOptions_ReverseSequenceOptions,
BuiltinOptions_MatrixDiagOptions,
BuiltinOptions_QuantizeOptions,
BuiltinOptions_MatrixSetDiagOptions,
BuiltinOptions_HardSwishOptions,
BuiltinOptions_IfOptions,
BuiltinOptions_WhileOptions,
BuiltinOptions_DepthToSpaceOptions,
BuiltinOptions_NonMaxSuppressionV4Options,
BuiltinOptions_NonMaxSuppressionV5Options,
BuiltinOptions_ScatterNdOptions,
BuiltinOptions_SelectV2Options,
BuiltinOptions_DensifyOptions,
BuiltinOptions_SegmentSumOptions,
BuiltinOptions_BatchMatMulOptions,
BuiltinOptions_CumsumOptions,
BuiltinOptions_CallOnceOptions,
BuiltinOptions_BroadcastToOptions,
BuiltinOptions_Rfft2dOptions,
BuiltinOptions_Conv3DOptions,
BuiltinOptions_HashtableOptions,
BuiltinOptions_HashtableFindOptions,
BuiltinOptions_HashtableImportOptions,
BuiltinOptions_HashtableSizeOptions,
BuiltinOptions_VarHandleOptions,
BuiltinOptions_ReadVariableOptions,
BuiltinOptions_AssignVariableOptions,
BuiltinOptions_RandomOptions,
BuiltinOptions_BucketizeOptions,
BuiltinOptions_GeluOptions,
BuiltinOptions_DynamicUpdateSliceOptions,
BuiltinOptions_UnsortedSegmentProdOptions,
BuiltinOptions_UnsortedSegmentMaxOptions,
BuiltinOptions_UnsortedSegmentMinOptions,
BuiltinOptions_UnsortedSegmentSumOptions,
BuiltinOptions_ATan2Options,
BuiltinOptions_SignOptions,
BuiltinOptions_BitcastOptions,
BuiltinOptions_BitwiseXorOptions,
BuiltinOptions_RightShiftOptions
};
return values;
}
inline const char * const *EnumNamesBuiltinOptions() {
static const char * const names[128] = {
"NONE",
"Conv2DOptions",
"DepthwiseConv2DOptions",
"ConcatEmbeddingsOptions",
"LSHProjectionOptions",
"Pool2DOptions",
"SVDFOptions",
"RNNOptions",
"FullyConnectedOptions",
"SoftmaxOptions",
"ConcatenationOptions",
"AddOptions",
"L2NormOptions",
"LocalResponseNormalizationOptions",
"LSTMOptions",
"ResizeBilinearOptions",
"CallOptions",
"ReshapeOptions",
"SkipGramOptions",
"SpaceToDepthOptions",
"EmbeddingLookupSparseOptions",
"MulOptions",
"PadOptions",
"GatherOptions",
"BatchToSpaceNDOptions",
"SpaceToBatchNDOptions",
"TransposeOptions",
"ReducerOptions",
"SubOptions",
"DivOptions",
"SqueezeOptions",
"SequenceRNNOptions",
"StridedSliceOptions",
"ExpOptions",
"TopKV2Options",
"SplitOptions",
"LogSoftmaxOptions",
"CastOptions",
"DequantizeOptions",
"MaximumMinimumOptions",
"ArgMaxOptions",
"LessOptions",
"NegOptions",
"PadV2Options",
"GreaterOptions",
"GreaterEqualOptions",
"LessEqualOptions",
"SelectOptions",
"SliceOptions",
"TransposeConvOptions",
"SparseToDenseOptions",
"TileOptions",
"ExpandDimsOptions",
"EqualOptions",
"NotEqualOptions",
"ShapeOptions",
"PowOptions",
"ArgMinOptions",
"FakeQuantOptions",
"PackOptions",
"LogicalOrOptions",
"OneHotOptions",
"LogicalAndOptions",
"LogicalNotOptions",
"UnpackOptions",
"FloorDivOptions",
"SquareOptions",
"ZerosLikeOptions",
"FillOptions",
"BidirectionalSequenceLSTMOptions",
"BidirectionalSequenceRNNOptions",
"UnidirectionalSequenceLSTMOptions",
"FloorModOptions",
"RangeOptions",
"ResizeNearestNeighborOptions",
"LeakyReluOptions",
"SquaredDifferenceOptions",
"MirrorPadOptions",
"AbsOptions",
"SplitVOptions",
"UniqueOptions",
"ReverseV2Options",
"AddNOptions",
"GatherNdOptions",
"CosOptions",
"WhereOptions",
"RankOptions",
"ReverseSequenceOptions",
"MatrixDiagOptions",
"QuantizeOptions",
"MatrixSetDiagOptions",
"HardSwishOptions",
"IfOptions",
"WhileOptions",
"DepthToSpaceOptions",
"NonMaxSuppressionV4Options",
"NonMaxSuppressionV5Options",
"ScatterNdOptions",
"SelectV2Options",
"DensifyOptions",
"SegmentSumOptions",
"BatchMatMulOptions",
"CumsumOptions",
"CallOnceOptions",
"BroadcastToOptions",
"Rfft2dOptions",
"Conv3DOptions",
"HashtableOptions",
"HashtableFindOptions",
"HashtableImportOptions",
"HashtableSizeOptions",
"VarHandleOptions",
"ReadVariableOptions",
"AssignVariableOptions",
"RandomOptions",
"BucketizeOptions",
"GeluOptions",
"DynamicUpdateSliceOptions",
"UnsortedSegmentProdOptions",
"UnsortedSegmentMaxOptions",
"UnsortedSegmentMinOptions",
"UnsortedSegmentSumOptions",
"ATan2Options",
"SignOptions",
"BitcastOptions",
"BitwiseXorOptions",
"RightShiftOptions",
nullptr
};
return names;
}
inline const char *EnumNameBuiltinOptions(BuiltinOptions e) {
if (::flatbuffers::IsOutRange(e, BuiltinOptions_NONE, BuiltinOptions_RightShiftOptions)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesBuiltinOptions()[index];
}
template<typename T> struct BuiltinOptionsTraits {
static const BuiltinOptions enum_value = BuiltinOptions_NONE;
};
template<> struct BuiltinOptionsTraits<tflite::Conv2DOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_Conv2DOptions;
};
template<> struct BuiltinOptionsTraits<tflite::DepthwiseConv2DOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_DepthwiseConv2DOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ConcatEmbeddingsOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ConcatEmbeddingsOptions;
};
template<> struct BuiltinOptionsTraits<tflite::LSHProjectionOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_LSHProjectionOptions;
};
template<> struct BuiltinOptionsTraits<tflite::Pool2DOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_Pool2DOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SVDFOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SVDFOptions;
};
template<> struct BuiltinOptionsTraits<tflite::RNNOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_RNNOptions;
};
template<> struct BuiltinOptionsTraits<tflite::FullyConnectedOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_FullyConnectedOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SoftmaxOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SoftmaxOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ConcatenationOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ConcatenationOptions;
};
template<> struct BuiltinOptionsTraits<tflite::AddOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_AddOptions;
};
template<> struct BuiltinOptionsTraits<tflite::L2NormOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_L2NormOptions;
};
template<> struct BuiltinOptionsTraits<tflite::LocalResponseNormalizationOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_LocalResponseNormalizationOptions;
};
template<> struct BuiltinOptionsTraits<tflite::LSTMOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_LSTMOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ResizeBilinearOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ResizeBilinearOptions;
};
template<> struct BuiltinOptionsTraits<tflite::CallOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_CallOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ReshapeOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ReshapeOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SkipGramOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SkipGramOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SpaceToDepthOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SpaceToDepthOptions;
};
template<> struct BuiltinOptionsTraits<tflite::EmbeddingLookupSparseOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_EmbeddingLookupSparseOptions;
};
template<> struct BuiltinOptionsTraits<tflite::MulOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_MulOptions;
};
template<> struct BuiltinOptionsTraits<tflite::PadOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_PadOptions;
};
template<> struct BuiltinOptionsTraits<tflite::GatherOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_GatherOptions;
};
template<> struct BuiltinOptionsTraits<tflite::BatchToSpaceNDOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_BatchToSpaceNDOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SpaceToBatchNDOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SpaceToBatchNDOptions;
};
template<> struct BuiltinOptionsTraits<tflite::TransposeOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_TransposeOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ReducerOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ReducerOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SubOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SubOptions;
};
template<> struct BuiltinOptionsTraits<tflite::DivOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_DivOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SqueezeOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SqueezeOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SequenceRNNOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SequenceRNNOptions;
};
template<> struct BuiltinOptionsTraits<tflite::StridedSliceOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_StridedSliceOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ExpOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ExpOptions;
};
template<> struct BuiltinOptionsTraits<tflite::TopKV2Options> {
static const BuiltinOptions enum_value = BuiltinOptions_TopKV2Options;
};
template<> struct BuiltinOptionsTraits<tflite::SplitOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SplitOptions;
};
template<> struct BuiltinOptionsTraits<tflite::LogSoftmaxOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_LogSoftmaxOptions;
};
template<> struct BuiltinOptionsTraits<tflite::CastOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_CastOptions;
};
template<> struct BuiltinOptionsTraits<tflite::DequantizeOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_DequantizeOptions;
};
template<> struct BuiltinOptionsTraits<tflite::MaximumMinimumOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_MaximumMinimumOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ArgMaxOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ArgMaxOptions;
};
template<> struct BuiltinOptionsTraits<tflite::LessOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_LessOptions;
};
template<> struct BuiltinOptionsTraits<tflite::NegOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_NegOptions;
};
template<> struct BuiltinOptionsTraits<tflite::PadV2Options> {
static const BuiltinOptions enum_value = BuiltinOptions_PadV2Options;
};
template<> struct BuiltinOptionsTraits<tflite::GreaterOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_GreaterOptions;
};
template<> struct BuiltinOptionsTraits<tflite::GreaterEqualOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_GreaterEqualOptions;
};
template<> struct BuiltinOptionsTraits<tflite::LessEqualOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_LessEqualOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SelectOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SelectOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SliceOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SliceOptions;
};
template<> struct BuiltinOptionsTraits<tflite::TransposeConvOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_TransposeConvOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SparseToDenseOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SparseToDenseOptions;
};
template<> struct BuiltinOptionsTraits<tflite::TileOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_TileOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ExpandDimsOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ExpandDimsOptions;
};
template<> struct BuiltinOptionsTraits<tflite::EqualOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_EqualOptions;
};
template<> struct BuiltinOptionsTraits<tflite::NotEqualOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_NotEqualOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ShapeOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ShapeOptions;
};
template<> struct BuiltinOptionsTraits<tflite::PowOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_PowOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ArgMinOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ArgMinOptions;
};
template<> struct BuiltinOptionsTraits<tflite::FakeQuantOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_FakeQuantOptions;
};
template<> struct BuiltinOptionsTraits<tflite::PackOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_PackOptions;
};
template<> struct BuiltinOptionsTraits<tflite::LogicalOrOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_LogicalOrOptions;
};
template<> struct BuiltinOptionsTraits<tflite::OneHotOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_OneHotOptions;
};
template<> struct BuiltinOptionsTraits<tflite::LogicalAndOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_LogicalAndOptions;
};
template<> struct BuiltinOptionsTraits<tflite::LogicalNotOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_LogicalNotOptions;
};
template<> struct BuiltinOptionsTraits<tflite::UnpackOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_UnpackOptions;
};
template<> struct BuiltinOptionsTraits<tflite::FloorDivOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_FloorDivOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SquareOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SquareOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ZerosLikeOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ZerosLikeOptions;
};
template<> struct BuiltinOptionsTraits<tflite::FillOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_FillOptions;
};
template<> struct BuiltinOptionsTraits<tflite::BidirectionalSequenceLSTMOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_BidirectionalSequenceLSTMOptions;
};
template<> struct BuiltinOptionsTraits<tflite::BidirectionalSequenceRNNOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_BidirectionalSequenceRNNOptions;
};
template<> struct BuiltinOptionsTraits<tflite::UnidirectionalSequenceLSTMOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_UnidirectionalSequenceLSTMOptions;
};
template<> struct BuiltinOptionsTraits<tflite::FloorModOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_FloorModOptions;
};
template<> struct BuiltinOptionsTraits<tflite::RangeOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_RangeOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ResizeNearestNeighborOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ResizeNearestNeighborOptions;
};
template<> struct BuiltinOptionsTraits<tflite::LeakyReluOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_LeakyReluOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SquaredDifferenceOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SquaredDifferenceOptions;
};
template<> struct BuiltinOptionsTraits<tflite::MirrorPadOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_MirrorPadOptions;
};
template<> struct BuiltinOptionsTraits<tflite::AbsOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_AbsOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SplitVOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SplitVOptions;
};
template<> struct BuiltinOptionsTraits<tflite::UniqueOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_UniqueOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ReverseV2Options> {
static const BuiltinOptions enum_value = BuiltinOptions_ReverseV2Options;
};
template<> struct BuiltinOptionsTraits<tflite::AddNOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_AddNOptions;
};
template<> struct BuiltinOptionsTraits<tflite::GatherNdOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_GatherNdOptions;
};
template<> struct BuiltinOptionsTraits<tflite::CosOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_CosOptions;
};
template<> struct BuiltinOptionsTraits<tflite::WhereOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_WhereOptions;
};
template<> struct BuiltinOptionsTraits<tflite::RankOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_RankOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ReverseSequenceOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ReverseSequenceOptions;
};
template<> struct BuiltinOptionsTraits<tflite::MatrixDiagOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_MatrixDiagOptions;
};
template<> struct BuiltinOptionsTraits<tflite::QuantizeOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_QuantizeOptions;
};
template<> struct BuiltinOptionsTraits<tflite::MatrixSetDiagOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_MatrixSetDiagOptions;
};
template<> struct BuiltinOptionsTraits<tflite::HardSwishOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_HardSwishOptions;
};
template<> struct BuiltinOptionsTraits<tflite::IfOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_IfOptions;
};
template<> struct BuiltinOptionsTraits<tflite::WhileOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_WhileOptions;
};
template<> struct BuiltinOptionsTraits<tflite::DepthToSpaceOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_DepthToSpaceOptions;
};
template<> struct BuiltinOptionsTraits<tflite::NonMaxSuppressionV4Options> {
static const BuiltinOptions enum_value = BuiltinOptions_NonMaxSuppressionV4Options;
};
template<> struct BuiltinOptionsTraits<tflite::NonMaxSuppressionV5Options> {
static const BuiltinOptions enum_value = BuiltinOptions_NonMaxSuppressionV5Options;
};
template<> struct BuiltinOptionsTraits<tflite::ScatterNdOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ScatterNdOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SelectV2Options> {
static const BuiltinOptions enum_value = BuiltinOptions_SelectV2Options;
};
template<> struct BuiltinOptionsTraits<tflite::DensifyOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_DensifyOptions;
};
template<> struct BuiltinOptionsTraits<tflite::SegmentSumOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SegmentSumOptions;
};
template<> struct BuiltinOptionsTraits<tflite::BatchMatMulOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_BatchMatMulOptions;
};
template<> struct BuiltinOptionsTraits<tflite::CumsumOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_CumsumOptions;
};
template<> struct BuiltinOptionsTraits<tflite::CallOnceOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_CallOnceOptions;
};
template<> struct BuiltinOptionsTraits<tflite::BroadcastToOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_BroadcastToOptions;
};
template<> struct BuiltinOptionsTraits<tflite::Rfft2dOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_Rfft2dOptions;
};
template<> struct BuiltinOptionsTraits<tflite::Conv3DOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_Conv3DOptions;
};
template<> struct BuiltinOptionsTraits<tflite::HashtableOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_HashtableOptions;
};
template<> struct BuiltinOptionsTraits<tflite::HashtableFindOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_HashtableFindOptions;
};
template<> struct BuiltinOptionsTraits<tflite::HashtableImportOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_HashtableImportOptions;
};
template<> struct BuiltinOptionsTraits<tflite::HashtableSizeOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_HashtableSizeOptions;
};
template<> struct BuiltinOptionsTraits<tflite::VarHandleOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_VarHandleOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ReadVariableOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_ReadVariableOptions;
};
template<> struct BuiltinOptionsTraits<tflite::AssignVariableOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_AssignVariableOptions;
};
template<> struct BuiltinOptionsTraits<tflite::RandomOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_RandomOptions;
};
template<> struct BuiltinOptionsTraits<tflite::BucketizeOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_BucketizeOptions;
};
template<> struct BuiltinOptionsTraits<tflite::GeluOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_GeluOptions;
};
template<> struct BuiltinOptionsTraits<tflite::DynamicUpdateSliceOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_DynamicUpdateSliceOptions;
};
template<> struct BuiltinOptionsTraits<tflite::UnsortedSegmentProdOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_UnsortedSegmentProdOptions;
};
template<> struct BuiltinOptionsTraits<tflite::UnsortedSegmentMaxOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_UnsortedSegmentMaxOptions;
};
template<> struct BuiltinOptionsTraits<tflite::UnsortedSegmentMinOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_UnsortedSegmentMinOptions;
};
template<> struct BuiltinOptionsTraits<tflite::UnsortedSegmentSumOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_UnsortedSegmentSumOptions;
};
template<> struct BuiltinOptionsTraits<tflite::ATan2Options> {
static const BuiltinOptions enum_value = BuiltinOptions_ATan2Options;
};
template<> struct BuiltinOptionsTraits<tflite::SignOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_SignOptions;
};
template<> struct BuiltinOptionsTraits<tflite::BitcastOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_BitcastOptions;
};
template<> struct BuiltinOptionsTraits<tflite::BitwiseXorOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_BitwiseXorOptions;
};
template<> struct BuiltinOptionsTraits<tflite::RightShiftOptions> {
static const BuiltinOptions enum_value = BuiltinOptions_RightShiftOptions;
};
template<typename T> struct BuiltinOptionsUnionTraits {
static const BuiltinOptions enum_value = BuiltinOptions_NONE;
};
template<> struct BuiltinOptionsUnionTraits<tflite::Conv2DOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_Conv2DOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::DepthwiseConv2DOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_DepthwiseConv2DOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ConcatEmbeddingsOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ConcatEmbeddingsOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::LSHProjectionOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_LSHProjectionOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::Pool2DOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_Pool2DOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SVDFOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SVDFOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::RNNOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_RNNOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::FullyConnectedOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_FullyConnectedOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SoftmaxOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SoftmaxOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ConcatenationOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ConcatenationOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::AddOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_AddOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::L2NormOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_L2NormOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::LocalResponseNormalizationOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_LocalResponseNormalizationOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::LSTMOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_LSTMOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ResizeBilinearOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ResizeBilinearOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::CallOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_CallOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ReshapeOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ReshapeOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SkipGramOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SkipGramOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SpaceToDepthOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SpaceToDepthOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::EmbeddingLookupSparseOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_EmbeddingLookupSparseOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::MulOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_MulOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::PadOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_PadOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::GatherOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_GatherOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::BatchToSpaceNDOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_BatchToSpaceNDOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SpaceToBatchNDOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SpaceToBatchNDOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::TransposeOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_TransposeOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ReducerOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ReducerOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SubOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SubOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::DivOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_DivOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SqueezeOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SqueezeOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SequenceRNNOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SequenceRNNOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::StridedSliceOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_StridedSliceOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ExpOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ExpOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::TopKV2OptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_TopKV2Options;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SplitOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SplitOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::LogSoftmaxOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_LogSoftmaxOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::CastOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_CastOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::DequantizeOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_DequantizeOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::MaximumMinimumOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_MaximumMinimumOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ArgMaxOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ArgMaxOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::LessOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_LessOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::NegOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_NegOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::PadV2OptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_PadV2Options;
};
template<> struct BuiltinOptionsUnionTraits<tflite::GreaterOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_GreaterOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::GreaterEqualOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_GreaterEqualOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::LessEqualOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_LessEqualOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SelectOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SelectOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SliceOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SliceOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::TransposeConvOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_TransposeConvOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SparseToDenseOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SparseToDenseOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::TileOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_TileOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ExpandDimsOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ExpandDimsOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::EqualOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_EqualOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::NotEqualOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_NotEqualOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ShapeOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ShapeOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::PowOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_PowOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ArgMinOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ArgMinOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::FakeQuantOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_FakeQuantOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::PackOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_PackOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::LogicalOrOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_LogicalOrOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::OneHotOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_OneHotOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::LogicalAndOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_LogicalAndOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::LogicalNotOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_LogicalNotOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::UnpackOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_UnpackOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::FloorDivOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_FloorDivOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SquareOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SquareOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ZerosLikeOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ZerosLikeOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::FillOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_FillOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::BidirectionalSequenceLSTMOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_BidirectionalSequenceLSTMOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::BidirectionalSequenceRNNOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_BidirectionalSequenceRNNOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::UnidirectionalSequenceLSTMOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_UnidirectionalSequenceLSTMOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::FloorModOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_FloorModOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::RangeOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_RangeOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ResizeNearestNeighborOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ResizeNearestNeighborOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::LeakyReluOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_LeakyReluOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SquaredDifferenceOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SquaredDifferenceOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::MirrorPadOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_MirrorPadOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::AbsOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_AbsOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SplitVOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SplitVOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::UniqueOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_UniqueOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ReverseV2OptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ReverseV2Options;
};
template<> struct BuiltinOptionsUnionTraits<tflite::AddNOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_AddNOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::GatherNdOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_GatherNdOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::CosOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_CosOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::WhereOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_WhereOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::RankOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_RankOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ReverseSequenceOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ReverseSequenceOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::MatrixDiagOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_MatrixDiagOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::QuantizeOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_QuantizeOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::MatrixSetDiagOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_MatrixSetDiagOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::HardSwishOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_HardSwishOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::IfOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_IfOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::WhileOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_WhileOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::DepthToSpaceOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_DepthToSpaceOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::NonMaxSuppressionV4OptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_NonMaxSuppressionV4Options;
};
template<> struct BuiltinOptionsUnionTraits<tflite::NonMaxSuppressionV5OptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_NonMaxSuppressionV5Options;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ScatterNdOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ScatterNdOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SelectV2OptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SelectV2Options;
};
template<> struct BuiltinOptionsUnionTraits<tflite::DensifyOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_DensifyOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SegmentSumOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SegmentSumOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::BatchMatMulOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_BatchMatMulOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::CumsumOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_CumsumOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::CallOnceOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_CallOnceOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::BroadcastToOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_BroadcastToOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::Rfft2dOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_Rfft2dOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::Conv3DOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_Conv3DOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::HashtableOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_HashtableOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::HashtableFindOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_HashtableFindOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::HashtableImportOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_HashtableImportOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::HashtableSizeOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_HashtableSizeOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::VarHandleOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_VarHandleOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ReadVariableOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ReadVariableOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::AssignVariableOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_AssignVariableOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::RandomOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_RandomOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::BucketizeOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_BucketizeOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::GeluOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_GeluOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::DynamicUpdateSliceOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_DynamicUpdateSliceOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::UnsortedSegmentProdOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_UnsortedSegmentProdOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::UnsortedSegmentMaxOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_UnsortedSegmentMaxOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::UnsortedSegmentMinOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_UnsortedSegmentMinOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::UnsortedSegmentSumOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_UnsortedSegmentSumOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::ATan2OptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_ATan2Options;
};
template<> struct BuiltinOptionsUnionTraits<tflite::SignOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_SignOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::BitcastOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_BitcastOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::BitwiseXorOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_BitwiseXorOptions;
};
template<> struct BuiltinOptionsUnionTraits<tflite::RightShiftOptionsT> {
static const BuiltinOptions enum_value = BuiltinOptions_RightShiftOptions;
};
struct BuiltinOptionsUnion {
BuiltinOptions type;
void *value;
BuiltinOptionsUnion() : type(BuiltinOptions_NONE), value(nullptr) {}
BuiltinOptionsUnion(BuiltinOptionsUnion&& u) FLATBUFFERS_NOEXCEPT :
type(BuiltinOptions_NONE), value(nullptr)
{ std::swap(type, u.type); std::swap(value, u.value); }
BuiltinOptionsUnion(const BuiltinOptionsUnion &);
BuiltinOptionsUnion &operator=(const BuiltinOptionsUnion &u)
{ BuiltinOptionsUnion t(u); std::swap(type, t.type); std::swap(value, t.value); return *this; }
BuiltinOptionsUnion &operator=(BuiltinOptionsUnion &&u) FLATBUFFERS_NOEXCEPT
{ std::swap(type, u.type); std::swap(value, u.value); return *this; }
~BuiltinOptionsUnion() { Reset(); }
void Reset();
template <typename T>
void Set(T&& val) {
typedef typename std::remove_reference<T>::type RT;
Reset();
type = BuiltinOptionsUnionTraits<RT>::enum_value;
if (type != BuiltinOptions_NONE) {
value = new RT(std::forward<T>(val));
}
}
static void *UnPack(const void *obj, BuiltinOptions type, const ::flatbuffers::resolver_function_t *resolver);
::flatbuffers::Offset<void> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr) const;
tflite::Conv2DOptionsT *AsConv2DOptions() {
return type == BuiltinOptions_Conv2DOptions ?
reinterpret_cast<tflite::Conv2DOptionsT *>(value) : nullptr;
}
const tflite::Conv2DOptionsT *AsConv2DOptions() const {
return type == BuiltinOptions_Conv2DOptions ?
reinterpret_cast<const tflite::Conv2DOptionsT *>(value) : nullptr;
}
tflite::DepthwiseConv2DOptionsT *AsDepthwiseConv2DOptions() {
return type == BuiltinOptions_DepthwiseConv2DOptions ?
reinterpret_cast<tflite::DepthwiseConv2DOptionsT *>(value) : nullptr;
}
const tflite::DepthwiseConv2DOptionsT *AsDepthwiseConv2DOptions() const {
return type == BuiltinOptions_DepthwiseConv2DOptions ?
reinterpret_cast<const tflite::DepthwiseConv2DOptionsT *>(value) : nullptr;
}
tflite::ConcatEmbeddingsOptionsT *AsConcatEmbeddingsOptions() {
return type == BuiltinOptions_ConcatEmbeddingsOptions ?
reinterpret_cast<tflite::ConcatEmbeddingsOptionsT *>(value) : nullptr;
}
const tflite::ConcatEmbeddingsOptionsT *AsConcatEmbeddingsOptions() const {
return type == BuiltinOptions_ConcatEmbeddingsOptions ?
reinterpret_cast<const tflite::ConcatEmbeddingsOptionsT *>(value) : nullptr;
}
tflite::LSHProjectionOptionsT *AsLSHProjectionOptions() {
return type == BuiltinOptions_LSHProjectionOptions ?
reinterpret_cast<tflite::LSHProjectionOptionsT *>(value) : nullptr;
}
const tflite::LSHProjectionOptionsT *AsLSHProjectionOptions() const {
return type == BuiltinOptions_LSHProjectionOptions ?
reinterpret_cast<const tflite::LSHProjectionOptionsT *>(value) : nullptr;
}
tflite::Pool2DOptionsT *AsPool2DOptions() {
return type == BuiltinOptions_Pool2DOptions ?
reinterpret_cast<tflite::Pool2DOptionsT *>(value) : nullptr;
}
const tflite::Pool2DOptionsT *AsPool2DOptions() const {
return type == BuiltinOptions_Pool2DOptions ?
reinterpret_cast<const tflite::Pool2DOptionsT *>(value) : nullptr;
}
tflite::SVDFOptionsT *AsSVDFOptions() {
return type == BuiltinOptions_SVDFOptions ?
reinterpret_cast<tflite::SVDFOptionsT *>(value) : nullptr;
}
const tflite::SVDFOptionsT *AsSVDFOptions() const {
return type == BuiltinOptions_SVDFOptions ?
reinterpret_cast<const tflite::SVDFOptionsT *>(value) : nullptr;
}
tflite::RNNOptionsT *AsRNNOptions() {
return type == BuiltinOptions_RNNOptions ?
reinterpret_cast<tflite::RNNOptionsT *>(value) : nullptr;
}
const tflite::RNNOptionsT *AsRNNOptions() const {
return type == BuiltinOptions_RNNOptions ?
reinterpret_cast<const tflite::RNNOptionsT *>(value) : nullptr;
}
tflite::FullyConnectedOptionsT *AsFullyConnectedOptions() {
return type == BuiltinOptions_FullyConnectedOptions ?
reinterpret_cast<tflite::FullyConnectedOptionsT *>(value) : nullptr;
}
const tflite::FullyConnectedOptionsT *AsFullyConnectedOptions() const {
return type == BuiltinOptions_FullyConnectedOptions ?
reinterpret_cast<const tflite::FullyConnectedOptionsT *>(value) : nullptr;
}
tflite::SoftmaxOptionsT *AsSoftmaxOptions() {
return type == BuiltinOptions_SoftmaxOptions ?
reinterpret_cast<tflite::SoftmaxOptionsT *>(value) : nullptr;
}
const tflite::SoftmaxOptionsT *AsSoftmaxOptions() const {
return type == BuiltinOptions_SoftmaxOptions ?
reinterpret_cast<const tflite::SoftmaxOptionsT *>(value) : nullptr;
}
tflite::ConcatenationOptionsT *AsConcatenationOptions() {
return type == BuiltinOptions_ConcatenationOptions ?
reinterpret_cast<tflite::ConcatenationOptionsT *>(value) : nullptr;
}
const tflite::ConcatenationOptionsT *AsConcatenationOptions() const {
return type == BuiltinOptions_ConcatenationOptions ?
reinterpret_cast<const tflite::ConcatenationOptionsT *>(value) : nullptr;
}
tflite::AddOptionsT *AsAddOptions() {
return type == BuiltinOptions_AddOptions ?
reinterpret_cast<tflite::AddOptionsT *>(value) : nullptr;
}
const tflite::AddOptionsT *AsAddOptions() const {
return type == BuiltinOptions_AddOptions ?
reinterpret_cast<const tflite::AddOptionsT *>(value) : nullptr;
}
tflite::L2NormOptionsT *AsL2NormOptions() {
return type == BuiltinOptions_L2NormOptions ?
reinterpret_cast<tflite::L2NormOptionsT *>(value) : nullptr;
}
const tflite::L2NormOptionsT *AsL2NormOptions() const {
return type == BuiltinOptions_L2NormOptions ?
reinterpret_cast<const tflite::L2NormOptionsT *>(value) : nullptr;
}
tflite::LocalResponseNormalizationOptionsT *AsLocalResponseNormalizationOptions() {
return type == BuiltinOptions_LocalResponseNormalizationOptions ?
reinterpret_cast<tflite::LocalResponseNormalizationOptionsT *>(value) : nullptr;
}
const tflite::LocalResponseNormalizationOptionsT *AsLocalResponseNormalizationOptions() const {
return type == BuiltinOptions_LocalResponseNormalizationOptions ?
reinterpret_cast<const tflite::LocalResponseNormalizationOptionsT *>(value) : nullptr;
}
tflite::LSTMOptionsT *AsLSTMOptions() {
return type == BuiltinOptions_LSTMOptions ?
reinterpret_cast<tflite::LSTMOptionsT *>(value) : nullptr;
}
const tflite::LSTMOptionsT *AsLSTMOptions() const {
return type == BuiltinOptions_LSTMOptions ?
reinterpret_cast<const tflite::LSTMOptionsT *>(value) : nullptr;
}
tflite::ResizeBilinearOptionsT *AsResizeBilinearOptions() {
return type == BuiltinOptions_ResizeBilinearOptions ?
reinterpret_cast<tflite::ResizeBilinearOptionsT *>(value) : nullptr;
}
const tflite::ResizeBilinearOptionsT *AsResizeBilinearOptions() const {
return type == BuiltinOptions_ResizeBilinearOptions ?
reinterpret_cast<const tflite::ResizeBilinearOptionsT *>(value) : nullptr;
}
tflite::CallOptionsT *AsCallOptions() {
return type == BuiltinOptions_CallOptions ?
reinterpret_cast<tflite::CallOptionsT *>(value) : nullptr;
}
const tflite::CallOptionsT *AsCallOptions() const {
return type == BuiltinOptions_CallOptions ?
reinterpret_cast<const tflite::CallOptionsT *>(value) : nullptr;
}
tflite::ReshapeOptionsT *AsReshapeOptions() {
return type == BuiltinOptions_ReshapeOptions ?
reinterpret_cast<tflite::ReshapeOptionsT *>(value) : nullptr;
}
const tflite::ReshapeOptionsT *AsReshapeOptions() const {
return type == BuiltinOptions_ReshapeOptions ?
reinterpret_cast<const tflite::ReshapeOptionsT *>(value) : nullptr;
}
tflite::SkipGramOptionsT *AsSkipGramOptions() {
return type == BuiltinOptions_SkipGramOptions ?
reinterpret_cast<tflite::SkipGramOptionsT *>(value) : nullptr;
}
const tflite::SkipGramOptionsT *AsSkipGramOptions() const {
return type == BuiltinOptions_SkipGramOptions ?
reinterpret_cast<const tflite::SkipGramOptionsT *>(value) : nullptr;
}
tflite::SpaceToDepthOptionsT *AsSpaceToDepthOptions() {
return type == BuiltinOptions_SpaceToDepthOptions ?
reinterpret_cast<tflite::SpaceToDepthOptionsT *>(value) : nullptr;
}
const tflite::SpaceToDepthOptionsT *AsSpaceToDepthOptions() const {
return type == BuiltinOptions_SpaceToDepthOptions ?
reinterpret_cast<const tflite::SpaceToDepthOptionsT *>(value) : nullptr;
}
tflite::EmbeddingLookupSparseOptionsT *AsEmbeddingLookupSparseOptions() {
return type == BuiltinOptions_EmbeddingLookupSparseOptions ?
reinterpret_cast<tflite::EmbeddingLookupSparseOptionsT *>(value) : nullptr;
}
const tflite::EmbeddingLookupSparseOptionsT *AsEmbeddingLookupSparseOptions() const {
return type == BuiltinOptions_EmbeddingLookupSparseOptions ?
reinterpret_cast<const tflite::EmbeddingLookupSparseOptionsT *>(value) : nullptr;
}
tflite::MulOptionsT *AsMulOptions() {
return type == BuiltinOptions_MulOptions ?
reinterpret_cast<tflite::MulOptionsT *>(value) : nullptr;
}
const tflite::MulOptionsT *AsMulOptions() const {
return type == BuiltinOptions_MulOptions ?
reinterpret_cast<const tflite::MulOptionsT *>(value) : nullptr;
}
tflite::PadOptionsT *AsPadOptions() {
return type == BuiltinOptions_PadOptions ?
reinterpret_cast<tflite::PadOptionsT *>(value) : nullptr;
}
const tflite::PadOptionsT *AsPadOptions() const {
return type == BuiltinOptions_PadOptions ?
reinterpret_cast<const tflite::PadOptionsT *>(value) : nullptr;
}
tflite::GatherOptionsT *AsGatherOptions() {
return type == BuiltinOptions_GatherOptions ?
reinterpret_cast<tflite::GatherOptionsT *>(value) : nullptr;
}
const tflite::GatherOptionsT *AsGatherOptions() const {
return type == BuiltinOptions_GatherOptions ?
reinterpret_cast<const tflite::GatherOptionsT *>(value) : nullptr;
}
tflite::BatchToSpaceNDOptionsT *AsBatchToSpaceNDOptions() {
return type == BuiltinOptions_BatchToSpaceNDOptions ?
reinterpret_cast<tflite::BatchToSpaceNDOptionsT *>(value) : nullptr;
}
const tflite::BatchToSpaceNDOptionsT *AsBatchToSpaceNDOptions() const {
return type == BuiltinOptions_BatchToSpaceNDOptions ?
reinterpret_cast<const tflite::BatchToSpaceNDOptionsT *>(value) : nullptr;
}
tflite::SpaceToBatchNDOptionsT *AsSpaceToBatchNDOptions() {
return type == BuiltinOptions_SpaceToBatchNDOptions ?
reinterpret_cast<tflite::SpaceToBatchNDOptionsT *>(value) : nullptr;
}
const tflite::SpaceToBatchNDOptionsT *AsSpaceToBatchNDOptions() const {
return type == BuiltinOptions_SpaceToBatchNDOptions ?
reinterpret_cast<const tflite::SpaceToBatchNDOptionsT *>(value) : nullptr;
}
tflite::TransposeOptionsT *AsTransposeOptions() {
return type == BuiltinOptions_TransposeOptions ?
reinterpret_cast<tflite::TransposeOptionsT *>(value) : nullptr;
}
const tflite::TransposeOptionsT *AsTransposeOptions() const {
return type == BuiltinOptions_TransposeOptions ?
reinterpret_cast<const tflite::TransposeOptionsT *>(value) : nullptr;
}
tflite::ReducerOptionsT *AsReducerOptions() {
return type == BuiltinOptions_ReducerOptions ?
reinterpret_cast<tflite::ReducerOptionsT *>(value) : nullptr;
}
const tflite::ReducerOptionsT *AsReducerOptions() const {
return type == BuiltinOptions_ReducerOptions ?
reinterpret_cast<const tflite::ReducerOptionsT *>(value) : nullptr;
}
tflite::SubOptionsT *AsSubOptions() {
return type == BuiltinOptions_SubOptions ?
reinterpret_cast<tflite::SubOptionsT *>(value) : nullptr;
}
const tflite::SubOptionsT *AsSubOptions() const {
return type == BuiltinOptions_SubOptions ?
reinterpret_cast<const tflite::SubOptionsT *>(value) : nullptr;
}
tflite::DivOptionsT *AsDivOptions() {
return type == BuiltinOptions_DivOptions ?
reinterpret_cast<tflite::DivOptionsT *>(value) : nullptr;
}
const tflite::DivOptionsT *AsDivOptions() const {
return type == BuiltinOptions_DivOptions ?
reinterpret_cast<const tflite::DivOptionsT *>(value) : nullptr;
}
tflite::SqueezeOptionsT *AsSqueezeOptions() {
return type == BuiltinOptions_SqueezeOptions ?
reinterpret_cast<tflite::SqueezeOptionsT *>(value) : nullptr;
}
const tflite::SqueezeOptionsT *AsSqueezeOptions() const {
return type == BuiltinOptions_SqueezeOptions ?
reinterpret_cast<const tflite::SqueezeOptionsT *>(value) : nullptr;
}
tflite::SequenceRNNOptionsT *AsSequenceRNNOptions() {
return type == BuiltinOptions_SequenceRNNOptions ?
reinterpret_cast<tflite::SequenceRNNOptionsT *>(value) : nullptr;
}
const tflite::SequenceRNNOptionsT *AsSequenceRNNOptions() const {
return type == BuiltinOptions_SequenceRNNOptions ?
reinterpret_cast<const tflite::SequenceRNNOptionsT *>(value) : nullptr;
}
tflite::StridedSliceOptionsT *AsStridedSliceOptions() {
return type == BuiltinOptions_StridedSliceOptions ?
reinterpret_cast<tflite::StridedSliceOptionsT *>(value) : nullptr;
}
const tflite::StridedSliceOptionsT *AsStridedSliceOptions() const {
return type == BuiltinOptions_StridedSliceOptions ?
reinterpret_cast<const tflite::StridedSliceOptionsT *>(value) : nullptr;
}
tflite::ExpOptionsT *AsExpOptions() {
return type == BuiltinOptions_ExpOptions ?
reinterpret_cast<tflite::ExpOptionsT *>(value) : nullptr;
}
const tflite::ExpOptionsT *AsExpOptions() const {
return type == BuiltinOptions_ExpOptions ?
reinterpret_cast<const tflite::ExpOptionsT *>(value) : nullptr;
}
tflite::TopKV2OptionsT *AsTopKV2Options() {
return type == BuiltinOptions_TopKV2Options ?
reinterpret_cast<tflite::TopKV2OptionsT *>(value) : nullptr;
}
const tflite::TopKV2OptionsT *AsTopKV2Options() const {
return type == BuiltinOptions_TopKV2Options ?
reinterpret_cast<const tflite::TopKV2OptionsT *>(value) : nullptr;
}
tflite::SplitOptionsT *AsSplitOptions() {
return type == BuiltinOptions_SplitOptions ?
reinterpret_cast<tflite::SplitOptionsT *>(value) : nullptr;
}
const tflite::SplitOptionsT *AsSplitOptions() const {
return type == BuiltinOptions_SplitOptions ?
reinterpret_cast<const tflite::SplitOptionsT *>(value) : nullptr;
}
tflite::LogSoftmaxOptionsT *AsLogSoftmaxOptions() {
return type == BuiltinOptions_LogSoftmaxOptions ?
reinterpret_cast<tflite::LogSoftmaxOptionsT *>(value) : nullptr;
}
const tflite::LogSoftmaxOptionsT *AsLogSoftmaxOptions() const {
return type == BuiltinOptions_LogSoftmaxOptions ?
reinterpret_cast<const tflite::LogSoftmaxOptionsT *>(value) : nullptr;
}
tflite::CastOptionsT *AsCastOptions() {
return type == BuiltinOptions_CastOptions ?
reinterpret_cast<tflite::CastOptionsT *>(value) : nullptr;
}
const tflite::CastOptionsT *AsCastOptions() const {
return type == BuiltinOptions_CastOptions ?
reinterpret_cast<const tflite::CastOptionsT *>(value) : nullptr;
}
tflite::DequantizeOptionsT *AsDequantizeOptions() {
return type == BuiltinOptions_DequantizeOptions ?
reinterpret_cast<tflite::DequantizeOptionsT *>(value) : nullptr;
}
const tflite::DequantizeOptionsT *AsDequantizeOptions() const {
return type == BuiltinOptions_DequantizeOptions ?
reinterpret_cast<const tflite::DequantizeOptionsT *>(value) : nullptr;
}
tflite::MaximumMinimumOptionsT *AsMaximumMinimumOptions() {
return type == BuiltinOptions_MaximumMinimumOptions ?
reinterpret_cast<tflite::MaximumMinimumOptionsT *>(value) : nullptr;
}
const tflite::MaximumMinimumOptionsT *AsMaximumMinimumOptions() const {
return type == BuiltinOptions_MaximumMinimumOptions ?
reinterpret_cast<const tflite::MaximumMinimumOptionsT *>(value) : nullptr;
}
tflite::ArgMaxOptionsT *AsArgMaxOptions() {
return type == BuiltinOptions_ArgMaxOptions ?
reinterpret_cast<tflite::ArgMaxOptionsT *>(value) : nullptr;
}
const tflite::ArgMaxOptionsT *AsArgMaxOptions() const {
return type == BuiltinOptions_ArgMaxOptions ?
reinterpret_cast<const tflite::ArgMaxOptionsT *>(value) : nullptr;
}
tflite::LessOptionsT *AsLessOptions() {
return type == BuiltinOptions_LessOptions ?
reinterpret_cast<tflite::LessOptionsT *>(value) : nullptr;
}
const tflite::LessOptionsT *AsLessOptions() const {
return type == BuiltinOptions_LessOptions ?
reinterpret_cast<const tflite::LessOptionsT *>(value) : nullptr;
}
tflite::NegOptionsT *AsNegOptions() {
return type == BuiltinOptions_NegOptions ?
reinterpret_cast<tflite::NegOptionsT *>(value) : nullptr;
}
const tflite::NegOptionsT *AsNegOptions() const {
return type == BuiltinOptions_NegOptions ?
reinterpret_cast<const tflite::NegOptionsT *>(value) : nullptr;
}
tflite::PadV2OptionsT *AsPadV2Options() {
return type == BuiltinOptions_PadV2Options ?
reinterpret_cast<tflite::PadV2OptionsT *>(value) : nullptr;
}
const tflite::PadV2OptionsT *AsPadV2Options() const {
return type == BuiltinOptions_PadV2Options ?
reinterpret_cast<const tflite::PadV2OptionsT *>(value) : nullptr;
}
tflite::GreaterOptionsT *AsGreaterOptions() {
return type == BuiltinOptions_GreaterOptions ?
reinterpret_cast<tflite::GreaterOptionsT *>(value) : nullptr;
}
const tflite::GreaterOptionsT *AsGreaterOptions() const {
return type == BuiltinOptions_GreaterOptions ?
reinterpret_cast<const tflite::GreaterOptionsT *>(value) : nullptr;
}
tflite::GreaterEqualOptionsT *AsGreaterEqualOptions() {
return type == BuiltinOptions_GreaterEqualOptions ?
reinterpret_cast<tflite::GreaterEqualOptionsT *>(value) : nullptr;
}
const tflite::GreaterEqualOptionsT *AsGreaterEqualOptions() const {
return type == BuiltinOptions_GreaterEqualOptions ?
reinterpret_cast<const tflite::GreaterEqualOptionsT *>(value) : nullptr;
}
tflite::LessEqualOptionsT *AsLessEqualOptions() {
return type == BuiltinOptions_LessEqualOptions ?
reinterpret_cast<tflite::LessEqualOptionsT *>(value) : nullptr;
}
const tflite::LessEqualOptionsT *AsLessEqualOptions() const {
return type == BuiltinOptions_LessEqualOptions ?
reinterpret_cast<const tflite::LessEqualOptionsT *>(value) : nullptr;
}
tflite::SelectOptionsT *AsSelectOptions() {
return type == BuiltinOptions_SelectOptions ?
reinterpret_cast<tflite::SelectOptionsT *>(value) : nullptr;
}
const tflite::SelectOptionsT *AsSelectOptions() const {
return type == BuiltinOptions_SelectOptions ?
reinterpret_cast<const tflite::SelectOptionsT *>(value) : nullptr;
}
tflite::SliceOptionsT *AsSliceOptions() {
return type == BuiltinOptions_SliceOptions ?
reinterpret_cast<tflite::SliceOptionsT *>(value) : nullptr;
}
const tflite::SliceOptionsT *AsSliceOptions() const {
return type == BuiltinOptions_SliceOptions ?
reinterpret_cast<const tflite::SliceOptionsT *>(value) : nullptr;
}
tflite::TransposeConvOptionsT *AsTransposeConvOptions() {
return type == BuiltinOptions_TransposeConvOptions ?
reinterpret_cast<tflite::TransposeConvOptionsT *>(value) : nullptr;
}
const tflite::TransposeConvOptionsT *AsTransposeConvOptions() const {
return type == BuiltinOptions_TransposeConvOptions ?
reinterpret_cast<const tflite::TransposeConvOptionsT *>(value) : nullptr;
}
tflite::SparseToDenseOptionsT *AsSparseToDenseOptions() {
return type == BuiltinOptions_SparseToDenseOptions ?
reinterpret_cast<tflite::SparseToDenseOptionsT *>(value) : nullptr;
}
const tflite::SparseToDenseOptionsT *AsSparseToDenseOptions() const {
return type == BuiltinOptions_SparseToDenseOptions ?
reinterpret_cast<const tflite::SparseToDenseOptionsT *>(value) : nullptr;
}
tflite::TileOptionsT *AsTileOptions() {
return type == BuiltinOptions_TileOptions ?
reinterpret_cast<tflite::TileOptionsT *>(value) : nullptr;
}
const tflite::TileOptionsT *AsTileOptions() const {
return type == BuiltinOptions_TileOptions ?
reinterpret_cast<const tflite::TileOptionsT *>(value) : nullptr;
}
tflite::ExpandDimsOptionsT *AsExpandDimsOptions() {
return type == BuiltinOptions_ExpandDimsOptions ?
reinterpret_cast<tflite::ExpandDimsOptionsT *>(value) : nullptr;
}
const tflite::ExpandDimsOptionsT *AsExpandDimsOptions() const {
return type == BuiltinOptions_ExpandDimsOptions ?
reinterpret_cast<const tflite::ExpandDimsOptionsT *>(value) : nullptr;
}
tflite::EqualOptionsT *AsEqualOptions() {
return type == BuiltinOptions_EqualOptions ?
reinterpret_cast<tflite::EqualOptionsT *>(value) : nullptr;
}
const tflite::EqualOptionsT *AsEqualOptions() const {
return type == BuiltinOptions_EqualOptions ?
reinterpret_cast<const tflite::EqualOptionsT *>(value) : nullptr;
}
tflite::NotEqualOptionsT *AsNotEqualOptions() {
return type == BuiltinOptions_NotEqualOptions ?
reinterpret_cast<tflite::NotEqualOptionsT *>(value) : nullptr;
}
const tflite::NotEqualOptionsT *AsNotEqualOptions() const {
return type == BuiltinOptions_NotEqualOptions ?
reinterpret_cast<const tflite::NotEqualOptionsT *>(value) : nullptr;
}
tflite::ShapeOptionsT *AsShapeOptions() {
return type == BuiltinOptions_ShapeOptions ?
reinterpret_cast<tflite::ShapeOptionsT *>(value) : nullptr;
}
const tflite::ShapeOptionsT *AsShapeOptions() const {
return type == BuiltinOptions_ShapeOptions ?
reinterpret_cast<const tflite::ShapeOptionsT *>(value) : nullptr;
}
tflite::PowOptionsT *AsPowOptions() {
return type == BuiltinOptions_PowOptions ?
reinterpret_cast<tflite::PowOptionsT *>(value) : nullptr;
}
const tflite::PowOptionsT *AsPowOptions() const {
return type == BuiltinOptions_PowOptions ?
reinterpret_cast<const tflite::PowOptionsT *>(value) : nullptr;
}
tflite::ArgMinOptionsT *AsArgMinOptions() {
return type == BuiltinOptions_ArgMinOptions ?
reinterpret_cast<tflite::ArgMinOptionsT *>(value) : nullptr;
}
const tflite::ArgMinOptionsT *AsArgMinOptions() const {
return type == BuiltinOptions_ArgMinOptions ?
reinterpret_cast<const tflite::ArgMinOptionsT *>(value) : nullptr;
}
tflite::FakeQuantOptionsT *AsFakeQuantOptions() {
return type == BuiltinOptions_FakeQuantOptions ?
reinterpret_cast<tflite::FakeQuantOptionsT *>(value) : nullptr;
}
const tflite::FakeQuantOptionsT *AsFakeQuantOptions() const {
return type == BuiltinOptions_FakeQuantOptions ?
reinterpret_cast<const tflite::FakeQuantOptionsT *>(value) : nullptr;
}
tflite::PackOptionsT *AsPackOptions() {
return type == BuiltinOptions_PackOptions ?
reinterpret_cast<tflite::PackOptionsT *>(value) : nullptr;
}
const tflite::PackOptionsT *AsPackOptions() const {
return type == BuiltinOptions_PackOptions ?
reinterpret_cast<const tflite::PackOptionsT *>(value) : nullptr;
}
tflite::LogicalOrOptionsT *AsLogicalOrOptions() {
return type == BuiltinOptions_LogicalOrOptions ?
reinterpret_cast<tflite::LogicalOrOptionsT *>(value) : nullptr;
}
const tflite::LogicalOrOptionsT *AsLogicalOrOptions() const {
return type == BuiltinOptions_LogicalOrOptions ?
reinterpret_cast<const tflite::LogicalOrOptionsT *>(value) : nullptr;
}
tflite::OneHotOptionsT *AsOneHotOptions() {
return type == BuiltinOptions_OneHotOptions ?
reinterpret_cast<tflite::OneHotOptionsT *>(value) : nullptr;
}
const tflite::OneHotOptionsT *AsOneHotOptions() const {
return type == BuiltinOptions_OneHotOptions ?
reinterpret_cast<const tflite::OneHotOptionsT *>(value) : nullptr;
}
tflite::LogicalAndOptionsT *AsLogicalAndOptions() {
return type == BuiltinOptions_LogicalAndOptions ?
reinterpret_cast<tflite::LogicalAndOptionsT *>(value) : nullptr;
}
const tflite::LogicalAndOptionsT *AsLogicalAndOptions() const {
return type == BuiltinOptions_LogicalAndOptions ?
reinterpret_cast<const tflite::LogicalAndOptionsT *>(value) : nullptr;
}
tflite::LogicalNotOptionsT *AsLogicalNotOptions() {
return type == BuiltinOptions_LogicalNotOptions ?
reinterpret_cast<tflite::LogicalNotOptionsT *>(value) : nullptr;
}
const tflite::LogicalNotOptionsT *AsLogicalNotOptions() const {
return type == BuiltinOptions_LogicalNotOptions ?
reinterpret_cast<const tflite::LogicalNotOptionsT *>(value) : nullptr;
}
tflite::UnpackOptionsT *AsUnpackOptions() {
return type == BuiltinOptions_UnpackOptions ?
reinterpret_cast<tflite::UnpackOptionsT *>(value) : nullptr;
}
const tflite::UnpackOptionsT *AsUnpackOptions() const {
return type == BuiltinOptions_UnpackOptions ?
reinterpret_cast<const tflite::UnpackOptionsT *>(value) : nullptr;
}
tflite::FloorDivOptionsT *AsFloorDivOptions() {
return type == BuiltinOptions_FloorDivOptions ?
reinterpret_cast<tflite::FloorDivOptionsT *>(value) : nullptr;
}
const tflite::FloorDivOptionsT *AsFloorDivOptions() const {
return type == BuiltinOptions_FloorDivOptions ?
reinterpret_cast<const tflite::FloorDivOptionsT *>(value) : nullptr;
}
tflite::SquareOptionsT *AsSquareOptions() {
return type == BuiltinOptions_SquareOptions ?
reinterpret_cast<tflite::SquareOptionsT *>(value) : nullptr;
}
const tflite::SquareOptionsT *AsSquareOptions() const {
return type == BuiltinOptions_SquareOptions ?
reinterpret_cast<const tflite::SquareOptionsT *>(value) : nullptr;
}
tflite::ZerosLikeOptionsT *AsZerosLikeOptions() {
return type == BuiltinOptions_ZerosLikeOptions ?
reinterpret_cast<tflite::ZerosLikeOptionsT *>(value) : nullptr;
}
const tflite::ZerosLikeOptionsT *AsZerosLikeOptions() const {
return type == BuiltinOptions_ZerosLikeOptions ?
reinterpret_cast<const tflite::ZerosLikeOptionsT *>(value) : nullptr;
}
tflite::FillOptionsT *AsFillOptions() {
return type == BuiltinOptions_FillOptions ?
reinterpret_cast<tflite::FillOptionsT *>(value) : nullptr;
}
const tflite::FillOptionsT *AsFillOptions() const {
return type == BuiltinOptions_FillOptions ?
reinterpret_cast<const tflite::FillOptionsT *>(value) : nullptr;
}
tflite::BidirectionalSequenceLSTMOptionsT *AsBidirectionalSequenceLSTMOptions() {
return type == BuiltinOptions_BidirectionalSequenceLSTMOptions ?
reinterpret_cast<tflite::BidirectionalSequenceLSTMOptionsT *>(value) : nullptr;
}
const tflite::BidirectionalSequenceLSTMOptionsT *AsBidirectionalSequenceLSTMOptions() const {
return type == BuiltinOptions_BidirectionalSequenceLSTMOptions ?
reinterpret_cast<const tflite::BidirectionalSequenceLSTMOptionsT *>(value) : nullptr;
}
tflite::BidirectionalSequenceRNNOptionsT *AsBidirectionalSequenceRNNOptions() {
return type == BuiltinOptions_BidirectionalSequenceRNNOptions ?
reinterpret_cast<tflite::BidirectionalSequenceRNNOptionsT *>(value) : nullptr;
}
const tflite::BidirectionalSequenceRNNOptionsT *AsBidirectionalSequenceRNNOptions() const {
return type == BuiltinOptions_BidirectionalSequenceRNNOptions ?
reinterpret_cast<const tflite::BidirectionalSequenceRNNOptionsT *>(value) : nullptr;
}
tflite::UnidirectionalSequenceLSTMOptionsT *AsUnidirectionalSequenceLSTMOptions() {
return type == BuiltinOptions_UnidirectionalSequenceLSTMOptions ?
reinterpret_cast<tflite::UnidirectionalSequenceLSTMOptionsT *>(value) : nullptr;
}
const tflite::UnidirectionalSequenceLSTMOptionsT *AsUnidirectionalSequenceLSTMOptions() const {
return type == BuiltinOptions_UnidirectionalSequenceLSTMOptions ?
reinterpret_cast<const tflite::UnidirectionalSequenceLSTMOptionsT *>(value) : nullptr;
}
tflite::FloorModOptionsT *AsFloorModOptions() {
return type == BuiltinOptions_FloorModOptions ?
reinterpret_cast<tflite::FloorModOptionsT *>(value) : nullptr;
}
const tflite::FloorModOptionsT *AsFloorModOptions() const {
return type == BuiltinOptions_FloorModOptions ?
reinterpret_cast<const tflite::FloorModOptionsT *>(value) : nullptr;
}
tflite::RangeOptionsT *AsRangeOptions() {
return type == BuiltinOptions_RangeOptions ?
reinterpret_cast<tflite::RangeOptionsT *>(value) : nullptr;
}
const tflite::RangeOptionsT *AsRangeOptions() const {
return type == BuiltinOptions_RangeOptions ?
reinterpret_cast<const tflite::RangeOptionsT *>(value) : nullptr;
}
tflite::ResizeNearestNeighborOptionsT *AsResizeNearestNeighborOptions() {
return type == BuiltinOptions_ResizeNearestNeighborOptions ?
reinterpret_cast<tflite::ResizeNearestNeighborOptionsT *>(value) : nullptr;
}
const tflite::ResizeNearestNeighborOptionsT *AsResizeNearestNeighborOptions() const {
return type == BuiltinOptions_ResizeNearestNeighborOptions ?
reinterpret_cast<const tflite::ResizeNearestNeighborOptionsT *>(value) : nullptr;
}
tflite::LeakyReluOptionsT *AsLeakyReluOptions() {
return type == BuiltinOptions_LeakyReluOptions ?
reinterpret_cast<tflite::LeakyReluOptionsT *>(value) : nullptr;
}
const tflite::LeakyReluOptionsT *AsLeakyReluOptions() const {
return type == BuiltinOptions_LeakyReluOptions ?
reinterpret_cast<const tflite::LeakyReluOptionsT *>(value) : nullptr;
}
tflite::SquaredDifferenceOptionsT *AsSquaredDifferenceOptions() {
return type == BuiltinOptions_SquaredDifferenceOptions ?
reinterpret_cast<tflite::SquaredDifferenceOptionsT *>(value) : nullptr;
}
const tflite::SquaredDifferenceOptionsT *AsSquaredDifferenceOptions() const {
return type == BuiltinOptions_SquaredDifferenceOptions ?
reinterpret_cast<const tflite::SquaredDifferenceOptionsT *>(value) : nullptr;
}
tflite::MirrorPadOptionsT *AsMirrorPadOptions() {
return type == BuiltinOptions_MirrorPadOptions ?
reinterpret_cast<tflite::MirrorPadOptionsT *>(value) : nullptr;
}
const tflite::MirrorPadOptionsT *AsMirrorPadOptions() const {
return type == BuiltinOptions_MirrorPadOptions ?
reinterpret_cast<const tflite::MirrorPadOptionsT *>(value) : nullptr;
}
tflite::AbsOptionsT *AsAbsOptions() {
return type == BuiltinOptions_AbsOptions ?
reinterpret_cast<tflite::AbsOptionsT *>(value) : nullptr;
}
const tflite::AbsOptionsT *AsAbsOptions() const {
return type == BuiltinOptions_AbsOptions ?
reinterpret_cast<const tflite::AbsOptionsT *>(value) : nullptr;
}
tflite::SplitVOptionsT *AsSplitVOptions() {
return type == BuiltinOptions_SplitVOptions ?
reinterpret_cast<tflite::SplitVOptionsT *>(value) : nullptr;
}
const tflite::SplitVOptionsT *AsSplitVOptions() const {
return type == BuiltinOptions_SplitVOptions ?
reinterpret_cast<const tflite::SplitVOptionsT *>(value) : nullptr;
}
tflite::UniqueOptionsT *AsUniqueOptions() {
return type == BuiltinOptions_UniqueOptions ?
reinterpret_cast<tflite::UniqueOptionsT *>(value) : nullptr;
}
const tflite::UniqueOptionsT *AsUniqueOptions() const {
return type == BuiltinOptions_UniqueOptions ?
reinterpret_cast<const tflite::UniqueOptionsT *>(value) : nullptr;
}
tflite::ReverseV2OptionsT *AsReverseV2Options() {
return type == BuiltinOptions_ReverseV2Options ?
reinterpret_cast<tflite::ReverseV2OptionsT *>(value) : nullptr;
}
const tflite::ReverseV2OptionsT *AsReverseV2Options() const {
return type == BuiltinOptions_ReverseV2Options ?
reinterpret_cast<const tflite::ReverseV2OptionsT *>(value) : nullptr;
}
tflite::AddNOptionsT *AsAddNOptions() {
return type == BuiltinOptions_AddNOptions ?
reinterpret_cast<tflite::AddNOptionsT *>(value) : nullptr;
}
const tflite::AddNOptionsT *AsAddNOptions() const {
return type == BuiltinOptions_AddNOptions ?
reinterpret_cast<const tflite::AddNOptionsT *>(value) : nullptr;
}
tflite::GatherNdOptionsT *AsGatherNdOptions() {
return type == BuiltinOptions_GatherNdOptions ?
reinterpret_cast<tflite::GatherNdOptionsT *>(value) : nullptr;
}
const tflite::GatherNdOptionsT *AsGatherNdOptions() const {
return type == BuiltinOptions_GatherNdOptions ?
reinterpret_cast<const tflite::GatherNdOptionsT *>(value) : nullptr;
}
tflite::CosOptionsT *AsCosOptions() {
return type == BuiltinOptions_CosOptions ?
reinterpret_cast<tflite::CosOptionsT *>(value) : nullptr;
}
const tflite::CosOptionsT *AsCosOptions() const {
return type == BuiltinOptions_CosOptions ?
reinterpret_cast<const tflite::CosOptionsT *>(value) : nullptr;
}
tflite::WhereOptionsT *AsWhereOptions() {
return type == BuiltinOptions_WhereOptions ?
reinterpret_cast<tflite::WhereOptionsT *>(value) : nullptr;
}
const tflite::WhereOptionsT *AsWhereOptions() const {
return type == BuiltinOptions_WhereOptions ?
reinterpret_cast<const tflite::WhereOptionsT *>(value) : nullptr;
}
tflite::RankOptionsT *AsRankOptions() {
return type == BuiltinOptions_RankOptions ?
reinterpret_cast<tflite::RankOptionsT *>(value) : nullptr;
}
const tflite::RankOptionsT *AsRankOptions() const {
return type == BuiltinOptions_RankOptions ?
reinterpret_cast<const tflite::RankOptionsT *>(value) : nullptr;
}
tflite::ReverseSequenceOptionsT *AsReverseSequenceOptions() {
return type == BuiltinOptions_ReverseSequenceOptions ?
reinterpret_cast<tflite::ReverseSequenceOptionsT *>(value) : nullptr;
}
const tflite::ReverseSequenceOptionsT *AsReverseSequenceOptions() const {
return type == BuiltinOptions_ReverseSequenceOptions ?
reinterpret_cast<const tflite::ReverseSequenceOptionsT *>(value) : nullptr;
}
tflite::MatrixDiagOptionsT *AsMatrixDiagOptions() {
return type == BuiltinOptions_MatrixDiagOptions ?
reinterpret_cast<tflite::MatrixDiagOptionsT *>(value) : nullptr;
}
const tflite::MatrixDiagOptionsT *AsMatrixDiagOptions() const {
return type == BuiltinOptions_MatrixDiagOptions ?
reinterpret_cast<const tflite::MatrixDiagOptionsT *>(value) : nullptr;
}
tflite::QuantizeOptionsT *AsQuantizeOptions() {
return type == BuiltinOptions_QuantizeOptions ?
reinterpret_cast<tflite::QuantizeOptionsT *>(value) : nullptr;
}
const tflite::QuantizeOptionsT *AsQuantizeOptions() const {
return type == BuiltinOptions_QuantizeOptions ?
reinterpret_cast<const tflite::QuantizeOptionsT *>(value) : nullptr;
}
tflite::MatrixSetDiagOptionsT *AsMatrixSetDiagOptions() {
return type == BuiltinOptions_MatrixSetDiagOptions ?
reinterpret_cast<tflite::MatrixSetDiagOptionsT *>(value) : nullptr;
}
const tflite::MatrixSetDiagOptionsT *AsMatrixSetDiagOptions() const {
return type == BuiltinOptions_MatrixSetDiagOptions ?
reinterpret_cast<const tflite::MatrixSetDiagOptionsT *>(value) : nullptr;
}
tflite::HardSwishOptionsT *AsHardSwishOptions() {
return type == BuiltinOptions_HardSwishOptions ?
reinterpret_cast<tflite::HardSwishOptionsT *>(value) : nullptr;
}
const tflite::HardSwishOptionsT *AsHardSwishOptions() const {
return type == BuiltinOptions_HardSwishOptions ?
reinterpret_cast<const tflite::HardSwishOptionsT *>(value) : nullptr;
}
tflite::IfOptionsT *AsIfOptions() {
return type == BuiltinOptions_IfOptions ?
reinterpret_cast<tflite::IfOptionsT *>(value) : nullptr;
}
const tflite::IfOptionsT *AsIfOptions() const {
return type == BuiltinOptions_IfOptions ?
reinterpret_cast<const tflite::IfOptionsT *>(value) : nullptr;
}
tflite::WhileOptionsT *AsWhileOptions() {
return type == BuiltinOptions_WhileOptions ?
reinterpret_cast<tflite::WhileOptionsT *>(value) : nullptr;
}
const tflite::WhileOptionsT *AsWhileOptions() const {
return type == BuiltinOptions_WhileOptions ?
reinterpret_cast<const tflite::WhileOptionsT *>(value) : nullptr;
}
tflite::DepthToSpaceOptionsT *AsDepthToSpaceOptions() {
return type == BuiltinOptions_DepthToSpaceOptions ?
reinterpret_cast<tflite::DepthToSpaceOptionsT *>(value) : nullptr;
}
const tflite::DepthToSpaceOptionsT *AsDepthToSpaceOptions() const {
return type == BuiltinOptions_DepthToSpaceOptions ?
reinterpret_cast<const tflite::DepthToSpaceOptionsT *>(value) : nullptr;
}
tflite::NonMaxSuppressionV4OptionsT *AsNonMaxSuppressionV4Options() {
return type == BuiltinOptions_NonMaxSuppressionV4Options ?
reinterpret_cast<tflite::NonMaxSuppressionV4OptionsT *>(value) : nullptr;
}
const tflite::NonMaxSuppressionV4OptionsT *AsNonMaxSuppressionV4Options() const {
return type == BuiltinOptions_NonMaxSuppressionV4Options ?
reinterpret_cast<const tflite::NonMaxSuppressionV4OptionsT *>(value) : nullptr;
}
tflite::NonMaxSuppressionV5OptionsT *AsNonMaxSuppressionV5Options() {
return type == BuiltinOptions_NonMaxSuppressionV5Options ?
reinterpret_cast<tflite::NonMaxSuppressionV5OptionsT *>(value) : nullptr;
}
const tflite::NonMaxSuppressionV5OptionsT *AsNonMaxSuppressionV5Options() const {
return type == BuiltinOptions_NonMaxSuppressionV5Options ?
reinterpret_cast<const tflite::NonMaxSuppressionV5OptionsT *>(value) : nullptr;
}
tflite::ScatterNdOptionsT *AsScatterNdOptions() {
return type == BuiltinOptions_ScatterNdOptions ?
reinterpret_cast<tflite::ScatterNdOptionsT *>(value) : nullptr;
}
const tflite::ScatterNdOptionsT *AsScatterNdOptions() const {
return type == BuiltinOptions_ScatterNdOptions ?
reinterpret_cast<const tflite::ScatterNdOptionsT *>(value) : nullptr;
}
tflite::SelectV2OptionsT *AsSelectV2Options() {
return type == BuiltinOptions_SelectV2Options ?
reinterpret_cast<tflite::SelectV2OptionsT *>(value) : nullptr;
}
const tflite::SelectV2OptionsT *AsSelectV2Options() const {
return type == BuiltinOptions_SelectV2Options ?
reinterpret_cast<const tflite::SelectV2OptionsT *>(value) : nullptr;
}
tflite::DensifyOptionsT *AsDensifyOptions() {
return type == BuiltinOptions_DensifyOptions ?
reinterpret_cast<tflite::DensifyOptionsT *>(value) : nullptr;
}
const tflite::DensifyOptionsT *AsDensifyOptions() const {
return type == BuiltinOptions_DensifyOptions ?
reinterpret_cast<const tflite::DensifyOptionsT *>(value) : nullptr;
}
tflite::SegmentSumOptionsT *AsSegmentSumOptions() {
return type == BuiltinOptions_SegmentSumOptions ?
reinterpret_cast<tflite::SegmentSumOptionsT *>(value) : nullptr;
}
const tflite::SegmentSumOptionsT *AsSegmentSumOptions() const {
return type == BuiltinOptions_SegmentSumOptions ?
reinterpret_cast<const tflite::SegmentSumOptionsT *>(value) : nullptr;
}
tflite::BatchMatMulOptionsT *AsBatchMatMulOptions() {
return type == BuiltinOptions_BatchMatMulOptions ?
reinterpret_cast<tflite::BatchMatMulOptionsT *>(value) : nullptr;
}
const tflite::BatchMatMulOptionsT *AsBatchMatMulOptions() const {
return type == BuiltinOptions_BatchMatMulOptions ?
reinterpret_cast<const tflite::BatchMatMulOptionsT *>(value) : nullptr;
}
tflite::CumsumOptionsT *AsCumsumOptions() {
return type == BuiltinOptions_CumsumOptions ?
reinterpret_cast<tflite::CumsumOptionsT *>(value) : nullptr;
}
const tflite::CumsumOptionsT *AsCumsumOptions() const {
return type == BuiltinOptions_CumsumOptions ?
reinterpret_cast<const tflite::CumsumOptionsT *>(value) : nullptr;
}
tflite::CallOnceOptionsT *AsCallOnceOptions() {
return type == BuiltinOptions_CallOnceOptions ?
reinterpret_cast<tflite::CallOnceOptionsT *>(value) : nullptr;
}
const tflite::CallOnceOptionsT *AsCallOnceOptions() const {
return type == BuiltinOptions_CallOnceOptions ?
reinterpret_cast<const tflite::CallOnceOptionsT *>(value) : nullptr;
}
tflite::BroadcastToOptionsT *AsBroadcastToOptions() {
return type == BuiltinOptions_BroadcastToOptions ?
reinterpret_cast<tflite::BroadcastToOptionsT *>(value) : nullptr;
}
const tflite::BroadcastToOptionsT *AsBroadcastToOptions() const {
return type == BuiltinOptions_BroadcastToOptions ?
reinterpret_cast<const tflite::BroadcastToOptionsT *>(value) : nullptr;
}
tflite::Rfft2dOptionsT *AsRfft2dOptions() {
return type == BuiltinOptions_Rfft2dOptions ?
reinterpret_cast<tflite::Rfft2dOptionsT *>(value) : nullptr;
}
const tflite::Rfft2dOptionsT *AsRfft2dOptions() const {
return type == BuiltinOptions_Rfft2dOptions ?
reinterpret_cast<const tflite::Rfft2dOptionsT *>(value) : nullptr;
}
tflite::Conv3DOptionsT *AsConv3DOptions() {
return type == BuiltinOptions_Conv3DOptions ?
reinterpret_cast<tflite::Conv3DOptionsT *>(value) : nullptr;
}
const tflite::Conv3DOptionsT *AsConv3DOptions() const {
return type == BuiltinOptions_Conv3DOptions ?
reinterpret_cast<const tflite::Conv3DOptionsT *>(value) : nullptr;
}
tflite::HashtableOptionsT *AsHashtableOptions() {
return type == BuiltinOptions_HashtableOptions ?
reinterpret_cast<tflite::HashtableOptionsT *>(value) : nullptr;
}
const tflite::HashtableOptionsT *AsHashtableOptions() const {
return type == BuiltinOptions_HashtableOptions ?
reinterpret_cast<const tflite::HashtableOptionsT *>(value) : nullptr;
}
tflite::HashtableFindOptionsT *AsHashtableFindOptions() {
return type == BuiltinOptions_HashtableFindOptions ?
reinterpret_cast<tflite::HashtableFindOptionsT *>(value) : nullptr;
}
const tflite::HashtableFindOptionsT *AsHashtableFindOptions() const {
return type == BuiltinOptions_HashtableFindOptions ?
reinterpret_cast<const tflite::HashtableFindOptionsT *>(value) : nullptr;
}
tflite::HashtableImportOptionsT *AsHashtableImportOptions() {
return type == BuiltinOptions_HashtableImportOptions ?
reinterpret_cast<tflite::HashtableImportOptionsT *>(value) : nullptr;
}
const tflite::HashtableImportOptionsT *AsHashtableImportOptions() const {
return type == BuiltinOptions_HashtableImportOptions ?
reinterpret_cast<const tflite::HashtableImportOptionsT *>(value) : nullptr;
}
tflite::HashtableSizeOptionsT *AsHashtableSizeOptions() {
return type == BuiltinOptions_HashtableSizeOptions ?
reinterpret_cast<tflite::HashtableSizeOptionsT *>(value) : nullptr;
}
const tflite::HashtableSizeOptionsT *AsHashtableSizeOptions() const {
return type == BuiltinOptions_HashtableSizeOptions ?
reinterpret_cast<const tflite::HashtableSizeOptionsT *>(value) : nullptr;
}
tflite::VarHandleOptionsT *AsVarHandleOptions() {
return type == BuiltinOptions_VarHandleOptions ?
reinterpret_cast<tflite::VarHandleOptionsT *>(value) : nullptr;
}
const tflite::VarHandleOptionsT *AsVarHandleOptions() const {
return type == BuiltinOptions_VarHandleOptions ?
reinterpret_cast<const tflite::VarHandleOptionsT *>(value) : nullptr;
}
tflite::ReadVariableOptionsT *AsReadVariableOptions() {
return type == BuiltinOptions_ReadVariableOptions ?
reinterpret_cast<tflite::ReadVariableOptionsT *>(value) : nullptr;
}
const tflite::ReadVariableOptionsT *AsReadVariableOptions() const {
return type == BuiltinOptions_ReadVariableOptions ?
reinterpret_cast<const tflite::ReadVariableOptionsT *>(value) : nullptr;
}
tflite::AssignVariableOptionsT *AsAssignVariableOptions() {
return type == BuiltinOptions_AssignVariableOptions ?
reinterpret_cast<tflite::AssignVariableOptionsT *>(value) : nullptr;
}
const tflite::AssignVariableOptionsT *AsAssignVariableOptions() const {
return type == BuiltinOptions_AssignVariableOptions ?
reinterpret_cast<const tflite::AssignVariableOptionsT *>(value) : nullptr;
}
tflite::RandomOptionsT *AsRandomOptions() {
return type == BuiltinOptions_RandomOptions ?
reinterpret_cast<tflite::RandomOptionsT *>(value) : nullptr;
}
const tflite::RandomOptionsT *AsRandomOptions() const {
return type == BuiltinOptions_RandomOptions ?
reinterpret_cast<const tflite::RandomOptionsT *>(value) : nullptr;
}
tflite::BucketizeOptionsT *AsBucketizeOptions() {
return type == BuiltinOptions_BucketizeOptions ?
reinterpret_cast<tflite::BucketizeOptionsT *>(value) : nullptr;
}
const tflite::BucketizeOptionsT *AsBucketizeOptions() const {
return type == BuiltinOptions_BucketizeOptions ?
reinterpret_cast<const tflite::BucketizeOptionsT *>(value) : nullptr;
}
tflite::GeluOptionsT *AsGeluOptions() {
return type == BuiltinOptions_GeluOptions ?
reinterpret_cast<tflite::GeluOptionsT *>(value) : nullptr;
}
const tflite::GeluOptionsT *AsGeluOptions() const {
return type == BuiltinOptions_GeluOptions ?
reinterpret_cast<const tflite::GeluOptionsT *>(value) : nullptr;
}
tflite::DynamicUpdateSliceOptionsT *AsDynamicUpdateSliceOptions() {
return type == BuiltinOptions_DynamicUpdateSliceOptions ?
reinterpret_cast<tflite::DynamicUpdateSliceOptionsT *>(value) : nullptr;
}
const tflite::DynamicUpdateSliceOptionsT *AsDynamicUpdateSliceOptions() const {
return type == BuiltinOptions_DynamicUpdateSliceOptions ?
reinterpret_cast<const tflite::DynamicUpdateSliceOptionsT *>(value) : nullptr;
}
tflite::UnsortedSegmentProdOptionsT *AsUnsortedSegmentProdOptions() {
return type == BuiltinOptions_UnsortedSegmentProdOptions ?
reinterpret_cast<tflite::UnsortedSegmentProdOptionsT *>(value) : nullptr;
}
const tflite::UnsortedSegmentProdOptionsT *AsUnsortedSegmentProdOptions() const {
return type == BuiltinOptions_UnsortedSegmentProdOptions ?
reinterpret_cast<const tflite::UnsortedSegmentProdOptionsT *>(value) : nullptr;
}
tflite::UnsortedSegmentMaxOptionsT *AsUnsortedSegmentMaxOptions() {
return type == BuiltinOptions_UnsortedSegmentMaxOptions ?
reinterpret_cast<tflite::UnsortedSegmentMaxOptionsT *>(value) : nullptr;
}
const tflite::UnsortedSegmentMaxOptionsT *AsUnsortedSegmentMaxOptions() const {
return type == BuiltinOptions_UnsortedSegmentMaxOptions ?
reinterpret_cast<const tflite::UnsortedSegmentMaxOptionsT *>(value) : nullptr;
}
tflite::UnsortedSegmentMinOptionsT *AsUnsortedSegmentMinOptions() {
return type == BuiltinOptions_UnsortedSegmentMinOptions ?
reinterpret_cast<tflite::UnsortedSegmentMinOptionsT *>(value) : nullptr;
}
const tflite::UnsortedSegmentMinOptionsT *AsUnsortedSegmentMinOptions() const {
return type == BuiltinOptions_UnsortedSegmentMinOptions ?
reinterpret_cast<const tflite::UnsortedSegmentMinOptionsT *>(value) : nullptr;
}
tflite::UnsortedSegmentSumOptionsT *AsUnsortedSegmentSumOptions() {
return type == BuiltinOptions_UnsortedSegmentSumOptions ?
reinterpret_cast<tflite::UnsortedSegmentSumOptionsT *>(value) : nullptr;
}
const tflite::UnsortedSegmentSumOptionsT *AsUnsortedSegmentSumOptions() const {
return type == BuiltinOptions_UnsortedSegmentSumOptions ?
reinterpret_cast<const tflite::UnsortedSegmentSumOptionsT *>(value) : nullptr;
}
tflite::ATan2OptionsT *AsATan2Options() {
return type == BuiltinOptions_ATan2Options ?
reinterpret_cast<tflite::ATan2OptionsT *>(value) : nullptr;
}
const tflite::ATan2OptionsT *AsATan2Options() const {
return type == BuiltinOptions_ATan2Options ?
reinterpret_cast<const tflite::ATan2OptionsT *>(value) : nullptr;
}
tflite::SignOptionsT *AsSignOptions() {
return type == BuiltinOptions_SignOptions ?
reinterpret_cast<tflite::SignOptionsT *>(value) : nullptr;
}
const tflite::SignOptionsT *AsSignOptions() const {
return type == BuiltinOptions_SignOptions ?
reinterpret_cast<const tflite::SignOptionsT *>(value) : nullptr;
}
tflite::BitcastOptionsT *AsBitcastOptions() {
return type == BuiltinOptions_BitcastOptions ?
reinterpret_cast<tflite::BitcastOptionsT *>(value) : nullptr;
}
const tflite::BitcastOptionsT *AsBitcastOptions() const {
return type == BuiltinOptions_BitcastOptions ?
reinterpret_cast<const tflite::BitcastOptionsT *>(value) : nullptr;
}
tflite::BitwiseXorOptionsT *AsBitwiseXorOptions() {
return type == BuiltinOptions_BitwiseXorOptions ?
reinterpret_cast<tflite::BitwiseXorOptionsT *>(value) : nullptr;
}
const tflite::BitwiseXorOptionsT *AsBitwiseXorOptions() const {
return type == BuiltinOptions_BitwiseXorOptions ?
reinterpret_cast<const tflite::BitwiseXorOptionsT *>(value) : nullptr;
}
tflite::RightShiftOptionsT *AsRightShiftOptions() {
return type == BuiltinOptions_RightShiftOptions ?
reinterpret_cast<tflite::RightShiftOptionsT *>(value) : nullptr;
}
const tflite::RightShiftOptionsT *AsRightShiftOptions() const {
return type == BuiltinOptions_RightShiftOptions ?
reinterpret_cast<const tflite::RightShiftOptionsT *>(value) : nullptr;
}
};
bool VerifyBuiltinOptions(::flatbuffers::Verifier &verifier, const void *obj, BuiltinOptions type);
bool VerifyBuiltinOptionsVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset<void>> *values, const ::flatbuffers::Vector<uint8_t> *types);
enum Padding : int8_t {
Padding_SAME = 0,
Padding_VALID = 1,
Padding_MIN = Padding_SAME,
Padding_MAX = Padding_VALID
};
inline const Padding (&EnumValuesPadding())[2] {
static const Padding values[] = {
Padding_SAME,
Padding_VALID
};
return values;
}
inline const char * const *EnumNamesPadding() {
static const char * const names[3] = {
"SAME",
"VALID",
nullptr
};
return names;
}
inline const char *EnumNamePadding(Padding e) {
if (::flatbuffers::IsOutRange(e, Padding_SAME, Padding_VALID)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesPadding()[index];
}
enum ActivationFunctionType : int8_t {
ActivationFunctionType_NONE = 0,
ActivationFunctionType_RELU = 1,
ActivationFunctionType_RELU_N1_TO_1 = 2,
ActivationFunctionType_RELU6 = 3,
ActivationFunctionType_TANH = 4,
ActivationFunctionType_SIGN_BIT = 5,
ActivationFunctionType_MIN = ActivationFunctionType_NONE,
ActivationFunctionType_MAX = ActivationFunctionType_SIGN_BIT
};
inline const ActivationFunctionType (&EnumValuesActivationFunctionType())[6] {
static const ActivationFunctionType values[] = {
ActivationFunctionType_NONE,
ActivationFunctionType_RELU,
ActivationFunctionType_RELU_N1_TO_1,
ActivationFunctionType_RELU6,
ActivationFunctionType_TANH,
ActivationFunctionType_SIGN_BIT
};
return values;
}
inline const char * const *EnumNamesActivationFunctionType() {
static const char * const names[7] = {
"NONE",
"RELU",
"RELU_N1_TO_1",
"RELU6",
"TANH",
"SIGN_BIT",
nullptr
};
return names;
}
inline const char *EnumNameActivationFunctionType(ActivationFunctionType e) {
if (::flatbuffers::IsOutRange(e, ActivationFunctionType_NONE, ActivationFunctionType_SIGN_BIT)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesActivationFunctionType()[index];
}
enum LSHProjectionType : int8_t {
LSHProjectionType_UNKNOWN = 0,
LSHProjectionType_SPARSE = 1,
LSHProjectionType_DENSE = 2,
LSHProjectionType_MIN = LSHProjectionType_UNKNOWN,
LSHProjectionType_MAX = LSHProjectionType_DENSE
};
inline const LSHProjectionType (&EnumValuesLSHProjectionType())[3] {
static const LSHProjectionType values[] = {
LSHProjectionType_UNKNOWN,
LSHProjectionType_SPARSE,
LSHProjectionType_DENSE
};
return values;
}
inline const char * const *EnumNamesLSHProjectionType() {
static const char * const names[4] = {
"UNKNOWN",
"SPARSE",
"DENSE",
nullptr
};
return names;
}
inline const char *EnumNameLSHProjectionType(LSHProjectionType e) {
if (::flatbuffers::IsOutRange(e, LSHProjectionType_UNKNOWN, LSHProjectionType_DENSE)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesLSHProjectionType()[index];
}
enum FullyConnectedOptionsWeightsFormat : int8_t {
FullyConnectedOptionsWeightsFormat_DEFAULT = 0,
FullyConnectedOptionsWeightsFormat_SHUFFLED4x16INT8 = 1,
FullyConnectedOptionsWeightsFormat_MIN = FullyConnectedOptionsWeightsFormat_DEFAULT,
FullyConnectedOptionsWeightsFormat_MAX = FullyConnectedOptionsWeightsFormat_SHUFFLED4x16INT8
};
inline const FullyConnectedOptionsWeightsFormat (&EnumValuesFullyConnectedOptionsWeightsFormat())[2] {
static const FullyConnectedOptionsWeightsFormat values[] = {
FullyConnectedOptionsWeightsFormat_DEFAULT,
FullyConnectedOptionsWeightsFormat_SHUFFLED4x16INT8
};
return values;
}
inline const char * const *EnumNamesFullyConnectedOptionsWeightsFormat() {
static const char * const names[3] = {
"DEFAULT",
"SHUFFLED4x16INT8",
nullptr
};
return names;
}
inline const char *EnumNameFullyConnectedOptionsWeightsFormat(FullyConnectedOptionsWeightsFormat e) {
if (::flatbuffers::IsOutRange(e, FullyConnectedOptionsWeightsFormat_DEFAULT, FullyConnectedOptionsWeightsFormat_SHUFFLED4x16INT8)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesFullyConnectedOptionsWeightsFormat()[index];
}
enum LSTMKernelType : int8_t {
LSTMKernelType_FULL = 0,
LSTMKernelType_BASIC = 1,
LSTMKernelType_MIN = LSTMKernelType_FULL,
LSTMKernelType_MAX = LSTMKernelType_BASIC
};
inline const LSTMKernelType (&EnumValuesLSTMKernelType())[2] {
static const LSTMKernelType values[] = {
LSTMKernelType_FULL,
LSTMKernelType_BASIC
};
return values;
}
inline const char * const *EnumNamesLSTMKernelType() {
static const char * const names[3] = {
"FULL",
"BASIC",
nullptr
};
return names;
}
inline const char *EnumNameLSTMKernelType(LSTMKernelType e) {
if (::flatbuffers::IsOutRange(e, LSTMKernelType_FULL, LSTMKernelType_BASIC)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesLSTMKernelType()[index];
}
enum CombinerType : int8_t {
CombinerType_SUM = 0,
CombinerType_MEAN = 1,
CombinerType_SQRTN = 2,
CombinerType_MIN = CombinerType_SUM,
CombinerType_MAX = CombinerType_SQRTN
};
inline const CombinerType (&EnumValuesCombinerType())[3] {
static const CombinerType values[] = {
CombinerType_SUM,
CombinerType_MEAN,
CombinerType_SQRTN
};
return values;
}
inline const char * const *EnumNamesCombinerType() {
static const char * const names[4] = {
"SUM",
"MEAN",
"SQRTN",
nullptr
};
return names;
}
inline const char *EnumNameCombinerType(CombinerType e) {
if (::flatbuffers::IsOutRange(e, CombinerType_SUM, CombinerType_SQRTN)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesCombinerType()[index];
}
enum MirrorPadMode : int8_t {
MirrorPadMode_REFLECT = 0,
MirrorPadMode_SYMMETRIC = 1,
MirrorPadMode_MIN = MirrorPadMode_REFLECT,
MirrorPadMode_MAX = MirrorPadMode_SYMMETRIC
};
inline const MirrorPadMode (&EnumValuesMirrorPadMode())[2] {
static const MirrorPadMode values[] = {
MirrorPadMode_REFLECT,
MirrorPadMode_SYMMETRIC
};
return values;
}
inline const char * const *EnumNamesMirrorPadMode() {
static const char * const names[3] = {
"REFLECT",
"SYMMETRIC",
nullptr
};
return names;
}
inline const char *EnumNameMirrorPadMode(MirrorPadMode e) {
if (::flatbuffers::IsOutRange(e, MirrorPadMode_REFLECT, MirrorPadMode_SYMMETRIC)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesMirrorPadMode()[index];
}
enum CustomOptionsFormat : int8_t {
CustomOptionsFormat_FLEXBUFFERS = 0,
CustomOptionsFormat_MIN = CustomOptionsFormat_FLEXBUFFERS,
CustomOptionsFormat_MAX = CustomOptionsFormat_FLEXBUFFERS
};
inline const CustomOptionsFormat (&EnumValuesCustomOptionsFormat())[1] {
static const CustomOptionsFormat values[] = {
CustomOptionsFormat_FLEXBUFFERS
};
return values;
}
inline const char * const *EnumNamesCustomOptionsFormat() {
static const char * const names[2] = {
"FLEXBUFFERS",
nullptr
};
return names;
}
inline const char *EnumNameCustomOptionsFormat(CustomOptionsFormat e) {
if (::flatbuffers::IsOutRange(e, CustomOptionsFormat_FLEXBUFFERS, CustomOptionsFormat_FLEXBUFFERS)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesCustomOptionsFormat()[index];
}
struct CustomQuantizationT : public ::flatbuffers::NativeTable {
typedef CustomQuantization TableType;
std::vector<uint8_t> custom{};
};
struct CustomQuantization FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef CustomQuantizationT NativeTableType;
typedef CustomQuantizationBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_CUSTOM = 4
};
const ::flatbuffers::Vector<uint8_t> *custom() const {
return GetPointer<const ::flatbuffers::Vector<uint8_t> *>(VT_CUSTOM);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_CUSTOM) &&
verifier.VerifyVector(custom()) &&
verifier.EndTable();
}
CustomQuantizationT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(CustomQuantizationT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<CustomQuantization> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const CustomQuantizationT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct CustomQuantizationBuilder {
typedef CustomQuantization Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_custom(::flatbuffers::Offset<::flatbuffers::Vector<uint8_t>> custom) {
fbb_.AddOffset(CustomQuantization::VT_CUSTOM, custom);
}
explicit CustomQuantizationBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<CustomQuantization> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<CustomQuantization>(end);
return o;
}
};
inline ::flatbuffers::Offset<CustomQuantization> CreateCustomQuantization(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<uint8_t>> custom = 0) {
CustomQuantizationBuilder builder_(_fbb);
builder_.add_custom(custom);
return builder_.Finish();
}
inline ::flatbuffers::Offset<CustomQuantization> CreateCustomQuantizationDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<uint8_t> *custom = nullptr) {
if (custom) { _fbb.ForceVectorAlignment(custom->size(), sizeof(uint8_t), 16); }
auto custom__ = custom ? _fbb.CreateVector<uint8_t>(*custom) : 0;
return tflite::CreateCustomQuantization(
_fbb,
custom__);
}
::flatbuffers::Offset<CustomQuantization> CreateCustomQuantization(::flatbuffers::FlatBufferBuilder &_fbb, const CustomQuantizationT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct QuantizationParametersT : public ::flatbuffers::NativeTable {
typedef QuantizationParameters TableType;
std::vector<float> min{};
std::vector<float> max{};
std::vector<float> scale{};
std::vector<int64_t> zero_point{};
tflite::QuantizationDetailsUnion details{};
int32_t quantized_dimension = 0;
};
struct QuantizationParameters FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef QuantizationParametersT NativeTableType;
typedef QuantizationParametersBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_MIN = 4,
VT_MAX = 6,
VT_SCALE = 8,
VT_ZERO_POINT = 10,
VT_DETAILS_TYPE = 12,
VT_DETAILS = 14,
VT_QUANTIZED_DIMENSION = 16
};
const ::flatbuffers::Vector<float> *min() const {
return GetPointer<const ::flatbuffers::Vector<float> *>(VT_MIN);
}
const ::flatbuffers::Vector<float> *max() const {
return GetPointer<const ::flatbuffers::Vector<float> *>(VT_MAX);
}
const ::flatbuffers::Vector<float> *scale() const {
return GetPointer<const ::flatbuffers::Vector<float> *>(VT_SCALE);
}
const ::flatbuffers::Vector<int64_t> *zero_point() const {
return GetPointer<const ::flatbuffers::Vector<int64_t> *>(VT_ZERO_POINT);
}
tflite::QuantizationDetails details_type() const {
return static_cast<tflite::QuantizationDetails>(GetField<uint8_t>(VT_DETAILS_TYPE, 0));
}
const void *details() const {
return GetPointer<const void *>(VT_DETAILS);
}
template<typename T> const T *details_as() const;
const tflite::CustomQuantization *details_as_CustomQuantization() const {
return details_type() == tflite::QuantizationDetails_CustomQuantization ? static_cast<const tflite::CustomQuantization *>(details()) : nullptr;
}
int32_t quantized_dimension() const {
return GetField<int32_t>(VT_QUANTIZED_DIMENSION, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_MIN) &&
verifier.VerifyVector(min()) &&
VerifyOffset(verifier, VT_MAX) &&
verifier.VerifyVector(max()) &&
VerifyOffset(verifier, VT_SCALE) &&
verifier.VerifyVector(scale()) &&
VerifyOffset(verifier, VT_ZERO_POINT) &&
verifier.VerifyVector(zero_point()) &&
VerifyField<uint8_t>(verifier, VT_DETAILS_TYPE, 1) &&
VerifyOffset(verifier, VT_DETAILS) &&
VerifyQuantizationDetails(verifier, details(), details_type()) &&
VerifyField<int32_t>(verifier, VT_QUANTIZED_DIMENSION, 4) &&
verifier.EndTable();
}
QuantizationParametersT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(QuantizationParametersT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<QuantizationParameters> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const QuantizationParametersT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
template<> inline const tflite::CustomQuantization *QuantizationParameters::details_as<tflite::CustomQuantization>() const {
return details_as_CustomQuantization();
}
struct QuantizationParametersBuilder {
typedef QuantizationParameters Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_min(::flatbuffers::Offset<::flatbuffers::Vector<float>> min) {
fbb_.AddOffset(QuantizationParameters::VT_MIN, min);
}
void add_max(::flatbuffers::Offset<::flatbuffers::Vector<float>> max) {
fbb_.AddOffset(QuantizationParameters::VT_MAX, max);
}
void add_scale(::flatbuffers::Offset<::flatbuffers::Vector<float>> scale) {
fbb_.AddOffset(QuantizationParameters::VT_SCALE, scale);
}
void add_zero_point(::flatbuffers::Offset<::flatbuffers::Vector<int64_t>> zero_point) {
fbb_.AddOffset(QuantizationParameters::VT_ZERO_POINT, zero_point);
}
void add_details_type(tflite::QuantizationDetails details_type) {
fbb_.AddElement<uint8_t>(QuantizationParameters::VT_DETAILS_TYPE, static_cast<uint8_t>(details_type), 0);
}
void add_details(::flatbuffers::Offset<void> details) {
fbb_.AddOffset(QuantizationParameters::VT_DETAILS, details);
}
void add_quantized_dimension(int32_t quantized_dimension) {
fbb_.AddElement<int32_t>(QuantizationParameters::VT_QUANTIZED_DIMENSION, quantized_dimension, 0);
}
explicit QuantizationParametersBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<QuantizationParameters> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<QuantizationParameters>(end);
return o;
}
};
inline ::flatbuffers::Offset<QuantizationParameters> CreateQuantizationParameters(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<float>> min = 0,
::flatbuffers::Offset<::flatbuffers::Vector<float>> max = 0,
::flatbuffers::Offset<::flatbuffers::Vector<float>> scale = 0,
::flatbuffers::Offset<::flatbuffers::Vector<int64_t>> zero_point = 0,
tflite::QuantizationDetails details_type = tflite::QuantizationDetails_NONE,
::flatbuffers::Offset<void> details = 0,
int32_t quantized_dimension = 0) {
QuantizationParametersBuilder builder_(_fbb);
builder_.add_quantized_dimension(quantized_dimension);
builder_.add_details(details);
builder_.add_zero_point(zero_point);
builder_.add_scale(scale);
builder_.add_max(max);
builder_.add_min(min);
builder_.add_details_type(details_type);
return builder_.Finish();
}
inline ::flatbuffers::Offset<QuantizationParameters> CreateQuantizationParametersDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<float> *min = nullptr,
const std::vector<float> *max = nullptr,
const std::vector<float> *scale = nullptr,
const std::vector<int64_t> *zero_point = nullptr,
tflite::QuantizationDetails details_type = tflite::QuantizationDetails_NONE,
::flatbuffers::Offset<void> details = 0,
int32_t quantized_dimension = 0) {
auto min__ = min ? _fbb.CreateVector<float>(*min) : 0;
auto max__ = max ? _fbb.CreateVector<float>(*max) : 0;
auto scale__ = scale ? _fbb.CreateVector<float>(*scale) : 0;
auto zero_point__ = zero_point ? _fbb.CreateVector<int64_t>(*zero_point) : 0;
return tflite::CreateQuantizationParameters(
_fbb,
min__,
max__,
scale__,
zero_point__,
details_type,
details,
quantized_dimension);
}
::flatbuffers::Offset<QuantizationParameters> CreateQuantizationParameters(::flatbuffers::FlatBufferBuilder &_fbb, const QuantizationParametersT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct Int32VectorT : public ::flatbuffers::NativeTable {
typedef Int32Vector TableType;
std::vector<int32_t> values{};
};
struct Int32Vector FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef Int32VectorT NativeTableType;
typedef Int32VectorBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_VALUES = 4
};
const ::flatbuffers::Vector<int32_t> *values() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_VALUES);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_VALUES) &&
verifier.VerifyVector(values()) &&
verifier.EndTable();
}
Int32VectorT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(Int32VectorT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<Int32Vector> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Int32VectorT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct Int32VectorBuilder {
typedef Int32Vector Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_values(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> values) {
fbb_.AddOffset(Int32Vector::VT_VALUES, values);
}
explicit Int32VectorBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<Int32Vector> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<Int32Vector>(end);
return o;
}
};
inline ::flatbuffers::Offset<Int32Vector> CreateInt32Vector(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> values = 0) {
Int32VectorBuilder builder_(_fbb);
builder_.add_values(values);
return builder_.Finish();
}
inline ::flatbuffers::Offset<Int32Vector> CreateInt32VectorDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<int32_t> *values = nullptr) {
auto values__ = values ? _fbb.CreateVector<int32_t>(*values) : 0;
return tflite::CreateInt32Vector(
_fbb,
values__);
}
::flatbuffers::Offset<Int32Vector> CreateInt32Vector(::flatbuffers::FlatBufferBuilder &_fbb, const Int32VectorT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct Uint16VectorT : public ::flatbuffers::NativeTable {
typedef Uint16Vector TableType;
std::vector<uint16_t> values{};
};
struct Uint16Vector FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef Uint16VectorT NativeTableType;
typedef Uint16VectorBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_VALUES = 4
};
const ::flatbuffers::Vector<uint16_t> *values() const {
return GetPointer<const ::flatbuffers::Vector<uint16_t> *>(VT_VALUES);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_VALUES) &&
verifier.VerifyVector(values()) &&
verifier.EndTable();
}
Uint16VectorT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(Uint16VectorT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<Uint16Vector> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Uint16VectorT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct Uint16VectorBuilder {
typedef Uint16Vector Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_values(::flatbuffers::Offset<::flatbuffers::Vector<uint16_t>> values) {
fbb_.AddOffset(Uint16Vector::VT_VALUES, values);
}
explicit Uint16VectorBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<Uint16Vector> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<Uint16Vector>(end);
return o;
}
};
inline ::flatbuffers::Offset<Uint16Vector> CreateUint16Vector(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<uint16_t>> values = 0) {
Uint16VectorBuilder builder_(_fbb);
builder_.add_values(values);
return builder_.Finish();
}
inline ::flatbuffers::Offset<Uint16Vector> CreateUint16VectorDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<uint16_t> *values = nullptr) {
if (values) { _fbb.ForceVectorAlignment(values->size(), sizeof(uint16_t), 4); }
auto values__ = values ? _fbb.CreateVector<uint16_t>(*values) : 0;
return tflite::CreateUint16Vector(
_fbb,
values__);
}
::flatbuffers::Offset<Uint16Vector> CreateUint16Vector(::flatbuffers::FlatBufferBuilder &_fbb, const Uint16VectorT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct Uint8VectorT : public ::flatbuffers::NativeTable {
typedef Uint8Vector TableType;
std::vector<uint8_t> values{};
};
struct Uint8Vector FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef Uint8VectorT NativeTableType;
typedef Uint8VectorBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_VALUES = 4
};
const ::flatbuffers::Vector<uint8_t> *values() const {
return GetPointer<const ::flatbuffers::Vector<uint8_t> *>(VT_VALUES);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_VALUES) &&
verifier.VerifyVector(values()) &&
verifier.EndTable();
}
Uint8VectorT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(Uint8VectorT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<Uint8Vector> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Uint8VectorT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct Uint8VectorBuilder {
typedef Uint8Vector Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_values(::flatbuffers::Offset<::flatbuffers::Vector<uint8_t>> values) {
fbb_.AddOffset(Uint8Vector::VT_VALUES, values);
}
explicit Uint8VectorBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<Uint8Vector> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<Uint8Vector>(end);
return o;
}
};
inline ::flatbuffers::Offset<Uint8Vector> CreateUint8Vector(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<uint8_t>> values = 0) {
Uint8VectorBuilder builder_(_fbb);
builder_.add_values(values);
return builder_.Finish();
}
inline ::flatbuffers::Offset<Uint8Vector> CreateUint8VectorDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<uint8_t> *values = nullptr) {
if (values) { _fbb.ForceVectorAlignment(values->size(), sizeof(uint8_t), 4); }
auto values__ = values ? _fbb.CreateVector<uint8_t>(*values) : 0;
return tflite::CreateUint8Vector(
_fbb,
values__);
}
::flatbuffers::Offset<Uint8Vector> CreateUint8Vector(::flatbuffers::FlatBufferBuilder &_fbb, const Uint8VectorT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct DimensionMetadataT : public ::flatbuffers::NativeTable {
typedef DimensionMetadata TableType;
tflite::DimensionType format = tflite::DimensionType_DENSE;
int32_t dense_size = 0;
tflite::SparseIndexVectorUnion array_segments{};
tflite::SparseIndexVectorUnion array_indices{};
};
struct DimensionMetadata FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef DimensionMetadataT NativeTableType;
typedef DimensionMetadataBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_FORMAT = 4,
VT_DENSE_SIZE = 6,
VT_ARRAY_SEGMENTS_TYPE = 8,
VT_ARRAY_SEGMENTS = 10,
VT_ARRAY_INDICES_TYPE = 12,
VT_ARRAY_INDICES = 14
};
tflite::DimensionType format() const {
return static_cast<tflite::DimensionType>(GetField<int8_t>(VT_FORMAT, 0));
}
int32_t dense_size() const {
return GetField<int32_t>(VT_DENSE_SIZE, 0);
}
tflite::SparseIndexVector array_segments_type() const {
return static_cast<tflite::SparseIndexVector>(GetField<uint8_t>(VT_ARRAY_SEGMENTS_TYPE, 0));
}
const void *array_segments() const {
return GetPointer<const void *>(VT_ARRAY_SEGMENTS);
}
template<typename T> const T *array_segments_as() const;
const tflite::Int32Vector *array_segments_as_Int32Vector() const {
return array_segments_type() == tflite::SparseIndexVector_Int32Vector ? static_cast<const tflite::Int32Vector *>(array_segments()) : nullptr;
}
const tflite::Uint16Vector *array_segments_as_Uint16Vector() const {
return array_segments_type() == tflite::SparseIndexVector_Uint16Vector ? static_cast<const tflite::Uint16Vector *>(array_segments()) : nullptr;
}
const tflite::Uint8Vector *array_segments_as_Uint8Vector() const {
return array_segments_type() == tflite::SparseIndexVector_Uint8Vector ? static_cast<const tflite::Uint8Vector *>(array_segments()) : nullptr;
}
tflite::SparseIndexVector array_indices_type() const {
return static_cast<tflite::SparseIndexVector>(GetField<uint8_t>(VT_ARRAY_INDICES_TYPE, 0));
}
const void *array_indices() const {
return GetPointer<const void *>(VT_ARRAY_INDICES);
}
template<typename T> const T *array_indices_as() const;
const tflite::Int32Vector *array_indices_as_Int32Vector() const {
return array_indices_type() == tflite::SparseIndexVector_Int32Vector ? static_cast<const tflite::Int32Vector *>(array_indices()) : nullptr;
}
const tflite::Uint16Vector *array_indices_as_Uint16Vector() const {
return array_indices_type() == tflite::SparseIndexVector_Uint16Vector ? static_cast<const tflite::Uint16Vector *>(array_indices()) : nullptr;
}
const tflite::Uint8Vector *array_indices_as_Uint8Vector() const {
return array_indices_type() == tflite::SparseIndexVector_Uint8Vector ? static_cast<const tflite::Uint8Vector *>(array_indices()) : nullptr;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_FORMAT, 1) &&
VerifyField<int32_t>(verifier, VT_DENSE_SIZE, 4) &&
VerifyField<uint8_t>(verifier, VT_ARRAY_SEGMENTS_TYPE, 1) &&
VerifyOffset(verifier, VT_ARRAY_SEGMENTS) &&
VerifySparseIndexVector(verifier, array_segments(), array_segments_type()) &&
VerifyField<uint8_t>(verifier, VT_ARRAY_INDICES_TYPE, 1) &&
VerifyOffset(verifier, VT_ARRAY_INDICES) &&
VerifySparseIndexVector(verifier, array_indices(), array_indices_type()) &&
verifier.EndTable();
}
DimensionMetadataT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(DimensionMetadataT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<DimensionMetadata> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DimensionMetadataT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
template<> inline const tflite::Int32Vector *DimensionMetadata::array_segments_as<tflite::Int32Vector>() const {
return array_segments_as_Int32Vector();
}
template<> inline const tflite::Uint16Vector *DimensionMetadata::array_segments_as<tflite::Uint16Vector>() const {
return array_segments_as_Uint16Vector();
}
template<> inline const tflite::Uint8Vector *DimensionMetadata::array_segments_as<tflite::Uint8Vector>() const {
return array_segments_as_Uint8Vector();
}
template<> inline const tflite::Int32Vector *DimensionMetadata::array_indices_as<tflite::Int32Vector>() const {
return array_indices_as_Int32Vector();
}
template<> inline const tflite::Uint16Vector *DimensionMetadata::array_indices_as<tflite::Uint16Vector>() const {
return array_indices_as_Uint16Vector();
}
template<> inline const tflite::Uint8Vector *DimensionMetadata::array_indices_as<tflite::Uint8Vector>() const {
return array_indices_as_Uint8Vector();
}
struct DimensionMetadataBuilder {
typedef DimensionMetadata Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_format(tflite::DimensionType format) {
fbb_.AddElement<int8_t>(DimensionMetadata::VT_FORMAT, static_cast<int8_t>(format), 0);
}
void add_dense_size(int32_t dense_size) {
fbb_.AddElement<int32_t>(DimensionMetadata::VT_DENSE_SIZE, dense_size, 0);
}
void add_array_segments_type(tflite::SparseIndexVector array_segments_type) {
fbb_.AddElement<uint8_t>(DimensionMetadata::VT_ARRAY_SEGMENTS_TYPE, static_cast<uint8_t>(array_segments_type), 0);
}
void add_array_segments(::flatbuffers::Offset<void> array_segments) {
fbb_.AddOffset(DimensionMetadata::VT_ARRAY_SEGMENTS, array_segments);
}
void add_array_indices_type(tflite::SparseIndexVector array_indices_type) {
fbb_.AddElement<uint8_t>(DimensionMetadata::VT_ARRAY_INDICES_TYPE, static_cast<uint8_t>(array_indices_type), 0);
}
void add_array_indices(::flatbuffers::Offset<void> array_indices) {
fbb_.AddOffset(DimensionMetadata::VT_ARRAY_INDICES, array_indices);
}
explicit DimensionMetadataBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<DimensionMetadata> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<DimensionMetadata>(end);
return o;
}
};
inline ::flatbuffers::Offset<DimensionMetadata> CreateDimensionMetadata(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::DimensionType format = tflite::DimensionType_DENSE,
int32_t dense_size = 0,
tflite::SparseIndexVector array_segments_type = tflite::SparseIndexVector_NONE,
::flatbuffers::Offset<void> array_segments = 0,
tflite::SparseIndexVector array_indices_type = tflite::SparseIndexVector_NONE,
::flatbuffers::Offset<void> array_indices = 0) {
DimensionMetadataBuilder builder_(_fbb);
builder_.add_array_indices(array_indices);
builder_.add_array_segments(array_segments);
builder_.add_dense_size(dense_size);
builder_.add_array_indices_type(array_indices_type);
builder_.add_array_segments_type(array_segments_type);
builder_.add_format(format);
return builder_.Finish();
}
::flatbuffers::Offset<DimensionMetadata> CreateDimensionMetadata(::flatbuffers::FlatBufferBuilder &_fbb, const DimensionMetadataT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SparsityParametersT : public ::flatbuffers::NativeTable {
typedef SparsityParameters TableType;
std::vector<int32_t> traversal_order{};
std::vector<int32_t> block_map{};
std::vector<std::unique_ptr<tflite::DimensionMetadataT>> dim_metadata{};
SparsityParametersT() = default;
SparsityParametersT(const SparsityParametersT &o);
SparsityParametersT(SparsityParametersT&&) FLATBUFFERS_NOEXCEPT = default;
SparsityParametersT &operator=(SparsityParametersT o) FLATBUFFERS_NOEXCEPT;
};
struct SparsityParameters FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SparsityParametersT NativeTableType;
typedef SparsityParametersBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_TRAVERSAL_ORDER = 4,
VT_BLOCK_MAP = 6,
VT_DIM_METADATA = 8
};
const ::flatbuffers::Vector<int32_t> *traversal_order() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_TRAVERSAL_ORDER);
}
const ::flatbuffers::Vector<int32_t> *block_map() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_BLOCK_MAP);
}
const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::DimensionMetadata>> *dim_metadata() const {
return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::DimensionMetadata>> *>(VT_DIM_METADATA);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_TRAVERSAL_ORDER) &&
verifier.VerifyVector(traversal_order()) &&
VerifyOffset(verifier, VT_BLOCK_MAP) &&
verifier.VerifyVector(block_map()) &&
VerifyOffset(verifier, VT_DIM_METADATA) &&
verifier.VerifyVector(dim_metadata()) &&
verifier.VerifyVectorOfTables(dim_metadata()) &&
verifier.EndTable();
}
SparsityParametersT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SparsityParametersT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SparsityParameters> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SparsityParametersT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SparsityParametersBuilder {
typedef SparsityParameters Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_traversal_order(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> traversal_order) {
fbb_.AddOffset(SparsityParameters::VT_TRAVERSAL_ORDER, traversal_order);
}
void add_block_map(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> block_map) {
fbb_.AddOffset(SparsityParameters::VT_BLOCK_MAP, block_map);
}
void add_dim_metadata(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::DimensionMetadata>>> dim_metadata) {
fbb_.AddOffset(SparsityParameters::VT_DIM_METADATA, dim_metadata);
}
explicit SparsityParametersBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SparsityParameters> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SparsityParameters>(end);
return o;
}
};
inline ::flatbuffers::Offset<SparsityParameters> CreateSparsityParameters(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> traversal_order = 0,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> block_map = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::DimensionMetadata>>> dim_metadata = 0) {
SparsityParametersBuilder builder_(_fbb);
builder_.add_dim_metadata(dim_metadata);
builder_.add_block_map(block_map);
builder_.add_traversal_order(traversal_order);
return builder_.Finish();
}
inline ::flatbuffers::Offset<SparsityParameters> CreateSparsityParametersDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<int32_t> *traversal_order = nullptr,
const std::vector<int32_t> *block_map = nullptr,
const std::vector<::flatbuffers::Offset<tflite::DimensionMetadata>> *dim_metadata = nullptr) {
auto traversal_order__ = traversal_order ? _fbb.CreateVector<int32_t>(*traversal_order) : 0;
auto block_map__ = block_map ? _fbb.CreateVector<int32_t>(*block_map) : 0;
auto dim_metadata__ = dim_metadata ? _fbb.CreateVector<::flatbuffers::Offset<tflite::DimensionMetadata>>(*dim_metadata) : 0;
return tflite::CreateSparsityParameters(
_fbb,
traversal_order__,
block_map__,
dim_metadata__);
}
::flatbuffers::Offset<SparsityParameters> CreateSparsityParameters(::flatbuffers::FlatBufferBuilder &_fbb, const SparsityParametersT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct VariantSubTypeT : public ::flatbuffers::NativeTable {
typedef VariantSubType TableType;
std::vector<int32_t> shape{};
tflite::TensorType type = tflite::TensorType_FLOAT32;
bool has_rank = false;
};
struct VariantSubType FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef VariantSubTypeT NativeTableType;
typedef VariantSubTypeBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_SHAPE = 4,
VT_TYPE = 6,
VT_HAS_RANK = 8
};
const ::flatbuffers::Vector<int32_t> *shape() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_SHAPE);
}
tflite::TensorType type() const {
return static_cast<tflite::TensorType>(GetField<int8_t>(VT_TYPE, 0));
}
bool has_rank() const {
return GetField<uint8_t>(VT_HAS_RANK, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_SHAPE) &&
verifier.VerifyVector(shape()) &&
VerifyField<int8_t>(verifier, VT_TYPE, 1) &&
VerifyField<uint8_t>(verifier, VT_HAS_RANK, 1) &&
verifier.EndTable();
}
VariantSubTypeT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(VariantSubTypeT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<VariantSubType> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const VariantSubTypeT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct VariantSubTypeBuilder {
typedef VariantSubType Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_shape(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> shape) {
fbb_.AddOffset(VariantSubType::VT_SHAPE, shape);
}
void add_type(tflite::TensorType type) {
fbb_.AddElement<int8_t>(VariantSubType::VT_TYPE, static_cast<int8_t>(type), 0);
}
void add_has_rank(bool has_rank) {
fbb_.AddElement<uint8_t>(VariantSubType::VT_HAS_RANK, static_cast<uint8_t>(has_rank), 0);
}
explicit VariantSubTypeBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<VariantSubType> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<VariantSubType>(end);
return o;
}
};
inline ::flatbuffers::Offset<VariantSubType> CreateVariantSubType(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> shape = 0,
tflite::TensorType type = tflite::TensorType_FLOAT32,
bool has_rank = false) {
VariantSubTypeBuilder builder_(_fbb);
builder_.add_shape(shape);
builder_.add_has_rank(has_rank);
builder_.add_type(type);
return builder_.Finish();
}
inline ::flatbuffers::Offset<VariantSubType> CreateVariantSubTypeDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<int32_t> *shape = nullptr,
tflite::TensorType type = tflite::TensorType_FLOAT32,
bool has_rank = false) {
auto shape__ = shape ? _fbb.CreateVector<int32_t>(*shape) : 0;
return tflite::CreateVariantSubType(
_fbb,
shape__,
type,
has_rank);
}
::flatbuffers::Offset<VariantSubType> CreateVariantSubType(::flatbuffers::FlatBufferBuilder &_fbb, const VariantSubTypeT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct TensorT : public ::flatbuffers::NativeTable {
typedef Tensor TableType;
std::vector<int32_t> shape{};
tflite::TensorType type = tflite::TensorType_FLOAT32;
uint32_t buffer = 0;
std::string name{};
std::unique_ptr<tflite::QuantizationParametersT> quantization{};
bool is_variable = false;
std::unique_ptr<tflite::SparsityParametersT> sparsity{};
std::vector<int32_t> shape_signature{};
bool has_rank = false;
std::vector<std::unique_ptr<tflite::VariantSubTypeT>> variant_tensors{};
TensorT() = default;
TensorT(const TensorT &o);
TensorT(TensorT&&) FLATBUFFERS_NOEXCEPT = default;
TensorT &operator=(TensorT o) FLATBUFFERS_NOEXCEPT;
};
struct Tensor FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef TensorT NativeTableType;
typedef TensorBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_SHAPE = 4,
VT_TYPE = 6,
VT_BUFFER = 8,
VT_NAME = 10,
VT_QUANTIZATION = 12,
VT_IS_VARIABLE = 14,
VT_SPARSITY = 16,
VT_SHAPE_SIGNATURE = 18,
VT_HAS_RANK = 20,
VT_VARIANT_TENSORS = 22
};
const ::flatbuffers::Vector<int32_t> *shape() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_SHAPE);
}
tflite::TensorType type() const {
return static_cast<tflite::TensorType>(GetField<int8_t>(VT_TYPE, 0));
}
uint32_t buffer() const {
return GetField<uint32_t>(VT_BUFFER, 0);
}
const ::flatbuffers::String *name() const {
return GetPointer<const ::flatbuffers::String *>(VT_NAME);
}
const tflite::QuantizationParameters *quantization() const {
return GetPointer<const tflite::QuantizationParameters *>(VT_QUANTIZATION);
}
bool is_variable() const {
return GetField<uint8_t>(VT_IS_VARIABLE, 0) != 0;
}
const tflite::SparsityParameters *sparsity() const {
return GetPointer<const tflite::SparsityParameters *>(VT_SPARSITY);
}
const ::flatbuffers::Vector<int32_t> *shape_signature() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_SHAPE_SIGNATURE);
}
bool has_rank() const {
return GetField<uint8_t>(VT_HAS_RANK, 0) != 0;
}
const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::VariantSubType>> *variant_tensors() const {
return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::VariantSubType>> *>(VT_VARIANT_TENSORS);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_SHAPE) &&
verifier.VerifyVector(shape()) &&
VerifyField<int8_t>(verifier, VT_TYPE, 1) &&
VerifyField<uint32_t>(verifier, VT_BUFFER, 4) &&
VerifyOffset(verifier, VT_NAME) &&
verifier.VerifyString(name()) &&
VerifyOffset(verifier, VT_QUANTIZATION) &&
verifier.VerifyTable(quantization()) &&
VerifyField<uint8_t>(verifier, VT_IS_VARIABLE, 1) &&
VerifyOffset(verifier, VT_SPARSITY) &&
verifier.VerifyTable(sparsity()) &&
VerifyOffset(verifier, VT_SHAPE_SIGNATURE) &&
verifier.VerifyVector(shape_signature()) &&
VerifyField<uint8_t>(verifier, VT_HAS_RANK, 1) &&
VerifyOffset(verifier, VT_VARIANT_TENSORS) &&
verifier.VerifyVector(variant_tensors()) &&
verifier.VerifyVectorOfTables(variant_tensors()) &&
verifier.EndTable();
}
TensorT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(TensorT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<Tensor> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const TensorT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct TensorBuilder {
typedef Tensor Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_shape(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> shape) {
fbb_.AddOffset(Tensor::VT_SHAPE, shape);
}
void add_type(tflite::TensorType type) {
fbb_.AddElement<int8_t>(Tensor::VT_TYPE, static_cast<int8_t>(type), 0);
}
void add_buffer(uint32_t buffer) {
fbb_.AddElement<uint32_t>(Tensor::VT_BUFFER, buffer, 0);
}
void add_name(::flatbuffers::Offset<::flatbuffers::String> name) {
fbb_.AddOffset(Tensor::VT_NAME, name);
}
void add_quantization(::flatbuffers::Offset<tflite::QuantizationParameters> quantization) {
fbb_.AddOffset(Tensor::VT_QUANTIZATION, quantization);
}
void add_is_variable(bool is_variable) {
fbb_.AddElement<uint8_t>(Tensor::VT_IS_VARIABLE, static_cast<uint8_t>(is_variable), 0);
}
void add_sparsity(::flatbuffers::Offset<tflite::SparsityParameters> sparsity) {
fbb_.AddOffset(Tensor::VT_SPARSITY, sparsity);
}
void add_shape_signature(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> shape_signature) {
fbb_.AddOffset(Tensor::VT_SHAPE_SIGNATURE, shape_signature);
}
void add_has_rank(bool has_rank) {
fbb_.AddElement<uint8_t>(Tensor::VT_HAS_RANK, static_cast<uint8_t>(has_rank), 0);
}
void add_variant_tensors(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::VariantSubType>>> variant_tensors) {
fbb_.AddOffset(Tensor::VT_VARIANT_TENSORS, variant_tensors);
}
explicit TensorBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<Tensor> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<Tensor>(end);
return o;
}
};
inline ::flatbuffers::Offset<Tensor> CreateTensor(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> shape = 0,
tflite::TensorType type = tflite::TensorType_FLOAT32,
uint32_t buffer = 0,
::flatbuffers::Offset<::flatbuffers::String> name = 0,
::flatbuffers::Offset<tflite::QuantizationParameters> quantization = 0,
bool is_variable = false,
::flatbuffers::Offset<tflite::SparsityParameters> sparsity = 0,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> shape_signature = 0,
bool has_rank = false,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::VariantSubType>>> variant_tensors = 0) {
TensorBuilder builder_(_fbb);
builder_.add_variant_tensors(variant_tensors);
builder_.add_shape_signature(shape_signature);
builder_.add_sparsity(sparsity);
builder_.add_quantization(quantization);
builder_.add_name(name);
builder_.add_buffer(buffer);
builder_.add_shape(shape);
builder_.add_has_rank(has_rank);
builder_.add_is_variable(is_variable);
builder_.add_type(type);
return builder_.Finish();
}
inline ::flatbuffers::Offset<Tensor> CreateTensorDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<int32_t> *shape = nullptr,
tflite::TensorType type = tflite::TensorType_FLOAT32,
uint32_t buffer = 0,
const char *name = nullptr,
::flatbuffers::Offset<tflite::QuantizationParameters> quantization = 0,
bool is_variable = false,
::flatbuffers::Offset<tflite::SparsityParameters> sparsity = 0,
const std::vector<int32_t> *shape_signature = nullptr,
bool has_rank = false,
const std::vector<::flatbuffers::Offset<tflite::VariantSubType>> *variant_tensors = nullptr) {
auto shape__ = shape ? _fbb.CreateVector<int32_t>(*shape) : 0;
auto name__ = name ? _fbb.CreateString(name) : 0;
auto shape_signature__ = shape_signature ? _fbb.CreateVector<int32_t>(*shape_signature) : 0;
auto variant_tensors__ = variant_tensors ? _fbb.CreateVector<::flatbuffers::Offset<tflite::VariantSubType>>(*variant_tensors) : 0;
return tflite::CreateTensor(
_fbb,
shape__,
type,
buffer,
name__,
quantization,
is_variable,
sparsity,
shape_signature__,
has_rank,
variant_tensors__);
}
::flatbuffers::Offset<Tensor> CreateTensor(::flatbuffers::FlatBufferBuilder &_fbb, const TensorT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct Conv2DOptionsT : public ::flatbuffers::NativeTable {
typedef Conv2DOptions TableType;
tflite::Padding padding = tflite::Padding_SAME;
int32_t stride_w = 0;
int32_t stride_h = 0;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
int32_t dilation_w_factor = 1;
int32_t dilation_h_factor = 1;
};
struct Conv2DOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef Conv2DOptionsT NativeTableType;
typedef Conv2DOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_PADDING = 4,
VT_STRIDE_W = 6,
VT_STRIDE_H = 8,
VT_FUSED_ACTIVATION_FUNCTION = 10,
VT_DILATION_W_FACTOR = 12,
VT_DILATION_H_FACTOR = 14
};
tflite::Padding padding() const {
return static_cast<tflite::Padding>(GetField<int8_t>(VT_PADDING, 0));
}
int32_t stride_w() const {
return GetField<int32_t>(VT_STRIDE_W, 0);
}
int32_t stride_h() const {
return GetField<int32_t>(VT_STRIDE_H, 0);
}
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
int32_t dilation_w_factor() const {
return GetField<int32_t>(VT_DILATION_W_FACTOR, 1);
}
int32_t dilation_h_factor() const {
return GetField<int32_t>(VT_DILATION_H_FACTOR, 1);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_PADDING, 1) &&
VerifyField<int32_t>(verifier, VT_STRIDE_W, 4) &&
VerifyField<int32_t>(verifier, VT_STRIDE_H, 4) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<int32_t>(verifier, VT_DILATION_W_FACTOR, 4) &&
VerifyField<int32_t>(verifier, VT_DILATION_H_FACTOR, 4) &&
verifier.EndTable();
}
Conv2DOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(Conv2DOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<Conv2DOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Conv2DOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct Conv2DOptionsBuilder {
typedef Conv2DOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_padding(tflite::Padding padding) {
fbb_.AddElement<int8_t>(Conv2DOptions::VT_PADDING, static_cast<int8_t>(padding), 0);
}
void add_stride_w(int32_t stride_w) {
fbb_.AddElement<int32_t>(Conv2DOptions::VT_STRIDE_W, stride_w, 0);
}
void add_stride_h(int32_t stride_h) {
fbb_.AddElement<int32_t>(Conv2DOptions::VT_STRIDE_H, stride_h, 0);
}
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(Conv2DOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_dilation_w_factor(int32_t dilation_w_factor) {
fbb_.AddElement<int32_t>(Conv2DOptions::VT_DILATION_W_FACTOR, dilation_w_factor, 1);
}
void add_dilation_h_factor(int32_t dilation_h_factor) {
fbb_.AddElement<int32_t>(Conv2DOptions::VT_DILATION_H_FACTOR, dilation_h_factor, 1);
}
explicit Conv2DOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<Conv2DOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<Conv2DOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<Conv2DOptions> CreateConv2DOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::Padding padding = tflite::Padding_SAME,
int32_t stride_w = 0,
int32_t stride_h = 0,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
int32_t dilation_w_factor = 1,
int32_t dilation_h_factor = 1) {
Conv2DOptionsBuilder builder_(_fbb);
builder_.add_dilation_h_factor(dilation_h_factor);
builder_.add_dilation_w_factor(dilation_w_factor);
builder_.add_stride_h(stride_h);
builder_.add_stride_w(stride_w);
builder_.add_fused_activation_function(fused_activation_function);
builder_.add_padding(padding);
return builder_.Finish();
}
::flatbuffers::Offset<Conv2DOptions> CreateConv2DOptions(::flatbuffers::FlatBufferBuilder &_fbb, const Conv2DOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct Conv3DOptionsT : public ::flatbuffers::NativeTable {
typedef Conv3DOptions TableType;
tflite::Padding padding = tflite::Padding_SAME;
int32_t stride_d = 0;
int32_t stride_w = 0;
int32_t stride_h = 0;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
int32_t dilation_d_factor = 1;
int32_t dilation_w_factor = 1;
int32_t dilation_h_factor = 1;
};
struct Conv3DOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef Conv3DOptionsT NativeTableType;
typedef Conv3DOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_PADDING = 4,
VT_STRIDE_D = 6,
VT_STRIDE_W = 8,
VT_STRIDE_H = 10,
VT_FUSED_ACTIVATION_FUNCTION = 12,
VT_DILATION_D_FACTOR = 14,
VT_DILATION_W_FACTOR = 16,
VT_DILATION_H_FACTOR = 18
};
tflite::Padding padding() const {
return static_cast<tflite::Padding>(GetField<int8_t>(VT_PADDING, 0));
}
int32_t stride_d() const {
return GetField<int32_t>(VT_STRIDE_D, 0);
}
int32_t stride_w() const {
return GetField<int32_t>(VT_STRIDE_W, 0);
}
int32_t stride_h() const {
return GetField<int32_t>(VT_STRIDE_H, 0);
}
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
int32_t dilation_d_factor() const {
return GetField<int32_t>(VT_DILATION_D_FACTOR, 1);
}
int32_t dilation_w_factor() const {
return GetField<int32_t>(VT_DILATION_W_FACTOR, 1);
}
int32_t dilation_h_factor() const {
return GetField<int32_t>(VT_DILATION_H_FACTOR, 1);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_PADDING, 1) &&
VerifyField<int32_t>(verifier, VT_STRIDE_D, 4) &&
VerifyField<int32_t>(verifier, VT_STRIDE_W, 4) &&
VerifyField<int32_t>(verifier, VT_STRIDE_H, 4) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<int32_t>(verifier, VT_DILATION_D_FACTOR, 4) &&
VerifyField<int32_t>(verifier, VT_DILATION_W_FACTOR, 4) &&
VerifyField<int32_t>(verifier, VT_DILATION_H_FACTOR, 4) &&
verifier.EndTable();
}
Conv3DOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(Conv3DOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<Conv3DOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Conv3DOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct Conv3DOptionsBuilder {
typedef Conv3DOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_padding(tflite::Padding padding) {
fbb_.AddElement<int8_t>(Conv3DOptions::VT_PADDING, static_cast<int8_t>(padding), 0);
}
void add_stride_d(int32_t stride_d) {
fbb_.AddElement<int32_t>(Conv3DOptions::VT_STRIDE_D, stride_d, 0);
}
void add_stride_w(int32_t stride_w) {
fbb_.AddElement<int32_t>(Conv3DOptions::VT_STRIDE_W, stride_w, 0);
}
void add_stride_h(int32_t stride_h) {
fbb_.AddElement<int32_t>(Conv3DOptions::VT_STRIDE_H, stride_h, 0);
}
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(Conv3DOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_dilation_d_factor(int32_t dilation_d_factor) {
fbb_.AddElement<int32_t>(Conv3DOptions::VT_DILATION_D_FACTOR, dilation_d_factor, 1);
}
void add_dilation_w_factor(int32_t dilation_w_factor) {
fbb_.AddElement<int32_t>(Conv3DOptions::VT_DILATION_W_FACTOR, dilation_w_factor, 1);
}
void add_dilation_h_factor(int32_t dilation_h_factor) {
fbb_.AddElement<int32_t>(Conv3DOptions::VT_DILATION_H_FACTOR, dilation_h_factor, 1);
}
explicit Conv3DOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<Conv3DOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<Conv3DOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<Conv3DOptions> CreateConv3DOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::Padding padding = tflite::Padding_SAME,
int32_t stride_d = 0,
int32_t stride_w = 0,
int32_t stride_h = 0,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
int32_t dilation_d_factor = 1,
int32_t dilation_w_factor = 1,
int32_t dilation_h_factor = 1) {
Conv3DOptionsBuilder builder_(_fbb);
builder_.add_dilation_h_factor(dilation_h_factor);
builder_.add_dilation_w_factor(dilation_w_factor);
builder_.add_dilation_d_factor(dilation_d_factor);
builder_.add_stride_h(stride_h);
builder_.add_stride_w(stride_w);
builder_.add_stride_d(stride_d);
builder_.add_fused_activation_function(fused_activation_function);
builder_.add_padding(padding);
return builder_.Finish();
}
::flatbuffers::Offset<Conv3DOptions> CreateConv3DOptions(::flatbuffers::FlatBufferBuilder &_fbb, const Conv3DOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct Pool2DOptionsT : public ::flatbuffers::NativeTable {
typedef Pool2DOptions TableType;
tflite::Padding padding = tflite::Padding_SAME;
int32_t stride_w = 0;
int32_t stride_h = 0;
int32_t filter_width = 0;
int32_t filter_height = 0;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
};
struct Pool2DOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef Pool2DOptionsT NativeTableType;
typedef Pool2DOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_PADDING = 4,
VT_STRIDE_W = 6,
VT_STRIDE_H = 8,
VT_FILTER_WIDTH = 10,
VT_FILTER_HEIGHT = 12,
VT_FUSED_ACTIVATION_FUNCTION = 14
};
tflite::Padding padding() const {
return static_cast<tflite::Padding>(GetField<int8_t>(VT_PADDING, 0));
}
int32_t stride_w() const {
return GetField<int32_t>(VT_STRIDE_W, 0);
}
int32_t stride_h() const {
return GetField<int32_t>(VT_STRIDE_H, 0);
}
int32_t filter_width() const {
return GetField<int32_t>(VT_FILTER_WIDTH, 0);
}
int32_t filter_height() const {
return GetField<int32_t>(VT_FILTER_HEIGHT, 0);
}
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_PADDING, 1) &&
VerifyField<int32_t>(verifier, VT_STRIDE_W, 4) &&
VerifyField<int32_t>(verifier, VT_STRIDE_H, 4) &&
VerifyField<int32_t>(verifier, VT_FILTER_WIDTH, 4) &&
VerifyField<int32_t>(verifier, VT_FILTER_HEIGHT, 4) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
verifier.EndTable();
}
Pool2DOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(Pool2DOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<Pool2DOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Pool2DOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct Pool2DOptionsBuilder {
typedef Pool2DOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_padding(tflite::Padding padding) {
fbb_.AddElement<int8_t>(Pool2DOptions::VT_PADDING, static_cast<int8_t>(padding), 0);
}
void add_stride_w(int32_t stride_w) {
fbb_.AddElement<int32_t>(Pool2DOptions::VT_STRIDE_W, stride_w, 0);
}
void add_stride_h(int32_t stride_h) {
fbb_.AddElement<int32_t>(Pool2DOptions::VT_STRIDE_H, stride_h, 0);
}
void add_filter_width(int32_t filter_width) {
fbb_.AddElement<int32_t>(Pool2DOptions::VT_FILTER_WIDTH, filter_width, 0);
}
void add_filter_height(int32_t filter_height) {
fbb_.AddElement<int32_t>(Pool2DOptions::VT_FILTER_HEIGHT, filter_height, 0);
}
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(Pool2DOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
explicit Pool2DOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<Pool2DOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<Pool2DOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<Pool2DOptions> CreatePool2DOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::Padding padding = tflite::Padding_SAME,
int32_t stride_w = 0,
int32_t stride_h = 0,
int32_t filter_width = 0,
int32_t filter_height = 0,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE) {
Pool2DOptionsBuilder builder_(_fbb);
builder_.add_filter_height(filter_height);
builder_.add_filter_width(filter_width);
builder_.add_stride_h(stride_h);
builder_.add_stride_w(stride_w);
builder_.add_fused_activation_function(fused_activation_function);
builder_.add_padding(padding);
return builder_.Finish();
}
::flatbuffers::Offset<Pool2DOptions> CreatePool2DOptions(::flatbuffers::FlatBufferBuilder &_fbb, const Pool2DOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct DepthwiseConv2DOptionsT : public ::flatbuffers::NativeTable {
typedef DepthwiseConv2DOptions TableType;
tflite::Padding padding = tflite::Padding_SAME;
int32_t stride_w = 0;
int32_t stride_h = 0;
int32_t depth_multiplier = 0;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
int32_t dilation_w_factor = 1;
int32_t dilation_h_factor = 1;
};
struct DepthwiseConv2DOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef DepthwiseConv2DOptionsT NativeTableType;
typedef DepthwiseConv2DOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_PADDING = 4,
VT_STRIDE_W = 6,
VT_STRIDE_H = 8,
VT_DEPTH_MULTIPLIER = 10,
VT_FUSED_ACTIVATION_FUNCTION = 12,
VT_DILATION_W_FACTOR = 14,
VT_DILATION_H_FACTOR = 16
};
tflite::Padding padding() const {
return static_cast<tflite::Padding>(GetField<int8_t>(VT_PADDING, 0));
}
int32_t stride_w() const {
return GetField<int32_t>(VT_STRIDE_W, 0);
}
int32_t stride_h() const {
return GetField<int32_t>(VT_STRIDE_H, 0);
}
int32_t depth_multiplier() const {
return GetField<int32_t>(VT_DEPTH_MULTIPLIER, 0);
}
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
int32_t dilation_w_factor() const {
return GetField<int32_t>(VT_DILATION_W_FACTOR, 1);
}
int32_t dilation_h_factor() const {
return GetField<int32_t>(VT_DILATION_H_FACTOR, 1);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_PADDING, 1) &&
VerifyField<int32_t>(verifier, VT_STRIDE_W, 4) &&
VerifyField<int32_t>(verifier, VT_STRIDE_H, 4) &&
VerifyField<int32_t>(verifier, VT_DEPTH_MULTIPLIER, 4) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<int32_t>(verifier, VT_DILATION_W_FACTOR, 4) &&
VerifyField<int32_t>(verifier, VT_DILATION_H_FACTOR, 4) &&
verifier.EndTable();
}
DepthwiseConv2DOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(DepthwiseConv2DOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<DepthwiseConv2DOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DepthwiseConv2DOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct DepthwiseConv2DOptionsBuilder {
typedef DepthwiseConv2DOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_padding(tflite::Padding padding) {
fbb_.AddElement<int8_t>(DepthwiseConv2DOptions::VT_PADDING, static_cast<int8_t>(padding), 0);
}
void add_stride_w(int32_t stride_w) {
fbb_.AddElement<int32_t>(DepthwiseConv2DOptions::VT_STRIDE_W, stride_w, 0);
}
void add_stride_h(int32_t stride_h) {
fbb_.AddElement<int32_t>(DepthwiseConv2DOptions::VT_STRIDE_H, stride_h, 0);
}
void add_depth_multiplier(int32_t depth_multiplier) {
fbb_.AddElement<int32_t>(DepthwiseConv2DOptions::VT_DEPTH_MULTIPLIER, depth_multiplier, 0);
}
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(DepthwiseConv2DOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_dilation_w_factor(int32_t dilation_w_factor) {
fbb_.AddElement<int32_t>(DepthwiseConv2DOptions::VT_DILATION_W_FACTOR, dilation_w_factor, 1);
}
void add_dilation_h_factor(int32_t dilation_h_factor) {
fbb_.AddElement<int32_t>(DepthwiseConv2DOptions::VT_DILATION_H_FACTOR, dilation_h_factor, 1);
}
explicit DepthwiseConv2DOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<DepthwiseConv2DOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<DepthwiseConv2DOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<DepthwiseConv2DOptions> CreateDepthwiseConv2DOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::Padding padding = tflite::Padding_SAME,
int32_t stride_w = 0,
int32_t stride_h = 0,
int32_t depth_multiplier = 0,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
int32_t dilation_w_factor = 1,
int32_t dilation_h_factor = 1) {
DepthwiseConv2DOptionsBuilder builder_(_fbb);
builder_.add_dilation_h_factor(dilation_h_factor);
builder_.add_dilation_w_factor(dilation_w_factor);
builder_.add_depth_multiplier(depth_multiplier);
builder_.add_stride_h(stride_h);
builder_.add_stride_w(stride_w);
builder_.add_fused_activation_function(fused_activation_function);
builder_.add_padding(padding);
return builder_.Finish();
}
::flatbuffers::Offset<DepthwiseConv2DOptions> CreateDepthwiseConv2DOptions(::flatbuffers::FlatBufferBuilder &_fbb, const DepthwiseConv2DOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ConcatEmbeddingsOptionsT : public ::flatbuffers::NativeTable {
typedef ConcatEmbeddingsOptions TableType;
int32_t num_channels = 0;
std::vector<int32_t> num_columns_per_channel{};
std::vector<int32_t> embedding_dim_per_channel{};
};
struct ConcatEmbeddingsOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ConcatEmbeddingsOptionsT NativeTableType;
typedef ConcatEmbeddingsOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_NUM_CHANNELS = 4,
VT_NUM_COLUMNS_PER_CHANNEL = 6,
VT_EMBEDDING_DIM_PER_CHANNEL = 8
};
int32_t num_channels() const {
return GetField<int32_t>(VT_NUM_CHANNELS, 0);
}
const ::flatbuffers::Vector<int32_t> *num_columns_per_channel() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_NUM_COLUMNS_PER_CHANNEL);
}
const ::flatbuffers::Vector<int32_t> *embedding_dim_per_channel() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_EMBEDDING_DIM_PER_CHANNEL);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_NUM_CHANNELS, 4) &&
VerifyOffset(verifier, VT_NUM_COLUMNS_PER_CHANNEL) &&
verifier.VerifyVector(num_columns_per_channel()) &&
VerifyOffset(verifier, VT_EMBEDDING_DIM_PER_CHANNEL) &&
verifier.VerifyVector(embedding_dim_per_channel()) &&
verifier.EndTable();
}
ConcatEmbeddingsOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ConcatEmbeddingsOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ConcatEmbeddingsOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ConcatEmbeddingsOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ConcatEmbeddingsOptionsBuilder {
typedef ConcatEmbeddingsOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_num_channels(int32_t num_channels) {
fbb_.AddElement<int32_t>(ConcatEmbeddingsOptions::VT_NUM_CHANNELS, num_channels, 0);
}
void add_num_columns_per_channel(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> num_columns_per_channel) {
fbb_.AddOffset(ConcatEmbeddingsOptions::VT_NUM_COLUMNS_PER_CHANNEL, num_columns_per_channel);
}
void add_embedding_dim_per_channel(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> embedding_dim_per_channel) {
fbb_.AddOffset(ConcatEmbeddingsOptions::VT_EMBEDDING_DIM_PER_CHANNEL, embedding_dim_per_channel);
}
explicit ConcatEmbeddingsOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ConcatEmbeddingsOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ConcatEmbeddingsOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ConcatEmbeddingsOptions> CreateConcatEmbeddingsOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t num_channels = 0,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> num_columns_per_channel = 0,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> embedding_dim_per_channel = 0) {
ConcatEmbeddingsOptionsBuilder builder_(_fbb);
builder_.add_embedding_dim_per_channel(embedding_dim_per_channel);
builder_.add_num_columns_per_channel(num_columns_per_channel);
builder_.add_num_channels(num_channels);
return builder_.Finish();
}
inline ::flatbuffers::Offset<ConcatEmbeddingsOptions> CreateConcatEmbeddingsOptionsDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t num_channels = 0,
const std::vector<int32_t> *num_columns_per_channel = nullptr,
const std::vector<int32_t> *embedding_dim_per_channel = nullptr) {
auto num_columns_per_channel__ = num_columns_per_channel ? _fbb.CreateVector<int32_t>(*num_columns_per_channel) : 0;
auto embedding_dim_per_channel__ = embedding_dim_per_channel ? _fbb.CreateVector<int32_t>(*embedding_dim_per_channel) : 0;
return tflite::CreateConcatEmbeddingsOptions(
_fbb,
num_channels,
num_columns_per_channel__,
embedding_dim_per_channel__);
}
::flatbuffers::Offset<ConcatEmbeddingsOptions> CreateConcatEmbeddingsOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ConcatEmbeddingsOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct LSHProjectionOptionsT : public ::flatbuffers::NativeTable {
typedef LSHProjectionOptions TableType;
tflite::LSHProjectionType type = tflite::LSHProjectionType_UNKNOWN;
};
struct LSHProjectionOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef LSHProjectionOptionsT NativeTableType;
typedef LSHProjectionOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_TYPE = 4
};
tflite::LSHProjectionType type() const {
return static_cast<tflite::LSHProjectionType>(GetField<int8_t>(VT_TYPE, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_TYPE, 1) &&
verifier.EndTable();
}
LSHProjectionOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(LSHProjectionOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<LSHProjectionOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LSHProjectionOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct LSHProjectionOptionsBuilder {
typedef LSHProjectionOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_type(tflite::LSHProjectionType type) {
fbb_.AddElement<int8_t>(LSHProjectionOptions::VT_TYPE, static_cast<int8_t>(type), 0);
}
explicit LSHProjectionOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<LSHProjectionOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<LSHProjectionOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<LSHProjectionOptions> CreateLSHProjectionOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::LSHProjectionType type = tflite::LSHProjectionType_UNKNOWN) {
LSHProjectionOptionsBuilder builder_(_fbb);
builder_.add_type(type);
return builder_.Finish();
}
::flatbuffers::Offset<LSHProjectionOptions> CreateLSHProjectionOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LSHProjectionOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SVDFOptionsT : public ::flatbuffers::NativeTable {
typedef SVDFOptions TableType;
int32_t rank = 0;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
bool asymmetric_quantize_inputs = false;
};
struct SVDFOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SVDFOptionsT NativeTableType;
typedef SVDFOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_RANK = 4,
VT_FUSED_ACTIVATION_FUNCTION = 6,
VT_ASYMMETRIC_QUANTIZE_INPUTS = 8
};
int32_t rank() const {
return GetField<int32_t>(VT_RANK, 0);
}
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
bool asymmetric_quantize_inputs() const {
return GetField<uint8_t>(VT_ASYMMETRIC_QUANTIZE_INPUTS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_RANK, 4) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<uint8_t>(verifier, VT_ASYMMETRIC_QUANTIZE_INPUTS, 1) &&
verifier.EndTable();
}
SVDFOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SVDFOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SVDFOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SVDFOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SVDFOptionsBuilder {
typedef SVDFOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_rank(int32_t rank) {
fbb_.AddElement<int32_t>(SVDFOptions::VT_RANK, rank, 0);
}
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(SVDFOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_asymmetric_quantize_inputs(bool asymmetric_quantize_inputs) {
fbb_.AddElement<uint8_t>(SVDFOptions::VT_ASYMMETRIC_QUANTIZE_INPUTS, static_cast<uint8_t>(asymmetric_quantize_inputs), 0);
}
explicit SVDFOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SVDFOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SVDFOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SVDFOptions> CreateSVDFOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t rank = 0,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
bool asymmetric_quantize_inputs = false) {
SVDFOptionsBuilder builder_(_fbb);
builder_.add_rank(rank);
builder_.add_asymmetric_quantize_inputs(asymmetric_quantize_inputs);
builder_.add_fused_activation_function(fused_activation_function);
return builder_.Finish();
}
::flatbuffers::Offset<SVDFOptions> CreateSVDFOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SVDFOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct RNNOptionsT : public ::flatbuffers::NativeTable {
typedef RNNOptions TableType;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
bool asymmetric_quantize_inputs = false;
};
struct RNNOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef RNNOptionsT NativeTableType;
typedef RNNOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_FUSED_ACTIVATION_FUNCTION = 4,
VT_ASYMMETRIC_QUANTIZE_INPUTS = 6
};
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
bool asymmetric_quantize_inputs() const {
return GetField<uint8_t>(VT_ASYMMETRIC_QUANTIZE_INPUTS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<uint8_t>(verifier, VT_ASYMMETRIC_QUANTIZE_INPUTS, 1) &&
verifier.EndTable();
}
RNNOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(RNNOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<RNNOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const RNNOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct RNNOptionsBuilder {
typedef RNNOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(RNNOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_asymmetric_quantize_inputs(bool asymmetric_quantize_inputs) {
fbb_.AddElement<uint8_t>(RNNOptions::VT_ASYMMETRIC_QUANTIZE_INPUTS, static_cast<uint8_t>(asymmetric_quantize_inputs), 0);
}
explicit RNNOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<RNNOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<RNNOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<RNNOptions> CreateRNNOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
bool asymmetric_quantize_inputs = false) {
RNNOptionsBuilder builder_(_fbb);
builder_.add_asymmetric_quantize_inputs(asymmetric_quantize_inputs);
builder_.add_fused_activation_function(fused_activation_function);
return builder_.Finish();
}
::flatbuffers::Offset<RNNOptions> CreateRNNOptions(::flatbuffers::FlatBufferBuilder &_fbb, const RNNOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SequenceRNNOptionsT : public ::flatbuffers::NativeTable {
typedef SequenceRNNOptions TableType;
bool time_major = false;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
bool asymmetric_quantize_inputs = false;
};
struct SequenceRNNOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SequenceRNNOptionsT NativeTableType;
typedef SequenceRNNOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_TIME_MAJOR = 4,
VT_FUSED_ACTIVATION_FUNCTION = 6,
VT_ASYMMETRIC_QUANTIZE_INPUTS = 8
};
bool time_major() const {
return GetField<uint8_t>(VT_TIME_MAJOR, 0) != 0;
}
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
bool asymmetric_quantize_inputs() const {
return GetField<uint8_t>(VT_ASYMMETRIC_QUANTIZE_INPUTS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<uint8_t>(verifier, VT_TIME_MAJOR, 1) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<uint8_t>(verifier, VT_ASYMMETRIC_QUANTIZE_INPUTS, 1) &&
verifier.EndTable();
}
SequenceRNNOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SequenceRNNOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SequenceRNNOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SequenceRNNOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SequenceRNNOptionsBuilder {
typedef SequenceRNNOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_time_major(bool time_major) {
fbb_.AddElement<uint8_t>(SequenceRNNOptions::VT_TIME_MAJOR, static_cast<uint8_t>(time_major), 0);
}
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(SequenceRNNOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_asymmetric_quantize_inputs(bool asymmetric_quantize_inputs) {
fbb_.AddElement<uint8_t>(SequenceRNNOptions::VT_ASYMMETRIC_QUANTIZE_INPUTS, static_cast<uint8_t>(asymmetric_quantize_inputs), 0);
}
explicit SequenceRNNOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SequenceRNNOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SequenceRNNOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SequenceRNNOptions> CreateSequenceRNNOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
bool time_major = false,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
bool asymmetric_quantize_inputs = false) {
SequenceRNNOptionsBuilder builder_(_fbb);
builder_.add_asymmetric_quantize_inputs(asymmetric_quantize_inputs);
builder_.add_fused_activation_function(fused_activation_function);
builder_.add_time_major(time_major);
return builder_.Finish();
}
::flatbuffers::Offset<SequenceRNNOptions> CreateSequenceRNNOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SequenceRNNOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct BidirectionalSequenceRNNOptionsT : public ::flatbuffers::NativeTable {
typedef BidirectionalSequenceRNNOptions TableType;
bool time_major = false;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
bool merge_outputs = false;
bool asymmetric_quantize_inputs = false;
};
struct BidirectionalSequenceRNNOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef BidirectionalSequenceRNNOptionsT NativeTableType;
typedef BidirectionalSequenceRNNOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_TIME_MAJOR = 4,
VT_FUSED_ACTIVATION_FUNCTION = 6,
VT_MERGE_OUTPUTS = 8,
VT_ASYMMETRIC_QUANTIZE_INPUTS = 10
};
bool time_major() const {
return GetField<uint8_t>(VT_TIME_MAJOR, 0) != 0;
}
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
bool merge_outputs() const {
return GetField<uint8_t>(VT_MERGE_OUTPUTS, 0) != 0;
}
bool asymmetric_quantize_inputs() const {
return GetField<uint8_t>(VT_ASYMMETRIC_QUANTIZE_INPUTS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<uint8_t>(verifier, VT_TIME_MAJOR, 1) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<uint8_t>(verifier, VT_MERGE_OUTPUTS, 1) &&
VerifyField<uint8_t>(verifier, VT_ASYMMETRIC_QUANTIZE_INPUTS, 1) &&
verifier.EndTable();
}
BidirectionalSequenceRNNOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(BidirectionalSequenceRNNOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<BidirectionalSequenceRNNOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BidirectionalSequenceRNNOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct BidirectionalSequenceRNNOptionsBuilder {
typedef BidirectionalSequenceRNNOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_time_major(bool time_major) {
fbb_.AddElement<uint8_t>(BidirectionalSequenceRNNOptions::VT_TIME_MAJOR, static_cast<uint8_t>(time_major), 0);
}
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(BidirectionalSequenceRNNOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_merge_outputs(bool merge_outputs) {
fbb_.AddElement<uint8_t>(BidirectionalSequenceRNNOptions::VT_MERGE_OUTPUTS, static_cast<uint8_t>(merge_outputs), 0);
}
void add_asymmetric_quantize_inputs(bool asymmetric_quantize_inputs) {
fbb_.AddElement<uint8_t>(BidirectionalSequenceRNNOptions::VT_ASYMMETRIC_QUANTIZE_INPUTS, static_cast<uint8_t>(asymmetric_quantize_inputs), 0);
}
explicit BidirectionalSequenceRNNOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<BidirectionalSequenceRNNOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<BidirectionalSequenceRNNOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<BidirectionalSequenceRNNOptions> CreateBidirectionalSequenceRNNOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
bool time_major = false,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
bool merge_outputs = false,
bool asymmetric_quantize_inputs = false) {
BidirectionalSequenceRNNOptionsBuilder builder_(_fbb);
builder_.add_asymmetric_quantize_inputs(asymmetric_quantize_inputs);
builder_.add_merge_outputs(merge_outputs);
builder_.add_fused_activation_function(fused_activation_function);
builder_.add_time_major(time_major);
return builder_.Finish();
}
::flatbuffers::Offset<BidirectionalSequenceRNNOptions> CreateBidirectionalSequenceRNNOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BidirectionalSequenceRNNOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct FullyConnectedOptionsT : public ::flatbuffers::NativeTable {
typedef FullyConnectedOptions TableType;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
tflite::FullyConnectedOptionsWeightsFormat weights_format = tflite::FullyConnectedOptionsWeightsFormat_DEFAULT;
bool keep_num_dims = false;
bool asymmetric_quantize_inputs = false;
};
struct FullyConnectedOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef FullyConnectedOptionsT NativeTableType;
typedef FullyConnectedOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_FUSED_ACTIVATION_FUNCTION = 4,
VT_WEIGHTS_FORMAT = 6,
VT_KEEP_NUM_DIMS = 8,
VT_ASYMMETRIC_QUANTIZE_INPUTS = 10
};
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
tflite::FullyConnectedOptionsWeightsFormat weights_format() const {
return static_cast<tflite::FullyConnectedOptionsWeightsFormat>(GetField<int8_t>(VT_WEIGHTS_FORMAT, 0));
}
bool keep_num_dims() const {
return GetField<uint8_t>(VT_KEEP_NUM_DIMS, 0) != 0;
}
bool asymmetric_quantize_inputs() const {
return GetField<uint8_t>(VT_ASYMMETRIC_QUANTIZE_INPUTS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<int8_t>(verifier, VT_WEIGHTS_FORMAT, 1) &&
VerifyField<uint8_t>(verifier, VT_KEEP_NUM_DIMS, 1) &&
VerifyField<uint8_t>(verifier, VT_ASYMMETRIC_QUANTIZE_INPUTS, 1) &&
verifier.EndTable();
}
FullyConnectedOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(FullyConnectedOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<FullyConnectedOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const FullyConnectedOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct FullyConnectedOptionsBuilder {
typedef FullyConnectedOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(FullyConnectedOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_weights_format(tflite::FullyConnectedOptionsWeightsFormat weights_format) {
fbb_.AddElement<int8_t>(FullyConnectedOptions::VT_WEIGHTS_FORMAT, static_cast<int8_t>(weights_format), 0);
}
void add_keep_num_dims(bool keep_num_dims) {
fbb_.AddElement<uint8_t>(FullyConnectedOptions::VT_KEEP_NUM_DIMS, static_cast<uint8_t>(keep_num_dims), 0);
}
void add_asymmetric_quantize_inputs(bool asymmetric_quantize_inputs) {
fbb_.AddElement<uint8_t>(FullyConnectedOptions::VT_ASYMMETRIC_QUANTIZE_INPUTS, static_cast<uint8_t>(asymmetric_quantize_inputs), 0);
}
explicit FullyConnectedOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<FullyConnectedOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<FullyConnectedOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<FullyConnectedOptions> CreateFullyConnectedOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
tflite::FullyConnectedOptionsWeightsFormat weights_format = tflite::FullyConnectedOptionsWeightsFormat_DEFAULT,
bool keep_num_dims = false,
bool asymmetric_quantize_inputs = false) {
FullyConnectedOptionsBuilder builder_(_fbb);
builder_.add_asymmetric_quantize_inputs(asymmetric_quantize_inputs);
builder_.add_keep_num_dims(keep_num_dims);
builder_.add_weights_format(weights_format);
builder_.add_fused_activation_function(fused_activation_function);
return builder_.Finish();
}
::flatbuffers::Offset<FullyConnectedOptions> CreateFullyConnectedOptions(::flatbuffers::FlatBufferBuilder &_fbb, const FullyConnectedOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SoftmaxOptionsT : public ::flatbuffers::NativeTable {
typedef SoftmaxOptions TableType;
float beta = 0.0f;
};
struct SoftmaxOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SoftmaxOptionsT NativeTableType;
typedef SoftmaxOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_BETA = 4
};
float beta() const {
return GetField<float>(VT_BETA, 0.0f);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<float>(verifier, VT_BETA, 4) &&
verifier.EndTable();
}
SoftmaxOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SoftmaxOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SoftmaxOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SoftmaxOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SoftmaxOptionsBuilder {
typedef SoftmaxOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_beta(float beta) {
fbb_.AddElement<float>(SoftmaxOptions::VT_BETA, beta, 0.0f);
}
explicit SoftmaxOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SoftmaxOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SoftmaxOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SoftmaxOptions> CreateSoftmaxOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
float beta = 0.0f) {
SoftmaxOptionsBuilder builder_(_fbb);
builder_.add_beta(beta);
return builder_.Finish();
}
::flatbuffers::Offset<SoftmaxOptions> CreateSoftmaxOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SoftmaxOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ConcatenationOptionsT : public ::flatbuffers::NativeTable {
typedef ConcatenationOptions TableType;
int32_t axis = 0;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
};
struct ConcatenationOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ConcatenationOptionsT NativeTableType;
typedef ConcatenationOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_AXIS = 4,
VT_FUSED_ACTIVATION_FUNCTION = 6
};
int32_t axis() const {
return GetField<int32_t>(VT_AXIS, 0);
}
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_AXIS, 4) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
verifier.EndTable();
}
ConcatenationOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ConcatenationOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ConcatenationOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ConcatenationOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ConcatenationOptionsBuilder {
typedef ConcatenationOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_axis(int32_t axis) {
fbb_.AddElement<int32_t>(ConcatenationOptions::VT_AXIS, axis, 0);
}
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(ConcatenationOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
explicit ConcatenationOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ConcatenationOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ConcatenationOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ConcatenationOptions> CreateConcatenationOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t axis = 0,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE) {
ConcatenationOptionsBuilder builder_(_fbb);
builder_.add_axis(axis);
builder_.add_fused_activation_function(fused_activation_function);
return builder_.Finish();
}
::flatbuffers::Offset<ConcatenationOptions> CreateConcatenationOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ConcatenationOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct AddOptionsT : public ::flatbuffers::NativeTable {
typedef AddOptions TableType;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
bool pot_scale_int16 = true;
};
struct AddOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef AddOptionsT NativeTableType;
typedef AddOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_FUSED_ACTIVATION_FUNCTION = 4,
VT_POT_SCALE_INT16 = 6
};
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
bool pot_scale_int16() const {
return GetField<uint8_t>(VT_POT_SCALE_INT16, 1) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<uint8_t>(verifier, VT_POT_SCALE_INT16, 1) &&
verifier.EndTable();
}
AddOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(AddOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<AddOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const AddOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct AddOptionsBuilder {
typedef AddOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(AddOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_pot_scale_int16(bool pot_scale_int16) {
fbb_.AddElement<uint8_t>(AddOptions::VT_POT_SCALE_INT16, static_cast<uint8_t>(pot_scale_int16), 1);
}
explicit AddOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<AddOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<AddOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<AddOptions> CreateAddOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
bool pot_scale_int16 = true) {
AddOptionsBuilder builder_(_fbb);
builder_.add_pot_scale_int16(pot_scale_int16);
builder_.add_fused_activation_function(fused_activation_function);
return builder_.Finish();
}
::flatbuffers::Offset<AddOptions> CreateAddOptions(::flatbuffers::FlatBufferBuilder &_fbb, const AddOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct MulOptionsT : public ::flatbuffers::NativeTable {
typedef MulOptions TableType;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
};
struct MulOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef MulOptionsT NativeTableType;
typedef MulOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_FUSED_ACTIVATION_FUNCTION = 4
};
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
verifier.EndTable();
}
MulOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(MulOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<MulOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const MulOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct MulOptionsBuilder {
typedef MulOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(MulOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
explicit MulOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<MulOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<MulOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<MulOptions> CreateMulOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE) {
MulOptionsBuilder builder_(_fbb);
builder_.add_fused_activation_function(fused_activation_function);
return builder_.Finish();
}
::flatbuffers::Offset<MulOptions> CreateMulOptions(::flatbuffers::FlatBufferBuilder &_fbb, const MulOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct L2NormOptionsT : public ::flatbuffers::NativeTable {
typedef L2NormOptions TableType;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
};
struct L2NormOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef L2NormOptionsT NativeTableType;
typedef L2NormOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_FUSED_ACTIVATION_FUNCTION = 4
};
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
verifier.EndTable();
}
L2NormOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(L2NormOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<L2NormOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const L2NormOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct L2NormOptionsBuilder {
typedef L2NormOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(L2NormOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
explicit L2NormOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<L2NormOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<L2NormOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<L2NormOptions> CreateL2NormOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE) {
L2NormOptionsBuilder builder_(_fbb);
builder_.add_fused_activation_function(fused_activation_function);
return builder_.Finish();
}
::flatbuffers::Offset<L2NormOptions> CreateL2NormOptions(::flatbuffers::FlatBufferBuilder &_fbb, const L2NormOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct LocalResponseNormalizationOptionsT : public ::flatbuffers::NativeTable {
typedef LocalResponseNormalizationOptions TableType;
int32_t radius = 0;
float bias = 0.0f;
float alpha = 0.0f;
float beta = 0.0f;
};
struct LocalResponseNormalizationOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef LocalResponseNormalizationOptionsT NativeTableType;
typedef LocalResponseNormalizationOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_RADIUS = 4,
VT_BIAS = 6,
VT_ALPHA = 8,
VT_BETA = 10
};
int32_t radius() const {
return GetField<int32_t>(VT_RADIUS, 0);
}
float bias() const {
return GetField<float>(VT_BIAS, 0.0f);
}
float alpha() const {
return GetField<float>(VT_ALPHA, 0.0f);
}
float beta() const {
return GetField<float>(VT_BETA, 0.0f);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_RADIUS, 4) &&
VerifyField<float>(verifier, VT_BIAS, 4) &&
VerifyField<float>(verifier, VT_ALPHA, 4) &&
VerifyField<float>(verifier, VT_BETA, 4) &&
verifier.EndTable();
}
LocalResponseNormalizationOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(LocalResponseNormalizationOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<LocalResponseNormalizationOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LocalResponseNormalizationOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct LocalResponseNormalizationOptionsBuilder {
typedef LocalResponseNormalizationOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_radius(int32_t radius) {
fbb_.AddElement<int32_t>(LocalResponseNormalizationOptions::VT_RADIUS, radius, 0);
}
void add_bias(float bias) {
fbb_.AddElement<float>(LocalResponseNormalizationOptions::VT_BIAS, bias, 0.0f);
}
void add_alpha(float alpha) {
fbb_.AddElement<float>(LocalResponseNormalizationOptions::VT_ALPHA, alpha, 0.0f);
}
void add_beta(float beta) {
fbb_.AddElement<float>(LocalResponseNormalizationOptions::VT_BETA, beta, 0.0f);
}
explicit LocalResponseNormalizationOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<LocalResponseNormalizationOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<LocalResponseNormalizationOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<LocalResponseNormalizationOptions> CreateLocalResponseNormalizationOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t radius = 0,
float bias = 0.0f,
float alpha = 0.0f,
float beta = 0.0f) {
LocalResponseNormalizationOptionsBuilder builder_(_fbb);
builder_.add_beta(beta);
builder_.add_alpha(alpha);
builder_.add_bias(bias);
builder_.add_radius(radius);
return builder_.Finish();
}
::flatbuffers::Offset<LocalResponseNormalizationOptions> CreateLocalResponseNormalizationOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LocalResponseNormalizationOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct LSTMOptionsT : public ::flatbuffers::NativeTable {
typedef LSTMOptions TableType;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
float cell_clip = 0.0f;
float proj_clip = 0.0f;
tflite::LSTMKernelType kernel_type = tflite::LSTMKernelType_FULL;
bool asymmetric_quantize_inputs = false;
};
struct LSTMOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef LSTMOptionsT NativeTableType;
typedef LSTMOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_FUSED_ACTIVATION_FUNCTION = 4,
VT_CELL_CLIP = 6,
VT_PROJ_CLIP = 8,
VT_KERNEL_TYPE = 10,
VT_ASYMMETRIC_QUANTIZE_INPUTS = 12
};
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
float cell_clip() const {
return GetField<float>(VT_CELL_CLIP, 0.0f);
}
float proj_clip() const {
return GetField<float>(VT_PROJ_CLIP, 0.0f);
}
tflite::LSTMKernelType kernel_type() const {
return static_cast<tflite::LSTMKernelType>(GetField<int8_t>(VT_KERNEL_TYPE, 0));
}
bool asymmetric_quantize_inputs() const {
return GetField<uint8_t>(VT_ASYMMETRIC_QUANTIZE_INPUTS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<float>(verifier, VT_CELL_CLIP, 4) &&
VerifyField<float>(verifier, VT_PROJ_CLIP, 4) &&
VerifyField<int8_t>(verifier, VT_KERNEL_TYPE, 1) &&
VerifyField<uint8_t>(verifier, VT_ASYMMETRIC_QUANTIZE_INPUTS, 1) &&
verifier.EndTable();
}
LSTMOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(LSTMOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<LSTMOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LSTMOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct LSTMOptionsBuilder {
typedef LSTMOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(LSTMOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_cell_clip(float cell_clip) {
fbb_.AddElement<float>(LSTMOptions::VT_CELL_CLIP, cell_clip, 0.0f);
}
void add_proj_clip(float proj_clip) {
fbb_.AddElement<float>(LSTMOptions::VT_PROJ_CLIP, proj_clip, 0.0f);
}
void add_kernel_type(tflite::LSTMKernelType kernel_type) {
fbb_.AddElement<int8_t>(LSTMOptions::VT_KERNEL_TYPE, static_cast<int8_t>(kernel_type), 0);
}
void add_asymmetric_quantize_inputs(bool asymmetric_quantize_inputs) {
fbb_.AddElement<uint8_t>(LSTMOptions::VT_ASYMMETRIC_QUANTIZE_INPUTS, static_cast<uint8_t>(asymmetric_quantize_inputs), 0);
}
explicit LSTMOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<LSTMOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<LSTMOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<LSTMOptions> CreateLSTMOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
float cell_clip = 0.0f,
float proj_clip = 0.0f,
tflite::LSTMKernelType kernel_type = tflite::LSTMKernelType_FULL,
bool asymmetric_quantize_inputs = false) {
LSTMOptionsBuilder builder_(_fbb);
builder_.add_proj_clip(proj_clip);
builder_.add_cell_clip(cell_clip);
builder_.add_asymmetric_quantize_inputs(asymmetric_quantize_inputs);
builder_.add_kernel_type(kernel_type);
builder_.add_fused_activation_function(fused_activation_function);
return builder_.Finish();
}
::flatbuffers::Offset<LSTMOptions> CreateLSTMOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LSTMOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct UnidirectionalSequenceLSTMOptionsT : public ::flatbuffers::NativeTable {
typedef UnidirectionalSequenceLSTMOptions TableType;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
float cell_clip = 0.0f;
float proj_clip = 0.0f;
bool time_major = false;
bool asymmetric_quantize_inputs = false;
bool diagonal_recurrent_tensors = false;
};
struct UnidirectionalSequenceLSTMOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef UnidirectionalSequenceLSTMOptionsT NativeTableType;
typedef UnidirectionalSequenceLSTMOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_FUSED_ACTIVATION_FUNCTION = 4,
VT_CELL_CLIP = 6,
VT_PROJ_CLIP = 8,
VT_TIME_MAJOR = 10,
VT_ASYMMETRIC_QUANTIZE_INPUTS = 12,
VT_DIAGONAL_RECURRENT_TENSORS = 14
};
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
float cell_clip() const {
return GetField<float>(VT_CELL_CLIP, 0.0f);
}
float proj_clip() const {
return GetField<float>(VT_PROJ_CLIP, 0.0f);
}
bool time_major() const {
return GetField<uint8_t>(VT_TIME_MAJOR, 0) != 0;
}
bool asymmetric_quantize_inputs() const {
return GetField<uint8_t>(VT_ASYMMETRIC_QUANTIZE_INPUTS, 0) != 0;
}
bool diagonal_recurrent_tensors() const {
return GetField<uint8_t>(VT_DIAGONAL_RECURRENT_TENSORS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<float>(verifier, VT_CELL_CLIP, 4) &&
VerifyField<float>(verifier, VT_PROJ_CLIP, 4) &&
VerifyField<uint8_t>(verifier, VT_TIME_MAJOR, 1) &&
VerifyField<uint8_t>(verifier, VT_ASYMMETRIC_QUANTIZE_INPUTS, 1) &&
VerifyField<uint8_t>(verifier, VT_DIAGONAL_RECURRENT_TENSORS, 1) &&
verifier.EndTable();
}
UnidirectionalSequenceLSTMOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(UnidirectionalSequenceLSTMOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<UnidirectionalSequenceLSTMOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UnidirectionalSequenceLSTMOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct UnidirectionalSequenceLSTMOptionsBuilder {
typedef UnidirectionalSequenceLSTMOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(UnidirectionalSequenceLSTMOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_cell_clip(float cell_clip) {
fbb_.AddElement<float>(UnidirectionalSequenceLSTMOptions::VT_CELL_CLIP, cell_clip, 0.0f);
}
void add_proj_clip(float proj_clip) {
fbb_.AddElement<float>(UnidirectionalSequenceLSTMOptions::VT_PROJ_CLIP, proj_clip, 0.0f);
}
void add_time_major(bool time_major) {
fbb_.AddElement<uint8_t>(UnidirectionalSequenceLSTMOptions::VT_TIME_MAJOR, static_cast<uint8_t>(time_major), 0);
}
void add_asymmetric_quantize_inputs(bool asymmetric_quantize_inputs) {
fbb_.AddElement<uint8_t>(UnidirectionalSequenceLSTMOptions::VT_ASYMMETRIC_QUANTIZE_INPUTS, static_cast<uint8_t>(asymmetric_quantize_inputs), 0);
}
void add_diagonal_recurrent_tensors(bool diagonal_recurrent_tensors) {
fbb_.AddElement<uint8_t>(UnidirectionalSequenceLSTMOptions::VT_DIAGONAL_RECURRENT_TENSORS, static_cast<uint8_t>(diagonal_recurrent_tensors), 0);
}
explicit UnidirectionalSequenceLSTMOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<UnidirectionalSequenceLSTMOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<UnidirectionalSequenceLSTMOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<UnidirectionalSequenceLSTMOptions> CreateUnidirectionalSequenceLSTMOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
float cell_clip = 0.0f,
float proj_clip = 0.0f,
bool time_major = false,
bool asymmetric_quantize_inputs = false,
bool diagonal_recurrent_tensors = false) {
UnidirectionalSequenceLSTMOptionsBuilder builder_(_fbb);
builder_.add_proj_clip(proj_clip);
builder_.add_cell_clip(cell_clip);
builder_.add_diagonal_recurrent_tensors(diagonal_recurrent_tensors);
builder_.add_asymmetric_quantize_inputs(asymmetric_quantize_inputs);
builder_.add_time_major(time_major);
builder_.add_fused_activation_function(fused_activation_function);
return builder_.Finish();
}
::flatbuffers::Offset<UnidirectionalSequenceLSTMOptions> CreateUnidirectionalSequenceLSTMOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UnidirectionalSequenceLSTMOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct BidirectionalSequenceLSTMOptionsT : public ::flatbuffers::NativeTable {
typedef BidirectionalSequenceLSTMOptions TableType;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
float cell_clip = 0.0f;
float proj_clip = 0.0f;
bool merge_outputs = false;
bool time_major = true;
bool asymmetric_quantize_inputs = false;
};
struct BidirectionalSequenceLSTMOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef BidirectionalSequenceLSTMOptionsT NativeTableType;
typedef BidirectionalSequenceLSTMOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_FUSED_ACTIVATION_FUNCTION = 4,
VT_CELL_CLIP = 6,
VT_PROJ_CLIP = 8,
VT_MERGE_OUTPUTS = 10,
VT_TIME_MAJOR = 12,
VT_ASYMMETRIC_QUANTIZE_INPUTS = 14
};
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
float cell_clip() const {
return GetField<float>(VT_CELL_CLIP, 0.0f);
}
float proj_clip() const {
return GetField<float>(VT_PROJ_CLIP, 0.0f);
}
bool merge_outputs() const {
return GetField<uint8_t>(VT_MERGE_OUTPUTS, 0) != 0;
}
bool time_major() const {
return GetField<uint8_t>(VT_TIME_MAJOR, 1) != 0;
}
bool asymmetric_quantize_inputs() const {
return GetField<uint8_t>(VT_ASYMMETRIC_QUANTIZE_INPUTS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<float>(verifier, VT_CELL_CLIP, 4) &&
VerifyField<float>(verifier, VT_PROJ_CLIP, 4) &&
VerifyField<uint8_t>(verifier, VT_MERGE_OUTPUTS, 1) &&
VerifyField<uint8_t>(verifier, VT_TIME_MAJOR, 1) &&
VerifyField<uint8_t>(verifier, VT_ASYMMETRIC_QUANTIZE_INPUTS, 1) &&
verifier.EndTable();
}
BidirectionalSequenceLSTMOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(BidirectionalSequenceLSTMOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<BidirectionalSequenceLSTMOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BidirectionalSequenceLSTMOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct BidirectionalSequenceLSTMOptionsBuilder {
typedef BidirectionalSequenceLSTMOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(BidirectionalSequenceLSTMOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_cell_clip(float cell_clip) {
fbb_.AddElement<float>(BidirectionalSequenceLSTMOptions::VT_CELL_CLIP, cell_clip, 0.0f);
}
void add_proj_clip(float proj_clip) {
fbb_.AddElement<float>(BidirectionalSequenceLSTMOptions::VT_PROJ_CLIP, proj_clip, 0.0f);
}
void add_merge_outputs(bool merge_outputs) {
fbb_.AddElement<uint8_t>(BidirectionalSequenceLSTMOptions::VT_MERGE_OUTPUTS, static_cast<uint8_t>(merge_outputs), 0);
}
void add_time_major(bool time_major) {
fbb_.AddElement<uint8_t>(BidirectionalSequenceLSTMOptions::VT_TIME_MAJOR, static_cast<uint8_t>(time_major), 1);
}
void add_asymmetric_quantize_inputs(bool asymmetric_quantize_inputs) {
fbb_.AddElement<uint8_t>(BidirectionalSequenceLSTMOptions::VT_ASYMMETRIC_QUANTIZE_INPUTS, static_cast<uint8_t>(asymmetric_quantize_inputs), 0);
}
explicit BidirectionalSequenceLSTMOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<BidirectionalSequenceLSTMOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<BidirectionalSequenceLSTMOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<BidirectionalSequenceLSTMOptions> CreateBidirectionalSequenceLSTMOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
float cell_clip = 0.0f,
float proj_clip = 0.0f,
bool merge_outputs = false,
bool time_major = true,
bool asymmetric_quantize_inputs = false) {
BidirectionalSequenceLSTMOptionsBuilder builder_(_fbb);
builder_.add_proj_clip(proj_clip);
builder_.add_cell_clip(cell_clip);
builder_.add_asymmetric_quantize_inputs(asymmetric_quantize_inputs);
builder_.add_time_major(time_major);
builder_.add_merge_outputs(merge_outputs);
builder_.add_fused_activation_function(fused_activation_function);
return builder_.Finish();
}
::flatbuffers::Offset<BidirectionalSequenceLSTMOptions> CreateBidirectionalSequenceLSTMOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BidirectionalSequenceLSTMOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ResizeBilinearOptionsT : public ::flatbuffers::NativeTable {
typedef ResizeBilinearOptions TableType;
bool align_corners = false;
bool half_pixel_centers = false;
};
struct ResizeBilinearOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ResizeBilinearOptionsT NativeTableType;
typedef ResizeBilinearOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_ALIGN_CORNERS = 8,
VT_HALF_PIXEL_CENTERS = 10
};
bool align_corners() const {
return GetField<uint8_t>(VT_ALIGN_CORNERS, 0) != 0;
}
bool half_pixel_centers() const {
return GetField<uint8_t>(VT_HALF_PIXEL_CENTERS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<uint8_t>(verifier, VT_ALIGN_CORNERS, 1) &&
VerifyField<uint8_t>(verifier, VT_HALF_PIXEL_CENTERS, 1) &&
verifier.EndTable();
}
ResizeBilinearOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ResizeBilinearOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ResizeBilinearOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ResizeBilinearOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ResizeBilinearOptionsBuilder {
typedef ResizeBilinearOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_align_corners(bool align_corners) {
fbb_.AddElement<uint8_t>(ResizeBilinearOptions::VT_ALIGN_CORNERS, static_cast<uint8_t>(align_corners), 0);
}
void add_half_pixel_centers(bool half_pixel_centers) {
fbb_.AddElement<uint8_t>(ResizeBilinearOptions::VT_HALF_PIXEL_CENTERS, static_cast<uint8_t>(half_pixel_centers), 0);
}
explicit ResizeBilinearOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ResizeBilinearOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ResizeBilinearOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ResizeBilinearOptions> CreateResizeBilinearOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
bool align_corners = false,
bool half_pixel_centers = false) {
ResizeBilinearOptionsBuilder builder_(_fbb);
builder_.add_half_pixel_centers(half_pixel_centers);
builder_.add_align_corners(align_corners);
return builder_.Finish();
}
::flatbuffers::Offset<ResizeBilinearOptions> CreateResizeBilinearOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ResizeBilinearOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ResizeNearestNeighborOptionsT : public ::flatbuffers::NativeTable {
typedef ResizeNearestNeighborOptions TableType;
bool align_corners = false;
bool half_pixel_centers = false;
};
struct ResizeNearestNeighborOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ResizeNearestNeighborOptionsT NativeTableType;
typedef ResizeNearestNeighborOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_ALIGN_CORNERS = 4,
VT_HALF_PIXEL_CENTERS = 6
};
bool align_corners() const {
return GetField<uint8_t>(VT_ALIGN_CORNERS, 0) != 0;
}
bool half_pixel_centers() const {
return GetField<uint8_t>(VT_HALF_PIXEL_CENTERS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<uint8_t>(verifier, VT_ALIGN_CORNERS, 1) &&
VerifyField<uint8_t>(verifier, VT_HALF_PIXEL_CENTERS, 1) &&
verifier.EndTable();
}
ResizeNearestNeighborOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ResizeNearestNeighborOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ResizeNearestNeighborOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ResizeNearestNeighborOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ResizeNearestNeighborOptionsBuilder {
typedef ResizeNearestNeighborOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_align_corners(bool align_corners) {
fbb_.AddElement<uint8_t>(ResizeNearestNeighborOptions::VT_ALIGN_CORNERS, static_cast<uint8_t>(align_corners), 0);
}
void add_half_pixel_centers(bool half_pixel_centers) {
fbb_.AddElement<uint8_t>(ResizeNearestNeighborOptions::VT_HALF_PIXEL_CENTERS, static_cast<uint8_t>(half_pixel_centers), 0);
}
explicit ResizeNearestNeighborOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ResizeNearestNeighborOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ResizeNearestNeighborOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ResizeNearestNeighborOptions> CreateResizeNearestNeighborOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
bool align_corners = false,
bool half_pixel_centers = false) {
ResizeNearestNeighborOptionsBuilder builder_(_fbb);
builder_.add_half_pixel_centers(half_pixel_centers);
builder_.add_align_corners(align_corners);
return builder_.Finish();
}
::flatbuffers::Offset<ResizeNearestNeighborOptions> CreateResizeNearestNeighborOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ResizeNearestNeighborOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct CallOptionsT : public ::flatbuffers::NativeTable {
typedef CallOptions TableType;
uint32_t subgraph = 0;
};
struct CallOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef CallOptionsT NativeTableType;
typedef CallOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_SUBGRAPH = 4
};
uint32_t subgraph() const {
return GetField<uint32_t>(VT_SUBGRAPH, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<uint32_t>(verifier, VT_SUBGRAPH, 4) &&
verifier.EndTable();
}
CallOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(CallOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<CallOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const CallOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct CallOptionsBuilder {
typedef CallOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_subgraph(uint32_t subgraph) {
fbb_.AddElement<uint32_t>(CallOptions::VT_SUBGRAPH, subgraph, 0);
}
explicit CallOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<CallOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<CallOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<CallOptions> CreateCallOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
uint32_t subgraph = 0) {
CallOptionsBuilder builder_(_fbb);
builder_.add_subgraph(subgraph);
return builder_.Finish();
}
::flatbuffers::Offset<CallOptions> CreateCallOptions(::flatbuffers::FlatBufferBuilder &_fbb, const CallOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct PadOptionsT : public ::flatbuffers::NativeTable {
typedef PadOptions TableType;
};
struct PadOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef PadOptionsT NativeTableType;
typedef PadOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
PadOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(PadOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<PadOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const PadOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct PadOptionsBuilder {
typedef PadOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit PadOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<PadOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<PadOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<PadOptions> CreatePadOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
PadOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<PadOptions> CreatePadOptions(::flatbuffers::FlatBufferBuilder &_fbb, const PadOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct PadV2OptionsT : public ::flatbuffers::NativeTable {
typedef PadV2Options TableType;
};
struct PadV2Options FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef PadV2OptionsT NativeTableType;
typedef PadV2OptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
PadV2OptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(PadV2OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<PadV2Options> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const PadV2OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct PadV2OptionsBuilder {
typedef PadV2Options Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit PadV2OptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<PadV2Options> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<PadV2Options>(end);
return o;
}
};
inline ::flatbuffers::Offset<PadV2Options> CreatePadV2Options(
::flatbuffers::FlatBufferBuilder &_fbb) {
PadV2OptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<PadV2Options> CreatePadV2Options(::flatbuffers::FlatBufferBuilder &_fbb, const PadV2OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ReshapeOptionsT : public ::flatbuffers::NativeTable {
typedef ReshapeOptions TableType;
std::vector<int32_t> new_shape{};
};
struct ReshapeOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ReshapeOptionsT NativeTableType;
typedef ReshapeOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_NEW_SHAPE = 4
};
const ::flatbuffers::Vector<int32_t> *new_shape() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_NEW_SHAPE);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_NEW_SHAPE) &&
verifier.VerifyVector(new_shape()) &&
verifier.EndTable();
}
ReshapeOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ReshapeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ReshapeOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ReshapeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ReshapeOptionsBuilder {
typedef ReshapeOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_new_shape(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> new_shape) {
fbb_.AddOffset(ReshapeOptions::VT_NEW_SHAPE, new_shape);
}
explicit ReshapeOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ReshapeOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ReshapeOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ReshapeOptions> CreateReshapeOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> new_shape = 0) {
ReshapeOptionsBuilder builder_(_fbb);
builder_.add_new_shape(new_shape);
return builder_.Finish();
}
inline ::flatbuffers::Offset<ReshapeOptions> CreateReshapeOptionsDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<int32_t> *new_shape = nullptr) {
auto new_shape__ = new_shape ? _fbb.CreateVector<int32_t>(*new_shape) : 0;
return tflite::CreateReshapeOptions(
_fbb,
new_shape__);
}
::flatbuffers::Offset<ReshapeOptions> CreateReshapeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ReshapeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SpaceToBatchNDOptionsT : public ::flatbuffers::NativeTable {
typedef SpaceToBatchNDOptions TableType;
};
struct SpaceToBatchNDOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SpaceToBatchNDOptionsT NativeTableType;
typedef SpaceToBatchNDOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
SpaceToBatchNDOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SpaceToBatchNDOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SpaceToBatchNDOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SpaceToBatchNDOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SpaceToBatchNDOptionsBuilder {
typedef SpaceToBatchNDOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit SpaceToBatchNDOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SpaceToBatchNDOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SpaceToBatchNDOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SpaceToBatchNDOptions> CreateSpaceToBatchNDOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
SpaceToBatchNDOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<SpaceToBatchNDOptions> CreateSpaceToBatchNDOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SpaceToBatchNDOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct BatchToSpaceNDOptionsT : public ::flatbuffers::NativeTable {
typedef BatchToSpaceNDOptions TableType;
};
struct BatchToSpaceNDOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef BatchToSpaceNDOptionsT NativeTableType;
typedef BatchToSpaceNDOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
BatchToSpaceNDOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(BatchToSpaceNDOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<BatchToSpaceNDOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BatchToSpaceNDOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct BatchToSpaceNDOptionsBuilder {
typedef BatchToSpaceNDOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit BatchToSpaceNDOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<BatchToSpaceNDOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<BatchToSpaceNDOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<BatchToSpaceNDOptions> CreateBatchToSpaceNDOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
BatchToSpaceNDOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<BatchToSpaceNDOptions> CreateBatchToSpaceNDOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BatchToSpaceNDOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SkipGramOptionsT : public ::flatbuffers::NativeTable {
typedef SkipGramOptions TableType;
int32_t ngram_size = 0;
int32_t max_skip_size = 0;
bool include_all_ngrams = false;
};
struct SkipGramOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SkipGramOptionsT NativeTableType;
typedef SkipGramOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_NGRAM_SIZE = 4,
VT_MAX_SKIP_SIZE = 6,
VT_INCLUDE_ALL_NGRAMS = 8
};
int32_t ngram_size() const {
return GetField<int32_t>(VT_NGRAM_SIZE, 0);
}
int32_t max_skip_size() const {
return GetField<int32_t>(VT_MAX_SKIP_SIZE, 0);
}
bool include_all_ngrams() const {
return GetField<uint8_t>(VT_INCLUDE_ALL_NGRAMS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_NGRAM_SIZE, 4) &&
VerifyField<int32_t>(verifier, VT_MAX_SKIP_SIZE, 4) &&
VerifyField<uint8_t>(verifier, VT_INCLUDE_ALL_NGRAMS, 1) &&
verifier.EndTable();
}
SkipGramOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SkipGramOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SkipGramOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SkipGramOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SkipGramOptionsBuilder {
typedef SkipGramOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_ngram_size(int32_t ngram_size) {
fbb_.AddElement<int32_t>(SkipGramOptions::VT_NGRAM_SIZE, ngram_size, 0);
}
void add_max_skip_size(int32_t max_skip_size) {
fbb_.AddElement<int32_t>(SkipGramOptions::VT_MAX_SKIP_SIZE, max_skip_size, 0);
}
void add_include_all_ngrams(bool include_all_ngrams) {
fbb_.AddElement<uint8_t>(SkipGramOptions::VT_INCLUDE_ALL_NGRAMS, static_cast<uint8_t>(include_all_ngrams), 0);
}
explicit SkipGramOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SkipGramOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SkipGramOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SkipGramOptions> CreateSkipGramOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t ngram_size = 0,
int32_t max_skip_size = 0,
bool include_all_ngrams = false) {
SkipGramOptionsBuilder builder_(_fbb);
builder_.add_max_skip_size(max_skip_size);
builder_.add_ngram_size(ngram_size);
builder_.add_include_all_ngrams(include_all_ngrams);
return builder_.Finish();
}
::flatbuffers::Offset<SkipGramOptions> CreateSkipGramOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SkipGramOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SpaceToDepthOptionsT : public ::flatbuffers::NativeTable {
typedef SpaceToDepthOptions TableType;
int32_t block_size = 0;
};
struct SpaceToDepthOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SpaceToDepthOptionsT NativeTableType;
typedef SpaceToDepthOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_BLOCK_SIZE = 4
};
int32_t block_size() const {
return GetField<int32_t>(VT_BLOCK_SIZE, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_BLOCK_SIZE, 4) &&
verifier.EndTable();
}
SpaceToDepthOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SpaceToDepthOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SpaceToDepthOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SpaceToDepthOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SpaceToDepthOptionsBuilder {
typedef SpaceToDepthOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_block_size(int32_t block_size) {
fbb_.AddElement<int32_t>(SpaceToDepthOptions::VT_BLOCK_SIZE, block_size, 0);
}
explicit SpaceToDepthOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SpaceToDepthOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SpaceToDepthOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SpaceToDepthOptions> CreateSpaceToDepthOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t block_size = 0) {
SpaceToDepthOptionsBuilder builder_(_fbb);
builder_.add_block_size(block_size);
return builder_.Finish();
}
::flatbuffers::Offset<SpaceToDepthOptions> CreateSpaceToDepthOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SpaceToDepthOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct DepthToSpaceOptionsT : public ::flatbuffers::NativeTable {
typedef DepthToSpaceOptions TableType;
int32_t block_size = 0;
};
struct DepthToSpaceOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef DepthToSpaceOptionsT NativeTableType;
typedef DepthToSpaceOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_BLOCK_SIZE = 4
};
int32_t block_size() const {
return GetField<int32_t>(VT_BLOCK_SIZE, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_BLOCK_SIZE, 4) &&
verifier.EndTable();
}
DepthToSpaceOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(DepthToSpaceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<DepthToSpaceOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DepthToSpaceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct DepthToSpaceOptionsBuilder {
typedef DepthToSpaceOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_block_size(int32_t block_size) {
fbb_.AddElement<int32_t>(DepthToSpaceOptions::VT_BLOCK_SIZE, block_size, 0);
}
explicit DepthToSpaceOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<DepthToSpaceOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<DepthToSpaceOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<DepthToSpaceOptions> CreateDepthToSpaceOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t block_size = 0) {
DepthToSpaceOptionsBuilder builder_(_fbb);
builder_.add_block_size(block_size);
return builder_.Finish();
}
::flatbuffers::Offset<DepthToSpaceOptions> CreateDepthToSpaceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const DepthToSpaceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SubOptionsT : public ::flatbuffers::NativeTable {
typedef SubOptions TableType;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
bool pot_scale_int16 = true;
};
struct SubOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SubOptionsT NativeTableType;
typedef SubOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_FUSED_ACTIVATION_FUNCTION = 4,
VT_POT_SCALE_INT16 = 6
};
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
bool pot_scale_int16() const {
return GetField<uint8_t>(VT_POT_SCALE_INT16, 1) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
VerifyField<uint8_t>(verifier, VT_POT_SCALE_INT16, 1) &&
verifier.EndTable();
}
SubOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SubOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SubOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SubOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SubOptionsBuilder {
typedef SubOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(SubOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
void add_pot_scale_int16(bool pot_scale_int16) {
fbb_.AddElement<uint8_t>(SubOptions::VT_POT_SCALE_INT16, static_cast<uint8_t>(pot_scale_int16), 1);
}
explicit SubOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SubOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SubOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SubOptions> CreateSubOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE,
bool pot_scale_int16 = true) {
SubOptionsBuilder builder_(_fbb);
builder_.add_pot_scale_int16(pot_scale_int16);
builder_.add_fused_activation_function(fused_activation_function);
return builder_.Finish();
}
::flatbuffers::Offset<SubOptions> CreateSubOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SubOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct DivOptionsT : public ::flatbuffers::NativeTable {
typedef DivOptions TableType;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
};
struct DivOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef DivOptionsT NativeTableType;
typedef DivOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_FUSED_ACTIVATION_FUNCTION = 4
};
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
verifier.EndTable();
}
DivOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(DivOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<DivOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DivOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct DivOptionsBuilder {
typedef DivOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(DivOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
explicit DivOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<DivOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<DivOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<DivOptions> CreateDivOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE) {
DivOptionsBuilder builder_(_fbb);
builder_.add_fused_activation_function(fused_activation_function);
return builder_.Finish();
}
::flatbuffers::Offset<DivOptions> CreateDivOptions(::flatbuffers::FlatBufferBuilder &_fbb, const DivOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct TopKV2OptionsT : public ::flatbuffers::NativeTable {
typedef TopKV2Options TableType;
};
struct TopKV2Options FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef TopKV2OptionsT NativeTableType;
typedef TopKV2OptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
TopKV2OptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(TopKV2OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<TopKV2Options> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const TopKV2OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct TopKV2OptionsBuilder {
typedef TopKV2Options Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit TopKV2OptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<TopKV2Options> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<TopKV2Options>(end);
return o;
}
};
inline ::flatbuffers::Offset<TopKV2Options> CreateTopKV2Options(
::flatbuffers::FlatBufferBuilder &_fbb) {
TopKV2OptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<TopKV2Options> CreateTopKV2Options(::flatbuffers::FlatBufferBuilder &_fbb, const TopKV2OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct EmbeddingLookupSparseOptionsT : public ::flatbuffers::NativeTable {
typedef EmbeddingLookupSparseOptions TableType;
tflite::CombinerType combiner = tflite::CombinerType_SUM;
};
struct EmbeddingLookupSparseOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef EmbeddingLookupSparseOptionsT NativeTableType;
typedef EmbeddingLookupSparseOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_COMBINER = 4
};
tflite::CombinerType combiner() const {
return static_cast<tflite::CombinerType>(GetField<int8_t>(VT_COMBINER, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_COMBINER, 1) &&
verifier.EndTable();
}
EmbeddingLookupSparseOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(EmbeddingLookupSparseOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<EmbeddingLookupSparseOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const EmbeddingLookupSparseOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct EmbeddingLookupSparseOptionsBuilder {
typedef EmbeddingLookupSparseOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_combiner(tflite::CombinerType combiner) {
fbb_.AddElement<int8_t>(EmbeddingLookupSparseOptions::VT_COMBINER, static_cast<int8_t>(combiner), 0);
}
explicit EmbeddingLookupSparseOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<EmbeddingLookupSparseOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<EmbeddingLookupSparseOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<EmbeddingLookupSparseOptions> CreateEmbeddingLookupSparseOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::CombinerType combiner = tflite::CombinerType_SUM) {
EmbeddingLookupSparseOptionsBuilder builder_(_fbb);
builder_.add_combiner(combiner);
return builder_.Finish();
}
::flatbuffers::Offset<EmbeddingLookupSparseOptions> CreateEmbeddingLookupSparseOptions(::flatbuffers::FlatBufferBuilder &_fbb, const EmbeddingLookupSparseOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct GatherOptionsT : public ::flatbuffers::NativeTable {
typedef GatherOptions TableType;
int32_t axis = 0;
int32_t batch_dims = 0;
};
struct GatherOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef GatherOptionsT NativeTableType;
typedef GatherOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_AXIS = 4,
VT_BATCH_DIMS = 6
};
int32_t axis() const {
return GetField<int32_t>(VT_AXIS, 0);
}
int32_t batch_dims() const {
return GetField<int32_t>(VT_BATCH_DIMS, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_AXIS, 4) &&
VerifyField<int32_t>(verifier, VT_BATCH_DIMS, 4) &&
verifier.EndTable();
}
GatherOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(GatherOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<GatherOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const GatherOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct GatherOptionsBuilder {
typedef GatherOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_axis(int32_t axis) {
fbb_.AddElement<int32_t>(GatherOptions::VT_AXIS, axis, 0);
}
void add_batch_dims(int32_t batch_dims) {
fbb_.AddElement<int32_t>(GatherOptions::VT_BATCH_DIMS, batch_dims, 0);
}
explicit GatherOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<GatherOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<GatherOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<GatherOptions> CreateGatherOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t axis = 0,
int32_t batch_dims = 0) {
GatherOptionsBuilder builder_(_fbb);
builder_.add_batch_dims(batch_dims);
builder_.add_axis(axis);
return builder_.Finish();
}
::flatbuffers::Offset<GatherOptions> CreateGatherOptions(::flatbuffers::FlatBufferBuilder &_fbb, const GatherOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct TransposeOptionsT : public ::flatbuffers::NativeTable {
typedef TransposeOptions TableType;
};
struct TransposeOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef TransposeOptionsT NativeTableType;
typedef TransposeOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
TransposeOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(TransposeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<TransposeOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const TransposeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct TransposeOptionsBuilder {
typedef TransposeOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit TransposeOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<TransposeOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<TransposeOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<TransposeOptions> CreateTransposeOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
TransposeOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<TransposeOptions> CreateTransposeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const TransposeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ExpOptionsT : public ::flatbuffers::NativeTable {
typedef ExpOptions TableType;
};
struct ExpOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ExpOptionsT NativeTableType;
typedef ExpOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
ExpOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ExpOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ExpOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ExpOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ExpOptionsBuilder {
typedef ExpOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit ExpOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ExpOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ExpOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ExpOptions> CreateExpOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
ExpOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<ExpOptions> CreateExpOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ExpOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct CosOptionsT : public ::flatbuffers::NativeTable {
typedef CosOptions TableType;
};
struct CosOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef CosOptionsT NativeTableType;
typedef CosOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
CosOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(CosOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<CosOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const CosOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct CosOptionsBuilder {
typedef CosOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit CosOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<CosOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<CosOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<CosOptions> CreateCosOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
CosOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<CosOptions> CreateCosOptions(::flatbuffers::FlatBufferBuilder &_fbb, const CosOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ReducerOptionsT : public ::flatbuffers::NativeTable {
typedef ReducerOptions TableType;
bool keep_dims = false;
};
struct ReducerOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ReducerOptionsT NativeTableType;
typedef ReducerOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_KEEP_DIMS = 4
};
bool keep_dims() const {
return GetField<uint8_t>(VT_KEEP_DIMS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<uint8_t>(verifier, VT_KEEP_DIMS, 1) &&
verifier.EndTable();
}
ReducerOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ReducerOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ReducerOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ReducerOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ReducerOptionsBuilder {
typedef ReducerOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_keep_dims(bool keep_dims) {
fbb_.AddElement<uint8_t>(ReducerOptions::VT_KEEP_DIMS, static_cast<uint8_t>(keep_dims), 0);
}
explicit ReducerOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ReducerOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ReducerOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ReducerOptions> CreateReducerOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
bool keep_dims = false) {
ReducerOptionsBuilder builder_(_fbb);
builder_.add_keep_dims(keep_dims);
return builder_.Finish();
}
::flatbuffers::Offset<ReducerOptions> CreateReducerOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ReducerOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SqueezeOptionsT : public ::flatbuffers::NativeTable {
typedef SqueezeOptions TableType;
std::vector<int32_t> squeeze_dims{};
};
struct SqueezeOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SqueezeOptionsT NativeTableType;
typedef SqueezeOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_SQUEEZE_DIMS = 4
};
const ::flatbuffers::Vector<int32_t> *squeeze_dims() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_SQUEEZE_DIMS);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_SQUEEZE_DIMS) &&
verifier.VerifyVector(squeeze_dims()) &&
verifier.EndTable();
}
SqueezeOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SqueezeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SqueezeOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SqueezeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SqueezeOptionsBuilder {
typedef SqueezeOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_squeeze_dims(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> squeeze_dims) {
fbb_.AddOffset(SqueezeOptions::VT_SQUEEZE_DIMS, squeeze_dims);
}
explicit SqueezeOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SqueezeOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SqueezeOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SqueezeOptions> CreateSqueezeOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> squeeze_dims = 0) {
SqueezeOptionsBuilder builder_(_fbb);
builder_.add_squeeze_dims(squeeze_dims);
return builder_.Finish();
}
inline ::flatbuffers::Offset<SqueezeOptions> CreateSqueezeOptionsDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<int32_t> *squeeze_dims = nullptr) {
auto squeeze_dims__ = squeeze_dims ? _fbb.CreateVector<int32_t>(*squeeze_dims) : 0;
return tflite::CreateSqueezeOptions(
_fbb,
squeeze_dims__);
}
::flatbuffers::Offset<SqueezeOptions> CreateSqueezeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SqueezeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SplitOptionsT : public ::flatbuffers::NativeTable {
typedef SplitOptions TableType;
int32_t num_splits = 0;
};
struct SplitOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SplitOptionsT NativeTableType;
typedef SplitOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_NUM_SPLITS = 4
};
int32_t num_splits() const {
return GetField<int32_t>(VT_NUM_SPLITS, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_NUM_SPLITS, 4) &&
verifier.EndTable();
}
SplitOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SplitOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SplitOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SplitOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SplitOptionsBuilder {
typedef SplitOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_num_splits(int32_t num_splits) {
fbb_.AddElement<int32_t>(SplitOptions::VT_NUM_SPLITS, num_splits, 0);
}
explicit SplitOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SplitOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SplitOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SplitOptions> CreateSplitOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t num_splits = 0) {
SplitOptionsBuilder builder_(_fbb);
builder_.add_num_splits(num_splits);
return builder_.Finish();
}
::flatbuffers::Offset<SplitOptions> CreateSplitOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SplitOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SplitVOptionsT : public ::flatbuffers::NativeTable {
typedef SplitVOptions TableType;
int32_t num_splits = 0;
};
struct SplitVOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SplitVOptionsT NativeTableType;
typedef SplitVOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_NUM_SPLITS = 4
};
int32_t num_splits() const {
return GetField<int32_t>(VT_NUM_SPLITS, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_NUM_SPLITS, 4) &&
verifier.EndTable();
}
SplitVOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SplitVOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SplitVOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SplitVOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SplitVOptionsBuilder {
typedef SplitVOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_num_splits(int32_t num_splits) {
fbb_.AddElement<int32_t>(SplitVOptions::VT_NUM_SPLITS, num_splits, 0);
}
explicit SplitVOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SplitVOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SplitVOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SplitVOptions> CreateSplitVOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t num_splits = 0) {
SplitVOptionsBuilder builder_(_fbb);
builder_.add_num_splits(num_splits);
return builder_.Finish();
}
::flatbuffers::Offset<SplitVOptions> CreateSplitVOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SplitVOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct StridedSliceOptionsT : public ::flatbuffers::NativeTable {
typedef StridedSliceOptions TableType;
int32_t begin_mask = 0;
int32_t end_mask = 0;
int32_t ellipsis_mask = 0;
int32_t new_axis_mask = 0;
int32_t shrink_axis_mask = 0;
bool offset = false;
};
struct StridedSliceOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef StridedSliceOptionsT NativeTableType;
typedef StridedSliceOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_BEGIN_MASK = 4,
VT_END_MASK = 6,
VT_ELLIPSIS_MASK = 8,
VT_NEW_AXIS_MASK = 10,
VT_SHRINK_AXIS_MASK = 12,
VT_OFFSET = 14
};
int32_t begin_mask() const {
return GetField<int32_t>(VT_BEGIN_MASK, 0);
}
int32_t end_mask() const {
return GetField<int32_t>(VT_END_MASK, 0);
}
int32_t ellipsis_mask() const {
return GetField<int32_t>(VT_ELLIPSIS_MASK, 0);
}
int32_t new_axis_mask() const {
return GetField<int32_t>(VT_NEW_AXIS_MASK, 0);
}
int32_t shrink_axis_mask() const {
return GetField<int32_t>(VT_SHRINK_AXIS_MASK, 0);
}
bool offset() const {
return GetField<uint8_t>(VT_OFFSET, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_BEGIN_MASK, 4) &&
VerifyField<int32_t>(verifier, VT_END_MASK, 4) &&
VerifyField<int32_t>(verifier, VT_ELLIPSIS_MASK, 4) &&
VerifyField<int32_t>(verifier, VT_NEW_AXIS_MASK, 4) &&
VerifyField<int32_t>(verifier, VT_SHRINK_AXIS_MASK, 4) &&
VerifyField<uint8_t>(verifier, VT_OFFSET, 1) &&
verifier.EndTable();
}
StridedSliceOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(StridedSliceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<StridedSliceOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const StridedSliceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct StridedSliceOptionsBuilder {
typedef StridedSliceOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_begin_mask(int32_t begin_mask) {
fbb_.AddElement<int32_t>(StridedSliceOptions::VT_BEGIN_MASK, begin_mask, 0);
}
void add_end_mask(int32_t end_mask) {
fbb_.AddElement<int32_t>(StridedSliceOptions::VT_END_MASK, end_mask, 0);
}
void add_ellipsis_mask(int32_t ellipsis_mask) {
fbb_.AddElement<int32_t>(StridedSliceOptions::VT_ELLIPSIS_MASK, ellipsis_mask, 0);
}
void add_new_axis_mask(int32_t new_axis_mask) {
fbb_.AddElement<int32_t>(StridedSliceOptions::VT_NEW_AXIS_MASK, new_axis_mask, 0);
}
void add_shrink_axis_mask(int32_t shrink_axis_mask) {
fbb_.AddElement<int32_t>(StridedSliceOptions::VT_SHRINK_AXIS_MASK, shrink_axis_mask, 0);
}
void add_offset(bool offset) {
fbb_.AddElement<uint8_t>(StridedSliceOptions::VT_OFFSET, static_cast<uint8_t>(offset), 0);
}
explicit StridedSliceOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<StridedSliceOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<StridedSliceOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<StridedSliceOptions> CreateStridedSliceOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t begin_mask = 0,
int32_t end_mask = 0,
int32_t ellipsis_mask = 0,
int32_t new_axis_mask = 0,
int32_t shrink_axis_mask = 0,
bool offset = false) {
StridedSliceOptionsBuilder builder_(_fbb);
builder_.add_shrink_axis_mask(shrink_axis_mask);
builder_.add_new_axis_mask(new_axis_mask);
builder_.add_ellipsis_mask(ellipsis_mask);
builder_.add_end_mask(end_mask);
builder_.add_begin_mask(begin_mask);
builder_.add_offset(offset);
return builder_.Finish();
}
::flatbuffers::Offset<StridedSliceOptions> CreateStridedSliceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const StridedSliceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct LogSoftmaxOptionsT : public ::flatbuffers::NativeTable {
typedef LogSoftmaxOptions TableType;
};
struct LogSoftmaxOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef LogSoftmaxOptionsT NativeTableType;
typedef LogSoftmaxOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
LogSoftmaxOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(LogSoftmaxOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<LogSoftmaxOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LogSoftmaxOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct LogSoftmaxOptionsBuilder {
typedef LogSoftmaxOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit LogSoftmaxOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<LogSoftmaxOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<LogSoftmaxOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<LogSoftmaxOptions> CreateLogSoftmaxOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
LogSoftmaxOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<LogSoftmaxOptions> CreateLogSoftmaxOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LogSoftmaxOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct CastOptionsT : public ::flatbuffers::NativeTable {
typedef CastOptions TableType;
tflite::TensorType in_data_type = tflite::TensorType_FLOAT32;
tflite::TensorType out_data_type = tflite::TensorType_FLOAT32;
};
struct CastOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef CastOptionsT NativeTableType;
typedef CastOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_IN_DATA_TYPE = 4,
VT_OUT_DATA_TYPE = 6
};
tflite::TensorType in_data_type() const {
return static_cast<tflite::TensorType>(GetField<int8_t>(VT_IN_DATA_TYPE, 0));
}
tflite::TensorType out_data_type() const {
return static_cast<tflite::TensorType>(GetField<int8_t>(VT_OUT_DATA_TYPE, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_IN_DATA_TYPE, 1) &&
VerifyField<int8_t>(verifier, VT_OUT_DATA_TYPE, 1) &&
verifier.EndTable();
}
CastOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(CastOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<CastOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const CastOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct CastOptionsBuilder {
typedef CastOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_in_data_type(tflite::TensorType in_data_type) {
fbb_.AddElement<int8_t>(CastOptions::VT_IN_DATA_TYPE, static_cast<int8_t>(in_data_type), 0);
}
void add_out_data_type(tflite::TensorType out_data_type) {
fbb_.AddElement<int8_t>(CastOptions::VT_OUT_DATA_TYPE, static_cast<int8_t>(out_data_type), 0);
}
explicit CastOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<CastOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<CastOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<CastOptions> CreateCastOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::TensorType in_data_type = tflite::TensorType_FLOAT32,
tflite::TensorType out_data_type = tflite::TensorType_FLOAT32) {
CastOptionsBuilder builder_(_fbb);
builder_.add_out_data_type(out_data_type);
builder_.add_in_data_type(in_data_type);
return builder_.Finish();
}
::flatbuffers::Offset<CastOptions> CreateCastOptions(::flatbuffers::FlatBufferBuilder &_fbb, const CastOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct DequantizeOptionsT : public ::flatbuffers::NativeTable {
typedef DequantizeOptions TableType;
};
struct DequantizeOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef DequantizeOptionsT NativeTableType;
typedef DequantizeOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
DequantizeOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(DequantizeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<DequantizeOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DequantizeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct DequantizeOptionsBuilder {
typedef DequantizeOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit DequantizeOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<DequantizeOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<DequantizeOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<DequantizeOptions> CreateDequantizeOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
DequantizeOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<DequantizeOptions> CreateDequantizeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const DequantizeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct MaximumMinimumOptionsT : public ::flatbuffers::NativeTable {
typedef MaximumMinimumOptions TableType;
};
struct MaximumMinimumOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef MaximumMinimumOptionsT NativeTableType;
typedef MaximumMinimumOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
MaximumMinimumOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(MaximumMinimumOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<MaximumMinimumOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const MaximumMinimumOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct MaximumMinimumOptionsBuilder {
typedef MaximumMinimumOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit MaximumMinimumOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<MaximumMinimumOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<MaximumMinimumOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<MaximumMinimumOptions> CreateMaximumMinimumOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
MaximumMinimumOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<MaximumMinimumOptions> CreateMaximumMinimumOptions(::flatbuffers::FlatBufferBuilder &_fbb, const MaximumMinimumOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct TileOptionsT : public ::flatbuffers::NativeTable {
typedef TileOptions TableType;
};
struct TileOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef TileOptionsT NativeTableType;
typedef TileOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
TileOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(TileOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<TileOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const TileOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct TileOptionsBuilder {
typedef TileOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit TileOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<TileOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<TileOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<TileOptions> CreateTileOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
TileOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<TileOptions> CreateTileOptions(::flatbuffers::FlatBufferBuilder &_fbb, const TileOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ArgMaxOptionsT : public ::flatbuffers::NativeTable {
typedef ArgMaxOptions TableType;
tflite::TensorType output_type = tflite::TensorType_FLOAT32;
};
struct ArgMaxOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ArgMaxOptionsT NativeTableType;
typedef ArgMaxOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_OUTPUT_TYPE = 4
};
tflite::TensorType output_type() const {
return static_cast<tflite::TensorType>(GetField<int8_t>(VT_OUTPUT_TYPE, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_OUTPUT_TYPE, 1) &&
verifier.EndTable();
}
ArgMaxOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ArgMaxOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ArgMaxOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ArgMaxOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ArgMaxOptionsBuilder {
typedef ArgMaxOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_output_type(tflite::TensorType output_type) {
fbb_.AddElement<int8_t>(ArgMaxOptions::VT_OUTPUT_TYPE, static_cast<int8_t>(output_type), 0);
}
explicit ArgMaxOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ArgMaxOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ArgMaxOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ArgMaxOptions> CreateArgMaxOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::TensorType output_type = tflite::TensorType_FLOAT32) {
ArgMaxOptionsBuilder builder_(_fbb);
builder_.add_output_type(output_type);
return builder_.Finish();
}
::flatbuffers::Offset<ArgMaxOptions> CreateArgMaxOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ArgMaxOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ArgMinOptionsT : public ::flatbuffers::NativeTable {
typedef ArgMinOptions TableType;
tflite::TensorType output_type = tflite::TensorType_FLOAT32;
};
struct ArgMinOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ArgMinOptionsT NativeTableType;
typedef ArgMinOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_OUTPUT_TYPE = 4
};
tflite::TensorType output_type() const {
return static_cast<tflite::TensorType>(GetField<int8_t>(VT_OUTPUT_TYPE, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_OUTPUT_TYPE, 1) &&
verifier.EndTable();
}
ArgMinOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ArgMinOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ArgMinOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ArgMinOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ArgMinOptionsBuilder {
typedef ArgMinOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_output_type(tflite::TensorType output_type) {
fbb_.AddElement<int8_t>(ArgMinOptions::VT_OUTPUT_TYPE, static_cast<int8_t>(output_type), 0);
}
explicit ArgMinOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ArgMinOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ArgMinOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ArgMinOptions> CreateArgMinOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::TensorType output_type = tflite::TensorType_FLOAT32) {
ArgMinOptionsBuilder builder_(_fbb);
builder_.add_output_type(output_type);
return builder_.Finish();
}
::flatbuffers::Offset<ArgMinOptions> CreateArgMinOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ArgMinOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct GreaterOptionsT : public ::flatbuffers::NativeTable {
typedef GreaterOptions TableType;
};
struct GreaterOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef GreaterOptionsT NativeTableType;
typedef GreaterOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
GreaterOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(GreaterOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<GreaterOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const GreaterOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct GreaterOptionsBuilder {
typedef GreaterOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit GreaterOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<GreaterOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<GreaterOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<GreaterOptions> CreateGreaterOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
GreaterOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<GreaterOptions> CreateGreaterOptions(::flatbuffers::FlatBufferBuilder &_fbb, const GreaterOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct GreaterEqualOptionsT : public ::flatbuffers::NativeTable {
typedef GreaterEqualOptions TableType;
};
struct GreaterEqualOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef GreaterEqualOptionsT NativeTableType;
typedef GreaterEqualOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
GreaterEqualOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(GreaterEqualOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<GreaterEqualOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const GreaterEqualOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct GreaterEqualOptionsBuilder {
typedef GreaterEqualOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit GreaterEqualOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<GreaterEqualOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<GreaterEqualOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<GreaterEqualOptions> CreateGreaterEqualOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
GreaterEqualOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<GreaterEqualOptions> CreateGreaterEqualOptions(::flatbuffers::FlatBufferBuilder &_fbb, const GreaterEqualOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct LessOptionsT : public ::flatbuffers::NativeTable {
typedef LessOptions TableType;
};
struct LessOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef LessOptionsT NativeTableType;
typedef LessOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
LessOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(LessOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<LessOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LessOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct LessOptionsBuilder {
typedef LessOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit LessOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<LessOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<LessOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<LessOptions> CreateLessOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
LessOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<LessOptions> CreateLessOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LessOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct LessEqualOptionsT : public ::flatbuffers::NativeTable {
typedef LessEqualOptions TableType;
};
struct LessEqualOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef LessEqualOptionsT NativeTableType;
typedef LessEqualOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
LessEqualOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(LessEqualOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<LessEqualOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LessEqualOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct LessEqualOptionsBuilder {
typedef LessEqualOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit LessEqualOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<LessEqualOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<LessEqualOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<LessEqualOptions> CreateLessEqualOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
LessEqualOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<LessEqualOptions> CreateLessEqualOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LessEqualOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct NegOptionsT : public ::flatbuffers::NativeTable {
typedef NegOptions TableType;
};
struct NegOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef NegOptionsT NativeTableType;
typedef NegOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
NegOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(NegOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<NegOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const NegOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct NegOptionsBuilder {
typedef NegOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit NegOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<NegOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<NegOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<NegOptions> CreateNegOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
NegOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<NegOptions> CreateNegOptions(::flatbuffers::FlatBufferBuilder &_fbb, const NegOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SelectOptionsT : public ::flatbuffers::NativeTable {
typedef SelectOptions TableType;
};
struct SelectOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SelectOptionsT NativeTableType;
typedef SelectOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
SelectOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SelectOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SelectOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SelectOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SelectOptionsBuilder {
typedef SelectOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit SelectOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SelectOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SelectOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SelectOptions> CreateSelectOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
SelectOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<SelectOptions> CreateSelectOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SelectOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SliceOptionsT : public ::flatbuffers::NativeTable {
typedef SliceOptions TableType;
};
struct SliceOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SliceOptionsT NativeTableType;
typedef SliceOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
SliceOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SliceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SliceOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SliceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SliceOptionsBuilder {
typedef SliceOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit SliceOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SliceOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SliceOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SliceOptions> CreateSliceOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
SliceOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<SliceOptions> CreateSliceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SliceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct TransposeConvOptionsT : public ::flatbuffers::NativeTable {
typedef TransposeConvOptions TableType;
tflite::Padding padding = tflite::Padding_SAME;
int32_t stride_w = 0;
int32_t stride_h = 0;
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE;
};
struct TransposeConvOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef TransposeConvOptionsT NativeTableType;
typedef TransposeConvOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_PADDING = 4,
VT_STRIDE_W = 6,
VT_STRIDE_H = 8,
VT_FUSED_ACTIVATION_FUNCTION = 10
};
tflite::Padding padding() const {
return static_cast<tflite::Padding>(GetField<int8_t>(VT_PADDING, 0));
}
int32_t stride_w() const {
return GetField<int32_t>(VT_STRIDE_W, 0);
}
int32_t stride_h() const {
return GetField<int32_t>(VT_STRIDE_H, 0);
}
tflite::ActivationFunctionType fused_activation_function() const {
return static_cast<tflite::ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_PADDING, 1) &&
VerifyField<int32_t>(verifier, VT_STRIDE_W, 4) &&
VerifyField<int32_t>(verifier, VT_STRIDE_H, 4) &&
VerifyField<int8_t>(verifier, VT_FUSED_ACTIVATION_FUNCTION, 1) &&
verifier.EndTable();
}
TransposeConvOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(TransposeConvOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<TransposeConvOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const TransposeConvOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct TransposeConvOptionsBuilder {
typedef TransposeConvOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_padding(tflite::Padding padding) {
fbb_.AddElement<int8_t>(TransposeConvOptions::VT_PADDING, static_cast<int8_t>(padding), 0);
}
void add_stride_w(int32_t stride_w) {
fbb_.AddElement<int32_t>(TransposeConvOptions::VT_STRIDE_W, stride_w, 0);
}
void add_stride_h(int32_t stride_h) {
fbb_.AddElement<int32_t>(TransposeConvOptions::VT_STRIDE_H, stride_h, 0);
}
void add_fused_activation_function(tflite::ActivationFunctionType fused_activation_function) {
fbb_.AddElement<int8_t>(TransposeConvOptions::VT_FUSED_ACTIVATION_FUNCTION, static_cast<int8_t>(fused_activation_function), 0);
}
explicit TransposeConvOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<TransposeConvOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<TransposeConvOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<TransposeConvOptions> CreateTransposeConvOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::Padding padding = tflite::Padding_SAME,
int32_t stride_w = 0,
int32_t stride_h = 0,
tflite::ActivationFunctionType fused_activation_function = tflite::ActivationFunctionType_NONE) {
TransposeConvOptionsBuilder builder_(_fbb);
builder_.add_stride_h(stride_h);
builder_.add_stride_w(stride_w);
builder_.add_fused_activation_function(fused_activation_function);
builder_.add_padding(padding);
return builder_.Finish();
}
::flatbuffers::Offset<TransposeConvOptions> CreateTransposeConvOptions(::flatbuffers::FlatBufferBuilder &_fbb, const TransposeConvOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ExpandDimsOptionsT : public ::flatbuffers::NativeTable {
typedef ExpandDimsOptions TableType;
};
struct ExpandDimsOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ExpandDimsOptionsT NativeTableType;
typedef ExpandDimsOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
ExpandDimsOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ExpandDimsOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ExpandDimsOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ExpandDimsOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ExpandDimsOptionsBuilder {
typedef ExpandDimsOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit ExpandDimsOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ExpandDimsOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ExpandDimsOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ExpandDimsOptions> CreateExpandDimsOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
ExpandDimsOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<ExpandDimsOptions> CreateExpandDimsOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ExpandDimsOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SparseToDenseOptionsT : public ::flatbuffers::NativeTable {
typedef SparseToDenseOptions TableType;
bool validate_indices = false;
};
struct SparseToDenseOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SparseToDenseOptionsT NativeTableType;
typedef SparseToDenseOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_VALIDATE_INDICES = 4
};
bool validate_indices() const {
return GetField<uint8_t>(VT_VALIDATE_INDICES, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<uint8_t>(verifier, VT_VALIDATE_INDICES, 1) &&
verifier.EndTable();
}
SparseToDenseOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SparseToDenseOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SparseToDenseOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SparseToDenseOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SparseToDenseOptionsBuilder {
typedef SparseToDenseOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_validate_indices(bool validate_indices) {
fbb_.AddElement<uint8_t>(SparseToDenseOptions::VT_VALIDATE_INDICES, static_cast<uint8_t>(validate_indices), 0);
}
explicit SparseToDenseOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SparseToDenseOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SparseToDenseOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SparseToDenseOptions> CreateSparseToDenseOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
bool validate_indices = false) {
SparseToDenseOptionsBuilder builder_(_fbb);
builder_.add_validate_indices(validate_indices);
return builder_.Finish();
}
::flatbuffers::Offset<SparseToDenseOptions> CreateSparseToDenseOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SparseToDenseOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct EqualOptionsT : public ::flatbuffers::NativeTable {
typedef EqualOptions TableType;
};
struct EqualOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef EqualOptionsT NativeTableType;
typedef EqualOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
EqualOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(EqualOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<EqualOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const EqualOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct EqualOptionsBuilder {
typedef EqualOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit EqualOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<EqualOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<EqualOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<EqualOptions> CreateEqualOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
EqualOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<EqualOptions> CreateEqualOptions(::flatbuffers::FlatBufferBuilder &_fbb, const EqualOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct NotEqualOptionsT : public ::flatbuffers::NativeTable {
typedef NotEqualOptions TableType;
};
struct NotEqualOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef NotEqualOptionsT NativeTableType;
typedef NotEqualOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
NotEqualOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(NotEqualOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<NotEqualOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const NotEqualOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct NotEqualOptionsBuilder {
typedef NotEqualOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit NotEqualOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<NotEqualOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<NotEqualOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<NotEqualOptions> CreateNotEqualOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
NotEqualOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<NotEqualOptions> CreateNotEqualOptions(::flatbuffers::FlatBufferBuilder &_fbb, const NotEqualOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ShapeOptionsT : public ::flatbuffers::NativeTable {
typedef ShapeOptions TableType;
tflite::TensorType out_type = tflite::TensorType_FLOAT32;
};
struct ShapeOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ShapeOptionsT NativeTableType;
typedef ShapeOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_OUT_TYPE = 4
};
tflite::TensorType out_type() const {
return static_cast<tflite::TensorType>(GetField<int8_t>(VT_OUT_TYPE, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_OUT_TYPE, 1) &&
verifier.EndTable();
}
ShapeOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ShapeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ShapeOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ShapeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ShapeOptionsBuilder {
typedef ShapeOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_out_type(tflite::TensorType out_type) {
fbb_.AddElement<int8_t>(ShapeOptions::VT_OUT_TYPE, static_cast<int8_t>(out_type), 0);
}
explicit ShapeOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ShapeOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ShapeOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ShapeOptions> CreateShapeOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::TensorType out_type = tflite::TensorType_FLOAT32) {
ShapeOptionsBuilder builder_(_fbb);
builder_.add_out_type(out_type);
return builder_.Finish();
}
::flatbuffers::Offset<ShapeOptions> CreateShapeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ShapeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct RankOptionsT : public ::flatbuffers::NativeTable {
typedef RankOptions TableType;
};
struct RankOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef RankOptionsT NativeTableType;
typedef RankOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
RankOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(RankOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<RankOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const RankOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct RankOptionsBuilder {
typedef RankOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit RankOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<RankOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<RankOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<RankOptions> CreateRankOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
RankOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<RankOptions> CreateRankOptions(::flatbuffers::FlatBufferBuilder &_fbb, const RankOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct PowOptionsT : public ::flatbuffers::NativeTable {
typedef PowOptions TableType;
};
struct PowOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef PowOptionsT NativeTableType;
typedef PowOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
PowOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(PowOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<PowOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const PowOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct PowOptionsBuilder {
typedef PowOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit PowOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<PowOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<PowOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<PowOptions> CreatePowOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
PowOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<PowOptions> CreatePowOptions(::flatbuffers::FlatBufferBuilder &_fbb, const PowOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct FakeQuantOptionsT : public ::flatbuffers::NativeTable {
typedef FakeQuantOptions TableType;
float min = 0.0f;
float max = 0.0f;
int32_t num_bits = 0;
bool narrow_range = false;
};
struct FakeQuantOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef FakeQuantOptionsT NativeTableType;
typedef FakeQuantOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_MIN = 4,
VT_MAX = 6,
VT_NUM_BITS = 8,
VT_NARROW_RANGE = 10
};
float min() const {
return GetField<float>(VT_MIN, 0.0f);
}
float max() const {
return GetField<float>(VT_MAX, 0.0f);
}
int32_t num_bits() const {
return GetField<int32_t>(VT_NUM_BITS, 0);
}
bool narrow_range() const {
return GetField<uint8_t>(VT_NARROW_RANGE, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<float>(verifier, VT_MIN, 4) &&
VerifyField<float>(verifier, VT_MAX, 4) &&
VerifyField<int32_t>(verifier, VT_NUM_BITS, 4) &&
VerifyField<uint8_t>(verifier, VT_NARROW_RANGE, 1) &&
verifier.EndTable();
}
FakeQuantOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(FakeQuantOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<FakeQuantOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const FakeQuantOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct FakeQuantOptionsBuilder {
typedef FakeQuantOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_min(float min) {
fbb_.AddElement<float>(FakeQuantOptions::VT_MIN, min, 0.0f);
}
void add_max(float max) {
fbb_.AddElement<float>(FakeQuantOptions::VT_MAX, max, 0.0f);
}
void add_num_bits(int32_t num_bits) {
fbb_.AddElement<int32_t>(FakeQuantOptions::VT_NUM_BITS, num_bits, 0);
}
void add_narrow_range(bool narrow_range) {
fbb_.AddElement<uint8_t>(FakeQuantOptions::VT_NARROW_RANGE, static_cast<uint8_t>(narrow_range), 0);
}
explicit FakeQuantOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<FakeQuantOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<FakeQuantOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<FakeQuantOptions> CreateFakeQuantOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
float min = 0.0f,
float max = 0.0f,
int32_t num_bits = 0,
bool narrow_range = false) {
FakeQuantOptionsBuilder builder_(_fbb);
builder_.add_num_bits(num_bits);
builder_.add_max(max);
builder_.add_min(min);
builder_.add_narrow_range(narrow_range);
return builder_.Finish();
}
::flatbuffers::Offset<FakeQuantOptions> CreateFakeQuantOptions(::flatbuffers::FlatBufferBuilder &_fbb, const FakeQuantOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct PackOptionsT : public ::flatbuffers::NativeTable {
typedef PackOptions TableType;
int32_t values_count = 0;
int32_t axis = 0;
};
struct PackOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef PackOptionsT NativeTableType;
typedef PackOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_VALUES_COUNT = 4,
VT_AXIS = 6
};
int32_t values_count() const {
return GetField<int32_t>(VT_VALUES_COUNT, 0);
}
int32_t axis() const {
return GetField<int32_t>(VT_AXIS, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_VALUES_COUNT, 4) &&
VerifyField<int32_t>(verifier, VT_AXIS, 4) &&
verifier.EndTable();
}
PackOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(PackOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<PackOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const PackOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct PackOptionsBuilder {
typedef PackOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_values_count(int32_t values_count) {
fbb_.AddElement<int32_t>(PackOptions::VT_VALUES_COUNT, values_count, 0);
}
void add_axis(int32_t axis) {
fbb_.AddElement<int32_t>(PackOptions::VT_AXIS, axis, 0);
}
explicit PackOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<PackOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<PackOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<PackOptions> CreatePackOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t values_count = 0,
int32_t axis = 0) {
PackOptionsBuilder builder_(_fbb);
builder_.add_axis(axis);
builder_.add_values_count(values_count);
return builder_.Finish();
}
::flatbuffers::Offset<PackOptions> CreatePackOptions(::flatbuffers::FlatBufferBuilder &_fbb, const PackOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct LogicalOrOptionsT : public ::flatbuffers::NativeTable {
typedef LogicalOrOptions TableType;
};
struct LogicalOrOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef LogicalOrOptionsT NativeTableType;
typedef LogicalOrOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
LogicalOrOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(LogicalOrOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<LogicalOrOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LogicalOrOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct LogicalOrOptionsBuilder {
typedef LogicalOrOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit LogicalOrOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<LogicalOrOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<LogicalOrOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<LogicalOrOptions> CreateLogicalOrOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
LogicalOrOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<LogicalOrOptions> CreateLogicalOrOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LogicalOrOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct OneHotOptionsT : public ::flatbuffers::NativeTable {
typedef OneHotOptions TableType;
int32_t axis = 0;
};
struct OneHotOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef OneHotOptionsT NativeTableType;
typedef OneHotOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_AXIS = 4
};
int32_t axis() const {
return GetField<int32_t>(VT_AXIS, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_AXIS, 4) &&
verifier.EndTable();
}
OneHotOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(OneHotOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<OneHotOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const OneHotOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct OneHotOptionsBuilder {
typedef OneHotOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_axis(int32_t axis) {
fbb_.AddElement<int32_t>(OneHotOptions::VT_AXIS, axis, 0);
}
explicit OneHotOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<OneHotOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<OneHotOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<OneHotOptions> CreateOneHotOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t axis = 0) {
OneHotOptionsBuilder builder_(_fbb);
builder_.add_axis(axis);
return builder_.Finish();
}
::flatbuffers::Offset<OneHotOptions> CreateOneHotOptions(::flatbuffers::FlatBufferBuilder &_fbb, const OneHotOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct AbsOptionsT : public ::flatbuffers::NativeTable {
typedef AbsOptions TableType;
};
struct AbsOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef AbsOptionsT NativeTableType;
typedef AbsOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
AbsOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(AbsOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<AbsOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const AbsOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct AbsOptionsBuilder {
typedef AbsOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit AbsOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<AbsOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<AbsOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<AbsOptions> CreateAbsOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
AbsOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<AbsOptions> CreateAbsOptions(::flatbuffers::FlatBufferBuilder &_fbb, const AbsOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct HardSwishOptionsT : public ::flatbuffers::NativeTable {
typedef HardSwishOptions TableType;
};
struct HardSwishOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef HardSwishOptionsT NativeTableType;
typedef HardSwishOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
HardSwishOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(HardSwishOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<HardSwishOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const HardSwishOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct HardSwishOptionsBuilder {
typedef HardSwishOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit HardSwishOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<HardSwishOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<HardSwishOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<HardSwishOptions> CreateHardSwishOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
HardSwishOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<HardSwishOptions> CreateHardSwishOptions(::flatbuffers::FlatBufferBuilder &_fbb, const HardSwishOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct LogicalAndOptionsT : public ::flatbuffers::NativeTable {
typedef LogicalAndOptions TableType;
};
struct LogicalAndOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef LogicalAndOptionsT NativeTableType;
typedef LogicalAndOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
LogicalAndOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(LogicalAndOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<LogicalAndOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LogicalAndOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct LogicalAndOptionsBuilder {
typedef LogicalAndOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit LogicalAndOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<LogicalAndOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<LogicalAndOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<LogicalAndOptions> CreateLogicalAndOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
LogicalAndOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<LogicalAndOptions> CreateLogicalAndOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LogicalAndOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct LogicalNotOptionsT : public ::flatbuffers::NativeTable {
typedef LogicalNotOptions TableType;
};
struct LogicalNotOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef LogicalNotOptionsT NativeTableType;
typedef LogicalNotOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
LogicalNotOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(LogicalNotOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<LogicalNotOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LogicalNotOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct LogicalNotOptionsBuilder {
typedef LogicalNotOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit LogicalNotOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<LogicalNotOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<LogicalNotOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<LogicalNotOptions> CreateLogicalNotOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
LogicalNotOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<LogicalNotOptions> CreateLogicalNotOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LogicalNotOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct UnpackOptionsT : public ::flatbuffers::NativeTable {
typedef UnpackOptions TableType;
int32_t num = 0;
int32_t axis = 0;
};
struct UnpackOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef UnpackOptionsT NativeTableType;
typedef UnpackOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_NUM = 4,
VT_AXIS = 6
};
int32_t num() const {
return GetField<int32_t>(VT_NUM, 0);
}
int32_t axis() const {
return GetField<int32_t>(VT_AXIS, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_NUM, 4) &&
VerifyField<int32_t>(verifier, VT_AXIS, 4) &&
verifier.EndTable();
}
UnpackOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(UnpackOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<UnpackOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UnpackOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct UnpackOptionsBuilder {
typedef UnpackOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_num(int32_t num) {
fbb_.AddElement<int32_t>(UnpackOptions::VT_NUM, num, 0);
}
void add_axis(int32_t axis) {
fbb_.AddElement<int32_t>(UnpackOptions::VT_AXIS, axis, 0);
}
explicit UnpackOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<UnpackOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<UnpackOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<UnpackOptions> CreateUnpackOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t num = 0,
int32_t axis = 0) {
UnpackOptionsBuilder builder_(_fbb);
builder_.add_axis(axis);
builder_.add_num(num);
return builder_.Finish();
}
::flatbuffers::Offset<UnpackOptions> CreateUnpackOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UnpackOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct FloorDivOptionsT : public ::flatbuffers::NativeTable {
typedef FloorDivOptions TableType;
};
struct FloorDivOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef FloorDivOptionsT NativeTableType;
typedef FloorDivOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
FloorDivOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(FloorDivOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<FloorDivOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const FloorDivOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct FloorDivOptionsBuilder {
typedef FloorDivOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit FloorDivOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<FloorDivOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<FloorDivOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<FloorDivOptions> CreateFloorDivOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
FloorDivOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<FloorDivOptions> CreateFloorDivOptions(::flatbuffers::FlatBufferBuilder &_fbb, const FloorDivOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SquareOptionsT : public ::flatbuffers::NativeTable {
typedef SquareOptions TableType;
};
struct SquareOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SquareOptionsT NativeTableType;
typedef SquareOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
SquareOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SquareOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SquareOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SquareOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SquareOptionsBuilder {
typedef SquareOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit SquareOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SquareOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SquareOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SquareOptions> CreateSquareOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
SquareOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<SquareOptions> CreateSquareOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SquareOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ZerosLikeOptionsT : public ::flatbuffers::NativeTable {
typedef ZerosLikeOptions TableType;
};
struct ZerosLikeOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ZerosLikeOptionsT NativeTableType;
typedef ZerosLikeOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
ZerosLikeOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ZerosLikeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ZerosLikeOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ZerosLikeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ZerosLikeOptionsBuilder {
typedef ZerosLikeOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit ZerosLikeOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ZerosLikeOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ZerosLikeOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ZerosLikeOptions> CreateZerosLikeOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
ZerosLikeOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<ZerosLikeOptions> CreateZerosLikeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ZerosLikeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct FillOptionsT : public ::flatbuffers::NativeTable {
typedef FillOptions TableType;
};
struct FillOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef FillOptionsT NativeTableType;
typedef FillOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
FillOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(FillOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<FillOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const FillOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct FillOptionsBuilder {
typedef FillOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit FillOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<FillOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<FillOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<FillOptions> CreateFillOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
FillOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<FillOptions> CreateFillOptions(::flatbuffers::FlatBufferBuilder &_fbb, const FillOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct FloorModOptionsT : public ::flatbuffers::NativeTable {
typedef FloorModOptions TableType;
};
struct FloorModOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef FloorModOptionsT NativeTableType;
typedef FloorModOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
FloorModOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(FloorModOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<FloorModOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const FloorModOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct FloorModOptionsBuilder {
typedef FloorModOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit FloorModOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<FloorModOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<FloorModOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<FloorModOptions> CreateFloorModOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
FloorModOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<FloorModOptions> CreateFloorModOptions(::flatbuffers::FlatBufferBuilder &_fbb, const FloorModOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct RangeOptionsT : public ::flatbuffers::NativeTable {
typedef RangeOptions TableType;
};
struct RangeOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef RangeOptionsT NativeTableType;
typedef RangeOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
RangeOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(RangeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<RangeOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const RangeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct RangeOptionsBuilder {
typedef RangeOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit RangeOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<RangeOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<RangeOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<RangeOptions> CreateRangeOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
RangeOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<RangeOptions> CreateRangeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const RangeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct LeakyReluOptionsT : public ::flatbuffers::NativeTable {
typedef LeakyReluOptions TableType;
float alpha = 0.0f;
};
struct LeakyReluOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef LeakyReluOptionsT NativeTableType;
typedef LeakyReluOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_ALPHA = 4
};
float alpha() const {
return GetField<float>(VT_ALPHA, 0.0f);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<float>(verifier, VT_ALPHA, 4) &&
verifier.EndTable();
}
LeakyReluOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(LeakyReluOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<LeakyReluOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LeakyReluOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct LeakyReluOptionsBuilder {
typedef LeakyReluOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_alpha(float alpha) {
fbb_.AddElement<float>(LeakyReluOptions::VT_ALPHA, alpha, 0.0f);
}
explicit LeakyReluOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<LeakyReluOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<LeakyReluOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<LeakyReluOptions> CreateLeakyReluOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
float alpha = 0.0f) {
LeakyReluOptionsBuilder builder_(_fbb);
builder_.add_alpha(alpha);
return builder_.Finish();
}
::flatbuffers::Offset<LeakyReluOptions> CreateLeakyReluOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LeakyReluOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SquaredDifferenceOptionsT : public ::flatbuffers::NativeTable {
typedef SquaredDifferenceOptions TableType;
};
struct SquaredDifferenceOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SquaredDifferenceOptionsT NativeTableType;
typedef SquaredDifferenceOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
SquaredDifferenceOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SquaredDifferenceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SquaredDifferenceOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SquaredDifferenceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SquaredDifferenceOptionsBuilder {
typedef SquaredDifferenceOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit SquaredDifferenceOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SquaredDifferenceOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SquaredDifferenceOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SquaredDifferenceOptions> CreateSquaredDifferenceOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
SquaredDifferenceOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<SquaredDifferenceOptions> CreateSquaredDifferenceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SquaredDifferenceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct MirrorPadOptionsT : public ::flatbuffers::NativeTable {
typedef MirrorPadOptions TableType;
tflite::MirrorPadMode mode = tflite::MirrorPadMode_REFLECT;
};
struct MirrorPadOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef MirrorPadOptionsT NativeTableType;
typedef MirrorPadOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_MODE = 4
};
tflite::MirrorPadMode mode() const {
return static_cast<tflite::MirrorPadMode>(GetField<int8_t>(VT_MODE, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_MODE, 1) &&
verifier.EndTable();
}
MirrorPadOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(MirrorPadOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<MirrorPadOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const MirrorPadOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct MirrorPadOptionsBuilder {
typedef MirrorPadOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_mode(tflite::MirrorPadMode mode) {
fbb_.AddElement<int8_t>(MirrorPadOptions::VT_MODE, static_cast<int8_t>(mode), 0);
}
explicit MirrorPadOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<MirrorPadOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<MirrorPadOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<MirrorPadOptions> CreateMirrorPadOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::MirrorPadMode mode = tflite::MirrorPadMode_REFLECT) {
MirrorPadOptionsBuilder builder_(_fbb);
builder_.add_mode(mode);
return builder_.Finish();
}
::flatbuffers::Offset<MirrorPadOptions> CreateMirrorPadOptions(::flatbuffers::FlatBufferBuilder &_fbb, const MirrorPadOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct UniqueOptionsT : public ::flatbuffers::NativeTable {
typedef UniqueOptions TableType;
tflite::TensorType idx_out_type = tflite::TensorType_INT32;
};
struct UniqueOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef UniqueOptionsT NativeTableType;
typedef UniqueOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_IDX_OUT_TYPE = 4
};
tflite::TensorType idx_out_type() const {
return static_cast<tflite::TensorType>(GetField<int8_t>(VT_IDX_OUT_TYPE, 2));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_IDX_OUT_TYPE, 1) &&
verifier.EndTable();
}
UniqueOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(UniqueOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<UniqueOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UniqueOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct UniqueOptionsBuilder {
typedef UniqueOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_idx_out_type(tflite::TensorType idx_out_type) {
fbb_.AddElement<int8_t>(UniqueOptions::VT_IDX_OUT_TYPE, static_cast<int8_t>(idx_out_type), 2);
}
explicit UniqueOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<UniqueOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<UniqueOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<UniqueOptions> CreateUniqueOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
tflite::TensorType idx_out_type = tflite::TensorType_INT32) {
UniqueOptionsBuilder builder_(_fbb);
builder_.add_idx_out_type(idx_out_type);
return builder_.Finish();
}
::flatbuffers::Offset<UniqueOptions> CreateUniqueOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UniqueOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ReverseV2OptionsT : public ::flatbuffers::NativeTable {
typedef ReverseV2Options TableType;
};
struct ReverseV2Options FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ReverseV2OptionsT NativeTableType;
typedef ReverseV2OptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
ReverseV2OptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ReverseV2OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ReverseV2Options> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ReverseV2OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ReverseV2OptionsBuilder {
typedef ReverseV2Options Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit ReverseV2OptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ReverseV2Options> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ReverseV2Options>(end);
return o;
}
};
inline ::flatbuffers::Offset<ReverseV2Options> CreateReverseV2Options(
::flatbuffers::FlatBufferBuilder &_fbb) {
ReverseV2OptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<ReverseV2Options> CreateReverseV2Options(::flatbuffers::FlatBufferBuilder &_fbb, const ReverseV2OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct AddNOptionsT : public ::flatbuffers::NativeTable {
typedef AddNOptions TableType;
};
struct AddNOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef AddNOptionsT NativeTableType;
typedef AddNOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
AddNOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(AddNOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<AddNOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const AddNOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct AddNOptionsBuilder {
typedef AddNOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit AddNOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<AddNOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<AddNOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<AddNOptions> CreateAddNOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
AddNOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<AddNOptions> CreateAddNOptions(::flatbuffers::FlatBufferBuilder &_fbb, const AddNOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct GatherNdOptionsT : public ::flatbuffers::NativeTable {
typedef GatherNdOptions TableType;
};
struct GatherNdOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef GatherNdOptionsT NativeTableType;
typedef GatherNdOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
GatherNdOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(GatherNdOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<GatherNdOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const GatherNdOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct GatherNdOptionsBuilder {
typedef GatherNdOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit GatherNdOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<GatherNdOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<GatherNdOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<GatherNdOptions> CreateGatherNdOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
GatherNdOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<GatherNdOptions> CreateGatherNdOptions(::flatbuffers::FlatBufferBuilder &_fbb, const GatherNdOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct WhereOptionsT : public ::flatbuffers::NativeTable {
typedef WhereOptions TableType;
};
struct WhereOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef WhereOptionsT NativeTableType;
typedef WhereOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
WhereOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(WhereOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<WhereOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const WhereOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct WhereOptionsBuilder {
typedef WhereOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit WhereOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<WhereOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<WhereOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<WhereOptions> CreateWhereOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
WhereOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<WhereOptions> CreateWhereOptions(::flatbuffers::FlatBufferBuilder &_fbb, const WhereOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ReverseSequenceOptionsT : public ::flatbuffers::NativeTable {
typedef ReverseSequenceOptions TableType;
int32_t seq_dim = 0;
int32_t batch_dim = 0;
};
struct ReverseSequenceOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ReverseSequenceOptionsT NativeTableType;
typedef ReverseSequenceOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_SEQ_DIM = 4,
VT_BATCH_DIM = 6
};
int32_t seq_dim() const {
return GetField<int32_t>(VT_SEQ_DIM, 0);
}
int32_t batch_dim() const {
return GetField<int32_t>(VT_BATCH_DIM, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_SEQ_DIM, 4) &&
VerifyField<int32_t>(verifier, VT_BATCH_DIM, 4) &&
verifier.EndTable();
}
ReverseSequenceOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ReverseSequenceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ReverseSequenceOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ReverseSequenceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ReverseSequenceOptionsBuilder {
typedef ReverseSequenceOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_seq_dim(int32_t seq_dim) {
fbb_.AddElement<int32_t>(ReverseSequenceOptions::VT_SEQ_DIM, seq_dim, 0);
}
void add_batch_dim(int32_t batch_dim) {
fbb_.AddElement<int32_t>(ReverseSequenceOptions::VT_BATCH_DIM, batch_dim, 0);
}
explicit ReverseSequenceOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ReverseSequenceOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ReverseSequenceOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ReverseSequenceOptions> CreateReverseSequenceOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t seq_dim = 0,
int32_t batch_dim = 0) {
ReverseSequenceOptionsBuilder builder_(_fbb);
builder_.add_batch_dim(batch_dim);
builder_.add_seq_dim(seq_dim);
return builder_.Finish();
}
::flatbuffers::Offset<ReverseSequenceOptions> CreateReverseSequenceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ReverseSequenceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct MatrixDiagOptionsT : public ::flatbuffers::NativeTable {
typedef MatrixDiagOptions TableType;
};
struct MatrixDiagOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef MatrixDiagOptionsT NativeTableType;
typedef MatrixDiagOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
MatrixDiagOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(MatrixDiagOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<MatrixDiagOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const MatrixDiagOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct MatrixDiagOptionsBuilder {
typedef MatrixDiagOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit MatrixDiagOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<MatrixDiagOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<MatrixDiagOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<MatrixDiagOptions> CreateMatrixDiagOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
MatrixDiagOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<MatrixDiagOptions> CreateMatrixDiagOptions(::flatbuffers::FlatBufferBuilder &_fbb, const MatrixDiagOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct QuantizeOptionsT : public ::flatbuffers::NativeTable {
typedef QuantizeOptions TableType;
};
struct QuantizeOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef QuantizeOptionsT NativeTableType;
typedef QuantizeOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
QuantizeOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(QuantizeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<QuantizeOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const QuantizeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct QuantizeOptionsBuilder {
typedef QuantizeOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit QuantizeOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<QuantizeOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<QuantizeOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<QuantizeOptions> CreateQuantizeOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
QuantizeOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<QuantizeOptions> CreateQuantizeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const QuantizeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct MatrixSetDiagOptionsT : public ::flatbuffers::NativeTable {
typedef MatrixSetDiagOptions TableType;
};
struct MatrixSetDiagOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef MatrixSetDiagOptionsT NativeTableType;
typedef MatrixSetDiagOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
MatrixSetDiagOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(MatrixSetDiagOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<MatrixSetDiagOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const MatrixSetDiagOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct MatrixSetDiagOptionsBuilder {
typedef MatrixSetDiagOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit MatrixSetDiagOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<MatrixSetDiagOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<MatrixSetDiagOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<MatrixSetDiagOptions> CreateMatrixSetDiagOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
MatrixSetDiagOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<MatrixSetDiagOptions> CreateMatrixSetDiagOptions(::flatbuffers::FlatBufferBuilder &_fbb, const MatrixSetDiagOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct IfOptionsT : public ::flatbuffers::NativeTable {
typedef IfOptions TableType;
int32_t then_subgraph_index = 0;
int32_t else_subgraph_index = 0;
};
struct IfOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef IfOptionsT NativeTableType;
typedef IfOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_THEN_SUBGRAPH_INDEX = 4,
VT_ELSE_SUBGRAPH_INDEX = 6
};
int32_t then_subgraph_index() const {
return GetField<int32_t>(VT_THEN_SUBGRAPH_INDEX, 0);
}
int32_t else_subgraph_index() const {
return GetField<int32_t>(VT_ELSE_SUBGRAPH_INDEX, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_THEN_SUBGRAPH_INDEX, 4) &&
VerifyField<int32_t>(verifier, VT_ELSE_SUBGRAPH_INDEX, 4) &&
verifier.EndTable();
}
IfOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(IfOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<IfOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const IfOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct IfOptionsBuilder {
typedef IfOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_then_subgraph_index(int32_t then_subgraph_index) {
fbb_.AddElement<int32_t>(IfOptions::VT_THEN_SUBGRAPH_INDEX, then_subgraph_index, 0);
}
void add_else_subgraph_index(int32_t else_subgraph_index) {
fbb_.AddElement<int32_t>(IfOptions::VT_ELSE_SUBGRAPH_INDEX, else_subgraph_index, 0);
}
explicit IfOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<IfOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<IfOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<IfOptions> CreateIfOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t then_subgraph_index = 0,
int32_t else_subgraph_index = 0) {
IfOptionsBuilder builder_(_fbb);
builder_.add_else_subgraph_index(else_subgraph_index);
builder_.add_then_subgraph_index(then_subgraph_index);
return builder_.Finish();
}
::flatbuffers::Offset<IfOptions> CreateIfOptions(::flatbuffers::FlatBufferBuilder &_fbb, const IfOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct CallOnceOptionsT : public ::flatbuffers::NativeTable {
typedef CallOnceOptions TableType;
int32_t init_subgraph_index = 0;
};
struct CallOnceOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef CallOnceOptionsT NativeTableType;
typedef CallOnceOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_INIT_SUBGRAPH_INDEX = 4
};
int32_t init_subgraph_index() const {
return GetField<int32_t>(VT_INIT_SUBGRAPH_INDEX, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_INIT_SUBGRAPH_INDEX, 4) &&
verifier.EndTable();
}
CallOnceOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(CallOnceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<CallOnceOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const CallOnceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct CallOnceOptionsBuilder {
typedef CallOnceOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_init_subgraph_index(int32_t init_subgraph_index) {
fbb_.AddElement<int32_t>(CallOnceOptions::VT_INIT_SUBGRAPH_INDEX, init_subgraph_index, 0);
}
explicit CallOnceOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<CallOnceOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<CallOnceOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<CallOnceOptions> CreateCallOnceOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t init_subgraph_index = 0) {
CallOnceOptionsBuilder builder_(_fbb);
builder_.add_init_subgraph_index(init_subgraph_index);
return builder_.Finish();
}
::flatbuffers::Offset<CallOnceOptions> CreateCallOnceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const CallOnceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct WhileOptionsT : public ::flatbuffers::NativeTable {
typedef WhileOptions TableType;
int32_t cond_subgraph_index = 0;
int32_t body_subgraph_index = 0;
};
struct WhileOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef WhileOptionsT NativeTableType;
typedef WhileOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_COND_SUBGRAPH_INDEX = 4,
VT_BODY_SUBGRAPH_INDEX = 6
};
int32_t cond_subgraph_index() const {
return GetField<int32_t>(VT_COND_SUBGRAPH_INDEX, 0);
}
int32_t body_subgraph_index() const {
return GetField<int32_t>(VT_BODY_SUBGRAPH_INDEX, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_COND_SUBGRAPH_INDEX, 4) &&
VerifyField<int32_t>(verifier, VT_BODY_SUBGRAPH_INDEX, 4) &&
verifier.EndTable();
}
WhileOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(WhileOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<WhileOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const WhileOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct WhileOptionsBuilder {
typedef WhileOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_cond_subgraph_index(int32_t cond_subgraph_index) {
fbb_.AddElement<int32_t>(WhileOptions::VT_COND_SUBGRAPH_INDEX, cond_subgraph_index, 0);
}
void add_body_subgraph_index(int32_t body_subgraph_index) {
fbb_.AddElement<int32_t>(WhileOptions::VT_BODY_SUBGRAPH_INDEX, body_subgraph_index, 0);
}
explicit WhileOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<WhileOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<WhileOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<WhileOptions> CreateWhileOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t cond_subgraph_index = 0,
int32_t body_subgraph_index = 0) {
WhileOptionsBuilder builder_(_fbb);
builder_.add_body_subgraph_index(body_subgraph_index);
builder_.add_cond_subgraph_index(cond_subgraph_index);
return builder_.Finish();
}
::flatbuffers::Offset<WhileOptions> CreateWhileOptions(::flatbuffers::FlatBufferBuilder &_fbb, const WhileOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct NonMaxSuppressionV4OptionsT : public ::flatbuffers::NativeTable {
typedef NonMaxSuppressionV4Options TableType;
};
struct NonMaxSuppressionV4Options FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef NonMaxSuppressionV4OptionsT NativeTableType;
typedef NonMaxSuppressionV4OptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
NonMaxSuppressionV4OptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(NonMaxSuppressionV4OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<NonMaxSuppressionV4Options> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const NonMaxSuppressionV4OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct NonMaxSuppressionV4OptionsBuilder {
typedef NonMaxSuppressionV4Options Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit NonMaxSuppressionV4OptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<NonMaxSuppressionV4Options> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<NonMaxSuppressionV4Options>(end);
return o;
}
};
inline ::flatbuffers::Offset<NonMaxSuppressionV4Options> CreateNonMaxSuppressionV4Options(
::flatbuffers::FlatBufferBuilder &_fbb) {
NonMaxSuppressionV4OptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<NonMaxSuppressionV4Options> CreateNonMaxSuppressionV4Options(::flatbuffers::FlatBufferBuilder &_fbb, const NonMaxSuppressionV4OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct NonMaxSuppressionV5OptionsT : public ::flatbuffers::NativeTable {
typedef NonMaxSuppressionV5Options TableType;
};
struct NonMaxSuppressionV5Options FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef NonMaxSuppressionV5OptionsT NativeTableType;
typedef NonMaxSuppressionV5OptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
NonMaxSuppressionV5OptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(NonMaxSuppressionV5OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<NonMaxSuppressionV5Options> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const NonMaxSuppressionV5OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct NonMaxSuppressionV5OptionsBuilder {
typedef NonMaxSuppressionV5Options Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit NonMaxSuppressionV5OptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<NonMaxSuppressionV5Options> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<NonMaxSuppressionV5Options>(end);
return o;
}
};
inline ::flatbuffers::Offset<NonMaxSuppressionV5Options> CreateNonMaxSuppressionV5Options(
::flatbuffers::FlatBufferBuilder &_fbb) {
NonMaxSuppressionV5OptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<NonMaxSuppressionV5Options> CreateNonMaxSuppressionV5Options(::flatbuffers::FlatBufferBuilder &_fbb, const NonMaxSuppressionV5OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ScatterNdOptionsT : public ::flatbuffers::NativeTable {
typedef ScatterNdOptions TableType;
};
struct ScatterNdOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ScatterNdOptionsT NativeTableType;
typedef ScatterNdOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
ScatterNdOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ScatterNdOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ScatterNdOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ScatterNdOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ScatterNdOptionsBuilder {
typedef ScatterNdOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit ScatterNdOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ScatterNdOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ScatterNdOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ScatterNdOptions> CreateScatterNdOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
ScatterNdOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<ScatterNdOptions> CreateScatterNdOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ScatterNdOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SelectV2OptionsT : public ::flatbuffers::NativeTable {
typedef SelectV2Options TableType;
};
struct SelectV2Options FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SelectV2OptionsT NativeTableType;
typedef SelectV2OptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
SelectV2OptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SelectV2OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SelectV2Options> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SelectV2OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SelectV2OptionsBuilder {
typedef SelectV2Options Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit SelectV2OptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SelectV2Options> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SelectV2Options>(end);
return o;
}
};
inline ::flatbuffers::Offset<SelectV2Options> CreateSelectV2Options(
::flatbuffers::FlatBufferBuilder &_fbb) {
SelectV2OptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<SelectV2Options> CreateSelectV2Options(::flatbuffers::FlatBufferBuilder &_fbb, const SelectV2OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct DensifyOptionsT : public ::flatbuffers::NativeTable {
typedef DensifyOptions TableType;
};
struct DensifyOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef DensifyOptionsT NativeTableType;
typedef DensifyOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
DensifyOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(DensifyOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<DensifyOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DensifyOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct DensifyOptionsBuilder {
typedef DensifyOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit DensifyOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<DensifyOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<DensifyOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<DensifyOptions> CreateDensifyOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
DensifyOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<DensifyOptions> CreateDensifyOptions(::flatbuffers::FlatBufferBuilder &_fbb, const DensifyOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SegmentSumOptionsT : public ::flatbuffers::NativeTable {
typedef SegmentSumOptions TableType;
};
struct SegmentSumOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SegmentSumOptionsT NativeTableType;
typedef SegmentSumOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
SegmentSumOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SegmentSumOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SegmentSumOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SegmentSumOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SegmentSumOptionsBuilder {
typedef SegmentSumOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit SegmentSumOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SegmentSumOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SegmentSumOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SegmentSumOptions> CreateSegmentSumOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
SegmentSumOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<SegmentSumOptions> CreateSegmentSumOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SegmentSumOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct BatchMatMulOptionsT : public ::flatbuffers::NativeTable {
typedef BatchMatMulOptions TableType;
bool adj_x = false;
bool adj_y = false;
bool asymmetric_quantize_inputs = false;
};
struct BatchMatMulOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef BatchMatMulOptionsT NativeTableType;
typedef BatchMatMulOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_ADJ_X = 4,
VT_ADJ_Y = 6,
VT_ASYMMETRIC_QUANTIZE_INPUTS = 8
};
bool adj_x() const {
return GetField<uint8_t>(VT_ADJ_X, 0) != 0;
}
bool adj_y() const {
return GetField<uint8_t>(VT_ADJ_Y, 0) != 0;
}
bool asymmetric_quantize_inputs() const {
return GetField<uint8_t>(VT_ASYMMETRIC_QUANTIZE_INPUTS, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<uint8_t>(verifier, VT_ADJ_X, 1) &&
VerifyField<uint8_t>(verifier, VT_ADJ_Y, 1) &&
VerifyField<uint8_t>(verifier, VT_ASYMMETRIC_QUANTIZE_INPUTS, 1) &&
verifier.EndTable();
}
BatchMatMulOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(BatchMatMulOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<BatchMatMulOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BatchMatMulOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct BatchMatMulOptionsBuilder {
typedef BatchMatMulOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_adj_x(bool adj_x) {
fbb_.AddElement<uint8_t>(BatchMatMulOptions::VT_ADJ_X, static_cast<uint8_t>(adj_x), 0);
}
void add_adj_y(bool adj_y) {
fbb_.AddElement<uint8_t>(BatchMatMulOptions::VT_ADJ_Y, static_cast<uint8_t>(adj_y), 0);
}
void add_asymmetric_quantize_inputs(bool asymmetric_quantize_inputs) {
fbb_.AddElement<uint8_t>(BatchMatMulOptions::VT_ASYMMETRIC_QUANTIZE_INPUTS, static_cast<uint8_t>(asymmetric_quantize_inputs), 0);
}
explicit BatchMatMulOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<BatchMatMulOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<BatchMatMulOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<BatchMatMulOptions> CreateBatchMatMulOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
bool adj_x = false,
bool adj_y = false,
bool asymmetric_quantize_inputs = false) {
BatchMatMulOptionsBuilder builder_(_fbb);
builder_.add_asymmetric_quantize_inputs(asymmetric_quantize_inputs);
builder_.add_adj_y(adj_y);
builder_.add_adj_x(adj_x);
return builder_.Finish();
}
::flatbuffers::Offset<BatchMatMulOptions> CreateBatchMatMulOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BatchMatMulOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct CumsumOptionsT : public ::flatbuffers::NativeTable {
typedef CumsumOptions TableType;
bool exclusive = false;
bool reverse = false;
};
struct CumsumOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef CumsumOptionsT NativeTableType;
typedef CumsumOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_EXCLUSIVE = 4,
VT_REVERSE = 6
};
bool exclusive() const {
return GetField<uint8_t>(VT_EXCLUSIVE, 0) != 0;
}
bool reverse() const {
return GetField<uint8_t>(VT_REVERSE, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<uint8_t>(verifier, VT_EXCLUSIVE, 1) &&
VerifyField<uint8_t>(verifier, VT_REVERSE, 1) &&
verifier.EndTable();
}
CumsumOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(CumsumOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<CumsumOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const CumsumOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct CumsumOptionsBuilder {
typedef CumsumOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_exclusive(bool exclusive) {
fbb_.AddElement<uint8_t>(CumsumOptions::VT_EXCLUSIVE, static_cast<uint8_t>(exclusive), 0);
}
void add_reverse(bool reverse) {
fbb_.AddElement<uint8_t>(CumsumOptions::VT_REVERSE, static_cast<uint8_t>(reverse), 0);
}
explicit CumsumOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<CumsumOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<CumsumOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<CumsumOptions> CreateCumsumOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
bool exclusive = false,
bool reverse = false) {
CumsumOptionsBuilder builder_(_fbb);
builder_.add_reverse(reverse);
builder_.add_exclusive(exclusive);
return builder_.Finish();
}
::flatbuffers::Offset<CumsumOptions> CreateCumsumOptions(::flatbuffers::FlatBufferBuilder &_fbb, const CumsumOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct BroadcastToOptionsT : public ::flatbuffers::NativeTable {
typedef BroadcastToOptions TableType;
};
struct BroadcastToOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef BroadcastToOptionsT NativeTableType;
typedef BroadcastToOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
BroadcastToOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(BroadcastToOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<BroadcastToOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BroadcastToOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct BroadcastToOptionsBuilder {
typedef BroadcastToOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit BroadcastToOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<BroadcastToOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<BroadcastToOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<BroadcastToOptions> CreateBroadcastToOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
BroadcastToOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<BroadcastToOptions> CreateBroadcastToOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BroadcastToOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct Rfft2dOptionsT : public ::flatbuffers::NativeTable {
typedef Rfft2dOptions TableType;
};
struct Rfft2dOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef Rfft2dOptionsT NativeTableType;
typedef Rfft2dOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
Rfft2dOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(Rfft2dOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<Rfft2dOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Rfft2dOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct Rfft2dOptionsBuilder {
typedef Rfft2dOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit Rfft2dOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<Rfft2dOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<Rfft2dOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<Rfft2dOptions> CreateRfft2dOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
Rfft2dOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<Rfft2dOptions> CreateRfft2dOptions(::flatbuffers::FlatBufferBuilder &_fbb, const Rfft2dOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct HashtableOptionsT : public ::flatbuffers::NativeTable {
typedef HashtableOptions TableType;
int32_t table_id = 0;
tflite::TensorType key_dtype = tflite::TensorType_FLOAT32;
tflite::TensorType value_dtype = tflite::TensorType_FLOAT32;
};
struct HashtableOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef HashtableOptionsT NativeTableType;
typedef HashtableOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_TABLE_ID = 4,
VT_KEY_DTYPE = 6,
VT_VALUE_DTYPE = 8
};
int32_t table_id() const {
return GetField<int32_t>(VT_TABLE_ID, 0);
}
tflite::TensorType key_dtype() const {
return static_cast<tflite::TensorType>(GetField<int8_t>(VT_KEY_DTYPE, 0));
}
tflite::TensorType value_dtype() const {
return static_cast<tflite::TensorType>(GetField<int8_t>(VT_VALUE_DTYPE, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_TABLE_ID, 4) &&
VerifyField<int8_t>(verifier, VT_KEY_DTYPE, 1) &&
VerifyField<int8_t>(verifier, VT_VALUE_DTYPE, 1) &&
verifier.EndTable();
}
HashtableOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(HashtableOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<HashtableOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct HashtableOptionsBuilder {
typedef HashtableOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_table_id(int32_t table_id) {
fbb_.AddElement<int32_t>(HashtableOptions::VT_TABLE_ID, table_id, 0);
}
void add_key_dtype(tflite::TensorType key_dtype) {
fbb_.AddElement<int8_t>(HashtableOptions::VT_KEY_DTYPE, static_cast<int8_t>(key_dtype), 0);
}
void add_value_dtype(tflite::TensorType value_dtype) {
fbb_.AddElement<int8_t>(HashtableOptions::VT_VALUE_DTYPE, static_cast<int8_t>(value_dtype), 0);
}
explicit HashtableOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<HashtableOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<HashtableOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<HashtableOptions> CreateHashtableOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int32_t table_id = 0,
tflite::TensorType key_dtype = tflite::TensorType_FLOAT32,
tflite::TensorType value_dtype = tflite::TensorType_FLOAT32) {
HashtableOptionsBuilder builder_(_fbb);
builder_.add_table_id(table_id);
builder_.add_value_dtype(value_dtype);
builder_.add_key_dtype(key_dtype);
return builder_.Finish();
}
::flatbuffers::Offset<HashtableOptions> CreateHashtableOptions(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct HashtableFindOptionsT : public ::flatbuffers::NativeTable {
typedef HashtableFindOptions TableType;
};
struct HashtableFindOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef HashtableFindOptionsT NativeTableType;
typedef HashtableFindOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
HashtableFindOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(HashtableFindOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<HashtableFindOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableFindOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct HashtableFindOptionsBuilder {
typedef HashtableFindOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit HashtableFindOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<HashtableFindOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<HashtableFindOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<HashtableFindOptions> CreateHashtableFindOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
HashtableFindOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<HashtableFindOptions> CreateHashtableFindOptions(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableFindOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct HashtableImportOptionsT : public ::flatbuffers::NativeTable {
typedef HashtableImportOptions TableType;
};
struct HashtableImportOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef HashtableImportOptionsT NativeTableType;
typedef HashtableImportOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
HashtableImportOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(HashtableImportOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<HashtableImportOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableImportOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct HashtableImportOptionsBuilder {
typedef HashtableImportOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit HashtableImportOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<HashtableImportOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<HashtableImportOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<HashtableImportOptions> CreateHashtableImportOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
HashtableImportOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<HashtableImportOptions> CreateHashtableImportOptions(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableImportOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct HashtableSizeOptionsT : public ::flatbuffers::NativeTable {
typedef HashtableSizeOptions TableType;
};
struct HashtableSizeOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef HashtableSizeOptionsT NativeTableType;
typedef HashtableSizeOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
HashtableSizeOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(HashtableSizeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<HashtableSizeOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableSizeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct HashtableSizeOptionsBuilder {
typedef HashtableSizeOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit HashtableSizeOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<HashtableSizeOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<HashtableSizeOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<HashtableSizeOptions> CreateHashtableSizeOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
HashtableSizeOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<HashtableSizeOptions> CreateHashtableSizeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableSizeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct VarHandleOptionsT : public ::flatbuffers::NativeTable {
typedef VarHandleOptions TableType;
std::string container{};
std::string shared_name{};
};
struct VarHandleOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef VarHandleOptionsT NativeTableType;
typedef VarHandleOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_CONTAINER = 4,
VT_SHARED_NAME = 6
};
const ::flatbuffers::String *container() const {
return GetPointer<const ::flatbuffers::String *>(VT_CONTAINER);
}
const ::flatbuffers::String *shared_name() const {
return GetPointer<const ::flatbuffers::String *>(VT_SHARED_NAME);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_CONTAINER) &&
verifier.VerifyString(container()) &&
VerifyOffset(verifier, VT_SHARED_NAME) &&
verifier.VerifyString(shared_name()) &&
verifier.EndTable();
}
VarHandleOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(VarHandleOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<VarHandleOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const VarHandleOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct VarHandleOptionsBuilder {
typedef VarHandleOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_container(::flatbuffers::Offset<::flatbuffers::String> container) {
fbb_.AddOffset(VarHandleOptions::VT_CONTAINER, container);
}
void add_shared_name(::flatbuffers::Offset<::flatbuffers::String> shared_name) {
fbb_.AddOffset(VarHandleOptions::VT_SHARED_NAME, shared_name);
}
explicit VarHandleOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<VarHandleOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<VarHandleOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<VarHandleOptions> CreateVarHandleOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::String> container = 0,
::flatbuffers::Offset<::flatbuffers::String> shared_name = 0) {
VarHandleOptionsBuilder builder_(_fbb);
builder_.add_shared_name(shared_name);
builder_.add_container(container);
return builder_.Finish();
}
inline ::flatbuffers::Offset<VarHandleOptions> CreateVarHandleOptionsDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const char *container = nullptr,
const char *shared_name = nullptr) {
auto container__ = container ? _fbb.CreateString(container) : 0;
auto shared_name__ = shared_name ? _fbb.CreateString(shared_name) : 0;
return tflite::CreateVarHandleOptions(
_fbb,
container__,
shared_name__);
}
::flatbuffers::Offset<VarHandleOptions> CreateVarHandleOptions(::flatbuffers::FlatBufferBuilder &_fbb, const VarHandleOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ReadVariableOptionsT : public ::flatbuffers::NativeTable {
typedef ReadVariableOptions TableType;
};
struct ReadVariableOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ReadVariableOptionsT NativeTableType;
typedef ReadVariableOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
ReadVariableOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ReadVariableOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ReadVariableOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ReadVariableOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ReadVariableOptionsBuilder {
typedef ReadVariableOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit ReadVariableOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ReadVariableOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ReadVariableOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<ReadVariableOptions> CreateReadVariableOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
ReadVariableOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<ReadVariableOptions> CreateReadVariableOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ReadVariableOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct AssignVariableOptionsT : public ::flatbuffers::NativeTable {
typedef AssignVariableOptions TableType;
};
struct AssignVariableOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef AssignVariableOptionsT NativeTableType;
typedef AssignVariableOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
AssignVariableOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(AssignVariableOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<AssignVariableOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const AssignVariableOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct AssignVariableOptionsBuilder {
typedef AssignVariableOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit AssignVariableOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<AssignVariableOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<AssignVariableOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<AssignVariableOptions> CreateAssignVariableOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
AssignVariableOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<AssignVariableOptions> CreateAssignVariableOptions(::flatbuffers::FlatBufferBuilder &_fbb, const AssignVariableOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct RandomOptionsT : public ::flatbuffers::NativeTable {
typedef RandomOptions TableType;
int64_t seed = 0;
int64_t seed2 = 0;
};
struct RandomOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef RandomOptionsT NativeTableType;
typedef RandomOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_SEED = 4,
VT_SEED2 = 6
};
int64_t seed() const {
return GetField<int64_t>(VT_SEED, 0);
}
int64_t seed2() const {
return GetField<int64_t>(VT_SEED2, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int64_t>(verifier, VT_SEED, 8) &&
VerifyField<int64_t>(verifier, VT_SEED2, 8) &&
verifier.EndTable();
}
RandomOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(RandomOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<RandomOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const RandomOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct RandomOptionsBuilder {
typedef RandomOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_seed(int64_t seed) {
fbb_.AddElement<int64_t>(RandomOptions::VT_SEED, seed, 0);
}
void add_seed2(int64_t seed2) {
fbb_.AddElement<int64_t>(RandomOptions::VT_SEED2, seed2, 0);
}
explicit RandomOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<RandomOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<RandomOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<RandomOptions> CreateRandomOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
int64_t seed = 0,
int64_t seed2 = 0) {
RandomOptionsBuilder builder_(_fbb);
builder_.add_seed2(seed2);
builder_.add_seed(seed);
return builder_.Finish();
}
::flatbuffers::Offset<RandomOptions> CreateRandomOptions(::flatbuffers::FlatBufferBuilder &_fbb, const RandomOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct BucketizeOptionsT : public ::flatbuffers::NativeTable {
typedef BucketizeOptions TableType;
std::vector<float> boundaries{};
};
struct BucketizeOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef BucketizeOptionsT NativeTableType;
typedef BucketizeOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_BOUNDARIES = 4
};
const ::flatbuffers::Vector<float> *boundaries() const {
return GetPointer<const ::flatbuffers::Vector<float> *>(VT_BOUNDARIES);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_BOUNDARIES) &&
verifier.VerifyVector(boundaries()) &&
verifier.EndTable();
}
BucketizeOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(BucketizeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<BucketizeOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BucketizeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct BucketizeOptionsBuilder {
typedef BucketizeOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_boundaries(::flatbuffers::Offset<::flatbuffers::Vector<float>> boundaries) {
fbb_.AddOffset(BucketizeOptions::VT_BOUNDARIES, boundaries);
}
explicit BucketizeOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<BucketizeOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<BucketizeOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<BucketizeOptions> CreateBucketizeOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<float>> boundaries = 0) {
BucketizeOptionsBuilder builder_(_fbb);
builder_.add_boundaries(boundaries);
return builder_.Finish();
}
inline ::flatbuffers::Offset<BucketizeOptions> CreateBucketizeOptionsDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<float> *boundaries = nullptr) {
auto boundaries__ = boundaries ? _fbb.CreateVector<float>(*boundaries) : 0;
return tflite::CreateBucketizeOptions(
_fbb,
boundaries__);
}
::flatbuffers::Offset<BucketizeOptions> CreateBucketizeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BucketizeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct GeluOptionsT : public ::flatbuffers::NativeTable {
typedef GeluOptions TableType;
bool approximate = false;
};
struct GeluOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef GeluOptionsT NativeTableType;
typedef GeluOptionsBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_APPROXIMATE = 4
};
bool approximate() const {
return GetField<uint8_t>(VT_APPROXIMATE, 0) != 0;
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<uint8_t>(verifier, VT_APPROXIMATE, 1) &&
verifier.EndTable();
}
GeluOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(GeluOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<GeluOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const GeluOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct GeluOptionsBuilder {
typedef GeluOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_approximate(bool approximate) {
fbb_.AddElement<uint8_t>(GeluOptions::VT_APPROXIMATE, static_cast<uint8_t>(approximate), 0);
}
explicit GeluOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<GeluOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<GeluOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<GeluOptions> CreateGeluOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
bool approximate = false) {
GeluOptionsBuilder builder_(_fbb);
builder_.add_approximate(approximate);
return builder_.Finish();
}
::flatbuffers::Offset<GeluOptions> CreateGeluOptions(::flatbuffers::FlatBufferBuilder &_fbb, const GeluOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct DynamicUpdateSliceOptionsT : public ::flatbuffers::NativeTable {
typedef DynamicUpdateSliceOptions TableType;
};
struct DynamicUpdateSliceOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef DynamicUpdateSliceOptionsT NativeTableType;
typedef DynamicUpdateSliceOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
DynamicUpdateSliceOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(DynamicUpdateSliceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<DynamicUpdateSliceOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DynamicUpdateSliceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct DynamicUpdateSliceOptionsBuilder {
typedef DynamicUpdateSliceOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit DynamicUpdateSliceOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<DynamicUpdateSliceOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<DynamicUpdateSliceOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<DynamicUpdateSliceOptions> CreateDynamicUpdateSliceOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
DynamicUpdateSliceOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<DynamicUpdateSliceOptions> CreateDynamicUpdateSliceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const DynamicUpdateSliceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct UnsortedSegmentProdOptionsT : public ::flatbuffers::NativeTable {
typedef UnsortedSegmentProdOptions TableType;
};
struct UnsortedSegmentProdOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef UnsortedSegmentProdOptionsT NativeTableType;
typedef UnsortedSegmentProdOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
UnsortedSegmentProdOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(UnsortedSegmentProdOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<UnsortedSegmentProdOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentProdOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct UnsortedSegmentProdOptionsBuilder {
typedef UnsortedSegmentProdOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit UnsortedSegmentProdOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<UnsortedSegmentProdOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<UnsortedSegmentProdOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<UnsortedSegmentProdOptions> CreateUnsortedSegmentProdOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
UnsortedSegmentProdOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<UnsortedSegmentProdOptions> CreateUnsortedSegmentProdOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentProdOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct UnsortedSegmentMaxOptionsT : public ::flatbuffers::NativeTable {
typedef UnsortedSegmentMaxOptions TableType;
};
struct UnsortedSegmentMaxOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef UnsortedSegmentMaxOptionsT NativeTableType;
typedef UnsortedSegmentMaxOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
UnsortedSegmentMaxOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(UnsortedSegmentMaxOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<UnsortedSegmentMaxOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentMaxOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct UnsortedSegmentMaxOptionsBuilder {
typedef UnsortedSegmentMaxOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit UnsortedSegmentMaxOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<UnsortedSegmentMaxOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<UnsortedSegmentMaxOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<UnsortedSegmentMaxOptions> CreateUnsortedSegmentMaxOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
UnsortedSegmentMaxOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<UnsortedSegmentMaxOptions> CreateUnsortedSegmentMaxOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentMaxOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct UnsortedSegmentSumOptionsT : public ::flatbuffers::NativeTable {
typedef UnsortedSegmentSumOptions TableType;
};
struct UnsortedSegmentSumOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef UnsortedSegmentSumOptionsT NativeTableType;
typedef UnsortedSegmentSumOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
UnsortedSegmentSumOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(UnsortedSegmentSumOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<UnsortedSegmentSumOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentSumOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct UnsortedSegmentSumOptionsBuilder {
typedef UnsortedSegmentSumOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit UnsortedSegmentSumOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<UnsortedSegmentSumOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<UnsortedSegmentSumOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<UnsortedSegmentSumOptions> CreateUnsortedSegmentSumOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
UnsortedSegmentSumOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<UnsortedSegmentSumOptions> CreateUnsortedSegmentSumOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentSumOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ATan2OptionsT : public ::flatbuffers::NativeTable {
typedef ATan2Options TableType;
};
struct ATan2Options FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ATan2OptionsT NativeTableType;
typedef ATan2OptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
ATan2OptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ATan2OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<ATan2Options> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ATan2OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ATan2OptionsBuilder {
typedef ATan2Options Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit ATan2OptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<ATan2Options> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<ATan2Options>(end);
return o;
}
};
inline ::flatbuffers::Offset<ATan2Options> CreateATan2Options(
::flatbuffers::FlatBufferBuilder &_fbb) {
ATan2OptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<ATan2Options> CreateATan2Options(::flatbuffers::FlatBufferBuilder &_fbb, const ATan2OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct UnsortedSegmentMinOptionsT : public ::flatbuffers::NativeTable {
typedef UnsortedSegmentMinOptions TableType;
};
struct UnsortedSegmentMinOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef UnsortedSegmentMinOptionsT NativeTableType;
typedef UnsortedSegmentMinOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
UnsortedSegmentMinOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(UnsortedSegmentMinOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<UnsortedSegmentMinOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentMinOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct UnsortedSegmentMinOptionsBuilder {
typedef UnsortedSegmentMinOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit UnsortedSegmentMinOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<UnsortedSegmentMinOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<UnsortedSegmentMinOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<UnsortedSegmentMinOptions> CreateUnsortedSegmentMinOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
UnsortedSegmentMinOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<UnsortedSegmentMinOptions> CreateUnsortedSegmentMinOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentMinOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SignOptionsT : public ::flatbuffers::NativeTable {
typedef SignOptions TableType;
};
struct SignOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SignOptionsT NativeTableType;
typedef SignOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
SignOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SignOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SignOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SignOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SignOptionsBuilder {
typedef SignOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit SignOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SignOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SignOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<SignOptions> CreateSignOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
SignOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<SignOptions> CreateSignOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SignOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct BitcastOptionsT : public ::flatbuffers::NativeTable {
typedef BitcastOptions TableType;
};
struct BitcastOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef BitcastOptionsT NativeTableType;
typedef BitcastOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
BitcastOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(BitcastOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<BitcastOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BitcastOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct BitcastOptionsBuilder {
typedef BitcastOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit BitcastOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<BitcastOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<BitcastOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<BitcastOptions> CreateBitcastOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
BitcastOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<BitcastOptions> CreateBitcastOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BitcastOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct BitwiseXorOptionsT : public ::flatbuffers::NativeTable {
typedef BitwiseXorOptions TableType;
};
struct BitwiseXorOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef BitwiseXorOptionsT NativeTableType;
typedef BitwiseXorOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
BitwiseXorOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(BitwiseXorOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<BitwiseXorOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BitwiseXorOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct BitwiseXorOptionsBuilder {
typedef BitwiseXorOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit BitwiseXorOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<BitwiseXorOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<BitwiseXorOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<BitwiseXorOptions> CreateBitwiseXorOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
BitwiseXorOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<BitwiseXorOptions> CreateBitwiseXorOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BitwiseXorOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct RightShiftOptionsT : public ::flatbuffers::NativeTable {
typedef RightShiftOptions TableType;
};
struct RightShiftOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef RightShiftOptionsT NativeTableType;
typedef RightShiftOptionsBuilder Builder;
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
RightShiftOptionsT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(RightShiftOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<RightShiftOptions> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const RightShiftOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct RightShiftOptionsBuilder {
typedef RightShiftOptions Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
explicit RightShiftOptionsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<RightShiftOptions> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<RightShiftOptions>(end);
return o;
}
};
inline ::flatbuffers::Offset<RightShiftOptions> CreateRightShiftOptions(
::flatbuffers::FlatBufferBuilder &_fbb) {
RightShiftOptionsBuilder builder_(_fbb);
return builder_.Finish();
}
::flatbuffers::Offset<RightShiftOptions> CreateRightShiftOptions(::flatbuffers::FlatBufferBuilder &_fbb, const RightShiftOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct OperatorCodeT : public ::flatbuffers::NativeTable {
typedef OperatorCode TableType;
int8_t deprecated_builtin_code = 0;
std::string custom_code{};
int32_t version = 1;
tflite::BuiltinOperator builtin_code = tflite::BuiltinOperator_ADD;
};
struct OperatorCode FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef OperatorCodeT NativeTableType;
typedef OperatorCodeBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_DEPRECATED_BUILTIN_CODE = 4,
VT_CUSTOM_CODE = 6,
VT_VERSION = 8,
VT_BUILTIN_CODE = 10
};
int8_t deprecated_builtin_code() const {
return GetField<int8_t>(VT_DEPRECATED_BUILTIN_CODE, 0);
}
const ::flatbuffers::String *custom_code() const {
return GetPointer<const ::flatbuffers::String *>(VT_CUSTOM_CODE);
}
int32_t version() const {
return GetField<int32_t>(VT_VERSION, 1);
}
tflite::BuiltinOperator builtin_code() const {
return static_cast<tflite::BuiltinOperator>(GetField<int32_t>(VT_BUILTIN_CODE, 0));
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int8_t>(verifier, VT_DEPRECATED_BUILTIN_CODE, 1) &&
VerifyOffset(verifier, VT_CUSTOM_CODE) &&
verifier.VerifyString(custom_code()) &&
VerifyField<int32_t>(verifier, VT_VERSION, 4) &&
VerifyField<int32_t>(verifier, VT_BUILTIN_CODE, 4) &&
verifier.EndTable();
}
OperatorCodeT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(OperatorCodeT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<OperatorCode> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const OperatorCodeT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct OperatorCodeBuilder {
typedef OperatorCode Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_deprecated_builtin_code(int8_t deprecated_builtin_code) {
fbb_.AddElement<int8_t>(OperatorCode::VT_DEPRECATED_BUILTIN_CODE, deprecated_builtin_code, 0);
}
void add_custom_code(::flatbuffers::Offset<::flatbuffers::String> custom_code) {
fbb_.AddOffset(OperatorCode::VT_CUSTOM_CODE, custom_code);
}
void add_version(int32_t version) {
fbb_.AddElement<int32_t>(OperatorCode::VT_VERSION, version, 1);
}
void add_builtin_code(tflite::BuiltinOperator builtin_code) {
fbb_.AddElement<int32_t>(OperatorCode::VT_BUILTIN_CODE, static_cast<int32_t>(builtin_code), 0);
}
explicit OperatorCodeBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<OperatorCode> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<OperatorCode>(end);
return o;
}
};
inline ::flatbuffers::Offset<OperatorCode> CreateOperatorCode(
::flatbuffers::FlatBufferBuilder &_fbb,
int8_t deprecated_builtin_code = 0,
::flatbuffers::Offset<::flatbuffers::String> custom_code = 0,
int32_t version = 1,
tflite::BuiltinOperator builtin_code = tflite::BuiltinOperator_ADD) {
OperatorCodeBuilder builder_(_fbb);
builder_.add_builtin_code(builtin_code);
builder_.add_version(version);
builder_.add_custom_code(custom_code);
builder_.add_deprecated_builtin_code(deprecated_builtin_code);
return builder_.Finish();
}
inline ::flatbuffers::Offset<OperatorCode> CreateOperatorCodeDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
int8_t deprecated_builtin_code = 0,
const char *custom_code = nullptr,
int32_t version = 1,
tflite::BuiltinOperator builtin_code = tflite::BuiltinOperator_ADD) {
auto custom_code__ = custom_code ? _fbb.CreateString(custom_code) : 0;
return tflite::CreateOperatorCode(
_fbb,
deprecated_builtin_code,
custom_code__,
version,
builtin_code);
}
::flatbuffers::Offset<OperatorCode> CreateOperatorCode(::flatbuffers::FlatBufferBuilder &_fbb, const OperatorCodeT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct OperatorT : public ::flatbuffers::NativeTable {
typedef Operator TableType;
uint32_t opcode_index = 0;
std::vector<int32_t> inputs{};
std::vector<int32_t> outputs{};
tflite::BuiltinOptionsUnion builtin_options{};
std::vector<uint8_t> custom_options{};
tflite::CustomOptionsFormat custom_options_format = tflite::CustomOptionsFormat_FLEXBUFFERS;
std::vector<bool> mutating_variable_inputs{};
std::vector<int32_t> intermediates{};
uint64_t large_custom_options_offset = 0;
uint64_t large_custom_options_size = 0;
};
struct Operator FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef OperatorT NativeTableType;
typedef OperatorBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_OPCODE_INDEX = 4,
VT_INPUTS = 6,
VT_OUTPUTS = 8,
VT_BUILTIN_OPTIONS_TYPE = 10,
VT_BUILTIN_OPTIONS = 12,
VT_CUSTOM_OPTIONS = 14,
VT_CUSTOM_OPTIONS_FORMAT = 16,
VT_MUTATING_VARIABLE_INPUTS = 18,
VT_INTERMEDIATES = 20,
VT_LARGE_CUSTOM_OPTIONS_OFFSET = 22,
VT_LARGE_CUSTOM_OPTIONS_SIZE = 24
};
uint32_t opcode_index() const {
return GetField<uint32_t>(VT_OPCODE_INDEX, 0);
}
const ::flatbuffers::Vector<int32_t> *inputs() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_INPUTS);
}
const ::flatbuffers::Vector<int32_t> *outputs() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_OUTPUTS);
}
tflite::BuiltinOptions builtin_options_type() const {
return static_cast<tflite::BuiltinOptions>(GetField<uint8_t>(VT_BUILTIN_OPTIONS_TYPE, 0));
}
const void *builtin_options() const {
return GetPointer<const void *>(VT_BUILTIN_OPTIONS);
}
template<typename T> const T *builtin_options_as() const;
const tflite::Conv2DOptions *builtin_options_as_Conv2DOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_Conv2DOptions ? static_cast<const tflite::Conv2DOptions *>(builtin_options()) : nullptr;
}
const tflite::DepthwiseConv2DOptions *builtin_options_as_DepthwiseConv2DOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_DepthwiseConv2DOptions ? static_cast<const tflite::DepthwiseConv2DOptions *>(builtin_options()) : nullptr;
}
const tflite::ConcatEmbeddingsOptions *builtin_options_as_ConcatEmbeddingsOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ConcatEmbeddingsOptions ? static_cast<const tflite::ConcatEmbeddingsOptions *>(builtin_options()) : nullptr;
}
const tflite::LSHProjectionOptions *builtin_options_as_LSHProjectionOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_LSHProjectionOptions ? static_cast<const tflite::LSHProjectionOptions *>(builtin_options()) : nullptr;
}
const tflite::Pool2DOptions *builtin_options_as_Pool2DOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_Pool2DOptions ? static_cast<const tflite::Pool2DOptions *>(builtin_options()) : nullptr;
}
const tflite::SVDFOptions *builtin_options_as_SVDFOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SVDFOptions ? static_cast<const tflite::SVDFOptions *>(builtin_options()) : nullptr;
}
const tflite::RNNOptions *builtin_options_as_RNNOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_RNNOptions ? static_cast<const tflite::RNNOptions *>(builtin_options()) : nullptr;
}
const tflite::FullyConnectedOptions *builtin_options_as_FullyConnectedOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_FullyConnectedOptions ? static_cast<const tflite::FullyConnectedOptions *>(builtin_options()) : nullptr;
}
const tflite::SoftmaxOptions *builtin_options_as_SoftmaxOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SoftmaxOptions ? static_cast<const tflite::SoftmaxOptions *>(builtin_options()) : nullptr;
}
const tflite::ConcatenationOptions *builtin_options_as_ConcatenationOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ConcatenationOptions ? static_cast<const tflite::ConcatenationOptions *>(builtin_options()) : nullptr;
}
const tflite::AddOptions *builtin_options_as_AddOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_AddOptions ? static_cast<const tflite::AddOptions *>(builtin_options()) : nullptr;
}
const tflite::L2NormOptions *builtin_options_as_L2NormOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_L2NormOptions ? static_cast<const tflite::L2NormOptions *>(builtin_options()) : nullptr;
}
const tflite::LocalResponseNormalizationOptions *builtin_options_as_LocalResponseNormalizationOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_LocalResponseNormalizationOptions ? static_cast<const tflite::LocalResponseNormalizationOptions *>(builtin_options()) : nullptr;
}
const tflite::LSTMOptions *builtin_options_as_LSTMOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_LSTMOptions ? static_cast<const tflite::LSTMOptions *>(builtin_options()) : nullptr;
}
const tflite::ResizeBilinearOptions *builtin_options_as_ResizeBilinearOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ResizeBilinearOptions ? static_cast<const tflite::ResizeBilinearOptions *>(builtin_options()) : nullptr;
}
const tflite::CallOptions *builtin_options_as_CallOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_CallOptions ? static_cast<const tflite::CallOptions *>(builtin_options()) : nullptr;
}
const tflite::ReshapeOptions *builtin_options_as_ReshapeOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ReshapeOptions ? static_cast<const tflite::ReshapeOptions *>(builtin_options()) : nullptr;
}
const tflite::SkipGramOptions *builtin_options_as_SkipGramOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SkipGramOptions ? static_cast<const tflite::SkipGramOptions *>(builtin_options()) : nullptr;
}
const tflite::SpaceToDepthOptions *builtin_options_as_SpaceToDepthOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SpaceToDepthOptions ? static_cast<const tflite::SpaceToDepthOptions *>(builtin_options()) : nullptr;
}
const tflite::EmbeddingLookupSparseOptions *builtin_options_as_EmbeddingLookupSparseOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_EmbeddingLookupSparseOptions ? static_cast<const tflite::EmbeddingLookupSparseOptions *>(builtin_options()) : nullptr;
}
const tflite::MulOptions *builtin_options_as_MulOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_MulOptions ? static_cast<const tflite::MulOptions *>(builtin_options()) : nullptr;
}
const tflite::PadOptions *builtin_options_as_PadOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_PadOptions ? static_cast<const tflite::PadOptions *>(builtin_options()) : nullptr;
}
const tflite::GatherOptions *builtin_options_as_GatherOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_GatherOptions ? static_cast<const tflite::GatherOptions *>(builtin_options()) : nullptr;
}
const tflite::BatchToSpaceNDOptions *builtin_options_as_BatchToSpaceNDOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_BatchToSpaceNDOptions ? static_cast<const tflite::BatchToSpaceNDOptions *>(builtin_options()) : nullptr;
}
const tflite::SpaceToBatchNDOptions *builtin_options_as_SpaceToBatchNDOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SpaceToBatchNDOptions ? static_cast<const tflite::SpaceToBatchNDOptions *>(builtin_options()) : nullptr;
}
const tflite::TransposeOptions *builtin_options_as_TransposeOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_TransposeOptions ? static_cast<const tflite::TransposeOptions *>(builtin_options()) : nullptr;
}
const tflite::ReducerOptions *builtin_options_as_ReducerOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ReducerOptions ? static_cast<const tflite::ReducerOptions *>(builtin_options()) : nullptr;
}
const tflite::SubOptions *builtin_options_as_SubOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SubOptions ? static_cast<const tflite::SubOptions *>(builtin_options()) : nullptr;
}
const tflite::DivOptions *builtin_options_as_DivOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_DivOptions ? static_cast<const tflite::DivOptions *>(builtin_options()) : nullptr;
}
const tflite::SqueezeOptions *builtin_options_as_SqueezeOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SqueezeOptions ? static_cast<const tflite::SqueezeOptions *>(builtin_options()) : nullptr;
}
const tflite::SequenceRNNOptions *builtin_options_as_SequenceRNNOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SequenceRNNOptions ? static_cast<const tflite::SequenceRNNOptions *>(builtin_options()) : nullptr;
}
const tflite::StridedSliceOptions *builtin_options_as_StridedSliceOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_StridedSliceOptions ? static_cast<const tflite::StridedSliceOptions *>(builtin_options()) : nullptr;
}
const tflite::ExpOptions *builtin_options_as_ExpOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ExpOptions ? static_cast<const tflite::ExpOptions *>(builtin_options()) : nullptr;
}
const tflite::TopKV2Options *builtin_options_as_TopKV2Options() const {
return builtin_options_type() == tflite::BuiltinOptions_TopKV2Options ? static_cast<const tflite::TopKV2Options *>(builtin_options()) : nullptr;
}
const tflite::SplitOptions *builtin_options_as_SplitOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SplitOptions ? static_cast<const tflite::SplitOptions *>(builtin_options()) : nullptr;
}
const tflite::LogSoftmaxOptions *builtin_options_as_LogSoftmaxOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_LogSoftmaxOptions ? static_cast<const tflite::LogSoftmaxOptions *>(builtin_options()) : nullptr;
}
const tflite::CastOptions *builtin_options_as_CastOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_CastOptions ? static_cast<const tflite::CastOptions *>(builtin_options()) : nullptr;
}
const tflite::DequantizeOptions *builtin_options_as_DequantizeOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_DequantizeOptions ? static_cast<const tflite::DequantizeOptions *>(builtin_options()) : nullptr;
}
const tflite::MaximumMinimumOptions *builtin_options_as_MaximumMinimumOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_MaximumMinimumOptions ? static_cast<const tflite::MaximumMinimumOptions *>(builtin_options()) : nullptr;
}
const tflite::ArgMaxOptions *builtin_options_as_ArgMaxOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ArgMaxOptions ? static_cast<const tflite::ArgMaxOptions *>(builtin_options()) : nullptr;
}
const tflite::LessOptions *builtin_options_as_LessOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_LessOptions ? static_cast<const tflite::LessOptions *>(builtin_options()) : nullptr;
}
const tflite::NegOptions *builtin_options_as_NegOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_NegOptions ? static_cast<const tflite::NegOptions *>(builtin_options()) : nullptr;
}
const tflite::PadV2Options *builtin_options_as_PadV2Options() const {
return builtin_options_type() == tflite::BuiltinOptions_PadV2Options ? static_cast<const tflite::PadV2Options *>(builtin_options()) : nullptr;
}
const tflite::GreaterOptions *builtin_options_as_GreaterOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_GreaterOptions ? static_cast<const tflite::GreaterOptions *>(builtin_options()) : nullptr;
}
const tflite::GreaterEqualOptions *builtin_options_as_GreaterEqualOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_GreaterEqualOptions ? static_cast<const tflite::GreaterEqualOptions *>(builtin_options()) : nullptr;
}
const tflite::LessEqualOptions *builtin_options_as_LessEqualOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_LessEqualOptions ? static_cast<const tflite::LessEqualOptions *>(builtin_options()) : nullptr;
}
const tflite::SelectOptions *builtin_options_as_SelectOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SelectOptions ? static_cast<const tflite::SelectOptions *>(builtin_options()) : nullptr;
}
const tflite::SliceOptions *builtin_options_as_SliceOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SliceOptions ? static_cast<const tflite::SliceOptions *>(builtin_options()) : nullptr;
}
const tflite::TransposeConvOptions *builtin_options_as_TransposeConvOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_TransposeConvOptions ? static_cast<const tflite::TransposeConvOptions *>(builtin_options()) : nullptr;
}
const tflite::SparseToDenseOptions *builtin_options_as_SparseToDenseOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SparseToDenseOptions ? static_cast<const tflite::SparseToDenseOptions *>(builtin_options()) : nullptr;
}
const tflite::TileOptions *builtin_options_as_TileOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_TileOptions ? static_cast<const tflite::TileOptions *>(builtin_options()) : nullptr;
}
const tflite::ExpandDimsOptions *builtin_options_as_ExpandDimsOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ExpandDimsOptions ? static_cast<const tflite::ExpandDimsOptions *>(builtin_options()) : nullptr;
}
const tflite::EqualOptions *builtin_options_as_EqualOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_EqualOptions ? static_cast<const tflite::EqualOptions *>(builtin_options()) : nullptr;
}
const tflite::NotEqualOptions *builtin_options_as_NotEqualOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_NotEqualOptions ? static_cast<const tflite::NotEqualOptions *>(builtin_options()) : nullptr;
}
const tflite::ShapeOptions *builtin_options_as_ShapeOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ShapeOptions ? static_cast<const tflite::ShapeOptions *>(builtin_options()) : nullptr;
}
const tflite::PowOptions *builtin_options_as_PowOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_PowOptions ? static_cast<const tflite::PowOptions *>(builtin_options()) : nullptr;
}
const tflite::ArgMinOptions *builtin_options_as_ArgMinOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ArgMinOptions ? static_cast<const tflite::ArgMinOptions *>(builtin_options()) : nullptr;
}
const tflite::FakeQuantOptions *builtin_options_as_FakeQuantOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_FakeQuantOptions ? static_cast<const tflite::FakeQuantOptions *>(builtin_options()) : nullptr;
}
const tflite::PackOptions *builtin_options_as_PackOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_PackOptions ? static_cast<const tflite::PackOptions *>(builtin_options()) : nullptr;
}
const tflite::LogicalOrOptions *builtin_options_as_LogicalOrOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_LogicalOrOptions ? static_cast<const tflite::LogicalOrOptions *>(builtin_options()) : nullptr;
}
const tflite::OneHotOptions *builtin_options_as_OneHotOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_OneHotOptions ? static_cast<const tflite::OneHotOptions *>(builtin_options()) : nullptr;
}
const tflite::LogicalAndOptions *builtin_options_as_LogicalAndOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_LogicalAndOptions ? static_cast<const tflite::LogicalAndOptions *>(builtin_options()) : nullptr;
}
const tflite::LogicalNotOptions *builtin_options_as_LogicalNotOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_LogicalNotOptions ? static_cast<const tflite::LogicalNotOptions *>(builtin_options()) : nullptr;
}
const tflite::UnpackOptions *builtin_options_as_UnpackOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_UnpackOptions ? static_cast<const tflite::UnpackOptions *>(builtin_options()) : nullptr;
}
const tflite::FloorDivOptions *builtin_options_as_FloorDivOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_FloorDivOptions ? static_cast<const tflite::FloorDivOptions *>(builtin_options()) : nullptr;
}
const tflite::SquareOptions *builtin_options_as_SquareOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SquareOptions ? static_cast<const tflite::SquareOptions *>(builtin_options()) : nullptr;
}
const tflite::ZerosLikeOptions *builtin_options_as_ZerosLikeOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ZerosLikeOptions ? static_cast<const tflite::ZerosLikeOptions *>(builtin_options()) : nullptr;
}
const tflite::FillOptions *builtin_options_as_FillOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_FillOptions ? static_cast<const tflite::FillOptions *>(builtin_options()) : nullptr;
}
const tflite::BidirectionalSequenceLSTMOptions *builtin_options_as_BidirectionalSequenceLSTMOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_BidirectionalSequenceLSTMOptions ? static_cast<const tflite::BidirectionalSequenceLSTMOptions *>(builtin_options()) : nullptr;
}
const tflite::BidirectionalSequenceRNNOptions *builtin_options_as_BidirectionalSequenceRNNOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_BidirectionalSequenceRNNOptions ? static_cast<const tflite::BidirectionalSequenceRNNOptions *>(builtin_options()) : nullptr;
}
const tflite::UnidirectionalSequenceLSTMOptions *builtin_options_as_UnidirectionalSequenceLSTMOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_UnidirectionalSequenceLSTMOptions ? static_cast<const tflite::UnidirectionalSequenceLSTMOptions *>(builtin_options()) : nullptr;
}
const tflite::FloorModOptions *builtin_options_as_FloorModOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_FloorModOptions ? static_cast<const tflite::FloorModOptions *>(builtin_options()) : nullptr;
}
const tflite::RangeOptions *builtin_options_as_RangeOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_RangeOptions ? static_cast<const tflite::RangeOptions *>(builtin_options()) : nullptr;
}
const tflite::ResizeNearestNeighborOptions *builtin_options_as_ResizeNearestNeighborOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ResizeNearestNeighborOptions ? static_cast<const tflite::ResizeNearestNeighborOptions *>(builtin_options()) : nullptr;
}
const tflite::LeakyReluOptions *builtin_options_as_LeakyReluOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_LeakyReluOptions ? static_cast<const tflite::LeakyReluOptions *>(builtin_options()) : nullptr;
}
const tflite::SquaredDifferenceOptions *builtin_options_as_SquaredDifferenceOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SquaredDifferenceOptions ? static_cast<const tflite::SquaredDifferenceOptions *>(builtin_options()) : nullptr;
}
const tflite::MirrorPadOptions *builtin_options_as_MirrorPadOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_MirrorPadOptions ? static_cast<const tflite::MirrorPadOptions *>(builtin_options()) : nullptr;
}
const tflite::AbsOptions *builtin_options_as_AbsOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_AbsOptions ? static_cast<const tflite::AbsOptions *>(builtin_options()) : nullptr;
}
const tflite::SplitVOptions *builtin_options_as_SplitVOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SplitVOptions ? static_cast<const tflite::SplitVOptions *>(builtin_options()) : nullptr;
}
const tflite::UniqueOptions *builtin_options_as_UniqueOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_UniqueOptions ? static_cast<const tflite::UniqueOptions *>(builtin_options()) : nullptr;
}
const tflite::ReverseV2Options *builtin_options_as_ReverseV2Options() const {
return builtin_options_type() == tflite::BuiltinOptions_ReverseV2Options ? static_cast<const tflite::ReverseV2Options *>(builtin_options()) : nullptr;
}
const tflite::AddNOptions *builtin_options_as_AddNOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_AddNOptions ? static_cast<const tflite::AddNOptions *>(builtin_options()) : nullptr;
}
const tflite::GatherNdOptions *builtin_options_as_GatherNdOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_GatherNdOptions ? static_cast<const tflite::GatherNdOptions *>(builtin_options()) : nullptr;
}
const tflite::CosOptions *builtin_options_as_CosOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_CosOptions ? static_cast<const tflite::CosOptions *>(builtin_options()) : nullptr;
}
const tflite::WhereOptions *builtin_options_as_WhereOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_WhereOptions ? static_cast<const tflite::WhereOptions *>(builtin_options()) : nullptr;
}
const tflite::RankOptions *builtin_options_as_RankOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_RankOptions ? static_cast<const tflite::RankOptions *>(builtin_options()) : nullptr;
}
const tflite::ReverseSequenceOptions *builtin_options_as_ReverseSequenceOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ReverseSequenceOptions ? static_cast<const tflite::ReverseSequenceOptions *>(builtin_options()) : nullptr;
}
const tflite::MatrixDiagOptions *builtin_options_as_MatrixDiagOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_MatrixDiagOptions ? static_cast<const tflite::MatrixDiagOptions *>(builtin_options()) : nullptr;
}
const tflite::QuantizeOptions *builtin_options_as_QuantizeOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_QuantizeOptions ? static_cast<const tflite::QuantizeOptions *>(builtin_options()) : nullptr;
}
const tflite::MatrixSetDiagOptions *builtin_options_as_MatrixSetDiagOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_MatrixSetDiagOptions ? static_cast<const tflite::MatrixSetDiagOptions *>(builtin_options()) : nullptr;
}
const tflite::HardSwishOptions *builtin_options_as_HardSwishOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_HardSwishOptions ? static_cast<const tflite::HardSwishOptions *>(builtin_options()) : nullptr;
}
const tflite::IfOptions *builtin_options_as_IfOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_IfOptions ? static_cast<const tflite::IfOptions *>(builtin_options()) : nullptr;
}
const tflite::WhileOptions *builtin_options_as_WhileOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_WhileOptions ? static_cast<const tflite::WhileOptions *>(builtin_options()) : nullptr;
}
const tflite::DepthToSpaceOptions *builtin_options_as_DepthToSpaceOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_DepthToSpaceOptions ? static_cast<const tflite::DepthToSpaceOptions *>(builtin_options()) : nullptr;
}
const tflite::NonMaxSuppressionV4Options *builtin_options_as_NonMaxSuppressionV4Options() const {
return builtin_options_type() == tflite::BuiltinOptions_NonMaxSuppressionV4Options ? static_cast<const tflite::NonMaxSuppressionV4Options *>(builtin_options()) : nullptr;
}
const tflite::NonMaxSuppressionV5Options *builtin_options_as_NonMaxSuppressionV5Options() const {
return builtin_options_type() == tflite::BuiltinOptions_NonMaxSuppressionV5Options ? static_cast<const tflite::NonMaxSuppressionV5Options *>(builtin_options()) : nullptr;
}
const tflite::ScatterNdOptions *builtin_options_as_ScatterNdOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ScatterNdOptions ? static_cast<const tflite::ScatterNdOptions *>(builtin_options()) : nullptr;
}
const tflite::SelectV2Options *builtin_options_as_SelectV2Options() const {
return builtin_options_type() == tflite::BuiltinOptions_SelectV2Options ? static_cast<const tflite::SelectV2Options *>(builtin_options()) : nullptr;
}
const tflite::DensifyOptions *builtin_options_as_DensifyOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_DensifyOptions ? static_cast<const tflite::DensifyOptions *>(builtin_options()) : nullptr;
}
const tflite::SegmentSumOptions *builtin_options_as_SegmentSumOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SegmentSumOptions ? static_cast<const tflite::SegmentSumOptions *>(builtin_options()) : nullptr;
}
const tflite::BatchMatMulOptions *builtin_options_as_BatchMatMulOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_BatchMatMulOptions ? static_cast<const tflite::BatchMatMulOptions *>(builtin_options()) : nullptr;
}
const tflite::CumsumOptions *builtin_options_as_CumsumOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_CumsumOptions ? static_cast<const tflite::CumsumOptions *>(builtin_options()) : nullptr;
}
const tflite::CallOnceOptions *builtin_options_as_CallOnceOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_CallOnceOptions ? static_cast<const tflite::CallOnceOptions *>(builtin_options()) : nullptr;
}
const tflite::BroadcastToOptions *builtin_options_as_BroadcastToOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_BroadcastToOptions ? static_cast<const tflite::BroadcastToOptions *>(builtin_options()) : nullptr;
}
const tflite::Rfft2dOptions *builtin_options_as_Rfft2dOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_Rfft2dOptions ? static_cast<const tflite::Rfft2dOptions *>(builtin_options()) : nullptr;
}
const tflite::Conv3DOptions *builtin_options_as_Conv3DOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_Conv3DOptions ? static_cast<const tflite::Conv3DOptions *>(builtin_options()) : nullptr;
}
const tflite::HashtableOptions *builtin_options_as_HashtableOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_HashtableOptions ? static_cast<const tflite::HashtableOptions *>(builtin_options()) : nullptr;
}
const tflite::HashtableFindOptions *builtin_options_as_HashtableFindOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_HashtableFindOptions ? static_cast<const tflite::HashtableFindOptions *>(builtin_options()) : nullptr;
}
const tflite::HashtableImportOptions *builtin_options_as_HashtableImportOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_HashtableImportOptions ? static_cast<const tflite::HashtableImportOptions *>(builtin_options()) : nullptr;
}
const tflite::HashtableSizeOptions *builtin_options_as_HashtableSizeOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_HashtableSizeOptions ? static_cast<const tflite::HashtableSizeOptions *>(builtin_options()) : nullptr;
}
const tflite::VarHandleOptions *builtin_options_as_VarHandleOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_VarHandleOptions ? static_cast<const tflite::VarHandleOptions *>(builtin_options()) : nullptr;
}
const tflite::ReadVariableOptions *builtin_options_as_ReadVariableOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_ReadVariableOptions ? static_cast<const tflite::ReadVariableOptions *>(builtin_options()) : nullptr;
}
const tflite::AssignVariableOptions *builtin_options_as_AssignVariableOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_AssignVariableOptions ? static_cast<const tflite::AssignVariableOptions *>(builtin_options()) : nullptr;
}
const tflite::RandomOptions *builtin_options_as_RandomOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_RandomOptions ? static_cast<const tflite::RandomOptions *>(builtin_options()) : nullptr;
}
const tflite::BucketizeOptions *builtin_options_as_BucketizeOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_BucketizeOptions ? static_cast<const tflite::BucketizeOptions *>(builtin_options()) : nullptr;
}
const tflite::GeluOptions *builtin_options_as_GeluOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_GeluOptions ? static_cast<const tflite::GeluOptions *>(builtin_options()) : nullptr;
}
const tflite::DynamicUpdateSliceOptions *builtin_options_as_DynamicUpdateSliceOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_DynamicUpdateSliceOptions ? static_cast<const tflite::DynamicUpdateSliceOptions *>(builtin_options()) : nullptr;
}
const tflite::UnsortedSegmentProdOptions *builtin_options_as_UnsortedSegmentProdOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_UnsortedSegmentProdOptions ? static_cast<const tflite::UnsortedSegmentProdOptions *>(builtin_options()) : nullptr;
}
const tflite::UnsortedSegmentMaxOptions *builtin_options_as_UnsortedSegmentMaxOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_UnsortedSegmentMaxOptions ? static_cast<const tflite::UnsortedSegmentMaxOptions *>(builtin_options()) : nullptr;
}
const tflite::UnsortedSegmentMinOptions *builtin_options_as_UnsortedSegmentMinOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_UnsortedSegmentMinOptions ? static_cast<const tflite::UnsortedSegmentMinOptions *>(builtin_options()) : nullptr;
}
const tflite::UnsortedSegmentSumOptions *builtin_options_as_UnsortedSegmentSumOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_UnsortedSegmentSumOptions ? static_cast<const tflite::UnsortedSegmentSumOptions *>(builtin_options()) : nullptr;
}
const tflite::ATan2Options *builtin_options_as_ATan2Options() const {
return builtin_options_type() == tflite::BuiltinOptions_ATan2Options ? static_cast<const tflite::ATan2Options *>(builtin_options()) : nullptr;
}
const tflite::SignOptions *builtin_options_as_SignOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_SignOptions ? static_cast<const tflite::SignOptions *>(builtin_options()) : nullptr;
}
const tflite::BitcastOptions *builtin_options_as_BitcastOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_BitcastOptions ? static_cast<const tflite::BitcastOptions *>(builtin_options()) : nullptr;
}
const tflite::BitwiseXorOptions *builtin_options_as_BitwiseXorOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_BitwiseXorOptions ? static_cast<const tflite::BitwiseXorOptions *>(builtin_options()) : nullptr;
}
const tflite::RightShiftOptions *builtin_options_as_RightShiftOptions() const {
return builtin_options_type() == tflite::BuiltinOptions_RightShiftOptions ? static_cast<const tflite::RightShiftOptions *>(builtin_options()) : nullptr;
}
const ::flatbuffers::Vector<uint8_t> *custom_options() const {
return GetPointer<const ::flatbuffers::Vector<uint8_t> *>(VT_CUSTOM_OPTIONS);
}
tflite::CustomOptionsFormat custom_options_format() const {
return static_cast<tflite::CustomOptionsFormat>(GetField<int8_t>(VT_CUSTOM_OPTIONS_FORMAT, 0));
}
const ::flatbuffers::Vector<uint8_t> *mutating_variable_inputs() const {
return GetPointer<const ::flatbuffers::Vector<uint8_t> *>(VT_MUTATING_VARIABLE_INPUTS);
}
const ::flatbuffers::Vector<int32_t> *intermediates() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_INTERMEDIATES);
}
uint64_t large_custom_options_offset() const {
return GetField<uint64_t>(VT_LARGE_CUSTOM_OPTIONS_OFFSET, 0);
}
uint64_t large_custom_options_size() const {
return GetField<uint64_t>(VT_LARGE_CUSTOM_OPTIONS_SIZE, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<uint32_t>(verifier, VT_OPCODE_INDEX, 4) &&
VerifyOffset(verifier, VT_INPUTS) &&
verifier.VerifyVector(inputs()) &&
VerifyOffset(verifier, VT_OUTPUTS) &&
verifier.VerifyVector(outputs()) &&
VerifyField<uint8_t>(verifier, VT_BUILTIN_OPTIONS_TYPE, 1) &&
VerifyOffset(verifier, VT_BUILTIN_OPTIONS) &&
VerifyBuiltinOptions(verifier, builtin_options(), builtin_options_type()) &&
VerifyOffset(verifier, VT_CUSTOM_OPTIONS) &&
verifier.VerifyVector(custom_options()) &&
VerifyField<int8_t>(verifier, VT_CUSTOM_OPTIONS_FORMAT, 1) &&
VerifyOffset(verifier, VT_MUTATING_VARIABLE_INPUTS) &&
verifier.VerifyVector(mutating_variable_inputs()) &&
VerifyOffset(verifier, VT_INTERMEDIATES) &&
verifier.VerifyVector(intermediates()) &&
VerifyField<uint64_t>(verifier, VT_LARGE_CUSTOM_OPTIONS_OFFSET, 8) &&
VerifyField<uint64_t>(verifier, VT_LARGE_CUSTOM_OPTIONS_SIZE, 8) &&
verifier.EndTable();
}
OperatorT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(OperatorT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<Operator> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const OperatorT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
template<> inline const tflite::Conv2DOptions *Operator::builtin_options_as<tflite::Conv2DOptions>() const {
return builtin_options_as_Conv2DOptions();
}
template<> inline const tflite::DepthwiseConv2DOptions *Operator::builtin_options_as<tflite::DepthwiseConv2DOptions>() const {
return builtin_options_as_DepthwiseConv2DOptions();
}
template<> inline const tflite::ConcatEmbeddingsOptions *Operator::builtin_options_as<tflite::ConcatEmbeddingsOptions>() const {
return builtin_options_as_ConcatEmbeddingsOptions();
}
template<> inline const tflite::LSHProjectionOptions *Operator::builtin_options_as<tflite::LSHProjectionOptions>() const {
return builtin_options_as_LSHProjectionOptions();
}
template<> inline const tflite::Pool2DOptions *Operator::builtin_options_as<tflite::Pool2DOptions>() const {
return builtin_options_as_Pool2DOptions();
}
template<> inline const tflite::SVDFOptions *Operator::builtin_options_as<tflite::SVDFOptions>() const {
return builtin_options_as_SVDFOptions();
}
template<> inline const tflite::RNNOptions *Operator::builtin_options_as<tflite::RNNOptions>() const {
return builtin_options_as_RNNOptions();
}
template<> inline const tflite::FullyConnectedOptions *Operator::builtin_options_as<tflite::FullyConnectedOptions>() const {
return builtin_options_as_FullyConnectedOptions();
}
template<> inline const tflite::SoftmaxOptions *Operator::builtin_options_as<tflite::SoftmaxOptions>() const {
return builtin_options_as_SoftmaxOptions();
}
template<> inline const tflite::ConcatenationOptions *Operator::builtin_options_as<tflite::ConcatenationOptions>() const {
return builtin_options_as_ConcatenationOptions();
}
template<> inline const tflite::AddOptions *Operator::builtin_options_as<tflite::AddOptions>() const {
return builtin_options_as_AddOptions();
}
template<> inline const tflite::L2NormOptions *Operator::builtin_options_as<tflite::L2NormOptions>() const {
return builtin_options_as_L2NormOptions();
}
template<> inline const tflite::LocalResponseNormalizationOptions *Operator::builtin_options_as<tflite::LocalResponseNormalizationOptions>() const {
return builtin_options_as_LocalResponseNormalizationOptions();
}
template<> inline const tflite::LSTMOptions *Operator::builtin_options_as<tflite::LSTMOptions>() const {
return builtin_options_as_LSTMOptions();
}
template<> inline const tflite::ResizeBilinearOptions *Operator::builtin_options_as<tflite::ResizeBilinearOptions>() const {
return builtin_options_as_ResizeBilinearOptions();
}
template<> inline const tflite::CallOptions *Operator::builtin_options_as<tflite::CallOptions>() const {
return builtin_options_as_CallOptions();
}
template<> inline const tflite::ReshapeOptions *Operator::builtin_options_as<tflite::ReshapeOptions>() const {
return builtin_options_as_ReshapeOptions();
}
template<> inline const tflite::SkipGramOptions *Operator::builtin_options_as<tflite::SkipGramOptions>() const {
return builtin_options_as_SkipGramOptions();
}
template<> inline const tflite::SpaceToDepthOptions *Operator::builtin_options_as<tflite::SpaceToDepthOptions>() const {
return builtin_options_as_SpaceToDepthOptions();
}
template<> inline const tflite::EmbeddingLookupSparseOptions *Operator::builtin_options_as<tflite::EmbeddingLookupSparseOptions>() const {
return builtin_options_as_EmbeddingLookupSparseOptions();
}
template<> inline const tflite::MulOptions *Operator::builtin_options_as<tflite::MulOptions>() const {
return builtin_options_as_MulOptions();
}
template<> inline const tflite::PadOptions *Operator::builtin_options_as<tflite::PadOptions>() const {
return builtin_options_as_PadOptions();
}
template<> inline const tflite::GatherOptions *Operator::builtin_options_as<tflite::GatherOptions>() const {
return builtin_options_as_GatherOptions();
}
template<> inline const tflite::BatchToSpaceNDOptions *Operator::builtin_options_as<tflite::BatchToSpaceNDOptions>() const {
return builtin_options_as_BatchToSpaceNDOptions();
}
template<> inline const tflite::SpaceToBatchNDOptions *Operator::builtin_options_as<tflite::SpaceToBatchNDOptions>() const {
return builtin_options_as_SpaceToBatchNDOptions();
}
template<> inline const tflite::TransposeOptions *Operator::builtin_options_as<tflite::TransposeOptions>() const {
return builtin_options_as_TransposeOptions();
}
template<> inline const tflite::ReducerOptions *Operator::builtin_options_as<tflite::ReducerOptions>() const {
return builtin_options_as_ReducerOptions();
}
template<> inline const tflite::SubOptions *Operator::builtin_options_as<tflite::SubOptions>() const {
return builtin_options_as_SubOptions();
}
template<> inline const tflite::DivOptions *Operator::builtin_options_as<tflite::DivOptions>() const {
return builtin_options_as_DivOptions();
}
template<> inline const tflite::SqueezeOptions *Operator::builtin_options_as<tflite::SqueezeOptions>() const {
return builtin_options_as_SqueezeOptions();
}
template<> inline const tflite::SequenceRNNOptions *Operator::builtin_options_as<tflite::SequenceRNNOptions>() const {
return builtin_options_as_SequenceRNNOptions();
}
template<> inline const tflite::StridedSliceOptions *Operator::builtin_options_as<tflite::StridedSliceOptions>() const {
return builtin_options_as_StridedSliceOptions();
}
template<> inline const tflite::ExpOptions *Operator::builtin_options_as<tflite::ExpOptions>() const {
return builtin_options_as_ExpOptions();
}
template<> inline const tflite::TopKV2Options *Operator::builtin_options_as<tflite::TopKV2Options>() const {
return builtin_options_as_TopKV2Options();
}
template<> inline const tflite::SplitOptions *Operator::builtin_options_as<tflite::SplitOptions>() const {
return builtin_options_as_SplitOptions();
}
template<> inline const tflite::LogSoftmaxOptions *Operator::builtin_options_as<tflite::LogSoftmaxOptions>() const {
return builtin_options_as_LogSoftmaxOptions();
}
template<> inline const tflite::CastOptions *Operator::builtin_options_as<tflite::CastOptions>() const {
return builtin_options_as_CastOptions();
}
template<> inline const tflite::DequantizeOptions *Operator::builtin_options_as<tflite::DequantizeOptions>() const {
return builtin_options_as_DequantizeOptions();
}
template<> inline const tflite::MaximumMinimumOptions *Operator::builtin_options_as<tflite::MaximumMinimumOptions>() const {
return builtin_options_as_MaximumMinimumOptions();
}
template<> inline const tflite::ArgMaxOptions *Operator::builtin_options_as<tflite::ArgMaxOptions>() const {
return builtin_options_as_ArgMaxOptions();
}
template<> inline const tflite::LessOptions *Operator::builtin_options_as<tflite::LessOptions>() const {
return builtin_options_as_LessOptions();
}
template<> inline const tflite::NegOptions *Operator::builtin_options_as<tflite::NegOptions>() const {
return builtin_options_as_NegOptions();
}
template<> inline const tflite::PadV2Options *Operator::builtin_options_as<tflite::PadV2Options>() const {
return builtin_options_as_PadV2Options();
}
template<> inline const tflite::GreaterOptions *Operator::builtin_options_as<tflite::GreaterOptions>() const {
return builtin_options_as_GreaterOptions();
}
template<> inline const tflite::GreaterEqualOptions *Operator::builtin_options_as<tflite::GreaterEqualOptions>() const {
return builtin_options_as_GreaterEqualOptions();
}
template<> inline const tflite::LessEqualOptions *Operator::builtin_options_as<tflite::LessEqualOptions>() const {
return builtin_options_as_LessEqualOptions();
}
template<> inline const tflite::SelectOptions *Operator::builtin_options_as<tflite::SelectOptions>() const {
return builtin_options_as_SelectOptions();
}
template<> inline const tflite::SliceOptions *Operator::builtin_options_as<tflite::SliceOptions>() const {
return builtin_options_as_SliceOptions();
}
template<> inline const tflite::TransposeConvOptions *Operator::builtin_options_as<tflite::TransposeConvOptions>() const {
return builtin_options_as_TransposeConvOptions();
}
template<> inline const tflite::SparseToDenseOptions *Operator::builtin_options_as<tflite::SparseToDenseOptions>() const {
return builtin_options_as_SparseToDenseOptions();
}
template<> inline const tflite::TileOptions *Operator::builtin_options_as<tflite::TileOptions>() const {
return builtin_options_as_TileOptions();
}
template<> inline const tflite::ExpandDimsOptions *Operator::builtin_options_as<tflite::ExpandDimsOptions>() const {
return builtin_options_as_ExpandDimsOptions();
}
template<> inline const tflite::EqualOptions *Operator::builtin_options_as<tflite::EqualOptions>() const {
return builtin_options_as_EqualOptions();
}
template<> inline const tflite::NotEqualOptions *Operator::builtin_options_as<tflite::NotEqualOptions>() const {
return builtin_options_as_NotEqualOptions();
}
template<> inline const tflite::ShapeOptions *Operator::builtin_options_as<tflite::ShapeOptions>() const {
return builtin_options_as_ShapeOptions();
}
template<> inline const tflite::PowOptions *Operator::builtin_options_as<tflite::PowOptions>() const {
return builtin_options_as_PowOptions();
}
template<> inline const tflite::ArgMinOptions *Operator::builtin_options_as<tflite::ArgMinOptions>() const {
return builtin_options_as_ArgMinOptions();
}
template<> inline const tflite::FakeQuantOptions *Operator::builtin_options_as<tflite::FakeQuantOptions>() const {
return builtin_options_as_FakeQuantOptions();
}
template<> inline const tflite::PackOptions *Operator::builtin_options_as<tflite::PackOptions>() const {
return builtin_options_as_PackOptions();
}
template<> inline const tflite::LogicalOrOptions *Operator::builtin_options_as<tflite::LogicalOrOptions>() const {
return builtin_options_as_LogicalOrOptions();
}
template<> inline const tflite::OneHotOptions *Operator::builtin_options_as<tflite::OneHotOptions>() const {
return builtin_options_as_OneHotOptions();
}
template<> inline const tflite::LogicalAndOptions *Operator::builtin_options_as<tflite::LogicalAndOptions>() const {
return builtin_options_as_LogicalAndOptions();
}
template<> inline const tflite::LogicalNotOptions *Operator::builtin_options_as<tflite::LogicalNotOptions>() const {
return builtin_options_as_LogicalNotOptions();
}
template<> inline const tflite::UnpackOptions *Operator::builtin_options_as<tflite::UnpackOptions>() const {
return builtin_options_as_UnpackOptions();
}
template<> inline const tflite::FloorDivOptions *Operator::builtin_options_as<tflite::FloorDivOptions>() const {
return builtin_options_as_FloorDivOptions();
}
template<> inline const tflite::SquareOptions *Operator::builtin_options_as<tflite::SquareOptions>() const {
return builtin_options_as_SquareOptions();
}
template<> inline const tflite::ZerosLikeOptions *Operator::builtin_options_as<tflite::ZerosLikeOptions>() const {
return builtin_options_as_ZerosLikeOptions();
}
template<> inline const tflite::FillOptions *Operator::builtin_options_as<tflite::FillOptions>() const {
return builtin_options_as_FillOptions();
}
template<> inline const tflite::BidirectionalSequenceLSTMOptions *Operator::builtin_options_as<tflite::BidirectionalSequenceLSTMOptions>() const {
return builtin_options_as_BidirectionalSequenceLSTMOptions();
}
template<> inline const tflite::BidirectionalSequenceRNNOptions *Operator::builtin_options_as<tflite::BidirectionalSequenceRNNOptions>() const {
return builtin_options_as_BidirectionalSequenceRNNOptions();
}
template<> inline const tflite::UnidirectionalSequenceLSTMOptions *Operator::builtin_options_as<tflite::UnidirectionalSequenceLSTMOptions>() const {
return builtin_options_as_UnidirectionalSequenceLSTMOptions();
}
template<> inline const tflite::FloorModOptions *Operator::builtin_options_as<tflite::FloorModOptions>() const {
return builtin_options_as_FloorModOptions();
}
template<> inline const tflite::RangeOptions *Operator::builtin_options_as<tflite::RangeOptions>() const {
return builtin_options_as_RangeOptions();
}
template<> inline const tflite::ResizeNearestNeighborOptions *Operator::builtin_options_as<tflite::ResizeNearestNeighborOptions>() const {
return builtin_options_as_ResizeNearestNeighborOptions();
}
template<> inline const tflite::LeakyReluOptions *Operator::builtin_options_as<tflite::LeakyReluOptions>() const {
return builtin_options_as_LeakyReluOptions();
}
template<> inline const tflite::SquaredDifferenceOptions *Operator::builtin_options_as<tflite::SquaredDifferenceOptions>() const {
return builtin_options_as_SquaredDifferenceOptions();
}
template<> inline const tflite::MirrorPadOptions *Operator::builtin_options_as<tflite::MirrorPadOptions>() const {
return builtin_options_as_MirrorPadOptions();
}
template<> inline const tflite::AbsOptions *Operator::builtin_options_as<tflite::AbsOptions>() const {
return builtin_options_as_AbsOptions();
}
template<> inline const tflite::SplitVOptions *Operator::builtin_options_as<tflite::SplitVOptions>() const {
return builtin_options_as_SplitVOptions();
}
template<> inline const tflite::UniqueOptions *Operator::builtin_options_as<tflite::UniqueOptions>() const {
return builtin_options_as_UniqueOptions();
}
template<> inline const tflite::ReverseV2Options *Operator::builtin_options_as<tflite::ReverseV2Options>() const {
return builtin_options_as_ReverseV2Options();
}
template<> inline const tflite::AddNOptions *Operator::builtin_options_as<tflite::AddNOptions>() const {
return builtin_options_as_AddNOptions();
}
template<> inline const tflite::GatherNdOptions *Operator::builtin_options_as<tflite::GatherNdOptions>() const {
return builtin_options_as_GatherNdOptions();
}
template<> inline const tflite::CosOptions *Operator::builtin_options_as<tflite::CosOptions>() const {
return builtin_options_as_CosOptions();
}
template<> inline const tflite::WhereOptions *Operator::builtin_options_as<tflite::WhereOptions>() const {
return builtin_options_as_WhereOptions();
}
template<> inline const tflite::RankOptions *Operator::builtin_options_as<tflite::RankOptions>() const {
return builtin_options_as_RankOptions();
}
template<> inline const tflite::ReverseSequenceOptions *Operator::builtin_options_as<tflite::ReverseSequenceOptions>() const {
return builtin_options_as_ReverseSequenceOptions();
}
template<> inline const tflite::MatrixDiagOptions *Operator::builtin_options_as<tflite::MatrixDiagOptions>() const {
return builtin_options_as_MatrixDiagOptions();
}
template<> inline const tflite::QuantizeOptions *Operator::builtin_options_as<tflite::QuantizeOptions>() const {
return builtin_options_as_QuantizeOptions();
}
template<> inline const tflite::MatrixSetDiagOptions *Operator::builtin_options_as<tflite::MatrixSetDiagOptions>() const {
return builtin_options_as_MatrixSetDiagOptions();
}
template<> inline const tflite::HardSwishOptions *Operator::builtin_options_as<tflite::HardSwishOptions>() const {
return builtin_options_as_HardSwishOptions();
}
template<> inline const tflite::IfOptions *Operator::builtin_options_as<tflite::IfOptions>() const {
return builtin_options_as_IfOptions();
}
template<> inline const tflite::WhileOptions *Operator::builtin_options_as<tflite::WhileOptions>() const {
return builtin_options_as_WhileOptions();
}
template<> inline const tflite::DepthToSpaceOptions *Operator::builtin_options_as<tflite::DepthToSpaceOptions>() const {
return builtin_options_as_DepthToSpaceOptions();
}
template<> inline const tflite::NonMaxSuppressionV4Options *Operator::builtin_options_as<tflite::NonMaxSuppressionV4Options>() const {
return builtin_options_as_NonMaxSuppressionV4Options();
}
template<> inline const tflite::NonMaxSuppressionV5Options *Operator::builtin_options_as<tflite::NonMaxSuppressionV5Options>() const {
return builtin_options_as_NonMaxSuppressionV5Options();
}
template<> inline const tflite::ScatterNdOptions *Operator::builtin_options_as<tflite::ScatterNdOptions>() const {
return builtin_options_as_ScatterNdOptions();
}
template<> inline const tflite::SelectV2Options *Operator::builtin_options_as<tflite::SelectV2Options>() const {
return builtin_options_as_SelectV2Options();
}
template<> inline const tflite::DensifyOptions *Operator::builtin_options_as<tflite::DensifyOptions>() const {
return builtin_options_as_DensifyOptions();
}
template<> inline const tflite::SegmentSumOptions *Operator::builtin_options_as<tflite::SegmentSumOptions>() const {
return builtin_options_as_SegmentSumOptions();
}
template<> inline const tflite::BatchMatMulOptions *Operator::builtin_options_as<tflite::BatchMatMulOptions>() const {
return builtin_options_as_BatchMatMulOptions();
}
template<> inline const tflite::CumsumOptions *Operator::builtin_options_as<tflite::CumsumOptions>() const {
return builtin_options_as_CumsumOptions();
}
template<> inline const tflite::CallOnceOptions *Operator::builtin_options_as<tflite::CallOnceOptions>() const {
return builtin_options_as_CallOnceOptions();
}
template<> inline const tflite::BroadcastToOptions *Operator::builtin_options_as<tflite::BroadcastToOptions>() const {
return builtin_options_as_BroadcastToOptions();
}
template<> inline const tflite::Rfft2dOptions *Operator::builtin_options_as<tflite::Rfft2dOptions>() const {
return builtin_options_as_Rfft2dOptions();
}
template<> inline const tflite::Conv3DOptions *Operator::builtin_options_as<tflite::Conv3DOptions>() const {
return builtin_options_as_Conv3DOptions();
}
template<> inline const tflite::HashtableOptions *Operator::builtin_options_as<tflite::HashtableOptions>() const {
return builtin_options_as_HashtableOptions();
}
template<> inline const tflite::HashtableFindOptions *Operator::builtin_options_as<tflite::HashtableFindOptions>() const {
return builtin_options_as_HashtableFindOptions();
}
template<> inline const tflite::HashtableImportOptions *Operator::builtin_options_as<tflite::HashtableImportOptions>() const {
return builtin_options_as_HashtableImportOptions();
}
template<> inline const tflite::HashtableSizeOptions *Operator::builtin_options_as<tflite::HashtableSizeOptions>() const {
return builtin_options_as_HashtableSizeOptions();
}
template<> inline const tflite::VarHandleOptions *Operator::builtin_options_as<tflite::VarHandleOptions>() const {
return builtin_options_as_VarHandleOptions();
}
template<> inline const tflite::ReadVariableOptions *Operator::builtin_options_as<tflite::ReadVariableOptions>() const {
return builtin_options_as_ReadVariableOptions();
}
template<> inline const tflite::AssignVariableOptions *Operator::builtin_options_as<tflite::AssignVariableOptions>() const {
return builtin_options_as_AssignVariableOptions();
}
template<> inline const tflite::RandomOptions *Operator::builtin_options_as<tflite::RandomOptions>() const {
return builtin_options_as_RandomOptions();
}
template<> inline const tflite::BucketizeOptions *Operator::builtin_options_as<tflite::BucketizeOptions>() const {
return builtin_options_as_BucketizeOptions();
}
template<> inline const tflite::GeluOptions *Operator::builtin_options_as<tflite::GeluOptions>() const {
return builtin_options_as_GeluOptions();
}
template<> inline const tflite::DynamicUpdateSliceOptions *Operator::builtin_options_as<tflite::DynamicUpdateSliceOptions>() const {
return builtin_options_as_DynamicUpdateSliceOptions();
}
template<> inline const tflite::UnsortedSegmentProdOptions *Operator::builtin_options_as<tflite::UnsortedSegmentProdOptions>() const {
return builtin_options_as_UnsortedSegmentProdOptions();
}
template<> inline const tflite::UnsortedSegmentMaxOptions *Operator::builtin_options_as<tflite::UnsortedSegmentMaxOptions>() const {
return builtin_options_as_UnsortedSegmentMaxOptions();
}
template<> inline const tflite::UnsortedSegmentMinOptions *Operator::builtin_options_as<tflite::UnsortedSegmentMinOptions>() const {
return builtin_options_as_UnsortedSegmentMinOptions();
}
template<> inline const tflite::UnsortedSegmentSumOptions *Operator::builtin_options_as<tflite::UnsortedSegmentSumOptions>() const {
return builtin_options_as_UnsortedSegmentSumOptions();
}
template<> inline const tflite::ATan2Options *Operator::builtin_options_as<tflite::ATan2Options>() const {
return builtin_options_as_ATan2Options();
}
template<> inline const tflite::SignOptions *Operator::builtin_options_as<tflite::SignOptions>() const {
return builtin_options_as_SignOptions();
}
template<> inline const tflite::BitcastOptions *Operator::builtin_options_as<tflite::BitcastOptions>() const {
return builtin_options_as_BitcastOptions();
}
template<> inline const tflite::BitwiseXorOptions *Operator::builtin_options_as<tflite::BitwiseXorOptions>() const {
return builtin_options_as_BitwiseXorOptions();
}
template<> inline const tflite::RightShiftOptions *Operator::builtin_options_as<tflite::RightShiftOptions>() const {
return builtin_options_as_RightShiftOptions();
}
struct OperatorBuilder {
typedef Operator Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_opcode_index(uint32_t opcode_index) {
fbb_.AddElement<uint32_t>(Operator::VT_OPCODE_INDEX, opcode_index, 0);
}
void add_inputs(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> inputs) {
fbb_.AddOffset(Operator::VT_INPUTS, inputs);
}
void add_outputs(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> outputs) {
fbb_.AddOffset(Operator::VT_OUTPUTS, outputs);
}
void add_builtin_options_type(tflite::BuiltinOptions builtin_options_type) {
fbb_.AddElement<uint8_t>(Operator::VT_BUILTIN_OPTIONS_TYPE, static_cast<uint8_t>(builtin_options_type), 0);
}
void add_builtin_options(::flatbuffers::Offset<void> builtin_options) {
fbb_.AddOffset(Operator::VT_BUILTIN_OPTIONS, builtin_options);
}
void add_custom_options(::flatbuffers::Offset<::flatbuffers::Vector<uint8_t>> custom_options) {
fbb_.AddOffset(Operator::VT_CUSTOM_OPTIONS, custom_options);
}
void add_custom_options_format(tflite::CustomOptionsFormat custom_options_format) {
fbb_.AddElement<int8_t>(Operator::VT_CUSTOM_OPTIONS_FORMAT, static_cast<int8_t>(custom_options_format), 0);
}
void add_mutating_variable_inputs(::flatbuffers::Offset<::flatbuffers::Vector<uint8_t>> mutating_variable_inputs) {
fbb_.AddOffset(Operator::VT_MUTATING_VARIABLE_INPUTS, mutating_variable_inputs);
}
void add_intermediates(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> intermediates) {
fbb_.AddOffset(Operator::VT_INTERMEDIATES, intermediates);
}
void add_large_custom_options_offset(uint64_t large_custom_options_offset) {
fbb_.AddElement<uint64_t>(Operator::VT_LARGE_CUSTOM_OPTIONS_OFFSET, large_custom_options_offset, 0);
}
void add_large_custom_options_size(uint64_t large_custom_options_size) {
fbb_.AddElement<uint64_t>(Operator::VT_LARGE_CUSTOM_OPTIONS_SIZE, large_custom_options_size, 0);
}
explicit OperatorBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<Operator> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<Operator>(end);
return o;
}
};
inline ::flatbuffers::Offset<Operator> CreateOperator(
::flatbuffers::FlatBufferBuilder &_fbb,
uint32_t opcode_index = 0,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> inputs = 0,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> outputs = 0,
tflite::BuiltinOptions builtin_options_type = tflite::BuiltinOptions_NONE,
::flatbuffers::Offset<void> builtin_options = 0,
::flatbuffers::Offset<::flatbuffers::Vector<uint8_t>> custom_options = 0,
tflite::CustomOptionsFormat custom_options_format = tflite::CustomOptionsFormat_FLEXBUFFERS,
::flatbuffers::Offset<::flatbuffers::Vector<uint8_t>> mutating_variable_inputs = 0,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> intermediates = 0,
uint64_t large_custom_options_offset = 0,
uint64_t large_custom_options_size = 0) {
OperatorBuilder builder_(_fbb);
builder_.add_large_custom_options_size(large_custom_options_size);
builder_.add_large_custom_options_offset(large_custom_options_offset);
builder_.add_intermediates(intermediates);
builder_.add_mutating_variable_inputs(mutating_variable_inputs);
builder_.add_custom_options(custom_options);
builder_.add_builtin_options(builtin_options);
builder_.add_outputs(outputs);
builder_.add_inputs(inputs);
builder_.add_opcode_index(opcode_index);
builder_.add_custom_options_format(custom_options_format);
builder_.add_builtin_options_type(builtin_options_type);
return builder_.Finish();
}
inline ::flatbuffers::Offset<Operator> CreateOperatorDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
uint32_t opcode_index = 0,
const std::vector<int32_t> *inputs = nullptr,
const std::vector<int32_t> *outputs = nullptr,
tflite::BuiltinOptions builtin_options_type = tflite::BuiltinOptions_NONE,
::flatbuffers::Offset<void> builtin_options = 0,
const std::vector<uint8_t> *custom_options = nullptr,
tflite::CustomOptionsFormat custom_options_format = tflite::CustomOptionsFormat_FLEXBUFFERS,
const std::vector<uint8_t> *mutating_variable_inputs = nullptr,
const std::vector<int32_t> *intermediates = nullptr,
uint64_t large_custom_options_offset = 0,
uint64_t large_custom_options_size = 0) {
auto inputs__ = inputs ? _fbb.CreateVector<int32_t>(*inputs) : 0;
auto outputs__ = outputs ? _fbb.CreateVector<int32_t>(*outputs) : 0;
auto custom_options__ = custom_options ? _fbb.CreateVector<uint8_t>(*custom_options) : 0;
auto mutating_variable_inputs__ = mutating_variable_inputs ? _fbb.CreateVector<uint8_t>(*mutating_variable_inputs) : 0;
auto intermediates__ = intermediates ? _fbb.CreateVector<int32_t>(*intermediates) : 0;
return tflite::CreateOperator(
_fbb,
opcode_index,
inputs__,
outputs__,
builtin_options_type,
builtin_options,
custom_options__,
custom_options_format,
mutating_variable_inputs__,
intermediates__,
large_custom_options_offset,
large_custom_options_size);
}
::flatbuffers::Offset<Operator> CreateOperator(::flatbuffers::FlatBufferBuilder &_fbb, const OperatorT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SubGraphT : public ::flatbuffers::NativeTable {
typedef SubGraph TableType;
std::vector<std::unique_ptr<tflite::TensorT>> tensors{};
std::vector<int32_t> inputs{};
std::vector<int32_t> outputs{};
std::vector<std::unique_ptr<tflite::OperatorT>> operators{};
std::string name{};
SubGraphT() = default;
SubGraphT(const SubGraphT &o);
SubGraphT(SubGraphT&&) FLATBUFFERS_NOEXCEPT = default;
SubGraphT &operator=(SubGraphT o) FLATBUFFERS_NOEXCEPT;
};
struct SubGraph FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SubGraphT NativeTableType;
typedef SubGraphBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_TENSORS = 4,
VT_INPUTS = 6,
VT_OUTPUTS = 8,
VT_OPERATORS = 10,
VT_NAME = 12
};
const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::Tensor>> *tensors() const {
return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::Tensor>> *>(VT_TENSORS);
}
const ::flatbuffers::Vector<int32_t> *inputs() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_INPUTS);
}
const ::flatbuffers::Vector<int32_t> *outputs() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_OUTPUTS);
}
const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::Operator>> *operators() const {
return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::Operator>> *>(VT_OPERATORS);
}
const ::flatbuffers::String *name() const {
return GetPointer<const ::flatbuffers::String *>(VT_NAME);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_TENSORS) &&
verifier.VerifyVector(tensors()) &&
verifier.VerifyVectorOfTables(tensors()) &&
VerifyOffset(verifier, VT_INPUTS) &&
verifier.VerifyVector(inputs()) &&
VerifyOffset(verifier, VT_OUTPUTS) &&
verifier.VerifyVector(outputs()) &&
VerifyOffset(verifier, VT_OPERATORS) &&
verifier.VerifyVector(operators()) &&
verifier.VerifyVectorOfTables(operators()) &&
VerifyOffset(verifier, VT_NAME) &&
verifier.VerifyString(name()) &&
verifier.EndTable();
}
SubGraphT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SubGraphT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SubGraph> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SubGraphT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SubGraphBuilder {
typedef SubGraph Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_tensors(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::Tensor>>> tensors) {
fbb_.AddOffset(SubGraph::VT_TENSORS, tensors);
}
void add_inputs(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> inputs) {
fbb_.AddOffset(SubGraph::VT_INPUTS, inputs);
}
void add_outputs(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> outputs) {
fbb_.AddOffset(SubGraph::VT_OUTPUTS, outputs);
}
void add_operators(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::Operator>>> operators) {
fbb_.AddOffset(SubGraph::VT_OPERATORS, operators);
}
void add_name(::flatbuffers::Offset<::flatbuffers::String> name) {
fbb_.AddOffset(SubGraph::VT_NAME, name);
}
explicit SubGraphBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SubGraph> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SubGraph>(end);
return o;
}
};
inline ::flatbuffers::Offset<SubGraph> CreateSubGraph(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::Tensor>>> tensors = 0,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> inputs = 0,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> outputs = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::Operator>>> operators = 0,
::flatbuffers::Offset<::flatbuffers::String> name = 0) {
SubGraphBuilder builder_(_fbb);
builder_.add_name(name);
builder_.add_operators(operators);
builder_.add_outputs(outputs);
builder_.add_inputs(inputs);
builder_.add_tensors(tensors);
return builder_.Finish();
}
inline ::flatbuffers::Offset<SubGraph> CreateSubGraphDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<::flatbuffers::Offset<tflite::Tensor>> *tensors = nullptr,
const std::vector<int32_t> *inputs = nullptr,
const std::vector<int32_t> *outputs = nullptr,
const std::vector<::flatbuffers::Offset<tflite::Operator>> *operators = nullptr,
const char *name = nullptr) {
auto tensors__ = tensors ? _fbb.CreateVector<::flatbuffers::Offset<tflite::Tensor>>(*tensors) : 0;
auto inputs__ = inputs ? _fbb.CreateVector<int32_t>(*inputs) : 0;
auto outputs__ = outputs ? _fbb.CreateVector<int32_t>(*outputs) : 0;
auto operators__ = operators ? _fbb.CreateVector<::flatbuffers::Offset<tflite::Operator>>(*operators) : 0;
auto name__ = name ? _fbb.CreateString(name) : 0;
return tflite::CreateSubGraph(
_fbb,
tensors__,
inputs__,
outputs__,
operators__,
name__);
}
::flatbuffers::Offset<SubGraph> CreateSubGraph(::flatbuffers::FlatBufferBuilder &_fbb, const SubGraphT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct BufferT : public ::flatbuffers::NativeTable {
typedef Buffer TableType;
std::vector<uint8_t> data{};
uint64_t offset = 0;
uint64_t size = 0;
};
struct Buffer FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef BufferT NativeTableType;
typedef BufferBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_DATA = 4,
VT_OFFSET = 6,
VT_SIZE = 8
};
const ::flatbuffers::Vector<uint8_t> *data() const {
return GetPointer<const ::flatbuffers::Vector<uint8_t> *>(VT_DATA);
}
uint64_t offset() const {
return GetField<uint64_t>(VT_OFFSET, 0);
}
uint64_t size() const {
return GetField<uint64_t>(VT_SIZE, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_DATA) &&
verifier.VerifyVector(data()) &&
VerifyField<uint64_t>(verifier, VT_OFFSET, 8) &&
VerifyField<uint64_t>(verifier, VT_SIZE, 8) &&
verifier.EndTable();
}
BufferT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(BufferT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<Buffer> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BufferT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct BufferBuilder {
typedef Buffer Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_data(::flatbuffers::Offset<::flatbuffers::Vector<uint8_t>> data) {
fbb_.AddOffset(Buffer::VT_DATA, data);
}
void add_offset(uint64_t offset) {
fbb_.AddElement<uint64_t>(Buffer::VT_OFFSET, offset, 0);
}
void add_size(uint64_t size) {
fbb_.AddElement<uint64_t>(Buffer::VT_SIZE, size, 0);
}
explicit BufferBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<Buffer> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<Buffer>(end);
return o;
}
};
inline ::flatbuffers::Offset<Buffer> CreateBuffer(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<uint8_t>> data = 0,
uint64_t offset = 0,
uint64_t size = 0) {
BufferBuilder builder_(_fbb);
builder_.add_size(size);
builder_.add_offset(offset);
builder_.add_data(data);
return builder_.Finish();
}
inline ::flatbuffers::Offset<Buffer> CreateBufferDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<uint8_t> *data = nullptr,
uint64_t offset = 0,
uint64_t size = 0) {
if (data) { _fbb.ForceVectorAlignment(data->size(), sizeof(uint8_t), 16); }
auto data__ = data ? _fbb.CreateVector<uint8_t>(*data) : 0;
return tflite::CreateBuffer(
_fbb,
data__,
offset,
size);
}
::flatbuffers::Offset<Buffer> CreateBuffer(::flatbuffers::FlatBufferBuilder &_fbb, const BufferT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct MetadataT : public ::flatbuffers::NativeTable {
typedef Metadata TableType;
std::string name{};
uint32_t buffer = 0;
};
struct Metadata FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef MetadataT NativeTableType;
typedef MetadataBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_NAME = 4,
VT_BUFFER = 6
};
const ::flatbuffers::String *name() const {
return GetPointer<const ::flatbuffers::String *>(VT_NAME);
}
uint32_t buffer() const {
return GetField<uint32_t>(VT_BUFFER, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_NAME) &&
verifier.VerifyString(name()) &&
VerifyField<uint32_t>(verifier, VT_BUFFER, 4) &&
verifier.EndTable();
}
MetadataT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(MetadataT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<Metadata> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const MetadataT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct MetadataBuilder {
typedef Metadata Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_name(::flatbuffers::Offset<::flatbuffers::String> name) {
fbb_.AddOffset(Metadata::VT_NAME, name);
}
void add_buffer(uint32_t buffer) {
fbb_.AddElement<uint32_t>(Metadata::VT_BUFFER, buffer, 0);
}
explicit MetadataBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<Metadata> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<Metadata>(end);
return o;
}
};
inline ::flatbuffers::Offset<Metadata> CreateMetadata(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::String> name = 0,
uint32_t buffer = 0) {
MetadataBuilder builder_(_fbb);
builder_.add_buffer(buffer);
builder_.add_name(name);
return builder_.Finish();
}
inline ::flatbuffers::Offset<Metadata> CreateMetadataDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const char *name = nullptr,
uint32_t buffer = 0) {
auto name__ = name ? _fbb.CreateString(name) : 0;
return tflite::CreateMetadata(
_fbb,
name__,
buffer);
}
::flatbuffers::Offset<Metadata> CreateMetadata(::flatbuffers::FlatBufferBuilder &_fbb, const MetadataT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct TensorMapT : public ::flatbuffers::NativeTable {
typedef TensorMap TableType;
std::string name{};
uint32_t tensor_index = 0;
};
struct TensorMap FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef TensorMapT NativeTableType;
typedef TensorMapBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_NAME = 4,
VT_TENSOR_INDEX = 6
};
const ::flatbuffers::String *name() const {
return GetPointer<const ::flatbuffers::String *>(VT_NAME);
}
uint32_t tensor_index() const {
return GetField<uint32_t>(VT_TENSOR_INDEX, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_NAME) &&
verifier.VerifyString(name()) &&
VerifyField<uint32_t>(verifier, VT_TENSOR_INDEX, 4) &&
verifier.EndTable();
}
TensorMapT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(TensorMapT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<TensorMap> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const TensorMapT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct TensorMapBuilder {
typedef TensorMap Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_name(::flatbuffers::Offset<::flatbuffers::String> name) {
fbb_.AddOffset(TensorMap::VT_NAME, name);
}
void add_tensor_index(uint32_t tensor_index) {
fbb_.AddElement<uint32_t>(TensorMap::VT_TENSOR_INDEX, tensor_index, 0);
}
explicit TensorMapBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<TensorMap> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<TensorMap>(end);
return o;
}
};
inline ::flatbuffers::Offset<TensorMap> CreateTensorMap(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::String> name = 0,
uint32_t tensor_index = 0) {
TensorMapBuilder builder_(_fbb);
builder_.add_tensor_index(tensor_index);
builder_.add_name(name);
return builder_.Finish();
}
inline ::flatbuffers::Offset<TensorMap> CreateTensorMapDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const char *name = nullptr,
uint32_t tensor_index = 0) {
auto name__ = name ? _fbb.CreateString(name) : 0;
return tflite::CreateTensorMap(
_fbb,
name__,
tensor_index);
}
::flatbuffers::Offset<TensorMap> CreateTensorMap(::flatbuffers::FlatBufferBuilder &_fbb, const TensorMapT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SignatureDefT : public ::flatbuffers::NativeTable {
typedef SignatureDef TableType;
std::vector<std::unique_ptr<tflite::TensorMapT>> inputs{};
std::vector<std::unique_ptr<tflite::TensorMapT>> outputs{};
std::string signature_key{};
uint32_t subgraph_index = 0;
SignatureDefT() = default;
SignatureDefT(const SignatureDefT &o);
SignatureDefT(SignatureDefT&&) FLATBUFFERS_NOEXCEPT = default;
SignatureDefT &operator=(SignatureDefT o) FLATBUFFERS_NOEXCEPT;
};
struct SignatureDef FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef SignatureDefT NativeTableType;
typedef SignatureDefBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_INPUTS = 4,
VT_OUTPUTS = 6,
VT_SIGNATURE_KEY = 8,
VT_SUBGRAPH_INDEX = 12
};
const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::TensorMap>> *inputs() const {
return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::TensorMap>> *>(VT_INPUTS);
}
const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::TensorMap>> *outputs() const {
return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::TensorMap>> *>(VT_OUTPUTS);
}
const ::flatbuffers::String *signature_key() const {
return GetPointer<const ::flatbuffers::String *>(VT_SIGNATURE_KEY);
}
uint32_t subgraph_index() const {
return GetField<uint32_t>(VT_SUBGRAPH_INDEX, 0);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_INPUTS) &&
verifier.VerifyVector(inputs()) &&
verifier.VerifyVectorOfTables(inputs()) &&
VerifyOffset(verifier, VT_OUTPUTS) &&
verifier.VerifyVector(outputs()) &&
verifier.VerifyVectorOfTables(outputs()) &&
VerifyOffset(verifier, VT_SIGNATURE_KEY) &&
verifier.VerifyString(signature_key()) &&
VerifyField<uint32_t>(verifier, VT_SUBGRAPH_INDEX, 4) &&
verifier.EndTable();
}
SignatureDefT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(SignatureDefT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<SignatureDef> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SignatureDefT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct SignatureDefBuilder {
typedef SignatureDef Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_inputs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::TensorMap>>> inputs) {
fbb_.AddOffset(SignatureDef::VT_INPUTS, inputs);
}
void add_outputs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::TensorMap>>> outputs) {
fbb_.AddOffset(SignatureDef::VT_OUTPUTS, outputs);
}
void add_signature_key(::flatbuffers::Offset<::flatbuffers::String> signature_key) {
fbb_.AddOffset(SignatureDef::VT_SIGNATURE_KEY, signature_key);
}
void add_subgraph_index(uint32_t subgraph_index) {
fbb_.AddElement<uint32_t>(SignatureDef::VT_SUBGRAPH_INDEX, subgraph_index, 0);
}
explicit SignatureDefBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<SignatureDef> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<SignatureDef>(end);
return o;
}
};
inline ::flatbuffers::Offset<SignatureDef> CreateSignatureDef(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::TensorMap>>> inputs = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::TensorMap>>> outputs = 0,
::flatbuffers::Offset<::flatbuffers::String> signature_key = 0,
uint32_t subgraph_index = 0) {
SignatureDefBuilder builder_(_fbb);
builder_.add_subgraph_index(subgraph_index);
builder_.add_signature_key(signature_key);
builder_.add_outputs(outputs);
builder_.add_inputs(inputs);
return builder_.Finish();
}
inline ::flatbuffers::Offset<SignatureDef> CreateSignatureDefDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<::flatbuffers::Offset<tflite::TensorMap>> *inputs = nullptr,
const std::vector<::flatbuffers::Offset<tflite::TensorMap>> *outputs = nullptr,
const char *signature_key = nullptr,
uint32_t subgraph_index = 0) {
auto inputs__ = inputs ? _fbb.CreateVector<::flatbuffers::Offset<tflite::TensorMap>>(*inputs) : 0;
auto outputs__ = outputs ? _fbb.CreateVector<::flatbuffers::Offset<tflite::TensorMap>>(*outputs) : 0;
auto signature_key__ = signature_key ? _fbb.CreateString(signature_key) : 0;
return tflite::CreateSignatureDef(
_fbb,
inputs__,
outputs__,
signature_key__,
subgraph_index);
}
::flatbuffers::Offset<SignatureDef> CreateSignatureDef(::flatbuffers::FlatBufferBuilder &_fbb, const SignatureDefT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ModelT : public ::flatbuffers::NativeTable {
typedef Model TableType;
uint32_t version = 0;
std::vector<std::unique_ptr<tflite::OperatorCodeT>> operator_codes{};
std::vector<std::unique_ptr<tflite::SubGraphT>> subgraphs{};
std::string description{};
std::vector<std::unique_ptr<tflite::BufferT>> buffers{};
std::vector<int32_t> metadata_buffer{};
std::vector<std::unique_ptr<tflite::MetadataT>> metadata{};
std::vector<std::unique_ptr<tflite::SignatureDefT>> signature_defs{};
ModelT() = default;
ModelT(const ModelT &o);
ModelT(ModelT&&) FLATBUFFERS_NOEXCEPT = default;
ModelT &operator=(ModelT o) FLATBUFFERS_NOEXCEPT;
};
struct Model FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
typedef ModelT NativeTableType;
typedef ModelBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_VERSION = 4,
VT_OPERATOR_CODES = 6,
VT_SUBGRAPHS = 8,
VT_DESCRIPTION = 10,
VT_BUFFERS = 12,
VT_METADATA_BUFFER = 14,
VT_METADATA = 16,
VT_SIGNATURE_DEFS = 18
};
uint32_t version() const {
return GetField<uint32_t>(VT_VERSION, 0);
}
const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::OperatorCode>> *operator_codes() const {
return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::OperatorCode>> *>(VT_OPERATOR_CODES);
}
const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::SubGraph>> *subgraphs() const {
return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::SubGraph>> *>(VT_SUBGRAPHS);
}
const ::flatbuffers::String *description() const {
return GetPointer<const ::flatbuffers::String *>(VT_DESCRIPTION);
}
const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::Buffer>> *buffers() const {
return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::Buffer>> *>(VT_BUFFERS);
}
const ::flatbuffers::Vector<int32_t> *metadata_buffer() const {
return GetPointer<const ::flatbuffers::Vector<int32_t> *>(VT_METADATA_BUFFER);
}
const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::Metadata>> *metadata() const {
return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::Metadata>> *>(VT_METADATA);
}
const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::SignatureDef>> *signature_defs() const {
return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tflite::SignatureDef>> *>(VT_SIGNATURE_DEFS);
}
bool Verify(::flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<uint32_t>(verifier, VT_VERSION, 4) &&
VerifyOffset(verifier, VT_OPERATOR_CODES) &&
verifier.VerifyVector(operator_codes()) &&
verifier.VerifyVectorOfTables(operator_codes()) &&
VerifyOffset(verifier, VT_SUBGRAPHS) &&
verifier.VerifyVector(subgraphs()) &&
verifier.VerifyVectorOfTables(subgraphs()) &&
VerifyOffset(verifier, VT_DESCRIPTION) &&
verifier.VerifyString(description()) &&
VerifyOffset(verifier, VT_BUFFERS) &&
verifier.VerifyVector(buffers()) &&
verifier.VerifyVectorOfTables(buffers()) &&
VerifyOffset(verifier, VT_METADATA_BUFFER) &&
verifier.VerifyVector(metadata_buffer()) &&
VerifyOffset(verifier, VT_METADATA) &&
verifier.VerifyVector(metadata()) &&
verifier.VerifyVectorOfTables(metadata()) &&
VerifyOffset(verifier, VT_SIGNATURE_DEFS) &&
verifier.VerifyVector(signature_defs()) &&
verifier.VerifyVectorOfTables(signature_defs()) &&
verifier.EndTable();
}
ModelT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(ModelT *_o, const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
static ::flatbuffers::Offset<Model> Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ModelT* _o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct ModelBuilder {
typedef Model Table;
::flatbuffers::FlatBufferBuilder &fbb_;
::flatbuffers::uoffset_t start_;
void add_version(uint32_t version) {
fbb_.AddElement<uint32_t>(Model::VT_VERSION, version, 0);
}
void add_operator_codes(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::OperatorCode>>> operator_codes) {
fbb_.AddOffset(Model::VT_OPERATOR_CODES, operator_codes);
}
void add_subgraphs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::SubGraph>>> subgraphs) {
fbb_.AddOffset(Model::VT_SUBGRAPHS, subgraphs);
}
void add_description(::flatbuffers::Offset<::flatbuffers::String> description) {
fbb_.AddOffset(Model::VT_DESCRIPTION, description);
}
void add_buffers(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::Buffer>>> buffers) {
fbb_.AddOffset(Model::VT_BUFFERS, buffers);
}
void add_metadata_buffer(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> metadata_buffer) {
fbb_.AddOffset(Model::VT_METADATA_BUFFER, metadata_buffer);
}
void add_metadata(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::Metadata>>> metadata) {
fbb_.AddOffset(Model::VT_METADATA, metadata);
}
void add_signature_defs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::SignatureDef>>> signature_defs) {
fbb_.AddOffset(Model::VT_SIGNATURE_DEFS, signature_defs);
}
explicit ModelBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
::flatbuffers::Offset<Model> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = ::flatbuffers::Offset<Model>(end);
return o;
}
};
inline ::flatbuffers::Offset<Model> CreateModel(
::flatbuffers::FlatBufferBuilder &_fbb,
uint32_t version = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::OperatorCode>>> operator_codes = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::SubGraph>>> subgraphs = 0,
::flatbuffers::Offset<::flatbuffers::String> description = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::Buffer>>> buffers = 0,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> metadata_buffer = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::Metadata>>> metadata = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::SignatureDef>>> signature_defs = 0) {
ModelBuilder builder_(_fbb);
builder_.add_signature_defs(signature_defs);
builder_.add_metadata(metadata);
builder_.add_metadata_buffer(metadata_buffer);
builder_.add_buffers(buffers);
builder_.add_description(description);
builder_.add_subgraphs(subgraphs);
builder_.add_operator_codes(operator_codes);
builder_.add_version(version);
return builder_.Finish();
}
inline ::flatbuffers::Offset<Model> CreateModelDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
uint32_t version = 0,
const std::vector<::flatbuffers::Offset<tflite::OperatorCode>> *operator_codes = nullptr,
const std::vector<::flatbuffers::Offset<tflite::SubGraph>> *subgraphs = nullptr,
const char *description = nullptr,
const std::vector<::flatbuffers::Offset<tflite::Buffer>> *buffers = nullptr,
const std::vector<int32_t> *metadata_buffer = nullptr,
const std::vector<::flatbuffers::Offset<tflite::Metadata>> *metadata = nullptr,
const std::vector<::flatbuffers::Offset<tflite::SignatureDef>> *signature_defs = nullptr) {
auto operator_codes__ = operator_codes ? _fbb.CreateVector<::flatbuffers::Offset<tflite::OperatorCode>>(*operator_codes) : 0;
auto subgraphs__ = subgraphs ? _fbb.CreateVector<::flatbuffers::Offset<tflite::SubGraph>>(*subgraphs) : 0;
auto description__ = description ? _fbb.CreateString(description) : 0;
auto buffers__ = buffers ? _fbb.CreateVector<::flatbuffers::Offset<tflite::Buffer>>(*buffers) : 0;
auto metadata_buffer__ = metadata_buffer ? _fbb.CreateVector<int32_t>(*metadata_buffer) : 0;
auto metadata__ = metadata ? _fbb.CreateVector<::flatbuffers::Offset<tflite::Metadata>>(*metadata) : 0;
auto signature_defs__ = signature_defs ? _fbb.CreateVector<::flatbuffers::Offset<tflite::SignatureDef>>(*signature_defs) : 0;
return tflite::CreateModel(
_fbb,
version,
operator_codes__,
subgraphs__,
description__,
buffers__,
metadata_buffer__,
metadata__,
signature_defs__);
}
::flatbuffers::Offset<Model> CreateModel(::flatbuffers::FlatBufferBuilder &_fbb, const ModelT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
inline CustomQuantizationT *CustomQuantization::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<CustomQuantizationT>(new CustomQuantizationT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void CustomQuantization::UnPackTo(CustomQuantizationT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = custom(); if (_e) { _o->custom.resize(_e->size()); std::copy(_e->begin(), _e->end(), _o->custom.begin()); } }
}
inline ::flatbuffers::Offset<CustomQuantization> CustomQuantization::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const CustomQuantizationT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateCustomQuantization(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<CustomQuantization> CreateCustomQuantization(::flatbuffers::FlatBufferBuilder &_fbb, const CustomQuantizationT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const CustomQuantizationT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
_fbb.ForceVectorAlignment(_o->custom.size(), sizeof(uint8_t), 16);
auto _custom = _o->custom.size() ? _fbb.CreateVector(_o->custom) : 0;
return tflite::CreateCustomQuantization(
_fbb,
_custom);
}
inline QuantizationParametersT *QuantizationParameters::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<QuantizationParametersT>(new QuantizationParametersT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void QuantizationParameters::UnPackTo(QuantizationParametersT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = min(); if (_e) { _o->min.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->min[_i] = _e->Get(_i); } } else { _o->min.resize(0); } }
{ auto _e = max(); if (_e) { _o->max.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->max[_i] = _e->Get(_i); } } else { _o->max.resize(0); } }
{ auto _e = scale(); if (_e) { _o->scale.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->scale[_i] = _e->Get(_i); } } else { _o->scale.resize(0); } }
{ auto _e = zero_point(); if (_e) { _o->zero_point.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->zero_point[_i] = _e->Get(_i); } } else { _o->zero_point.resize(0); } }
{ auto _e = details_type(); _o->details.type = _e; }
{ auto _e = details(); if (_e) _o->details.value = tflite::QuantizationDetailsUnion::UnPack(_e, details_type(), _resolver); }
{ auto _e = quantized_dimension(); _o->quantized_dimension = _e; }
}
inline ::flatbuffers::Offset<QuantizationParameters> QuantizationParameters::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const QuantizationParametersT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateQuantizationParameters(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<QuantizationParameters> CreateQuantizationParameters(::flatbuffers::FlatBufferBuilder &_fbb, const QuantizationParametersT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const QuantizationParametersT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _min = _o->min.size() ? _fbb.CreateVector(_o->min) : 0;
auto _max = _o->max.size() ? _fbb.CreateVector(_o->max) : 0;
auto _scale = _o->scale.size() ? _fbb.CreateVector(_o->scale) : 0;
auto _zero_point = _o->zero_point.size() ? _fbb.CreateVector(_o->zero_point) : 0;
auto _details_type = _o->details.type;
auto _details = _o->details.Pack(_fbb);
auto _quantized_dimension = _o->quantized_dimension;
return tflite::CreateQuantizationParameters(
_fbb,
_min,
_max,
_scale,
_zero_point,
_details_type,
_details,
_quantized_dimension);
}
inline Int32VectorT *Int32Vector::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<Int32VectorT>(new Int32VectorT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void Int32Vector::UnPackTo(Int32VectorT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = values(); if (_e) { _o->values.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->values[_i] = _e->Get(_i); } } else { _o->values.resize(0); } }
}
inline ::flatbuffers::Offset<Int32Vector> Int32Vector::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Int32VectorT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateInt32Vector(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<Int32Vector> CreateInt32Vector(::flatbuffers::FlatBufferBuilder &_fbb, const Int32VectorT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const Int32VectorT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _values = _o->values.size() ? _fbb.CreateVector(_o->values) : 0;
return tflite::CreateInt32Vector(
_fbb,
_values);
}
inline Uint16VectorT *Uint16Vector::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<Uint16VectorT>(new Uint16VectorT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void Uint16Vector::UnPackTo(Uint16VectorT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = values(); if (_e) { _o->values.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->values[_i] = _e->Get(_i); } } else { _o->values.resize(0); } }
}
inline ::flatbuffers::Offset<Uint16Vector> Uint16Vector::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Uint16VectorT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateUint16Vector(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<Uint16Vector> CreateUint16Vector(::flatbuffers::FlatBufferBuilder &_fbb, const Uint16VectorT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const Uint16VectorT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
_fbb.ForceVectorAlignment(_o->values.size(), sizeof(uint16_t), 4);
auto _values = _o->values.size() ? _fbb.CreateVector(_o->values) : 0;
return tflite::CreateUint16Vector(
_fbb,
_values);
}
inline Uint8VectorT *Uint8Vector::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<Uint8VectorT>(new Uint8VectorT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void Uint8Vector::UnPackTo(Uint8VectorT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = values(); if (_e) { _o->values.resize(_e->size()); std::copy(_e->begin(), _e->end(), _o->values.begin()); } }
}
inline ::flatbuffers::Offset<Uint8Vector> Uint8Vector::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Uint8VectorT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateUint8Vector(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<Uint8Vector> CreateUint8Vector(::flatbuffers::FlatBufferBuilder &_fbb, const Uint8VectorT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const Uint8VectorT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
_fbb.ForceVectorAlignment(_o->values.size(), sizeof(uint8_t), 4);
auto _values = _o->values.size() ? _fbb.CreateVector(_o->values) : 0;
return tflite::CreateUint8Vector(
_fbb,
_values);
}
inline DimensionMetadataT *DimensionMetadata::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<DimensionMetadataT>(new DimensionMetadataT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void DimensionMetadata::UnPackTo(DimensionMetadataT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = format(); _o->format = _e; }
{ auto _e = dense_size(); _o->dense_size = _e; }
{ auto _e = array_segments_type(); _o->array_segments.type = _e; }
{ auto _e = array_segments(); if (_e) _o->array_segments.value = tflite::SparseIndexVectorUnion::UnPack(_e, array_segments_type(), _resolver); }
{ auto _e = array_indices_type(); _o->array_indices.type = _e; }
{ auto _e = array_indices(); if (_e) _o->array_indices.value = tflite::SparseIndexVectorUnion::UnPack(_e, array_indices_type(), _resolver); }
}
inline ::flatbuffers::Offset<DimensionMetadata> DimensionMetadata::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DimensionMetadataT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateDimensionMetadata(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<DimensionMetadata> CreateDimensionMetadata(::flatbuffers::FlatBufferBuilder &_fbb, const DimensionMetadataT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const DimensionMetadataT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _format = _o->format;
auto _dense_size = _o->dense_size;
auto _array_segments_type = _o->array_segments.type;
auto _array_segments = _o->array_segments.Pack(_fbb);
auto _array_indices_type = _o->array_indices.type;
auto _array_indices = _o->array_indices.Pack(_fbb);
return tflite::CreateDimensionMetadata(
_fbb,
_format,
_dense_size,
_array_segments_type,
_array_segments,
_array_indices_type,
_array_indices);
}
inline SparsityParametersT::SparsityParametersT(const SparsityParametersT &o)
: traversal_order(o.traversal_order),
block_map(o.block_map) {
dim_metadata.reserve(o.dim_metadata.size());
for (const auto &dim_metadata_ : o.dim_metadata) { dim_metadata.emplace_back((dim_metadata_) ? new tflite::DimensionMetadataT(*dim_metadata_) : nullptr); }
}
inline SparsityParametersT &SparsityParametersT::operator=(SparsityParametersT o) FLATBUFFERS_NOEXCEPT {
std::swap(traversal_order, o.traversal_order);
std::swap(block_map, o.block_map);
std::swap(dim_metadata, o.dim_metadata);
return *this;
}
inline SparsityParametersT *SparsityParameters::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SparsityParametersT>(new SparsityParametersT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SparsityParameters::UnPackTo(SparsityParametersT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = traversal_order(); if (_e) { _o->traversal_order.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->traversal_order[_i] = _e->Get(_i); } } else { _o->traversal_order.resize(0); } }
{ auto _e = block_map(); if (_e) { _o->block_map.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->block_map[_i] = _e->Get(_i); } } else { _o->block_map.resize(0); } }
{ auto _e = dim_metadata(); if (_e) { _o->dim_metadata.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { if(_o->dim_metadata[_i]) { _e->Get(_i)->UnPackTo(_o->dim_metadata[_i].get(), _resolver); } else { _o->dim_metadata[_i] = std::unique_ptr<tflite::DimensionMetadataT>(_e->Get(_i)->UnPack(_resolver)); }; } } else { _o->dim_metadata.resize(0); } }
}
inline ::flatbuffers::Offset<SparsityParameters> SparsityParameters::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SparsityParametersT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSparsityParameters(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SparsityParameters> CreateSparsityParameters(::flatbuffers::FlatBufferBuilder &_fbb, const SparsityParametersT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SparsityParametersT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _traversal_order = _o->traversal_order.size() ? _fbb.CreateVector(_o->traversal_order) : 0;
auto _block_map = _o->block_map.size() ? _fbb.CreateVector(_o->block_map) : 0;
auto _dim_metadata = _o->dim_metadata.size() ? _fbb.CreateVector<::flatbuffers::Offset<tflite::DimensionMetadata>> (_o->dim_metadata.size(), [](size_t i, _VectorArgs *__va) { return CreateDimensionMetadata(*__va->__fbb, __va->__o->dim_metadata[i].get(), __va->__rehasher); }, &_va ) : 0;
return tflite::CreateSparsityParameters(
_fbb,
_traversal_order,
_block_map,
_dim_metadata);
}
inline VariantSubTypeT *VariantSubType::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<VariantSubTypeT>(new VariantSubTypeT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void VariantSubType::UnPackTo(VariantSubTypeT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = shape(); if (_e) { _o->shape.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->shape[_i] = _e->Get(_i); } } else { _o->shape.resize(0); } }
{ auto _e = type(); _o->type = _e; }
{ auto _e = has_rank(); _o->has_rank = _e; }
}
inline ::flatbuffers::Offset<VariantSubType> VariantSubType::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const VariantSubTypeT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateVariantSubType(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<VariantSubType> CreateVariantSubType(::flatbuffers::FlatBufferBuilder &_fbb, const VariantSubTypeT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const VariantSubTypeT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _shape = _o->shape.size() ? _fbb.CreateVector(_o->shape) : 0;
auto _type = _o->type;
auto _has_rank = _o->has_rank;
return tflite::CreateVariantSubType(
_fbb,
_shape,
_type,
_has_rank);
}
inline TensorT::TensorT(const TensorT &o)
: shape(o.shape),
type(o.type),
buffer(o.buffer),
name(o.name),
quantization((o.quantization) ? new tflite::QuantizationParametersT(*o.quantization) : nullptr),
is_variable(o.is_variable),
sparsity((o.sparsity) ? new tflite::SparsityParametersT(*o.sparsity) : nullptr),
shape_signature(o.shape_signature),
has_rank(o.has_rank) {
variant_tensors.reserve(o.variant_tensors.size());
for (const auto &variant_tensors_ : o.variant_tensors) { variant_tensors.emplace_back((variant_tensors_) ? new tflite::VariantSubTypeT(*variant_tensors_) : nullptr); }
}
inline TensorT &TensorT::operator=(TensorT o) FLATBUFFERS_NOEXCEPT {
std::swap(shape, o.shape);
std::swap(type, o.type);
std::swap(buffer, o.buffer);
std::swap(name, o.name);
std::swap(quantization, o.quantization);
std::swap(is_variable, o.is_variable);
std::swap(sparsity, o.sparsity);
std::swap(shape_signature, o.shape_signature);
std::swap(has_rank, o.has_rank);
std::swap(variant_tensors, o.variant_tensors);
return *this;
}
inline TensorT *Tensor::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<TensorT>(new TensorT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void Tensor::UnPackTo(TensorT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = shape(); if (_e) { _o->shape.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->shape[_i] = _e->Get(_i); } } else { _o->shape.resize(0); } }
{ auto _e = type(); _o->type = _e; }
{ auto _e = buffer(); _o->buffer = _e; }
{ auto _e = name(); if (_e) _o->name = _e->str(); }
{ auto _e = quantization(); if (_e) { if(_o->quantization) { _e->UnPackTo(_o->quantization.get(), _resolver); } else { _o->quantization = std::unique_ptr<tflite::QuantizationParametersT>(_e->UnPack(_resolver)); } } else if (_o->quantization) { _o->quantization.reset(); } }
{ auto _e = is_variable(); _o->is_variable = _e; }
{ auto _e = sparsity(); if (_e) { if(_o->sparsity) { _e->UnPackTo(_o->sparsity.get(), _resolver); } else { _o->sparsity = std::unique_ptr<tflite::SparsityParametersT>(_e->UnPack(_resolver)); } } else if (_o->sparsity) { _o->sparsity.reset(); } }
{ auto _e = shape_signature(); if (_e) { _o->shape_signature.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->shape_signature[_i] = _e->Get(_i); } } else { _o->shape_signature.resize(0); } }
{ auto _e = has_rank(); _o->has_rank = _e; }
{ auto _e = variant_tensors(); if (_e) { _o->variant_tensors.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { if(_o->variant_tensors[_i]) { _e->Get(_i)->UnPackTo(_o->variant_tensors[_i].get(), _resolver); } else { _o->variant_tensors[_i] = std::unique_ptr<tflite::VariantSubTypeT>(_e->Get(_i)->UnPack(_resolver)); }; } } else { _o->variant_tensors.resize(0); } }
}
inline ::flatbuffers::Offset<Tensor> Tensor::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const TensorT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateTensor(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<Tensor> CreateTensor(::flatbuffers::FlatBufferBuilder &_fbb, const TensorT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const TensorT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _shape = _o->shape.size() ? _fbb.CreateVector(_o->shape) : 0;
auto _type = _o->type;
auto _buffer = _o->buffer;
auto _name = _o->name.empty() ? 0 : _fbb.CreateString(_o->name);
auto _quantization = _o->quantization ? CreateQuantizationParameters(_fbb, _o->quantization.get(), _rehasher) : 0;
auto _is_variable = _o->is_variable;
auto _sparsity = _o->sparsity ? CreateSparsityParameters(_fbb, _o->sparsity.get(), _rehasher) : 0;
auto _shape_signature = _o->shape_signature.size() ? _fbb.CreateVector(_o->shape_signature) : 0;
auto _has_rank = _o->has_rank;
auto _variant_tensors = _o->variant_tensors.size() ? _fbb.CreateVector<::flatbuffers::Offset<tflite::VariantSubType>> (_o->variant_tensors.size(), [](size_t i, _VectorArgs *__va) { return CreateVariantSubType(*__va->__fbb, __va->__o->variant_tensors[i].get(), __va->__rehasher); }, &_va ) : 0;
return tflite::CreateTensor(
_fbb,
_shape,
_type,
_buffer,
_name,
_quantization,
_is_variable,
_sparsity,
_shape_signature,
_has_rank,
_variant_tensors);
}
inline Conv2DOptionsT *Conv2DOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<Conv2DOptionsT>(new Conv2DOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void Conv2DOptions::UnPackTo(Conv2DOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = padding(); _o->padding = _e; }
{ auto _e = stride_w(); _o->stride_w = _e; }
{ auto _e = stride_h(); _o->stride_h = _e; }
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = dilation_w_factor(); _o->dilation_w_factor = _e; }
{ auto _e = dilation_h_factor(); _o->dilation_h_factor = _e; }
}
inline ::flatbuffers::Offset<Conv2DOptions> Conv2DOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Conv2DOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateConv2DOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<Conv2DOptions> CreateConv2DOptions(::flatbuffers::FlatBufferBuilder &_fbb, const Conv2DOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const Conv2DOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _padding = _o->padding;
auto _stride_w = _o->stride_w;
auto _stride_h = _o->stride_h;
auto _fused_activation_function = _o->fused_activation_function;
auto _dilation_w_factor = _o->dilation_w_factor;
auto _dilation_h_factor = _o->dilation_h_factor;
return tflite::CreateConv2DOptions(
_fbb,
_padding,
_stride_w,
_stride_h,
_fused_activation_function,
_dilation_w_factor,
_dilation_h_factor);
}
inline Conv3DOptionsT *Conv3DOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<Conv3DOptionsT>(new Conv3DOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void Conv3DOptions::UnPackTo(Conv3DOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = padding(); _o->padding = _e; }
{ auto _e = stride_d(); _o->stride_d = _e; }
{ auto _e = stride_w(); _o->stride_w = _e; }
{ auto _e = stride_h(); _o->stride_h = _e; }
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = dilation_d_factor(); _o->dilation_d_factor = _e; }
{ auto _e = dilation_w_factor(); _o->dilation_w_factor = _e; }
{ auto _e = dilation_h_factor(); _o->dilation_h_factor = _e; }
}
inline ::flatbuffers::Offset<Conv3DOptions> Conv3DOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Conv3DOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateConv3DOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<Conv3DOptions> CreateConv3DOptions(::flatbuffers::FlatBufferBuilder &_fbb, const Conv3DOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const Conv3DOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _padding = _o->padding;
auto _stride_d = _o->stride_d;
auto _stride_w = _o->stride_w;
auto _stride_h = _o->stride_h;
auto _fused_activation_function = _o->fused_activation_function;
auto _dilation_d_factor = _o->dilation_d_factor;
auto _dilation_w_factor = _o->dilation_w_factor;
auto _dilation_h_factor = _o->dilation_h_factor;
return tflite::CreateConv3DOptions(
_fbb,
_padding,
_stride_d,
_stride_w,
_stride_h,
_fused_activation_function,
_dilation_d_factor,
_dilation_w_factor,
_dilation_h_factor);
}
inline Pool2DOptionsT *Pool2DOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<Pool2DOptionsT>(new Pool2DOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void Pool2DOptions::UnPackTo(Pool2DOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = padding(); _o->padding = _e; }
{ auto _e = stride_w(); _o->stride_w = _e; }
{ auto _e = stride_h(); _o->stride_h = _e; }
{ auto _e = filter_width(); _o->filter_width = _e; }
{ auto _e = filter_height(); _o->filter_height = _e; }
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
}
inline ::flatbuffers::Offset<Pool2DOptions> Pool2DOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Pool2DOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreatePool2DOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<Pool2DOptions> CreatePool2DOptions(::flatbuffers::FlatBufferBuilder &_fbb, const Pool2DOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const Pool2DOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _padding = _o->padding;
auto _stride_w = _o->stride_w;
auto _stride_h = _o->stride_h;
auto _filter_width = _o->filter_width;
auto _filter_height = _o->filter_height;
auto _fused_activation_function = _o->fused_activation_function;
return tflite::CreatePool2DOptions(
_fbb,
_padding,
_stride_w,
_stride_h,
_filter_width,
_filter_height,
_fused_activation_function);
}
inline DepthwiseConv2DOptionsT *DepthwiseConv2DOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<DepthwiseConv2DOptionsT>(new DepthwiseConv2DOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void DepthwiseConv2DOptions::UnPackTo(DepthwiseConv2DOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = padding(); _o->padding = _e; }
{ auto _e = stride_w(); _o->stride_w = _e; }
{ auto _e = stride_h(); _o->stride_h = _e; }
{ auto _e = depth_multiplier(); _o->depth_multiplier = _e; }
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = dilation_w_factor(); _o->dilation_w_factor = _e; }
{ auto _e = dilation_h_factor(); _o->dilation_h_factor = _e; }
}
inline ::flatbuffers::Offset<DepthwiseConv2DOptions> DepthwiseConv2DOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DepthwiseConv2DOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateDepthwiseConv2DOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<DepthwiseConv2DOptions> CreateDepthwiseConv2DOptions(::flatbuffers::FlatBufferBuilder &_fbb, const DepthwiseConv2DOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const DepthwiseConv2DOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _padding = _o->padding;
auto _stride_w = _o->stride_w;
auto _stride_h = _o->stride_h;
auto _depth_multiplier = _o->depth_multiplier;
auto _fused_activation_function = _o->fused_activation_function;
auto _dilation_w_factor = _o->dilation_w_factor;
auto _dilation_h_factor = _o->dilation_h_factor;
return tflite::CreateDepthwiseConv2DOptions(
_fbb,
_padding,
_stride_w,
_stride_h,
_depth_multiplier,
_fused_activation_function,
_dilation_w_factor,
_dilation_h_factor);
}
inline ConcatEmbeddingsOptionsT *ConcatEmbeddingsOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ConcatEmbeddingsOptionsT>(new ConcatEmbeddingsOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ConcatEmbeddingsOptions::UnPackTo(ConcatEmbeddingsOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = num_channels(); _o->num_channels = _e; }
{ auto _e = num_columns_per_channel(); if (_e) { _o->num_columns_per_channel.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->num_columns_per_channel[_i] = _e->Get(_i); } } else { _o->num_columns_per_channel.resize(0); } }
{ auto _e = embedding_dim_per_channel(); if (_e) { _o->embedding_dim_per_channel.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->embedding_dim_per_channel[_i] = _e->Get(_i); } } else { _o->embedding_dim_per_channel.resize(0); } }
}
inline ::flatbuffers::Offset<ConcatEmbeddingsOptions> ConcatEmbeddingsOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ConcatEmbeddingsOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateConcatEmbeddingsOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ConcatEmbeddingsOptions> CreateConcatEmbeddingsOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ConcatEmbeddingsOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ConcatEmbeddingsOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _num_channels = _o->num_channels;
auto _num_columns_per_channel = _o->num_columns_per_channel.size() ? _fbb.CreateVector(_o->num_columns_per_channel) : 0;
auto _embedding_dim_per_channel = _o->embedding_dim_per_channel.size() ? _fbb.CreateVector(_o->embedding_dim_per_channel) : 0;
return tflite::CreateConcatEmbeddingsOptions(
_fbb,
_num_channels,
_num_columns_per_channel,
_embedding_dim_per_channel);
}
inline LSHProjectionOptionsT *LSHProjectionOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<LSHProjectionOptionsT>(new LSHProjectionOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void LSHProjectionOptions::UnPackTo(LSHProjectionOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = type(); _o->type = _e; }
}
inline ::flatbuffers::Offset<LSHProjectionOptions> LSHProjectionOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LSHProjectionOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateLSHProjectionOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<LSHProjectionOptions> CreateLSHProjectionOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LSHProjectionOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const LSHProjectionOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _type = _o->type;
return tflite::CreateLSHProjectionOptions(
_fbb,
_type);
}
inline SVDFOptionsT *SVDFOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SVDFOptionsT>(new SVDFOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SVDFOptions::UnPackTo(SVDFOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = rank(); _o->rank = _e; }
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = asymmetric_quantize_inputs(); _o->asymmetric_quantize_inputs = _e; }
}
inline ::flatbuffers::Offset<SVDFOptions> SVDFOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SVDFOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSVDFOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SVDFOptions> CreateSVDFOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SVDFOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SVDFOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _rank = _o->rank;
auto _fused_activation_function = _o->fused_activation_function;
auto _asymmetric_quantize_inputs = _o->asymmetric_quantize_inputs;
return tflite::CreateSVDFOptions(
_fbb,
_rank,
_fused_activation_function,
_asymmetric_quantize_inputs);
}
inline RNNOptionsT *RNNOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<RNNOptionsT>(new RNNOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void RNNOptions::UnPackTo(RNNOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = asymmetric_quantize_inputs(); _o->asymmetric_quantize_inputs = _e; }
}
inline ::flatbuffers::Offset<RNNOptions> RNNOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const RNNOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateRNNOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<RNNOptions> CreateRNNOptions(::flatbuffers::FlatBufferBuilder &_fbb, const RNNOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const RNNOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _fused_activation_function = _o->fused_activation_function;
auto _asymmetric_quantize_inputs = _o->asymmetric_quantize_inputs;
return tflite::CreateRNNOptions(
_fbb,
_fused_activation_function,
_asymmetric_quantize_inputs);
}
inline SequenceRNNOptionsT *SequenceRNNOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SequenceRNNOptionsT>(new SequenceRNNOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SequenceRNNOptions::UnPackTo(SequenceRNNOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = time_major(); _o->time_major = _e; }
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = asymmetric_quantize_inputs(); _o->asymmetric_quantize_inputs = _e; }
}
inline ::flatbuffers::Offset<SequenceRNNOptions> SequenceRNNOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SequenceRNNOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSequenceRNNOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SequenceRNNOptions> CreateSequenceRNNOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SequenceRNNOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SequenceRNNOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _time_major = _o->time_major;
auto _fused_activation_function = _o->fused_activation_function;
auto _asymmetric_quantize_inputs = _o->asymmetric_quantize_inputs;
return tflite::CreateSequenceRNNOptions(
_fbb,
_time_major,
_fused_activation_function,
_asymmetric_quantize_inputs);
}
inline BidirectionalSequenceRNNOptionsT *BidirectionalSequenceRNNOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<BidirectionalSequenceRNNOptionsT>(new BidirectionalSequenceRNNOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void BidirectionalSequenceRNNOptions::UnPackTo(BidirectionalSequenceRNNOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = time_major(); _o->time_major = _e; }
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = merge_outputs(); _o->merge_outputs = _e; }
{ auto _e = asymmetric_quantize_inputs(); _o->asymmetric_quantize_inputs = _e; }
}
inline ::flatbuffers::Offset<BidirectionalSequenceRNNOptions> BidirectionalSequenceRNNOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BidirectionalSequenceRNNOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateBidirectionalSequenceRNNOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<BidirectionalSequenceRNNOptions> CreateBidirectionalSequenceRNNOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BidirectionalSequenceRNNOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const BidirectionalSequenceRNNOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _time_major = _o->time_major;
auto _fused_activation_function = _o->fused_activation_function;
auto _merge_outputs = _o->merge_outputs;
auto _asymmetric_quantize_inputs = _o->asymmetric_quantize_inputs;
return tflite::CreateBidirectionalSequenceRNNOptions(
_fbb,
_time_major,
_fused_activation_function,
_merge_outputs,
_asymmetric_quantize_inputs);
}
inline FullyConnectedOptionsT *FullyConnectedOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<FullyConnectedOptionsT>(new FullyConnectedOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void FullyConnectedOptions::UnPackTo(FullyConnectedOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = weights_format(); _o->weights_format = _e; }
{ auto _e = keep_num_dims(); _o->keep_num_dims = _e; }
{ auto _e = asymmetric_quantize_inputs(); _o->asymmetric_quantize_inputs = _e; }
}
inline ::flatbuffers::Offset<FullyConnectedOptions> FullyConnectedOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const FullyConnectedOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateFullyConnectedOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<FullyConnectedOptions> CreateFullyConnectedOptions(::flatbuffers::FlatBufferBuilder &_fbb, const FullyConnectedOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const FullyConnectedOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _fused_activation_function = _o->fused_activation_function;
auto _weights_format = _o->weights_format;
auto _keep_num_dims = _o->keep_num_dims;
auto _asymmetric_quantize_inputs = _o->asymmetric_quantize_inputs;
return tflite::CreateFullyConnectedOptions(
_fbb,
_fused_activation_function,
_weights_format,
_keep_num_dims,
_asymmetric_quantize_inputs);
}
inline SoftmaxOptionsT *SoftmaxOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SoftmaxOptionsT>(new SoftmaxOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SoftmaxOptions::UnPackTo(SoftmaxOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = beta(); _o->beta = _e; }
}
inline ::flatbuffers::Offset<SoftmaxOptions> SoftmaxOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SoftmaxOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSoftmaxOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SoftmaxOptions> CreateSoftmaxOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SoftmaxOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SoftmaxOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _beta = _o->beta;
return tflite::CreateSoftmaxOptions(
_fbb,
_beta);
}
inline ConcatenationOptionsT *ConcatenationOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ConcatenationOptionsT>(new ConcatenationOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ConcatenationOptions::UnPackTo(ConcatenationOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = axis(); _o->axis = _e; }
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
}
inline ::flatbuffers::Offset<ConcatenationOptions> ConcatenationOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ConcatenationOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateConcatenationOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ConcatenationOptions> CreateConcatenationOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ConcatenationOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ConcatenationOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _axis = _o->axis;
auto _fused_activation_function = _o->fused_activation_function;
return tflite::CreateConcatenationOptions(
_fbb,
_axis,
_fused_activation_function);
}
inline AddOptionsT *AddOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<AddOptionsT>(new AddOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void AddOptions::UnPackTo(AddOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = pot_scale_int16(); _o->pot_scale_int16 = _e; }
}
inline ::flatbuffers::Offset<AddOptions> AddOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const AddOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateAddOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<AddOptions> CreateAddOptions(::flatbuffers::FlatBufferBuilder &_fbb, const AddOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const AddOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _fused_activation_function = _o->fused_activation_function;
auto _pot_scale_int16 = _o->pot_scale_int16;
return tflite::CreateAddOptions(
_fbb,
_fused_activation_function,
_pot_scale_int16);
}
inline MulOptionsT *MulOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<MulOptionsT>(new MulOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void MulOptions::UnPackTo(MulOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
}
inline ::flatbuffers::Offset<MulOptions> MulOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const MulOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateMulOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<MulOptions> CreateMulOptions(::flatbuffers::FlatBufferBuilder &_fbb, const MulOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const MulOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _fused_activation_function = _o->fused_activation_function;
return tflite::CreateMulOptions(
_fbb,
_fused_activation_function);
}
inline L2NormOptionsT *L2NormOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<L2NormOptionsT>(new L2NormOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void L2NormOptions::UnPackTo(L2NormOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
}
inline ::flatbuffers::Offset<L2NormOptions> L2NormOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const L2NormOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateL2NormOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<L2NormOptions> CreateL2NormOptions(::flatbuffers::FlatBufferBuilder &_fbb, const L2NormOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const L2NormOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _fused_activation_function = _o->fused_activation_function;
return tflite::CreateL2NormOptions(
_fbb,
_fused_activation_function);
}
inline LocalResponseNormalizationOptionsT *LocalResponseNormalizationOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<LocalResponseNormalizationOptionsT>(new LocalResponseNormalizationOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void LocalResponseNormalizationOptions::UnPackTo(LocalResponseNormalizationOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = radius(); _o->radius = _e; }
{ auto _e = bias(); _o->bias = _e; }
{ auto _e = alpha(); _o->alpha = _e; }
{ auto _e = beta(); _o->beta = _e; }
}
inline ::flatbuffers::Offset<LocalResponseNormalizationOptions> LocalResponseNormalizationOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LocalResponseNormalizationOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateLocalResponseNormalizationOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<LocalResponseNormalizationOptions> CreateLocalResponseNormalizationOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LocalResponseNormalizationOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const LocalResponseNormalizationOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _radius = _o->radius;
auto _bias = _o->bias;
auto _alpha = _o->alpha;
auto _beta = _o->beta;
return tflite::CreateLocalResponseNormalizationOptions(
_fbb,
_radius,
_bias,
_alpha,
_beta);
}
inline LSTMOptionsT *LSTMOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<LSTMOptionsT>(new LSTMOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void LSTMOptions::UnPackTo(LSTMOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = cell_clip(); _o->cell_clip = _e; }
{ auto _e = proj_clip(); _o->proj_clip = _e; }
{ auto _e = kernel_type(); _o->kernel_type = _e; }
{ auto _e = asymmetric_quantize_inputs(); _o->asymmetric_quantize_inputs = _e; }
}
inline ::flatbuffers::Offset<LSTMOptions> LSTMOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LSTMOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateLSTMOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<LSTMOptions> CreateLSTMOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LSTMOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const LSTMOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _fused_activation_function = _o->fused_activation_function;
auto _cell_clip = _o->cell_clip;
auto _proj_clip = _o->proj_clip;
auto _kernel_type = _o->kernel_type;
auto _asymmetric_quantize_inputs = _o->asymmetric_quantize_inputs;
return tflite::CreateLSTMOptions(
_fbb,
_fused_activation_function,
_cell_clip,
_proj_clip,
_kernel_type,
_asymmetric_quantize_inputs);
}
inline UnidirectionalSequenceLSTMOptionsT *UnidirectionalSequenceLSTMOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<UnidirectionalSequenceLSTMOptionsT>(new UnidirectionalSequenceLSTMOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void UnidirectionalSequenceLSTMOptions::UnPackTo(UnidirectionalSequenceLSTMOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = cell_clip(); _o->cell_clip = _e; }
{ auto _e = proj_clip(); _o->proj_clip = _e; }
{ auto _e = time_major(); _o->time_major = _e; }
{ auto _e = asymmetric_quantize_inputs(); _o->asymmetric_quantize_inputs = _e; }
{ auto _e = diagonal_recurrent_tensors(); _o->diagonal_recurrent_tensors = _e; }
}
inline ::flatbuffers::Offset<UnidirectionalSequenceLSTMOptions> UnidirectionalSequenceLSTMOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UnidirectionalSequenceLSTMOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateUnidirectionalSequenceLSTMOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<UnidirectionalSequenceLSTMOptions> CreateUnidirectionalSequenceLSTMOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UnidirectionalSequenceLSTMOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const UnidirectionalSequenceLSTMOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _fused_activation_function = _o->fused_activation_function;
auto _cell_clip = _o->cell_clip;
auto _proj_clip = _o->proj_clip;
auto _time_major = _o->time_major;
auto _asymmetric_quantize_inputs = _o->asymmetric_quantize_inputs;
auto _diagonal_recurrent_tensors = _o->diagonal_recurrent_tensors;
return tflite::CreateUnidirectionalSequenceLSTMOptions(
_fbb,
_fused_activation_function,
_cell_clip,
_proj_clip,
_time_major,
_asymmetric_quantize_inputs,
_diagonal_recurrent_tensors);
}
inline BidirectionalSequenceLSTMOptionsT *BidirectionalSequenceLSTMOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<BidirectionalSequenceLSTMOptionsT>(new BidirectionalSequenceLSTMOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void BidirectionalSequenceLSTMOptions::UnPackTo(BidirectionalSequenceLSTMOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = cell_clip(); _o->cell_clip = _e; }
{ auto _e = proj_clip(); _o->proj_clip = _e; }
{ auto _e = merge_outputs(); _o->merge_outputs = _e; }
{ auto _e = time_major(); _o->time_major = _e; }
{ auto _e = asymmetric_quantize_inputs(); _o->asymmetric_quantize_inputs = _e; }
}
inline ::flatbuffers::Offset<BidirectionalSequenceLSTMOptions> BidirectionalSequenceLSTMOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BidirectionalSequenceLSTMOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateBidirectionalSequenceLSTMOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<BidirectionalSequenceLSTMOptions> CreateBidirectionalSequenceLSTMOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BidirectionalSequenceLSTMOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const BidirectionalSequenceLSTMOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _fused_activation_function = _o->fused_activation_function;
auto _cell_clip = _o->cell_clip;
auto _proj_clip = _o->proj_clip;
auto _merge_outputs = _o->merge_outputs;
auto _time_major = _o->time_major;
auto _asymmetric_quantize_inputs = _o->asymmetric_quantize_inputs;
return tflite::CreateBidirectionalSequenceLSTMOptions(
_fbb,
_fused_activation_function,
_cell_clip,
_proj_clip,
_merge_outputs,
_time_major,
_asymmetric_quantize_inputs);
}
inline ResizeBilinearOptionsT *ResizeBilinearOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ResizeBilinearOptionsT>(new ResizeBilinearOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ResizeBilinearOptions::UnPackTo(ResizeBilinearOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = align_corners(); _o->align_corners = _e; }
{ auto _e = half_pixel_centers(); _o->half_pixel_centers = _e; }
}
inline ::flatbuffers::Offset<ResizeBilinearOptions> ResizeBilinearOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ResizeBilinearOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateResizeBilinearOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ResizeBilinearOptions> CreateResizeBilinearOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ResizeBilinearOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ResizeBilinearOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _align_corners = _o->align_corners;
auto _half_pixel_centers = _o->half_pixel_centers;
return tflite::CreateResizeBilinearOptions(
_fbb,
_align_corners,
_half_pixel_centers);
}
inline ResizeNearestNeighborOptionsT *ResizeNearestNeighborOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ResizeNearestNeighborOptionsT>(new ResizeNearestNeighborOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ResizeNearestNeighborOptions::UnPackTo(ResizeNearestNeighborOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = align_corners(); _o->align_corners = _e; }
{ auto _e = half_pixel_centers(); _o->half_pixel_centers = _e; }
}
inline ::flatbuffers::Offset<ResizeNearestNeighborOptions> ResizeNearestNeighborOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ResizeNearestNeighborOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateResizeNearestNeighborOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ResizeNearestNeighborOptions> CreateResizeNearestNeighborOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ResizeNearestNeighborOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ResizeNearestNeighborOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _align_corners = _o->align_corners;
auto _half_pixel_centers = _o->half_pixel_centers;
return tflite::CreateResizeNearestNeighborOptions(
_fbb,
_align_corners,
_half_pixel_centers);
}
inline CallOptionsT *CallOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<CallOptionsT>(new CallOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void CallOptions::UnPackTo(CallOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = subgraph(); _o->subgraph = _e; }
}
inline ::flatbuffers::Offset<CallOptions> CallOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const CallOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateCallOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<CallOptions> CreateCallOptions(::flatbuffers::FlatBufferBuilder &_fbb, const CallOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const CallOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _subgraph = _o->subgraph;
return tflite::CreateCallOptions(
_fbb,
_subgraph);
}
inline PadOptionsT *PadOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<PadOptionsT>(new PadOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void PadOptions::UnPackTo(PadOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<PadOptions> PadOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const PadOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreatePadOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<PadOptions> CreatePadOptions(::flatbuffers::FlatBufferBuilder &_fbb, const PadOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const PadOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreatePadOptions(
_fbb);
}
inline PadV2OptionsT *PadV2Options::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<PadV2OptionsT>(new PadV2OptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void PadV2Options::UnPackTo(PadV2OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<PadV2Options> PadV2Options::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const PadV2OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreatePadV2Options(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<PadV2Options> CreatePadV2Options(::flatbuffers::FlatBufferBuilder &_fbb, const PadV2OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const PadV2OptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreatePadV2Options(
_fbb);
}
inline ReshapeOptionsT *ReshapeOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ReshapeOptionsT>(new ReshapeOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ReshapeOptions::UnPackTo(ReshapeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = new_shape(); if (_e) { _o->new_shape.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->new_shape[_i] = _e->Get(_i); } } else { _o->new_shape.resize(0); } }
}
inline ::flatbuffers::Offset<ReshapeOptions> ReshapeOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ReshapeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateReshapeOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ReshapeOptions> CreateReshapeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ReshapeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ReshapeOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _new_shape = _o->new_shape.size() ? _fbb.CreateVector(_o->new_shape) : 0;
return tflite::CreateReshapeOptions(
_fbb,
_new_shape);
}
inline SpaceToBatchNDOptionsT *SpaceToBatchNDOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SpaceToBatchNDOptionsT>(new SpaceToBatchNDOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SpaceToBatchNDOptions::UnPackTo(SpaceToBatchNDOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<SpaceToBatchNDOptions> SpaceToBatchNDOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SpaceToBatchNDOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSpaceToBatchNDOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SpaceToBatchNDOptions> CreateSpaceToBatchNDOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SpaceToBatchNDOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SpaceToBatchNDOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateSpaceToBatchNDOptions(
_fbb);
}
inline BatchToSpaceNDOptionsT *BatchToSpaceNDOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<BatchToSpaceNDOptionsT>(new BatchToSpaceNDOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void BatchToSpaceNDOptions::UnPackTo(BatchToSpaceNDOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<BatchToSpaceNDOptions> BatchToSpaceNDOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BatchToSpaceNDOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateBatchToSpaceNDOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<BatchToSpaceNDOptions> CreateBatchToSpaceNDOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BatchToSpaceNDOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const BatchToSpaceNDOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateBatchToSpaceNDOptions(
_fbb);
}
inline SkipGramOptionsT *SkipGramOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SkipGramOptionsT>(new SkipGramOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SkipGramOptions::UnPackTo(SkipGramOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = ngram_size(); _o->ngram_size = _e; }
{ auto _e = max_skip_size(); _o->max_skip_size = _e; }
{ auto _e = include_all_ngrams(); _o->include_all_ngrams = _e; }
}
inline ::flatbuffers::Offset<SkipGramOptions> SkipGramOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SkipGramOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSkipGramOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SkipGramOptions> CreateSkipGramOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SkipGramOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SkipGramOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _ngram_size = _o->ngram_size;
auto _max_skip_size = _o->max_skip_size;
auto _include_all_ngrams = _o->include_all_ngrams;
return tflite::CreateSkipGramOptions(
_fbb,
_ngram_size,
_max_skip_size,
_include_all_ngrams);
}
inline SpaceToDepthOptionsT *SpaceToDepthOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SpaceToDepthOptionsT>(new SpaceToDepthOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SpaceToDepthOptions::UnPackTo(SpaceToDepthOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = block_size(); _o->block_size = _e; }
}
inline ::flatbuffers::Offset<SpaceToDepthOptions> SpaceToDepthOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SpaceToDepthOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSpaceToDepthOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SpaceToDepthOptions> CreateSpaceToDepthOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SpaceToDepthOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SpaceToDepthOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _block_size = _o->block_size;
return tflite::CreateSpaceToDepthOptions(
_fbb,
_block_size);
}
inline DepthToSpaceOptionsT *DepthToSpaceOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<DepthToSpaceOptionsT>(new DepthToSpaceOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void DepthToSpaceOptions::UnPackTo(DepthToSpaceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = block_size(); _o->block_size = _e; }
}
inline ::flatbuffers::Offset<DepthToSpaceOptions> DepthToSpaceOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DepthToSpaceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateDepthToSpaceOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<DepthToSpaceOptions> CreateDepthToSpaceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const DepthToSpaceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const DepthToSpaceOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _block_size = _o->block_size;
return tflite::CreateDepthToSpaceOptions(
_fbb,
_block_size);
}
inline SubOptionsT *SubOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SubOptionsT>(new SubOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SubOptions::UnPackTo(SubOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
{ auto _e = pot_scale_int16(); _o->pot_scale_int16 = _e; }
}
inline ::flatbuffers::Offset<SubOptions> SubOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SubOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSubOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SubOptions> CreateSubOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SubOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SubOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _fused_activation_function = _o->fused_activation_function;
auto _pot_scale_int16 = _o->pot_scale_int16;
return tflite::CreateSubOptions(
_fbb,
_fused_activation_function,
_pot_scale_int16);
}
inline DivOptionsT *DivOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<DivOptionsT>(new DivOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void DivOptions::UnPackTo(DivOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
}
inline ::flatbuffers::Offset<DivOptions> DivOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DivOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateDivOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<DivOptions> CreateDivOptions(::flatbuffers::FlatBufferBuilder &_fbb, const DivOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const DivOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _fused_activation_function = _o->fused_activation_function;
return tflite::CreateDivOptions(
_fbb,
_fused_activation_function);
}
inline TopKV2OptionsT *TopKV2Options::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<TopKV2OptionsT>(new TopKV2OptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void TopKV2Options::UnPackTo(TopKV2OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<TopKV2Options> TopKV2Options::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const TopKV2OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateTopKV2Options(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<TopKV2Options> CreateTopKV2Options(::flatbuffers::FlatBufferBuilder &_fbb, const TopKV2OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const TopKV2OptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateTopKV2Options(
_fbb);
}
inline EmbeddingLookupSparseOptionsT *EmbeddingLookupSparseOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<EmbeddingLookupSparseOptionsT>(new EmbeddingLookupSparseOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void EmbeddingLookupSparseOptions::UnPackTo(EmbeddingLookupSparseOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = combiner(); _o->combiner = _e; }
}
inline ::flatbuffers::Offset<EmbeddingLookupSparseOptions> EmbeddingLookupSparseOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const EmbeddingLookupSparseOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateEmbeddingLookupSparseOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<EmbeddingLookupSparseOptions> CreateEmbeddingLookupSparseOptions(::flatbuffers::FlatBufferBuilder &_fbb, const EmbeddingLookupSparseOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const EmbeddingLookupSparseOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _combiner = _o->combiner;
return tflite::CreateEmbeddingLookupSparseOptions(
_fbb,
_combiner);
}
inline GatherOptionsT *GatherOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<GatherOptionsT>(new GatherOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void GatherOptions::UnPackTo(GatherOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = axis(); _o->axis = _e; }
{ auto _e = batch_dims(); _o->batch_dims = _e; }
}
inline ::flatbuffers::Offset<GatherOptions> GatherOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const GatherOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateGatherOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<GatherOptions> CreateGatherOptions(::flatbuffers::FlatBufferBuilder &_fbb, const GatherOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const GatherOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _axis = _o->axis;
auto _batch_dims = _o->batch_dims;
return tflite::CreateGatherOptions(
_fbb,
_axis,
_batch_dims);
}
inline TransposeOptionsT *TransposeOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<TransposeOptionsT>(new TransposeOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void TransposeOptions::UnPackTo(TransposeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<TransposeOptions> TransposeOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const TransposeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateTransposeOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<TransposeOptions> CreateTransposeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const TransposeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const TransposeOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateTransposeOptions(
_fbb);
}
inline ExpOptionsT *ExpOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ExpOptionsT>(new ExpOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ExpOptions::UnPackTo(ExpOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<ExpOptions> ExpOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ExpOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateExpOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ExpOptions> CreateExpOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ExpOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ExpOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateExpOptions(
_fbb);
}
inline CosOptionsT *CosOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<CosOptionsT>(new CosOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void CosOptions::UnPackTo(CosOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<CosOptions> CosOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const CosOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateCosOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<CosOptions> CreateCosOptions(::flatbuffers::FlatBufferBuilder &_fbb, const CosOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const CosOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateCosOptions(
_fbb);
}
inline ReducerOptionsT *ReducerOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ReducerOptionsT>(new ReducerOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ReducerOptions::UnPackTo(ReducerOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = keep_dims(); _o->keep_dims = _e; }
}
inline ::flatbuffers::Offset<ReducerOptions> ReducerOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ReducerOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateReducerOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ReducerOptions> CreateReducerOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ReducerOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ReducerOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _keep_dims = _o->keep_dims;
return tflite::CreateReducerOptions(
_fbb,
_keep_dims);
}
inline SqueezeOptionsT *SqueezeOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SqueezeOptionsT>(new SqueezeOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SqueezeOptions::UnPackTo(SqueezeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = squeeze_dims(); if (_e) { _o->squeeze_dims.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->squeeze_dims[_i] = _e->Get(_i); } } else { _o->squeeze_dims.resize(0); } }
}
inline ::flatbuffers::Offset<SqueezeOptions> SqueezeOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SqueezeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSqueezeOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SqueezeOptions> CreateSqueezeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SqueezeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SqueezeOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _squeeze_dims = _o->squeeze_dims.size() ? _fbb.CreateVector(_o->squeeze_dims) : 0;
return tflite::CreateSqueezeOptions(
_fbb,
_squeeze_dims);
}
inline SplitOptionsT *SplitOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SplitOptionsT>(new SplitOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SplitOptions::UnPackTo(SplitOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = num_splits(); _o->num_splits = _e; }
}
inline ::flatbuffers::Offset<SplitOptions> SplitOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SplitOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSplitOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SplitOptions> CreateSplitOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SplitOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SplitOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _num_splits = _o->num_splits;
return tflite::CreateSplitOptions(
_fbb,
_num_splits);
}
inline SplitVOptionsT *SplitVOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SplitVOptionsT>(new SplitVOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SplitVOptions::UnPackTo(SplitVOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = num_splits(); _o->num_splits = _e; }
}
inline ::flatbuffers::Offset<SplitVOptions> SplitVOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SplitVOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSplitVOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SplitVOptions> CreateSplitVOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SplitVOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SplitVOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _num_splits = _o->num_splits;
return tflite::CreateSplitVOptions(
_fbb,
_num_splits);
}
inline StridedSliceOptionsT *StridedSliceOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<StridedSliceOptionsT>(new StridedSliceOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void StridedSliceOptions::UnPackTo(StridedSliceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = begin_mask(); _o->begin_mask = _e; }
{ auto _e = end_mask(); _o->end_mask = _e; }
{ auto _e = ellipsis_mask(); _o->ellipsis_mask = _e; }
{ auto _e = new_axis_mask(); _o->new_axis_mask = _e; }
{ auto _e = shrink_axis_mask(); _o->shrink_axis_mask = _e; }
{ auto _e = offset(); _o->offset = _e; }
}
inline ::flatbuffers::Offset<StridedSliceOptions> StridedSliceOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const StridedSliceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateStridedSliceOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<StridedSliceOptions> CreateStridedSliceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const StridedSliceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const StridedSliceOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _begin_mask = _o->begin_mask;
auto _end_mask = _o->end_mask;
auto _ellipsis_mask = _o->ellipsis_mask;
auto _new_axis_mask = _o->new_axis_mask;
auto _shrink_axis_mask = _o->shrink_axis_mask;
auto _offset = _o->offset;
return tflite::CreateStridedSliceOptions(
_fbb,
_begin_mask,
_end_mask,
_ellipsis_mask,
_new_axis_mask,
_shrink_axis_mask,
_offset);
}
inline LogSoftmaxOptionsT *LogSoftmaxOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<LogSoftmaxOptionsT>(new LogSoftmaxOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void LogSoftmaxOptions::UnPackTo(LogSoftmaxOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<LogSoftmaxOptions> LogSoftmaxOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LogSoftmaxOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateLogSoftmaxOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<LogSoftmaxOptions> CreateLogSoftmaxOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LogSoftmaxOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const LogSoftmaxOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateLogSoftmaxOptions(
_fbb);
}
inline CastOptionsT *CastOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<CastOptionsT>(new CastOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void CastOptions::UnPackTo(CastOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = in_data_type(); _o->in_data_type = _e; }
{ auto _e = out_data_type(); _o->out_data_type = _e; }
}
inline ::flatbuffers::Offset<CastOptions> CastOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const CastOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateCastOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<CastOptions> CreateCastOptions(::flatbuffers::FlatBufferBuilder &_fbb, const CastOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const CastOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _in_data_type = _o->in_data_type;
auto _out_data_type = _o->out_data_type;
return tflite::CreateCastOptions(
_fbb,
_in_data_type,
_out_data_type);
}
inline DequantizeOptionsT *DequantizeOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<DequantizeOptionsT>(new DequantizeOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void DequantizeOptions::UnPackTo(DequantizeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<DequantizeOptions> DequantizeOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DequantizeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateDequantizeOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<DequantizeOptions> CreateDequantizeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const DequantizeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const DequantizeOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateDequantizeOptions(
_fbb);
}
inline MaximumMinimumOptionsT *MaximumMinimumOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<MaximumMinimumOptionsT>(new MaximumMinimumOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void MaximumMinimumOptions::UnPackTo(MaximumMinimumOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<MaximumMinimumOptions> MaximumMinimumOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const MaximumMinimumOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateMaximumMinimumOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<MaximumMinimumOptions> CreateMaximumMinimumOptions(::flatbuffers::FlatBufferBuilder &_fbb, const MaximumMinimumOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const MaximumMinimumOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateMaximumMinimumOptions(
_fbb);
}
inline TileOptionsT *TileOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<TileOptionsT>(new TileOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void TileOptions::UnPackTo(TileOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<TileOptions> TileOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const TileOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateTileOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<TileOptions> CreateTileOptions(::flatbuffers::FlatBufferBuilder &_fbb, const TileOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const TileOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateTileOptions(
_fbb);
}
inline ArgMaxOptionsT *ArgMaxOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ArgMaxOptionsT>(new ArgMaxOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ArgMaxOptions::UnPackTo(ArgMaxOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = output_type(); _o->output_type = _e; }
}
inline ::flatbuffers::Offset<ArgMaxOptions> ArgMaxOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ArgMaxOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateArgMaxOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ArgMaxOptions> CreateArgMaxOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ArgMaxOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ArgMaxOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _output_type = _o->output_type;
return tflite::CreateArgMaxOptions(
_fbb,
_output_type);
}
inline ArgMinOptionsT *ArgMinOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ArgMinOptionsT>(new ArgMinOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ArgMinOptions::UnPackTo(ArgMinOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = output_type(); _o->output_type = _e; }
}
inline ::flatbuffers::Offset<ArgMinOptions> ArgMinOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ArgMinOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateArgMinOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ArgMinOptions> CreateArgMinOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ArgMinOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ArgMinOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _output_type = _o->output_type;
return tflite::CreateArgMinOptions(
_fbb,
_output_type);
}
inline GreaterOptionsT *GreaterOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<GreaterOptionsT>(new GreaterOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void GreaterOptions::UnPackTo(GreaterOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<GreaterOptions> GreaterOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const GreaterOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateGreaterOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<GreaterOptions> CreateGreaterOptions(::flatbuffers::FlatBufferBuilder &_fbb, const GreaterOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const GreaterOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateGreaterOptions(
_fbb);
}
inline GreaterEqualOptionsT *GreaterEqualOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<GreaterEqualOptionsT>(new GreaterEqualOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void GreaterEqualOptions::UnPackTo(GreaterEqualOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<GreaterEqualOptions> GreaterEqualOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const GreaterEqualOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateGreaterEqualOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<GreaterEqualOptions> CreateGreaterEqualOptions(::flatbuffers::FlatBufferBuilder &_fbb, const GreaterEqualOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const GreaterEqualOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateGreaterEqualOptions(
_fbb);
}
inline LessOptionsT *LessOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<LessOptionsT>(new LessOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void LessOptions::UnPackTo(LessOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<LessOptions> LessOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LessOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateLessOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<LessOptions> CreateLessOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LessOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const LessOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateLessOptions(
_fbb);
}
inline LessEqualOptionsT *LessEqualOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<LessEqualOptionsT>(new LessEqualOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void LessEqualOptions::UnPackTo(LessEqualOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<LessEqualOptions> LessEqualOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LessEqualOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateLessEqualOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<LessEqualOptions> CreateLessEqualOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LessEqualOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const LessEqualOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateLessEqualOptions(
_fbb);
}
inline NegOptionsT *NegOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<NegOptionsT>(new NegOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void NegOptions::UnPackTo(NegOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<NegOptions> NegOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const NegOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateNegOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<NegOptions> CreateNegOptions(::flatbuffers::FlatBufferBuilder &_fbb, const NegOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const NegOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateNegOptions(
_fbb);
}
inline SelectOptionsT *SelectOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SelectOptionsT>(new SelectOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SelectOptions::UnPackTo(SelectOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<SelectOptions> SelectOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SelectOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSelectOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SelectOptions> CreateSelectOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SelectOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SelectOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateSelectOptions(
_fbb);
}
inline SliceOptionsT *SliceOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SliceOptionsT>(new SliceOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SliceOptions::UnPackTo(SliceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<SliceOptions> SliceOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SliceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSliceOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SliceOptions> CreateSliceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SliceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SliceOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateSliceOptions(
_fbb);
}
inline TransposeConvOptionsT *TransposeConvOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<TransposeConvOptionsT>(new TransposeConvOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void TransposeConvOptions::UnPackTo(TransposeConvOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = padding(); _o->padding = _e; }
{ auto _e = stride_w(); _o->stride_w = _e; }
{ auto _e = stride_h(); _o->stride_h = _e; }
{ auto _e = fused_activation_function(); _o->fused_activation_function = _e; }
}
inline ::flatbuffers::Offset<TransposeConvOptions> TransposeConvOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const TransposeConvOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateTransposeConvOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<TransposeConvOptions> CreateTransposeConvOptions(::flatbuffers::FlatBufferBuilder &_fbb, const TransposeConvOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const TransposeConvOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _padding = _o->padding;
auto _stride_w = _o->stride_w;
auto _stride_h = _o->stride_h;
auto _fused_activation_function = _o->fused_activation_function;
return tflite::CreateTransposeConvOptions(
_fbb,
_padding,
_stride_w,
_stride_h,
_fused_activation_function);
}
inline ExpandDimsOptionsT *ExpandDimsOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ExpandDimsOptionsT>(new ExpandDimsOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ExpandDimsOptions::UnPackTo(ExpandDimsOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<ExpandDimsOptions> ExpandDimsOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ExpandDimsOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateExpandDimsOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ExpandDimsOptions> CreateExpandDimsOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ExpandDimsOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ExpandDimsOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateExpandDimsOptions(
_fbb);
}
inline SparseToDenseOptionsT *SparseToDenseOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SparseToDenseOptionsT>(new SparseToDenseOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SparseToDenseOptions::UnPackTo(SparseToDenseOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = validate_indices(); _o->validate_indices = _e; }
}
inline ::flatbuffers::Offset<SparseToDenseOptions> SparseToDenseOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SparseToDenseOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSparseToDenseOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SparseToDenseOptions> CreateSparseToDenseOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SparseToDenseOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SparseToDenseOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _validate_indices = _o->validate_indices;
return tflite::CreateSparseToDenseOptions(
_fbb,
_validate_indices);
}
inline EqualOptionsT *EqualOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<EqualOptionsT>(new EqualOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void EqualOptions::UnPackTo(EqualOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<EqualOptions> EqualOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const EqualOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateEqualOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<EqualOptions> CreateEqualOptions(::flatbuffers::FlatBufferBuilder &_fbb, const EqualOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const EqualOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateEqualOptions(
_fbb);
}
inline NotEqualOptionsT *NotEqualOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<NotEqualOptionsT>(new NotEqualOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void NotEqualOptions::UnPackTo(NotEqualOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<NotEqualOptions> NotEqualOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const NotEqualOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateNotEqualOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<NotEqualOptions> CreateNotEqualOptions(::flatbuffers::FlatBufferBuilder &_fbb, const NotEqualOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const NotEqualOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateNotEqualOptions(
_fbb);
}
inline ShapeOptionsT *ShapeOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ShapeOptionsT>(new ShapeOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ShapeOptions::UnPackTo(ShapeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = out_type(); _o->out_type = _e; }
}
inline ::flatbuffers::Offset<ShapeOptions> ShapeOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ShapeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateShapeOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ShapeOptions> CreateShapeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ShapeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ShapeOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _out_type = _o->out_type;
return tflite::CreateShapeOptions(
_fbb,
_out_type);
}
inline RankOptionsT *RankOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<RankOptionsT>(new RankOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void RankOptions::UnPackTo(RankOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<RankOptions> RankOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const RankOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateRankOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<RankOptions> CreateRankOptions(::flatbuffers::FlatBufferBuilder &_fbb, const RankOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const RankOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateRankOptions(
_fbb);
}
inline PowOptionsT *PowOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<PowOptionsT>(new PowOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void PowOptions::UnPackTo(PowOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<PowOptions> PowOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const PowOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreatePowOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<PowOptions> CreatePowOptions(::flatbuffers::FlatBufferBuilder &_fbb, const PowOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const PowOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreatePowOptions(
_fbb);
}
inline FakeQuantOptionsT *FakeQuantOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<FakeQuantOptionsT>(new FakeQuantOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void FakeQuantOptions::UnPackTo(FakeQuantOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = min(); _o->min = _e; }
{ auto _e = max(); _o->max = _e; }
{ auto _e = num_bits(); _o->num_bits = _e; }
{ auto _e = narrow_range(); _o->narrow_range = _e; }
}
inline ::flatbuffers::Offset<FakeQuantOptions> FakeQuantOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const FakeQuantOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateFakeQuantOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<FakeQuantOptions> CreateFakeQuantOptions(::flatbuffers::FlatBufferBuilder &_fbb, const FakeQuantOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const FakeQuantOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _min = _o->min;
auto _max = _o->max;
auto _num_bits = _o->num_bits;
auto _narrow_range = _o->narrow_range;
return tflite::CreateFakeQuantOptions(
_fbb,
_min,
_max,
_num_bits,
_narrow_range);
}
inline PackOptionsT *PackOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<PackOptionsT>(new PackOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void PackOptions::UnPackTo(PackOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = values_count(); _o->values_count = _e; }
{ auto _e = axis(); _o->axis = _e; }
}
inline ::flatbuffers::Offset<PackOptions> PackOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const PackOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreatePackOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<PackOptions> CreatePackOptions(::flatbuffers::FlatBufferBuilder &_fbb, const PackOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const PackOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _values_count = _o->values_count;
auto _axis = _o->axis;
return tflite::CreatePackOptions(
_fbb,
_values_count,
_axis);
}
inline LogicalOrOptionsT *LogicalOrOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<LogicalOrOptionsT>(new LogicalOrOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void LogicalOrOptions::UnPackTo(LogicalOrOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<LogicalOrOptions> LogicalOrOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LogicalOrOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateLogicalOrOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<LogicalOrOptions> CreateLogicalOrOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LogicalOrOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const LogicalOrOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateLogicalOrOptions(
_fbb);
}
inline OneHotOptionsT *OneHotOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<OneHotOptionsT>(new OneHotOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void OneHotOptions::UnPackTo(OneHotOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = axis(); _o->axis = _e; }
}
inline ::flatbuffers::Offset<OneHotOptions> OneHotOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const OneHotOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateOneHotOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<OneHotOptions> CreateOneHotOptions(::flatbuffers::FlatBufferBuilder &_fbb, const OneHotOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const OneHotOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _axis = _o->axis;
return tflite::CreateOneHotOptions(
_fbb,
_axis);
}
inline AbsOptionsT *AbsOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<AbsOptionsT>(new AbsOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void AbsOptions::UnPackTo(AbsOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<AbsOptions> AbsOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const AbsOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateAbsOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<AbsOptions> CreateAbsOptions(::flatbuffers::FlatBufferBuilder &_fbb, const AbsOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const AbsOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateAbsOptions(
_fbb);
}
inline HardSwishOptionsT *HardSwishOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<HardSwishOptionsT>(new HardSwishOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void HardSwishOptions::UnPackTo(HardSwishOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<HardSwishOptions> HardSwishOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const HardSwishOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateHardSwishOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<HardSwishOptions> CreateHardSwishOptions(::flatbuffers::FlatBufferBuilder &_fbb, const HardSwishOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const HardSwishOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateHardSwishOptions(
_fbb);
}
inline LogicalAndOptionsT *LogicalAndOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<LogicalAndOptionsT>(new LogicalAndOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void LogicalAndOptions::UnPackTo(LogicalAndOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<LogicalAndOptions> LogicalAndOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LogicalAndOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateLogicalAndOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<LogicalAndOptions> CreateLogicalAndOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LogicalAndOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const LogicalAndOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateLogicalAndOptions(
_fbb);
}
inline LogicalNotOptionsT *LogicalNotOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<LogicalNotOptionsT>(new LogicalNotOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void LogicalNotOptions::UnPackTo(LogicalNotOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<LogicalNotOptions> LogicalNotOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LogicalNotOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateLogicalNotOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<LogicalNotOptions> CreateLogicalNotOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LogicalNotOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const LogicalNotOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateLogicalNotOptions(
_fbb);
}
inline UnpackOptionsT *UnpackOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<UnpackOptionsT>(new UnpackOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void UnpackOptions::UnPackTo(UnpackOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = num(); _o->num = _e; }
{ auto _e = axis(); _o->axis = _e; }
}
inline ::flatbuffers::Offset<UnpackOptions> UnpackOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UnpackOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateUnpackOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<UnpackOptions> CreateUnpackOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UnpackOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const UnpackOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _num = _o->num;
auto _axis = _o->axis;
return tflite::CreateUnpackOptions(
_fbb,
_num,
_axis);
}
inline FloorDivOptionsT *FloorDivOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<FloorDivOptionsT>(new FloorDivOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void FloorDivOptions::UnPackTo(FloorDivOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<FloorDivOptions> FloorDivOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const FloorDivOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateFloorDivOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<FloorDivOptions> CreateFloorDivOptions(::flatbuffers::FlatBufferBuilder &_fbb, const FloorDivOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const FloorDivOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateFloorDivOptions(
_fbb);
}
inline SquareOptionsT *SquareOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SquareOptionsT>(new SquareOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SquareOptions::UnPackTo(SquareOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<SquareOptions> SquareOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SquareOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSquareOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SquareOptions> CreateSquareOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SquareOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SquareOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateSquareOptions(
_fbb);
}
inline ZerosLikeOptionsT *ZerosLikeOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ZerosLikeOptionsT>(new ZerosLikeOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ZerosLikeOptions::UnPackTo(ZerosLikeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<ZerosLikeOptions> ZerosLikeOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ZerosLikeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateZerosLikeOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ZerosLikeOptions> CreateZerosLikeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ZerosLikeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ZerosLikeOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateZerosLikeOptions(
_fbb);
}
inline FillOptionsT *FillOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<FillOptionsT>(new FillOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void FillOptions::UnPackTo(FillOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<FillOptions> FillOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const FillOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateFillOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<FillOptions> CreateFillOptions(::flatbuffers::FlatBufferBuilder &_fbb, const FillOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const FillOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateFillOptions(
_fbb);
}
inline FloorModOptionsT *FloorModOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<FloorModOptionsT>(new FloorModOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void FloorModOptions::UnPackTo(FloorModOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<FloorModOptions> FloorModOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const FloorModOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateFloorModOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<FloorModOptions> CreateFloorModOptions(::flatbuffers::FlatBufferBuilder &_fbb, const FloorModOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const FloorModOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateFloorModOptions(
_fbb);
}
inline RangeOptionsT *RangeOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<RangeOptionsT>(new RangeOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void RangeOptions::UnPackTo(RangeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<RangeOptions> RangeOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const RangeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateRangeOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<RangeOptions> CreateRangeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const RangeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const RangeOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateRangeOptions(
_fbb);
}
inline LeakyReluOptionsT *LeakyReluOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<LeakyReluOptionsT>(new LeakyReluOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void LeakyReluOptions::UnPackTo(LeakyReluOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = alpha(); _o->alpha = _e; }
}
inline ::flatbuffers::Offset<LeakyReluOptions> LeakyReluOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const LeakyReluOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateLeakyReluOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<LeakyReluOptions> CreateLeakyReluOptions(::flatbuffers::FlatBufferBuilder &_fbb, const LeakyReluOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const LeakyReluOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _alpha = _o->alpha;
return tflite::CreateLeakyReluOptions(
_fbb,
_alpha);
}
inline SquaredDifferenceOptionsT *SquaredDifferenceOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SquaredDifferenceOptionsT>(new SquaredDifferenceOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SquaredDifferenceOptions::UnPackTo(SquaredDifferenceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<SquaredDifferenceOptions> SquaredDifferenceOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SquaredDifferenceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSquaredDifferenceOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SquaredDifferenceOptions> CreateSquaredDifferenceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SquaredDifferenceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SquaredDifferenceOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateSquaredDifferenceOptions(
_fbb);
}
inline MirrorPadOptionsT *MirrorPadOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<MirrorPadOptionsT>(new MirrorPadOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void MirrorPadOptions::UnPackTo(MirrorPadOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = mode(); _o->mode = _e; }
}
inline ::flatbuffers::Offset<MirrorPadOptions> MirrorPadOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const MirrorPadOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateMirrorPadOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<MirrorPadOptions> CreateMirrorPadOptions(::flatbuffers::FlatBufferBuilder &_fbb, const MirrorPadOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const MirrorPadOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _mode = _o->mode;
return tflite::CreateMirrorPadOptions(
_fbb,
_mode);
}
inline UniqueOptionsT *UniqueOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<UniqueOptionsT>(new UniqueOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void UniqueOptions::UnPackTo(UniqueOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = idx_out_type(); _o->idx_out_type = _e; }
}
inline ::flatbuffers::Offset<UniqueOptions> UniqueOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UniqueOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateUniqueOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<UniqueOptions> CreateUniqueOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UniqueOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const UniqueOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _idx_out_type = _o->idx_out_type;
return tflite::CreateUniqueOptions(
_fbb,
_idx_out_type);
}
inline ReverseV2OptionsT *ReverseV2Options::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ReverseV2OptionsT>(new ReverseV2OptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ReverseV2Options::UnPackTo(ReverseV2OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<ReverseV2Options> ReverseV2Options::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ReverseV2OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateReverseV2Options(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ReverseV2Options> CreateReverseV2Options(::flatbuffers::FlatBufferBuilder &_fbb, const ReverseV2OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ReverseV2OptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateReverseV2Options(
_fbb);
}
inline AddNOptionsT *AddNOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<AddNOptionsT>(new AddNOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void AddNOptions::UnPackTo(AddNOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<AddNOptions> AddNOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const AddNOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateAddNOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<AddNOptions> CreateAddNOptions(::flatbuffers::FlatBufferBuilder &_fbb, const AddNOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const AddNOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateAddNOptions(
_fbb);
}
inline GatherNdOptionsT *GatherNdOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<GatherNdOptionsT>(new GatherNdOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void GatherNdOptions::UnPackTo(GatherNdOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<GatherNdOptions> GatherNdOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const GatherNdOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateGatherNdOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<GatherNdOptions> CreateGatherNdOptions(::flatbuffers::FlatBufferBuilder &_fbb, const GatherNdOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const GatherNdOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateGatherNdOptions(
_fbb);
}
inline WhereOptionsT *WhereOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<WhereOptionsT>(new WhereOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void WhereOptions::UnPackTo(WhereOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<WhereOptions> WhereOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const WhereOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateWhereOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<WhereOptions> CreateWhereOptions(::flatbuffers::FlatBufferBuilder &_fbb, const WhereOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const WhereOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateWhereOptions(
_fbb);
}
inline ReverseSequenceOptionsT *ReverseSequenceOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ReverseSequenceOptionsT>(new ReverseSequenceOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ReverseSequenceOptions::UnPackTo(ReverseSequenceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = seq_dim(); _o->seq_dim = _e; }
{ auto _e = batch_dim(); _o->batch_dim = _e; }
}
inline ::flatbuffers::Offset<ReverseSequenceOptions> ReverseSequenceOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ReverseSequenceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateReverseSequenceOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ReverseSequenceOptions> CreateReverseSequenceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ReverseSequenceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ReverseSequenceOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _seq_dim = _o->seq_dim;
auto _batch_dim = _o->batch_dim;
return tflite::CreateReverseSequenceOptions(
_fbb,
_seq_dim,
_batch_dim);
}
inline MatrixDiagOptionsT *MatrixDiagOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<MatrixDiagOptionsT>(new MatrixDiagOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void MatrixDiagOptions::UnPackTo(MatrixDiagOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<MatrixDiagOptions> MatrixDiagOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const MatrixDiagOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateMatrixDiagOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<MatrixDiagOptions> CreateMatrixDiagOptions(::flatbuffers::FlatBufferBuilder &_fbb, const MatrixDiagOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const MatrixDiagOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateMatrixDiagOptions(
_fbb);
}
inline QuantizeOptionsT *QuantizeOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<QuantizeOptionsT>(new QuantizeOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void QuantizeOptions::UnPackTo(QuantizeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<QuantizeOptions> QuantizeOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const QuantizeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateQuantizeOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<QuantizeOptions> CreateQuantizeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const QuantizeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const QuantizeOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateQuantizeOptions(
_fbb);
}
inline MatrixSetDiagOptionsT *MatrixSetDiagOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<MatrixSetDiagOptionsT>(new MatrixSetDiagOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void MatrixSetDiagOptions::UnPackTo(MatrixSetDiagOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<MatrixSetDiagOptions> MatrixSetDiagOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const MatrixSetDiagOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateMatrixSetDiagOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<MatrixSetDiagOptions> CreateMatrixSetDiagOptions(::flatbuffers::FlatBufferBuilder &_fbb, const MatrixSetDiagOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const MatrixSetDiagOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateMatrixSetDiagOptions(
_fbb);
}
inline IfOptionsT *IfOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<IfOptionsT>(new IfOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void IfOptions::UnPackTo(IfOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = then_subgraph_index(); _o->then_subgraph_index = _e; }
{ auto _e = else_subgraph_index(); _o->else_subgraph_index = _e; }
}
inline ::flatbuffers::Offset<IfOptions> IfOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const IfOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateIfOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<IfOptions> CreateIfOptions(::flatbuffers::FlatBufferBuilder &_fbb, const IfOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const IfOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _then_subgraph_index = _o->then_subgraph_index;
auto _else_subgraph_index = _o->else_subgraph_index;
return tflite::CreateIfOptions(
_fbb,
_then_subgraph_index,
_else_subgraph_index);
}
inline CallOnceOptionsT *CallOnceOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<CallOnceOptionsT>(new CallOnceOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void CallOnceOptions::UnPackTo(CallOnceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = init_subgraph_index(); _o->init_subgraph_index = _e; }
}
inline ::flatbuffers::Offset<CallOnceOptions> CallOnceOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const CallOnceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateCallOnceOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<CallOnceOptions> CreateCallOnceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const CallOnceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const CallOnceOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _init_subgraph_index = _o->init_subgraph_index;
return tflite::CreateCallOnceOptions(
_fbb,
_init_subgraph_index);
}
inline WhileOptionsT *WhileOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<WhileOptionsT>(new WhileOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void WhileOptions::UnPackTo(WhileOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = cond_subgraph_index(); _o->cond_subgraph_index = _e; }
{ auto _e = body_subgraph_index(); _o->body_subgraph_index = _e; }
}
inline ::flatbuffers::Offset<WhileOptions> WhileOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const WhileOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateWhileOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<WhileOptions> CreateWhileOptions(::flatbuffers::FlatBufferBuilder &_fbb, const WhileOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const WhileOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _cond_subgraph_index = _o->cond_subgraph_index;
auto _body_subgraph_index = _o->body_subgraph_index;
return tflite::CreateWhileOptions(
_fbb,
_cond_subgraph_index,
_body_subgraph_index);
}
inline NonMaxSuppressionV4OptionsT *NonMaxSuppressionV4Options::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<NonMaxSuppressionV4OptionsT>(new NonMaxSuppressionV4OptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void NonMaxSuppressionV4Options::UnPackTo(NonMaxSuppressionV4OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<NonMaxSuppressionV4Options> NonMaxSuppressionV4Options::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const NonMaxSuppressionV4OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateNonMaxSuppressionV4Options(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<NonMaxSuppressionV4Options> CreateNonMaxSuppressionV4Options(::flatbuffers::FlatBufferBuilder &_fbb, const NonMaxSuppressionV4OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const NonMaxSuppressionV4OptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateNonMaxSuppressionV4Options(
_fbb);
}
inline NonMaxSuppressionV5OptionsT *NonMaxSuppressionV5Options::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<NonMaxSuppressionV5OptionsT>(new NonMaxSuppressionV5OptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void NonMaxSuppressionV5Options::UnPackTo(NonMaxSuppressionV5OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<NonMaxSuppressionV5Options> NonMaxSuppressionV5Options::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const NonMaxSuppressionV5OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateNonMaxSuppressionV5Options(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<NonMaxSuppressionV5Options> CreateNonMaxSuppressionV5Options(::flatbuffers::FlatBufferBuilder &_fbb, const NonMaxSuppressionV5OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const NonMaxSuppressionV5OptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateNonMaxSuppressionV5Options(
_fbb);
}
inline ScatterNdOptionsT *ScatterNdOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ScatterNdOptionsT>(new ScatterNdOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ScatterNdOptions::UnPackTo(ScatterNdOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<ScatterNdOptions> ScatterNdOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ScatterNdOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateScatterNdOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ScatterNdOptions> CreateScatterNdOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ScatterNdOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ScatterNdOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateScatterNdOptions(
_fbb);
}
inline SelectV2OptionsT *SelectV2Options::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SelectV2OptionsT>(new SelectV2OptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SelectV2Options::UnPackTo(SelectV2OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<SelectV2Options> SelectV2Options::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SelectV2OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSelectV2Options(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SelectV2Options> CreateSelectV2Options(::flatbuffers::FlatBufferBuilder &_fbb, const SelectV2OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SelectV2OptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateSelectV2Options(
_fbb);
}
inline DensifyOptionsT *DensifyOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<DensifyOptionsT>(new DensifyOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void DensifyOptions::UnPackTo(DensifyOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<DensifyOptions> DensifyOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DensifyOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateDensifyOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<DensifyOptions> CreateDensifyOptions(::flatbuffers::FlatBufferBuilder &_fbb, const DensifyOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const DensifyOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateDensifyOptions(
_fbb);
}
inline SegmentSumOptionsT *SegmentSumOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SegmentSumOptionsT>(new SegmentSumOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SegmentSumOptions::UnPackTo(SegmentSumOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<SegmentSumOptions> SegmentSumOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SegmentSumOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSegmentSumOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SegmentSumOptions> CreateSegmentSumOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SegmentSumOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SegmentSumOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateSegmentSumOptions(
_fbb);
}
inline BatchMatMulOptionsT *BatchMatMulOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<BatchMatMulOptionsT>(new BatchMatMulOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void BatchMatMulOptions::UnPackTo(BatchMatMulOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = adj_x(); _o->adj_x = _e; }
{ auto _e = adj_y(); _o->adj_y = _e; }
{ auto _e = asymmetric_quantize_inputs(); _o->asymmetric_quantize_inputs = _e; }
}
inline ::flatbuffers::Offset<BatchMatMulOptions> BatchMatMulOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BatchMatMulOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateBatchMatMulOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<BatchMatMulOptions> CreateBatchMatMulOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BatchMatMulOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const BatchMatMulOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _adj_x = _o->adj_x;
auto _adj_y = _o->adj_y;
auto _asymmetric_quantize_inputs = _o->asymmetric_quantize_inputs;
return tflite::CreateBatchMatMulOptions(
_fbb,
_adj_x,
_adj_y,
_asymmetric_quantize_inputs);
}
inline CumsumOptionsT *CumsumOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<CumsumOptionsT>(new CumsumOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void CumsumOptions::UnPackTo(CumsumOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = exclusive(); _o->exclusive = _e; }
{ auto _e = reverse(); _o->reverse = _e; }
}
inline ::flatbuffers::Offset<CumsumOptions> CumsumOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const CumsumOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateCumsumOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<CumsumOptions> CreateCumsumOptions(::flatbuffers::FlatBufferBuilder &_fbb, const CumsumOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const CumsumOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _exclusive = _o->exclusive;
auto _reverse = _o->reverse;
return tflite::CreateCumsumOptions(
_fbb,
_exclusive,
_reverse);
}
inline BroadcastToOptionsT *BroadcastToOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<BroadcastToOptionsT>(new BroadcastToOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void BroadcastToOptions::UnPackTo(BroadcastToOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<BroadcastToOptions> BroadcastToOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BroadcastToOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateBroadcastToOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<BroadcastToOptions> CreateBroadcastToOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BroadcastToOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const BroadcastToOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateBroadcastToOptions(
_fbb);
}
inline Rfft2dOptionsT *Rfft2dOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<Rfft2dOptionsT>(new Rfft2dOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void Rfft2dOptions::UnPackTo(Rfft2dOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<Rfft2dOptions> Rfft2dOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const Rfft2dOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateRfft2dOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<Rfft2dOptions> CreateRfft2dOptions(::flatbuffers::FlatBufferBuilder &_fbb, const Rfft2dOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const Rfft2dOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateRfft2dOptions(
_fbb);
}
inline HashtableOptionsT *HashtableOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<HashtableOptionsT>(new HashtableOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void HashtableOptions::UnPackTo(HashtableOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = table_id(); _o->table_id = _e; }
{ auto _e = key_dtype(); _o->key_dtype = _e; }
{ auto _e = value_dtype(); _o->value_dtype = _e; }
}
inline ::flatbuffers::Offset<HashtableOptions> HashtableOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateHashtableOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<HashtableOptions> CreateHashtableOptions(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const HashtableOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _table_id = _o->table_id;
auto _key_dtype = _o->key_dtype;
auto _value_dtype = _o->value_dtype;
return tflite::CreateHashtableOptions(
_fbb,
_table_id,
_key_dtype,
_value_dtype);
}
inline HashtableFindOptionsT *HashtableFindOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<HashtableFindOptionsT>(new HashtableFindOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void HashtableFindOptions::UnPackTo(HashtableFindOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<HashtableFindOptions> HashtableFindOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableFindOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateHashtableFindOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<HashtableFindOptions> CreateHashtableFindOptions(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableFindOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const HashtableFindOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateHashtableFindOptions(
_fbb);
}
inline HashtableImportOptionsT *HashtableImportOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<HashtableImportOptionsT>(new HashtableImportOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void HashtableImportOptions::UnPackTo(HashtableImportOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<HashtableImportOptions> HashtableImportOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableImportOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateHashtableImportOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<HashtableImportOptions> CreateHashtableImportOptions(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableImportOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const HashtableImportOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateHashtableImportOptions(
_fbb);
}
inline HashtableSizeOptionsT *HashtableSizeOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<HashtableSizeOptionsT>(new HashtableSizeOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void HashtableSizeOptions::UnPackTo(HashtableSizeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<HashtableSizeOptions> HashtableSizeOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableSizeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateHashtableSizeOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<HashtableSizeOptions> CreateHashtableSizeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const HashtableSizeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const HashtableSizeOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateHashtableSizeOptions(
_fbb);
}
inline VarHandleOptionsT *VarHandleOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<VarHandleOptionsT>(new VarHandleOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void VarHandleOptions::UnPackTo(VarHandleOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = container(); if (_e) _o->container = _e->str(); }
{ auto _e = shared_name(); if (_e) _o->shared_name = _e->str(); }
}
inline ::flatbuffers::Offset<VarHandleOptions> VarHandleOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const VarHandleOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateVarHandleOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<VarHandleOptions> CreateVarHandleOptions(::flatbuffers::FlatBufferBuilder &_fbb, const VarHandleOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const VarHandleOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _container = _o->container.empty() ? 0 : _fbb.CreateString(_o->container);
auto _shared_name = _o->shared_name.empty() ? 0 : _fbb.CreateString(_o->shared_name);
return tflite::CreateVarHandleOptions(
_fbb,
_container,
_shared_name);
}
inline ReadVariableOptionsT *ReadVariableOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ReadVariableOptionsT>(new ReadVariableOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ReadVariableOptions::UnPackTo(ReadVariableOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<ReadVariableOptions> ReadVariableOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ReadVariableOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateReadVariableOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ReadVariableOptions> CreateReadVariableOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ReadVariableOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ReadVariableOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateReadVariableOptions(
_fbb);
}
inline AssignVariableOptionsT *AssignVariableOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<AssignVariableOptionsT>(new AssignVariableOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void AssignVariableOptions::UnPackTo(AssignVariableOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<AssignVariableOptions> AssignVariableOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const AssignVariableOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateAssignVariableOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<AssignVariableOptions> CreateAssignVariableOptions(::flatbuffers::FlatBufferBuilder &_fbb, const AssignVariableOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const AssignVariableOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateAssignVariableOptions(
_fbb);
}
inline RandomOptionsT *RandomOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<RandomOptionsT>(new RandomOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void RandomOptions::UnPackTo(RandomOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = seed(); _o->seed = _e; }
{ auto _e = seed2(); _o->seed2 = _e; }
}
inline ::flatbuffers::Offset<RandomOptions> RandomOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const RandomOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateRandomOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<RandomOptions> CreateRandomOptions(::flatbuffers::FlatBufferBuilder &_fbb, const RandomOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const RandomOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _seed = _o->seed;
auto _seed2 = _o->seed2;
return tflite::CreateRandomOptions(
_fbb,
_seed,
_seed2);
}
inline BucketizeOptionsT *BucketizeOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<BucketizeOptionsT>(new BucketizeOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void BucketizeOptions::UnPackTo(BucketizeOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = boundaries(); if (_e) { _o->boundaries.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->boundaries[_i] = _e->Get(_i); } } else { _o->boundaries.resize(0); } }
}
inline ::flatbuffers::Offset<BucketizeOptions> BucketizeOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BucketizeOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateBucketizeOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<BucketizeOptions> CreateBucketizeOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BucketizeOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const BucketizeOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _boundaries = _o->boundaries.size() ? _fbb.CreateVector(_o->boundaries) : 0;
return tflite::CreateBucketizeOptions(
_fbb,
_boundaries);
}
inline GeluOptionsT *GeluOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<GeluOptionsT>(new GeluOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void GeluOptions::UnPackTo(GeluOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = approximate(); _o->approximate = _e; }
}
inline ::flatbuffers::Offset<GeluOptions> GeluOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const GeluOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateGeluOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<GeluOptions> CreateGeluOptions(::flatbuffers::FlatBufferBuilder &_fbb, const GeluOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const GeluOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _approximate = _o->approximate;
return tflite::CreateGeluOptions(
_fbb,
_approximate);
}
inline DynamicUpdateSliceOptionsT *DynamicUpdateSliceOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<DynamicUpdateSliceOptionsT>(new DynamicUpdateSliceOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void DynamicUpdateSliceOptions::UnPackTo(DynamicUpdateSliceOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<DynamicUpdateSliceOptions> DynamicUpdateSliceOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const DynamicUpdateSliceOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateDynamicUpdateSliceOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<DynamicUpdateSliceOptions> CreateDynamicUpdateSliceOptions(::flatbuffers::FlatBufferBuilder &_fbb, const DynamicUpdateSliceOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const DynamicUpdateSliceOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateDynamicUpdateSliceOptions(
_fbb);
}
inline UnsortedSegmentProdOptionsT *UnsortedSegmentProdOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<UnsortedSegmentProdOptionsT>(new UnsortedSegmentProdOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void UnsortedSegmentProdOptions::UnPackTo(UnsortedSegmentProdOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<UnsortedSegmentProdOptions> UnsortedSegmentProdOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentProdOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateUnsortedSegmentProdOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<UnsortedSegmentProdOptions> CreateUnsortedSegmentProdOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentProdOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const UnsortedSegmentProdOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateUnsortedSegmentProdOptions(
_fbb);
}
inline UnsortedSegmentMaxOptionsT *UnsortedSegmentMaxOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<UnsortedSegmentMaxOptionsT>(new UnsortedSegmentMaxOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void UnsortedSegmentMaxOptions::UnPackTo(UnsortedSegmentMaxOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<UnsortedSegmentMaxOptions> UnsortedSegmentMaxOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentMaxOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateUnsortedSegmentMaxOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<UnsortedSegmentMaxOptions> CreateUnsortedSegmentMaxOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentMaxOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const UnsortedSegmentMaxOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateUnsortedSegmentMaxOptions(
_fbb);
}
inline UnsortedSegmentSumOptionsT *UnsortedSegmentSumOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<UnsortedSegmentSumOptionsT>(new UnsortedSegmentSumOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void UnsortedSegmentSumOptions::UnPackTo(UnsortedSegmentSumOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<UnsortedSegmentSumOptions> UnsortedSegmentSumOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentSumOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateUnsortedSegmentSumOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<UnsortedSegmentSumOptions> CreateUnsortedSegmentSumOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentSumOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const UnsortedSegmentSumOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateUnsortedSegmentSumOptions(
_fbb);
}
inline ATan2OptionsT *ATan2Options::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ATan2OptionsT>(new ATan2OptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void ATan2Options::UnPackTo(ATan2OptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<ATan2Options> ATan2Options::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ATan2OptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateATan2Options(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<ATan2Options> CreateATan2Options(::flatbuffers::FlatBufferBuilder &_fbb, const ATan2OptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ATan2OptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateATan2Options(
_fbb);
}
inline UnsortedSegmentMinOptionsT *UnsortedSegmentMinOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<UnsortedSegmentMinOptionsT>(new UnsortedSegmentMinOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void UnsortedSegmentMinOptions::UnPackTo(UnsortedSegmentMinOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<UnsortedSegmentMinOptions> UnsortedSegmentMinOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentMinOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateUnsortedSegmentMinOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<UnsortedSegmentMinOptions> CreateUnsortedSegmentMinOptions(::flatbuffers::FlatBufferBuilder &_fbb, const UnsortedSegmentMinOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const UnsortedSegmentMinOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateUnsortedSegmentMinOptions(
_fbb);
}
inline SignOptionsT *SignOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SignOptionsT>(new SignOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SignOptions::UnPackTo(SignOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<SignOptions> SignOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SignOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSignOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SignOptions> CreateSignOptions(::flatbuffers::FlatBufferBuilder &_fbb, const SignOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SignOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateSignOptions(
_fbb);
}
inline BitcastOptionsT *BitcastOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<BitcastOptionsT>(new BitcastOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void BitcastOptions::UnPackTo(BitcastOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<BitcastOptions> BitcastOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BitcastOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateBitcastOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<BitcastOptions> CreateBitcastOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BitcastOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const BitcastOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateBitcastOptions(
_fbb);
}
inline BitwiseXorOptionsT *BitwiseXorOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<BitwiseXorOptionsT>(new BitwiseXorOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void BitwiseXorOptions::UnPackTo(BitwiseXorOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<BitwiseXorOptions> BitwiseXorOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BitwiseXorOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateBitwiseXorOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<BitwiseXorOptions> CreateBitwiseXorOptions(::flatbuffers::FlatBufferBuilder &_fbb, const BitwiseXorOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const BitwiseXorOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateBitwiseXorOptions(
_fbb);
}
inline RightShiftOptionsT *RightShiftOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<RightShiftOptionsT>(new RightShiftOptionsT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void RightShiftOptions::UnPackTo(RightShiftOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
}
inline ::flatbuffers::Offset<RightShiftOptions> RightShiftOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const RightShiftOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateRightShiftOptions(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<RightShiftOptions> CreateRightShiftOptions(::flatbuffers::FlatBufferBuilder &_fbb, const RightShiftOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const RightShiftOptionsT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
return tflite::CreateRightShiftOptions(
_fbb);
}
inline OperatorCodeT *OperatorCode::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<OperatorCodeT>(new OperatorCodeT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void OperatorCode::UnPackTo(OperatorCodeT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = deprecated_builtin_code(); _o->deprecated_builtin_code = _e; }
{ auto _e = custom_code(); if (_e) _o->custom_code = _e->str(); }
{ auto _e = version(); _o->version = _e; }
{ auto _e = builtin_code(); _o->builtin_code = _e; }
}
inline ::flatbuffers::Offset<OperatorCode> OperatorCode::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const OperatorCodeT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateOperatorCode(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<OperatorCode> CreateOperatorCode(::flatbuffers::FlatBufferBuilder &_fbb, const OperatorCodeT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const OperatorCodeT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _deprecated_builtin_code = _o->deprecated_builtin_code;
auto _custom_code = _o->custom_code.empty() ? 0 : _fbb.CreateString(_o->custom_code);
auto _version = _o->version;
auto _builtin_code = _o->builtin_code;
return tflite::CreateOperatorCode(
_fbb,
_deprecated_builtin_code,
_custom_code,
_version,
_builtin_code);
}
inline OperatorT *Operator::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<OperatorT>(new OperatorT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void Operator::UnPackTo(OperatorT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = opcode_index(); _o->opcode_index = _e; }
{ auto _e = inputs(); if (_e) { _o->inputs.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->inputs[_i] = _e->Get(_i); } } else { _o->inputs.resize(0); } }
{ auto _e = outputs(); if (_e) { _o->outputs.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->outputs[_i] = _e->Get(_i); } } else { _o->outputs.resize(0); } }
{ auto _e = builtin_options_type(); _o->builtin_options.type = _e; }
{ auto _e = builtin_options(); if (_e) _o->builtin_options.value = tflite::BuiltinOptionsUnion::UnPack(_e, builtin_options_type(), _resolver); }
{ auto _e = custom_options(); if (_e) { _o->custom_options.resize(_e->size()); std::copy(_e->begin(), _e->end(), _o->custom_options.begin()); } }
{ auto _e = custom_options_format(); _o->custom_options_format = _e; }
{ auto _e = mutating_variable_inputs(); if (_e) { _o->mutating_variable_inputs.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->mutating_variable_inputs[_i] = _e->Get(_i) != 0; } } else { _o->mutating_variable_inputs.resize(0); } }
{ auto _e = intermediates(); if (_e) { _o->intermediates.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->intermediates[_i] = _e->Get(_i); } } else { _o->intermediates.resize(0); } }
{ auto _e = large_custom_options_offset(); _o->large_custom_options_offset = _e; }
{ auto _e = large_custom_options_size(); _o->large_custom_options_size = _e; }
}
inline ::flatbuffers::Offset<Operator> Operator::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const OperatorT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateOperator(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<Operator> CreateOperator(::flatbuffers::FlatBufferBuilder &_fbb, const OperatorT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const OperatorT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _opcode_index = _o->opcode_index;
auto _inputs = _o->inputs.size() ? _fbb.CreateVector(_o->inputs) : 0;
auto _outputs = _o->outputs.size() ? _fbb.CreateVector(_o->outputs) : 0;
auto _builtin_options_type = _o->builtin_options.type;
auto _builtin_options = _o->builtin_options.Pack(_fbb);
auto _custom_options = _o->custom_options.size() ? _fbb.CreateVector(_o->custom_options) : 0;
auto _custom_options_format = _o->custom_options_format;
auto _mutating_variable_inputs = _o->mutating_variable_inputs.size() ? _fbb.CreateVector(_o->mutating_variable_inputs) : 0;
auto _intermediates = _o->intermediates.size() ? _fbb.CreateVector(_o->intermediates) : 0;
auto _large_custom_options_offset = _o->large_custom_options_offset;
auto _large_custom_options_size = _o->large_custom_options_size;
return tflite::CreateOperator(
_fbb,
_opcode_index,
_inputs,
_outputs,
_builtin_options_type,
_builtin_options,
_custom_options,
_custom_options_format,
_mutating_variable_inputs,
_intermediates,
_large_custom_options_offset,
_large_custom_options_size);
}
inline SubGraphT::SubGraphT(const SubGraphT &o)
: inputs(o.inputs),
outputs(o.outputs),
name(o.name) {
tensors.reserve(o.tensors.size());
for (const auto &tensors_ : o.tensors) { tensors.emplace_back((tensors_) ? new tflite::TensorT(*tensors_) : nullptr); }
operators.reserve(o.operators.size());
for (const auto &operators_ : o.operators) { operators.emplace_back((operators_) ? new tflite::OperatorT(*operators_) : nullptr); }
}
inline SubGraphT &SubGraphT::operator=(SubGraphT o) FLATBUFFERS_NOEXCEPT {
std::swap(tensors, o.tensors);
std::swap(inputs, o.inputs);
std::swap(outputs, o.outputs);
std::swap(operators, o.operators);
std::swap(name, o.name);
return *this;
}
inline SubGraphT *SubGraph::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SubGraphT>(new SubGraphT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SubGraph::UnPackTo(SubGraphT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = tensors(); if (_e) { _o->tensors.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { if(_o->tensors[_i]) { _e->Get(_i)->UnPackTo(_o->tensors[_i].get(), _resolver); } else { _o->tensors[_i] = std::unique_ptr<tflite::TensorT>(_e->Get(_i)->UnPack(_resolver)); }; } } else { _o->tensors.resize(0); } }
{ auto _e = inputs(); if (_e) { _o->inputs.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->inputs[_i] = _e->Get(_i); } } else { _o->inputs.resize(0); } }
{ auto _e = outputs(); if (_e) { _o->outputs.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->outputs[_i] = _e->Get(_i); } } else { _o->outputs.resize(0); } }
{ auto _e = operators(); if (_e) { _o->operators.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { if(_o->operators[_i]) { _e->Get(_i)->UnPackTo(_o->operators[_i].get(), _resolver); } else { _o->operators[_i] = std::unique_ptr<tflite::OperatorT>(_e->Get(_i)->UnPack(_resolver)); }; } } else { _o->operators.resize(0); } }
{ auto _e = name(); if (_e) _o->name = _e->str(); }
}
inline ::flatbuffers::Offset<SubGraph> SubGraph::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SubGraphT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSubGraph(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SubGraph> CreateSubGraph(::flatbuffers::FlatBufferBuilder &_fbb, const SubGraphT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SubGraphT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _tensors = _o->tensors.size() ? _fbb.CreateVector<::flatbuffers::Offset<tflite::Tensor>> (_o->tensors.size(), [](size_t i, _VectorArgs *__va) { return CreateTensor(*__va->__fbb, __va->__o->tensors[i].get(), __va->__rehasher); }, &_va ) : 0;
auto _inputs = _o->inputs.size() ? _fbb.CreateVector(_o->inputs) : 0;
auto _outputs = _o->outputs.size() ? _fbb.CreateVector(_o->outputs) : 0;
auto _operators = _o->operators.size() ? _fbb.CreateVector<::flatbuffers::Offset<tflite::Operator>> (_o->operators.size(), [](size_t i, _VectorArgs *__va) { return CreateOperator(*__va->__fbb, __va->__o->operators[i].get(), __va->__rehasher); }, &_va ) : 0;
auto _name = _o->name.empty() ? 0 : _fbb.CreateString(_o->name);
return tflite::CreateSubGraph(
_fbb,
_tensors,
_inputs,
_outputs,
_operators,
_name);
}
inline BufferT *Buffer::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<BufferT>(new BufferT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void Buffer::UnPackTo(BufferT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = data(); if (_e) { _o->data.resize(_e->size()); std::copy(_e->begin(), _e->end(), _o->data.begin()); } }
{ auto _e = offset(); _o->offset = _e; }
{ auto _e = size(); _o->size = _e; }
}
inline ::flatbuffers::Offset<Buffer> Buffer::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BufferT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateBuffer(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<Buffer> CreateBuffer(::flatbuffers::FlatBufferBuilder &_fbb, const BufferT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const BufferT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
_fbb.ForceVectorAlignment(_o->data.size(), sizeof(uint8_t), 16);
auto _data = _o->data.size() ? _fbb.CreateVector(_o->data) : 0;
auto _offset = _o->offset;
auto _size = _o->size;
return tflite::CreateBuffer(
_fbb,
_data,
_offset,
_size);
}
inline MetadataT *Metadata::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<MetadataT>(new MetadataT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void Metadata::UnPackTo(MetadataT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = name(); if (_e) _o->name = _e->str(); }
{ auto _e = buffer(); _o->buffer = _e; }
}
inline ::flatbuffers::Offset<Metadata> Metadata::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const MetadataT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateMetadata(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<Metadata> CreateMetadata(::flatbuffers::FlatBufferBuilder &_fbb, const MetadataT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const MetadataT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _name = _o->name.empty() ? 0 : _fbb.CreateString(_o->name);
auto _buffer = _o->buffer;
return tflite::CreateMetadata(
_fbb,
_name,
_buffer);
}
inline TensorMapT *TensorMap::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<TensorMapT>(new TensorMapT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void TensorMap::UnPackTo(TensorMapT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = name(); if (_e) _o->name = _e->str(); }
{ auto _e = tensor_index(); _o->tensor_index = _e; }
}
inline ::flatbuffers::Offset<TensorMap> TensorMap::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const TensorMapT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateTensorMap(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<TensorMap> CreateTensorMap(::flatbuffers::FlatBufferBuilder &_fbb, const TensorMapT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const TensorMapT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _name = _o->name.empty() ? 0 : _fbb.CreateString(_o->name);
auto _tensor_index = _o->tensor_index;
return tflite::CreateTensorMap(
_fbb,
_name,
_tensor_index);
}
inline SignatureDefT::SignatureDefT(const SignatureDefT &o)
: signature_key(o.signature_key),
subgraph_index(o.subgraph_index) {
inputs.reserve(o.inputs.size());
for (const auto &inputs_ : o.inputs) { inputs.emplace_back((inputs_) ? new tflite::TensorMapT(*inputs_) : nullptr); }
outputs.reserve(o.outputs.size());
for (const auto &outputs_ : o.outputs) { outputs.emplace_back((outputs_) ? new tflite::TensorMapT(*outputs_) : nullptr); }
}
inline SignatureDefT &SignatureDefT::operator=(SignatureDefT o) FLATBUFFERS_NOEXCEPT {
std::swap(inputs, o.inputs);
std::swap(outputs, o.outputs);
std::swap(signature_key, o.signature_key);
std::swap(subgraph_index, o.subgraph_index);
return *this;
}
inline SignatureDefT *SignatureDef::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<SignatureDefT>(new SignatureDefT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void SignatureDef::UnPackTo(SignatureDefT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = inputs(); if (_e) { _o->inputs.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { if(_o->inputs[_i]) { _e->Get(_i)->UnPackTo(_o->inputs[_i].get(), _resolver); } else { _o->inputs[_i] = std::unique_ptr<tflite::TensorMapT>(_e->Get(_i)->UnPack(_resolver)); }; } } else { _o->inputs.resize(0); } }
{ auto _e = outputs(); if (_e) { _o->outputs.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { if(_o->outputs[_i]) { _e->Get(_i)->UnPackTo(_o->outputs[_i].get(), _resolver); } else { _o->outputs[_i] = std::unique_ptr<tflite::TensorMapT>(_e->Get(_i)->UnPack(_resolver)); }; } } else { _o->outputs.resize(0); } }
{ auto _e = signature_key(); if (_e) _o->signature_key = _e->str(); }
{ auto _e = subgraph_index(); _o->subgraph_index = _e; }
}
inline ::flatbuffers::Offset<SignatureDef> SignatureDef::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SignatureDefT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateSignatureDef(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<SignatureDef> CreateSignatureDef(::flatbuffers::FlatBufferBuilder &_fbb, const SignatureDefT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const SignatureDefT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _inputs = _o->inputs.size() ? _fbb.CreateVector<::flatbuffers::Offset<tflite::TensorMap>> (_o->inputs.size(), [](size_t i, _VectorArgs *__va) { return CreateTensorMap(*__va->__fbb, __va->__o->inputs[i].get(), __va->__rehasher); }, &_va ) : 0;
auto _outputs = _o->outputs.size() ? _fbb.CreateVector<::flatbuffers::Offset<tflite::TensorMap>> (_o->outputs.size(), [](size_t i, _VectorArgs *__va) { return CreateTensorMap(*__va->__fbb, __va->__o->outputs[i].get(), __va->__rehasher); }, &_va ) : 0;
auto _signature_key = _o->signature_key.empty() ? 0 : _fbb.CreateString(_o->signature_key);
auto _subgraph_index = _o->subgraph_index;
return tflite::CreateSignatureDef(
_fbb,
_inputs,
_outputs,
_signature_key,
_subgraph_index);
}
inline ModelT::ModelT(const ModelT &o)
: version(o.version),
description(o.description),
metadata_buffer(o.metadata_buffer) {
operator_codes.reserve(o.operator_codes.size());
for (const auto &operator_codes_ : o.operator_codes) { operator_codes.emplace_back((operator_codes_) ? new tflite::OperatorCodeT(*operator_codes_) : nullptr); }
subgraphs.reserve(o.subgraphs.size());
for (const auto &subgraphs_ : o.subgraphs) { subgraphs.emplace_back((subgraphs_) ? new tflite::SubGraphT(*subgraphs_) : nullptr); }
buffers.reserve(o.buffers.size());
for (const auto &buffers_ : o.buffers) { buffers.emplace_back((buffers_) ? new tflite::BufferT(*buffers_) : nullptr); }
metadata.reserve(o.metadata.size());
for (const auto &metadata_ : o.metadata) { metadata.emplace_back((metadata_) ? new tflite::MetadataT(*metadata_) : nullptr); }
signature_defs.reserve(o.signature_defs.size());
for (const auto &signature_defs_ : o.signature_defs) { signature_defs.emplace_back((signature_defs_) ? new tflite::SignatureDefT(*signature_defs_) : nullptr); }
}
inline ModelT &ModelT::operator=(ModelT o) FLATBUFFERS_NOEXCEPT {
std::swap(version, o.version);
std::swap(operator_codes, o.operator_codes);
std::swap(subgraphs, o.subgraphs);
std::swap(description, o.description);
std::swap(buffers, o.buffers);
std::swap(metadata_buffer, o.metadata_buffer);
std::swap(metadata, o.metadata);
std::swap(signature_defs, o.signature_defs);
return *this;
}
inline ModelT *Model::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
auto _o = std::unique_ptr<ModelT>(new ModelT());
UnPackTo(_o.get(), _resolver);
return _o.release();
}
inline void Model::UnPackTo(ModelT *_o, const ::flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = version(); _o->version = _e; }
{ auto _e = operator_codes(); if (_e) { _o->operator_codes.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { if(_o->operator_codes[_i]) { _e->Get(_i)->UnPackTo(_o->operator_codes[_i].get(), _resolver); } else { _o->operator_codes[_i] = std::unique_ptr<tflite::OperatorCodeT>(_e->Get(_i)->UnPack(_resolver)); }; } } else { _o->operator_codes.resize(0); } }
{ auto _e = subgraphs(); if (_e) { _o->subgraphs.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { if(_o->subgraphs[_i]) { _e->Get(_i)->UnPackTo(_o->subgraphs[_i].get(), _resolver); } else { _o->subgraphs[_i] = std::unique_ptr<tflite::SubGraphT>(_e->Get(_i)->UnPack(_resolver)); }; } } else { _o->subgraphs.resize(0); } }
{ auto _e = description(); if (_e) _o->description = _e->str(); }
{ auto _e = buffers(); if (_e) { _o->buffers.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { if(_o->buffers[_i]) { _e->Get(_i)->UnPackTo(_o->buffers[_i].get(), _resolver); } else { _o->buffers[_i] = std::unique_ptr<tflite::BufferT>(_e->Get(_i)->UnPack(_resolver)); }; } } else { _o->buffers.resize(0); } }
{ auto _e = metadata_buffer(); if (_e) { _o->metadata_buffer.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->metadata_buffer[_i] = _e->Get(_i); } } else { _o->metadata_buffer.resize(0); } }
{ auto _e = metadata(); if (_e) { _o->metadata.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { if(_o->metadata[_i]) { _e->Get(_i)->UnPackTo(_o->metadata[_i].get(), _resolver); } else { _o->metadata[_i] = std::unique_ptr<tflite::MetadataT>(_e->Get(_i)->UnPack(_resolver)); }; } } else { _o->metadata.resize(0); } }
{ auto _e = signature_defs(); if (_e) { _o->signature_defs.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { if(_o->signature_defs[_i]) { _e->Get(_i)->UnPackTo(_o->signature_defs[_i].get(), _resolver); } else { _o->signature_defs[_i] = std::unique_ptr<tflite::SignatureDefT>(_e->Get(_i)->UnPack(_resolver)); }; } } else { _o->signature_defs.resize(0); } }
}
inline ::flatbuffers::Offset<Model> Model::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ModelT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) {
return CreateModel(_fbb, _o, _rehasher);
}
inline ::flatbuffers::Offset<Model> CreateModel(::flatbuffers::FlatBufferBuilder &_fbb, const ModelT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
(void)_rehasher;
(void)_o;
struct _VectorArgs { ::flatbuffers::FlatBufferBuilder *__fbb; const ModelT* __o; const ::flatbuffers::rehasher_function_t *__rehasher; } _va = { &_fbb, _o, _rehasher}; (void)_va;
auto _version = _o->version;
auto _operator_codes = _o->operator_codes.size() ? _fbb.CreateVector<::flatbuffers::Offset<tflite::OperatorCode>> (_o->operator_codes.size(), [](size_t i, _VectorArgs *__va) { return CreateOperatorCode(*__va->__fbb, __va->__o->operator_codes[i].get(), __va->__rehasher); }, &_va ) : 0;
auto _subgraphs = _o->subgraphs.size() ? _fbb.CreateVector<::flatbuffers::Offset<tflite::SubGraph>> (_o->subgraphs.size(), [](size_t i, _VectorArgs *__va) { return CreateSubGraph(*__va->__fbb, __va->__o->subgraphs[i].get(), __va->__rehasher); }, &_va ) : 0;
auto _description = _o->description.empty() ? 0 : _fbb.CreateString(_o->description);
auto _buffers = _o->buffers.size() ? _fbb.CreateVector<::flatbuffers::Offset<tflite::Buffer>> (_o->buffers.size(), [](size_t i, _VectorArgs *__va) { return CreateBuffer(*__va->__fbb, __va->__o->buffers[i].get(), __va->__rehasher); }, &_va ) : 0;
auto _metadata_buffer = _o->metadata_buffer.size() ? _fbb.CreateVector(_o->metadata_buffer) : 0;
auto _metadata = _o->metadata.size() ? _fbb.CreateVector<::flatbuffers::Offset<tflite::Metadata>> (_o->metadata.size(), [](size_t i, _VectorArgs *__va) { return CreateMetadata(*__va->__fbb, __va->__o->metadata[i].get(), __va->__rehasher); }, &_va ) : 0;
auto _signature_defs = _o->signature_defs.size() ? _fbb.CreateVector<::flatbuffers::Offset<tflite::SignatureDef>> (_o->signature_defs.size(), [](size_t i, _VectorArgs *__va) { return CreateSignatureDef(*__va->__fbb, __va->__o->signature_defs[i].get(), __va->__rehasher); }, &_va ) : 0;
return tflite::CreateModel(
_fbb,
_version,
_operator_codes,
_subgraphs,
_description,
_buffers,
_metadata_buffer,
_metadata,
_signature_defs);
}
inline bool VerifyQuantizationDetails(::flatbuffers::Verifier &verifier, const void *obj, QuantizationDetails type) {
switch (type) {
case QuantizationDetails_NONE: {
return true;
}
case QuantizationDetails_CustomQuantization: {
auto ptr = reinterpret_cast<const tflite::CustomQuantization *>(obj);
return verifier.VerifyTable(ptr);
}
default: return true;
}
}
inline bool VerifyQuantizationDetailsVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset<void>> *values, const ::flatbuffers::Vector<uint8_t> *types) {
if (!values || !types) return !values && !types;
if (values->size() != types->size()) return false;
for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
if (!VerifyQuantizationDetails(
verifier, values->Get(i), types->GetEnum<QuantizationDetails>(i))) {
return false;
}
}
return true;
}
inline void *QuantizationDetailsUnion::UnPack(const void *obj, QuantizationDetails type, const ::flatbuffers::resolver_function_t *resolver) {
(void)resolver;
switch (type) {
case QuantizationDetails_CustomQuantization: {
auto ptr = reinterpret_cast<const tflite::CustomQuantization *>(obj);
return ptr->UnPack(resolver);
}
default: return nullptr;
}
}
inline ::flatbuffers::Offset<void> QuantizationDetailsUnion::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ::flatbuffers::rehasher_function_t *_rehasher) const {
(void)_rehasher;
switch (type) {
case QuantizationDetails_CustomQuantization: {
auto ptr = reinterpret_cast<const tflite::CustomQuantizationT *>(value);
return CreateCustomQuantization(_fbb, ptr, _rehasher).Union();
}
default: return 0;
}
}
inline QuantizationDetailsUnion::QuantizationDetailsUnion(const QuantizationDetailsUnion &u) : type(u.type), value(nullptr) {
switch (type) {
case QuantizationDetails_CustomQuantization: {
value = new tflite::CustomQuantizationT(*reinterpret_cast<tflite::CustomQuantizationT *>(u.value));
break;
}
default:
break;
}
}
inline void QuantizationDetailsUnion::Reset() {
switch (type) {
case QuantizationDetails_CustomQuantization: {
auto ptr = reinterpret_cast<tflite::CustomQuantizationT *>(value);
delete ptr;
break;
}
default: break;
}
value = nullptr;
type = QuantizationDetails_NONE;
}
inline bool VerifySparseIndexVector(::flatbuffers::Verifier &verifier, const void *obj, SparseIndexVector type) {
switch (type) {
case SparseIndexVector_NONE: {
return true;
}
case SparseIndexVector_Int32Vector: {
auto ptr = reinterpret_cast<const tflite::Int32Vector *>(obj);
return verifier.VerifyTable(ptr);
}
case SparseIndexVector_Uint16Vector: {
auto ptr = reinterpret_cast<const tflite::Uint16Vector *>(obj);
return verifier.VerifyTable(ptr);
}
case SparseIndexVector_Uint8Vector: {
auto ptr = reinterpret_cast<const tflite::Uint8Vector *>(obj);
return verifier.VerifyTable(ptr);
}
default: return true;
}
}
inline bool VerifySparseIndexVectorVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset<void>> *values, const ::flatbuffers::Vector<uint8_t> *types) {
if (!values || !types) return !values && !types;
if (values->size() != types->size()) return false;
for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
if (!VerifySparseIndexVector(
verifier, values->Get(i), types->GetEnum<SparseIndexVector>(i))) {
return false;
}
}
return true;
}
inline void *SparseIndexVectorUnion::UnPack(const void *obj, SparseIndexVector type, const ::flatbuffers::resolver_function_t *resolver) {
(void)resolver;
switch (type) {
case SparseIndexVector_Int32Vector: {
auto ptr = reinterpret_cast<const tflite::Int32Vector *>(obj);
return ptr->UnPack(resolver);
}
case SparseIndexVector_Uint16Vector: {
auto ptr = reinterpret_cast<const tflite::Uint16Vector *>(obj);
return ptr->UnPack(resolver);
}
case SparseIndexVector_Uint8Vector: {
auto ptr = reinterpret_cast<const tflite::Uint8Vector *>(obj);
return ptr->UnPack(resolver);
}
default: return nullptr;
}
}
inline ::flatbuffers::Offset<void> SparseIndexVectorUnion::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ::flatbuffers::rehasher_function_t *_rehasher) const {
(void)_rehasher;
switch (type) {
case SparseIndexVector_Int32Vector: {
auto ptr = reinterpret_cast<const tflite::Int32VectorT *>(value);
return CreateInt32Vector(_fbb, ptr, _rehasher).Union();
}
case SparseIndexVector_Uint16Vector: {
auto ptr = reinterpret_cast<const tflite::Uint16VectorT *>(value);
return CreateUint16Vector(_fbb, ptr, _rehasher).Union();
}
case SparseIndexVector_Uint8Vector: {
auto ptr = reinterpret_cast<const tflite::Uint8VectorT *>(value);
return CreateUint8Vector(_fbb, ptr, _rehasher).Union();
}
default: return 0;
}
}
inline SparseIndexVectorUnion::SparseIndexVectorUnion(const SparseIndexVectorUnion &u) : type(u.type), value(nullptr) {
switch (type) {
case SparseIndexVector_Int32Vector: {
value = new tflite::Int32VectorT(*reinterpret_cast<tflite::Int32VectorT *>(u.value));
break;
}
case SparseIndexVector_Uint16Vector: {
value = new tflite::Uint16VectorT(*reinterpret_cast<tflite::Uint16VectorT *>(u.value));
break;
}
case SparseIndexVector_Uint8Vector: {
value = new tflite::Uint8VectorT(*reinterpret_cast<tflite::Uint8VectorT *>(u.value));
break;
}
default:
break;
}
}
inline void SparseIndexVectorUnion::Reset() {
switch (type) {
case SparseIndexVector_Int32Vector: {
auto ptr = reinterpret_cast<tflite::Int32VectorT *>(value);
delete ptr;
break;
}
case SparseIndexVector_Uint16Vector: {
auto ptr = reinterpret_cast<tflite::Uint16VectorT *>(value);
delete ptr;
break;
}
case SparseIndexVector_Uint8Vector: {
auto ptr = reinterpret_cast<tflite::Uint8VectorT *>(value);
delete ptr;
break;
}
default: break;
}
value = nullptr;
type = SparseIndexVector_NONE;
}
inline bool VerifyBuiltinOptions(::flatbuffers::Verifier &verifier, const void *obj, BuiltinOptions type) {
switch (type) {
case BuiltinOptions_NONE: {
return true;
}
case BuiltinOptions_Conv2DOptions: {
auto ptr = reinterpret_cast<const tflite::Conv2DOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_DepthwiseConv2DOptions: {
auto ptr = reinterpret_cast<const tflite::DepthwiseConv2DOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ConcatEmbeddingsOptions: {
auto ptr = reinterpret_cast<const tflite::ConcatEmbeddingsOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_LSHProjectionOptions: {
auto ptr = reinterpret_cast<const tflite::LSHProjectionOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_Pool2DOptions: {
auto ptr = reinterpret_cast<const tflite::Pool2DOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SVDFOptions: {
auto ptr = reinterpret_cast<const tflite::SVDFOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_RNNOptions: {
auto ptr = reinterpret_cast<const tflite::RNNOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_FullyConnectedOptions: {
auto ptr = reinterpret_cast<const tflite::FullyConnectedOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SoftmaxOptions: {
auto ptr = reinterpret_cast<const tflite::SoftmaxOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ConcatenationOptions: {
auto ptr = reinterpret_cast<const tflite::ConcatenationOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_AddOptions: {
auto ptr = reinterpret_cast<const tflite::AddOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_L2NormOptions: {
auto ptr = reinterpret_cast<const tflite::L2NormOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_LocalResponseNormalizationOptions: {
auto ptr = reinterpret_cast<const tflite::LocalResponseNormalizationOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_LSTMOptions: {
auto ptr = reinterpret_cast<const tflite::LSTMOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ResizeBilinearOptions: {
auto ptr = reinterpret_cast<const tflite::ResizeBilinearOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_CallOptions: {
auto ptr = reinterpret_cast<const tflite::CallOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ReshapeOptions: {
auto ptr = reinterpret_cast<const tflite::ReshapeOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SkipGramOptions: {
auto ptr = reinterpret_cast<const tflite::SkipGramOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SpaceToDepthOptions: {
auto ptr = reinterpret_cast<const tflite::SpaceToDepthOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_EmbeddingLookupSparseOptions: {
auto ptr = reinterpret_cast<const tflite::EmbeddingLookupSparseOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_MulOptions: {
auto ptr = reinterpret_cast<const tflite::MulOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_PadOptions: {
auto ptr = reinterpret_cast<const tflite::PadOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_GatherOptions: {
auto ptr = reinterpret_cast<const tflite::GatherOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_BatchToSpaceNDOptions: {
auto ptr = reinterpret_cast<const tflite::BatchToSpaceNDOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SpaceToBatchNDOptions: {
auto ptr = reinterpret_cast<const tflite::SpaceToBatchNDOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_TransposeOptions: {
auto ptr = reinterpret_cast<const tflite::TransposeOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ReducerOptions: {
auto ptr = reinterpret_cast<const tflite::ReducerOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SubOptions: {
auto ptr = reinterpret_cast<const tflite::SubOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_DivOptions: {
auto ptr = reinterpret_cast<const tflite::DivOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SqueezeOptions: {
auto ptr = reinterpret_cast<const tflite::SqueezeOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SequenceRNNOptions: {
auto ptr = reinterpret_cast<const tflite::SequenceRNNOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_StridedSliceOptions: {
auto ptr = reinterpret_cast<const tflite::StridedSliceOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ExpOptions: {
auto ptr = reinterpret_cast<const tflite::ExpOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_TopKV2Options: {
auto ptr = reinterpret_cast<const tflite::TopKV2Options *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SplitOptions: {
auto ptr = reinterpret_cast<const tflite::SplitOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_LogSoftmaxOptions: {
auto ptr = reinterpret_cast<const tflite::LogSoftmaxOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_CastOptions: {
auto ptr = reinterpret_cast<const tflite::CastOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_DequantizeOptions: {
auto ptr = reinterpret_cast<const tflite::DequantizeOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_MaximumMinimumOptions: {
auto ptr = reinterpret_cast<const tflite::MaximumMinimumOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ArgMaxOptions: {
auto ptr = reinterpret_cast<const tflite::ArgMaxOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_LessOptions: {
auto ptr = reinterpret_cast<const tflite::LessOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_NegOptions: {
auto ptr = reinterpret_cast<const tflite::NegOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_PadV2Options: {
auto ptr = reinterpret_cast<const tflite::PadV2Options *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_GreaterOptions: {
auto ptr = reinterpret_cast<const tflite::GreaterOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_GreaterEqualOptions: {
auto ptr = reinterpret_cast<const tflite::GreaterEqualOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_LessEqualOptions: {
auto ptr = reinterpret_cast<const tflite::LessEqualOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SelectOptions: {
auto ptr = reinterpret_cast<const tflite::SelectOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SliceOptions: {
auto ptr = reinterpret_cast<const tflite::SliceOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_TransposeConvOptions: {
auto ptr = reinterpret_cast<const tflite::TransposeConvOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SparseToDenseOptions: {
auto ptr = reinterpret_cast<const tflite::SparseToDenseOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_TileOptions: {
auto ptr = reinterpret_cast<const tflite::TileOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ExpandDimsOptions: {
auto ptr = reinterpret_cast<const tflite::ExpandDimsOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_EqualOptions: {
auto ptr = reinterpret_cast<const tflite::EqualOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_NotEqualOptions: {
auto ptr = reinterpret_cast<const tflite::NotEqualOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ShapeOptions: {
auto ptr = reinterpret_cast<const tflite::ShapeOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_PowOptions: {
auto ptr = reinterpret_cast<const tflite::PowOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ArgMinOptions: {
auto ptr = reinterpret_cast<const tflite::ArgMinOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_FakeQuantOptions: {
auto ptr = reinterpret_cast<const tflite::FakeQuantOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_PackOptions: {
auto ptr = reinterpret_cast<const tflite::PackOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_LogicalOrOptions: {
auto ptr = reinterpret_cast<const tflite::LogicalOrOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_OneHotOptions: {
auto ptr = reinterpret_cast<const tflite::OneHotOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_LogicalAndOptions: {
auto ptr = reinterpret_cast<const tflite::LogicalAndOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_LogicalNotOptions: {
auto ptr = reinterpret_cast<const tflite::LogicalNotOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_UnpackOptions: {
auto ptr = reinterpret_cast<const tflite::UnpackOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_FloorDivOptions: {
auto ptr = reinterpret_cast<const tflite::FloorDivOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SquareOptions: {
auto ptr = reinterpret_cast<const tflite::SquareOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ZerosLikeOptions: {
auto ptr = reinterpret_cast<const tflite::ZerosLikeOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_FillOptions: {
auto ptr = reinterpret_cast<const tflite::FillOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_BidirectionalSequenceLSTMOptions: {
auto ptr = reinterpret_cast<const tflite::BidirectionalSequenceLSTMOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_BidirectionalSequenceRNNOptions: {
auto ptr = reinterpret_cast<const tflite::BidirectionalSequenceRNNOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_UnidirectionalSequenceLSTMOptions: {
auto ptr = reinterpret_cast<const tflite::UnidirectionalSequenceLSTMOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_FloorModOptions: {
auto ptr = reinterpret_cast<const tflite::FloorModOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_RangeOptions: {
auto ptr = reinterpret_cast<const tflite::RangeOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ResizeNearestNeighborOptions: {
auto ptr = reinterpret_cast<const tflite::ResizeNearestNeighborOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_LeakyReluOptions: {
auto ptr = reinterpret_cast<const tflite::LeakyReluOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SquaredDifferenceOptions: {
auto ptr = reinterpret_cast<const tflite::SquaredDifferenceOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_MirrorPadOptions: {
auto ptr = reinterpret_cast<const tflite::MirrorPadOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_AbsOptions: {
auto ptr = reinterpret_cast<const tflite::AbsOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SplitVOptions: {
auto ptr = reinterpret_cast<const tflite::SplitVOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_UniqueOptions: {
auto ptr = reinterpret_cast<const tflite::UniqueOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ReverseV2Options: {
auto ptr = reinterpret_cast<const tflite::ReverseV2Options *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_AddNOptions: {
auto ptr = reinterpret_cast<const tflite::AddNOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_GatherNdOptions: {
auto ptr = reinterpret_cast<const tflite::GatherNdOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_CosOptions: {
auto ptr = reinterpret_cast<const tflite::CosOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_WhereOptions: {
auto ptr = reinterpret_cast<const tflite::WhereOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_RankOptions: {
auto ptr = reinterpret_cast<const tflite::RankOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ReverseSequenceOptions: {
auto ptr = reinterpret_cast<const tflite::ReverseSequenceOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_MatrixDiagOptions: {
auto ptr = reinterpret_cast<const tflite::MatrixDiagOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_QuantizeOptions: {
auto ptr = reinterpret_cast<const tflite::QuantizeOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_MatrixSetDiagOptions: {
auto ptr = reinterpret_cast<const tflite::MatrixSetDiagOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_HardSwishOptions: {
auto ptr = reinterpret_cast<const tflite::HardSwishOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_IfOptions: {
auto ptr = reinterpret_cast<const tflite::IfOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_WhileOptions: {
auto ptr = reinterpret_cast<const tflite::WhileOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_DepthToSpaceOptions: {
auto ptr = reinterpret_cast<const tflite::DepthToSpaceOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_NonMaxSuppressionV4Options: {
auto ptr = reinterpret_cast<const tflite::NonMaxSuppressionV4Options *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_NonMaxSuppressionV5Options: {
auto ptr = reinterpret_cast<const tflite::NonMaxSuppressionV5Options *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ScatterNdOptions: {
auto ptr = reinterpret_cast<const tflite::ScatterNdOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SelectV2Options: {
auto ptr = reinterpret_cast<const tflite::SelectV2Options *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_DensifyOptions: {
auto ptr = reinterpret_cast<const tflite::DensifyOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SegmentSumOptions: {
auto ptr = reinterpret_cast<const tflite::SegmentSumOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_BatchMatMulOptions: {
auto ptr = reinterpret_cast<const tflite::BatchMatMulOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_CumsumOptions: {
auto ptr = reinterpret_cast<const tflite::CumsumOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_CallOnceOptions: {
auto ptr = reinterpret_cast<const tflite::CallOnceOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_BroadcastToOptions: {
auto ptr = reinterpret_cast<const tflite::BroadcastToOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_Rfft2dOptions: {
auto ptr = reinterpret_cast<const tflite::Rfft2dOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_Conv3DOptions: {
auto ptr = reinterpret_cast<const tflite::Conv3DOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_HashtableOptions: {
auto ptr = reinterpret_cast<const tflite::HashtableOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_HashtableFindOptions: {
auto ptr = reinterpret_cast<const tflite::HashtableFindOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_HashtableImportOptions: {
auto ptr = reinterpret_cast<const tflite::HashtableImportOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_HashtableSizeOptions: {
auto ptr = reinterpret_cast<const tflite::HashtableSizeOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_VarHandleOptions: {
auto ptr = reinterpret_cast<const tflite::VarHandleOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ReadVariableOptions: {
auto ptr = reinterpret_cast<const tflite::ReadVariableOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_AssignVariableOptions: {
auto ptr = reinterpret_cast<const tflite::AssignVariableOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_RandomOptions: {
auto ptr = reinterpret_cast<const tflite::RandomOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_BucketizeOptions: {
auto ptr = reinterpret_cast<const tflite::BucketizeOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_GeluOptions: {
auto ptr = reinterpret_cast<const tflite::GeluOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_DynamicUpdateSliceOptions: {
auto ptr = reinterpret_cast<const tflite::DynamicUpdateSliceOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_UnsortedSegmentProdOptions: {
auto ptr = reinterpret_cast<const tflite::UnsortedSegmentProdOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_UnsortedSegmentMaxOptions: {
auto ptr = reinterpret_cast<const tflite::UnsortedSegmentMaxOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_UnsortedSegmentMinOptions: {
auto ptr = reinterpret_cast<const tflite::UnsortedSegmentMinOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_UnsortedSegmentSumOptions: {
auto ptr = reinterpret_cast<const tflite::UnsortedSegmentSumOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_ATan2Options: {
auto ptr = reinterpret_cast<const tflite::ATan2Options *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_SignOptions: {
auto ptr = reinterpret_cast<const tflite::SignOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_BitcastOptions: {
auto ptr = reinterpret_cast<const tflite::BitcastOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_BitwiseXorOptions: {
auto ptr = reinterpret_cast<const tflite::BitwiseXorOptions *>(obj);
return verifier.VerifyTable(ptr);
}
case BuiltinOptions_RightShiftOptions: {
auto ptr = reinterpret_cast<const tflite::RightShiftOptions *>(obj);
return verifier.VerifyTable(ptr);
}
default: return true;
}
}
inline bool VerifyBuiltinOptionsVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset<void>> *values, const ::flatbuffers::Vector<uint8_t> *types) {
if (!values || !types) return !values && !types;
if (values->size() != types->size()) return false;
for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
if (!VerifyBuiltinOptions(
verifier, values->Get(i), types->GetEnum<BuiltinOptions>(i))) {
return false;
}
}
return true;
}
inline void *BuiltinOptionsUnion::UnPack(const void *obj, BuiltinOptions type, const ::flatbuffers::resolver_function_t *resolver) {
(void)resolver;
switch (type) {
case BuiltinOptions_Conv2DOptions: {
auto ptr = reinterpret_cast<const tflite::Conv2DOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_DepthwiseConv2DOptions: {
auto ptr = reinterpret_cast<const tflite::DepthwiseConv2DOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ConcatEmbeddingsOptions: {
auto ptr = reinterpret_cast<const tflite::ConcatEmbeddingsOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_LSHProjectionOptions: {
auto ptr = reinterpret_cast<const tflite::LSHProjectionOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_Pool2DOptions: {
auto ptr = reinterpret_cast<const tflite::Pool2DOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SVDFOptions: {
auto ptr = reinterpret_cast<const tflite::SVDFOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_RNNOptions: {
auto ptr = reinterpret_cast<const tflite::RNNOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_FullyConnectedOptions: {
auto ptr = reinterpret_cast<const tflite::FullyConnectedOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SoftmaxOptions: {
auto ptr = reinterpret_cast<const tflite::SoftmaxOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ConcatenationOptions: {
auto ptr = reinterpret_cast<const tflite::ConcatenationOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_AddOptions: {
auto ptr = reinterpret_cast<const tflite::AddOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_L2NormOptions: {
auto ptr = reinterpret_cast<const tflite::L2NormOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_LocalResponseNormalizationOptions: {
auto ptr = reinterpret_cast<const tflite::LocalResponseNormalizationOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_LSTMOptions: {
auto ptr = reinterpret_cast<const tflite::LSTMOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ResizeBilinearOptions: {
auto ptr = reinterpret_cast<const tflite::ResizeBilinearOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_CallOptions: {
auto ptr = reinterpret_cast<const tflite::CallOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ReshapeOptions: {
auto ptr = reinterpret_cast<const tflite::ReshapeOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SkipGramOptions: {
auto ptr = reinterpret_cast<const tflite::SkipGramOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SpaceToDepthOptions: {
auto ptr = reinterpret_cast<const tflite::SpaceToDepthOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_EmbeddingLookupSparseOptions: {
auto ptr = reinterpret_cast<const tflite::EmbeddingLookupSparseOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_MulOptions: {
auto ptr = reinterpret_cast<const tflite::MulOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_PadOptions: {
auto ptr = reinterpret_cast<const tflite::PadOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_GatherOptions: {
auto ptr = reinterpret_cast<const tflite::GatherOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_BatchToSpaceNDOptions: {
auto ptr = reinterpret_cast<const tflite::BatchToSpaceNDOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SpaceToBatchNDOptions: {
auto ptr = reinterpret_cast<const tflite::SpaceToBatchNDOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_TransposeOptions: {
auto ptr = reinterpret_cast<const tflite::TransposeOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ReducerOptions: {
auto ptr = reinterpret_cast<const tflite::ReducerOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SubOptions: {
auto ptr = reinterpret_cast<const tflite::SubOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_DivOptions: {
auto ptr = reinterpret_cast<const tflite::DivOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SqueezeOptions: {
auto ptr = reinterpret_cast<const tflite::SqueezeOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SequenceRNNOptions: {
auto ptr = reinterpret_cast<const tflite::SequenceRNNOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_StridedSliceOptions: {
auto ptr = reinterpret_cast<const tflite::StridedSliceOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ExpOptions: {
auto ptr = reinterpret_cast<const tflite::ExpOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_TopKV2Options: {
auto ptr = reinterpret_cast<const tflite::TopKV2Options *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SplitOptions: {
auto ptr = reinterpret_cast<const tflite::SplitOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_LogSoftmaxOptions: {
auto ptr = reinterpret_cast<const tflite::LogSoftmaxOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_CastOptions: {
auto ptr = reinterpret_cast<const tflite::CastOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_DequantizeOptions: {
auto ptr = reinterpret_cast<const tflite::DequantizeOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_MaximumMinimumOptions: {
auto ptr = reinterpret_cast<const tflite::MaximumMinimumOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ArgMaxOptions: {
auto ptr = reinterpret_cast<const tflite::ArgMaxOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_LessOptions: {
auto ptr = reinterpret_cast<const tflite::LessOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_NegOptions: {
auto ptr = reinterpret_cast<const tflite::NegOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_PadV2Options: {
auto ptr = reinterpret_cast<const tflite::PadV2Options *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_GreaterOptions: {
auto ptr = reinterpret_cast<const tflite::GreaterOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_GreaterEqualOptions: {
auto ptr = reinterpret_cast<const tflite::GreaterEqualOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_LessEqualOptions: {
auto ptr = reinterpret_cast<const tflite::LessEqualOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SelectOptions: {
auto ptr = reinterpret_cast<const tflite::SelectOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SliceOptions: {
auto ptr = reinterpret_cast<const tflite::SliceOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_TransposeConvOptions: {
auto ptr = reinterpret_cast<const tflite::TransposeConvOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SparseToDenseOptions: {
auto ptr = reinterpret_cast<const tflite::SparseToDenseOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_TileOptions: {
auto ptr = reinterpret_cast<const tflite::TileOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ExpandDimsOptions: {
auto ptr = reinterpret_cast<const tflite::ExpandDimsOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_EqualOptions: {
auto ptr = reinterpret_cast<const tflite::EqualOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_NotEqualOptions: {
auto ptr = reinterpret_cast<const tflite::NotEqualOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ShapeOptions: {
auto ptr = reinterpret_cast<const tflite::ShapeOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_PowOptions: {
auto ptr = reinterpret_cast<const tflite::PowOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ArgMinOptions: {
auto ptr = reinterpret_cast<const tflite::ArgMinOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_FakeQuantOptions: {
auto ptr = reinterpret_cast<const tflite::FakeQuantOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_PackOptions: {
auto ptr = reinterpret_cast<const tflite::PackOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_LogicalOrOptions: {
auto ptr = reinterpret_cast<const tflite::LogicalOrOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_OneHotOptions: {
auto ptr = reinterpret_cast<const tflite::OneHotOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_LogicalAndOptions: {
auto ptr = reinterpret_cast<const tflite::LogicalAndOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_LogicalNotOptions: {
auto ptr = reinterpret_cast<const tflite::LogicalNotOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_UnpackOptions: {
auto ptr = reinterpret_cast<const tflite::UnpackOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_FloorDivOptions: {
auto ptr = reinterpret_cast<const tflite::FloorDivOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SquareOptions: {
auto ptr = reinterpret_cast<const tflite::SquareOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ZerosLikeOptions: {
auto ptr = reinterpret_cast<const tflite::ZerosLikeOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_FillOptions: {
auto ptr = reinterpret_cast<const tflite::FillOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_BidirectionalSequenceLSTMOptions: {
auto ptr = reinterpret_cast<const tflite::BidirectionalSequenceLSTMOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_BidirectionalSequenceRNNOptions: {
auto ptr = reinterpret_cast<const tflite::BidirectionalSequenceRNNOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_UnidirectionalSequenceLSTMOptions: {
auto ptr = reinterpret_cast<const tflite::UnidirectionalSequenceLSTMOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_FloorModOptions: {
auto ptr = reinterpret_cast<const tflite::FloorModOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_RangeOptions: {
auto ptr = reinterpret_cast<const tflite::RangeOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ResizeNearestNeighborOptions: {
auto ptr = reinterpret_cast<const tflite::ResizeNearestNeighborOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_LeakyReluOptions: {
auto ptr = reinterpret_cast<const tflite::LeakyReluOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SquaredDifferenceOptions: {
auto ptr = reinterpret_cast<const tflite::SquaredDifferenceOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_MirrorPadOptions: {
auto ptr = reinterpret_cast<const tflite::MirrorPadOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_AbsOptions: {
auto ptr = reinterpret_cast<const tflite::AbsOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SplitVOptions: {
auto ptr = reinterpret_cast<const tflite::SplitVOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_UniqueOptions: {
auto ptr = reinterpret_cast<const tflite::UniqueOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ReverseV2Options: {
auto ptr = reinterpret_cast<const tflite::ReverseV2Options *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_AddNOptions: {
auto ptr = reinterpret_cast<const tflite::AddNOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_GatherNdOptions: {
auto ptr = reinterpret_cast<const tflite::GatherNdOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_CosOptions: {
auto ptr = reinterpret_cast<const tflite::CosOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_WhereOptions: {
auto ptr = reinterpret_cast<const tflite::WhereOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_RankOptions: {
auto ptr = reinterpret_cast<const tflite::RankOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ReverseSequenceOptions: {
auto ptr = reinterpret_cast<const tflite::ReverseSequenceOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_MatrixDiagOptions: {
auto ptr = reinterpret_cast<const tflite::MatrixDiagOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_QuantizeOptions: {
auto ptr = reinterpret_cast<const tflite::QuantizeOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_MatrixSetDiagOptions: {
auto ptr = reinterpret_cast<const tflite::MatrixSetDiagOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_HardSwishOptions: {
auto ptr = reinterpret_cast<const tflite::HardSwishOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_IfOptions: {
auto ptr = reinterpret_cast<const tflite::IfOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_WhileOptions: {
auto ptr = reinterpret_cast<const tflite::WhileOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_DepthToSpaceOptions: {
auto ptr = reinterpret_cast<const tflite::DepthToSpaceOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_NonMaxSuppressionV4Options: {
auto ptr = reinterpret_cast<const tflite::NonMaxSuppressionV4Options *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_NonMaxSuppressionV5Options: {
auto ptr = reinterpret_cast<const tflite::NonMaxSuppressionV5Options *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ScatterNdOptions: {
auto ptr = reinterpret_cast<const tflite::ScatterNdOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SelectV2Options: {
auto ptr = reinterpret_cast<const tflite::SelectV2Options *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_DensifyOptions: {
auto ptr = reinterpret_cast<const tflite::DensifyOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SegmentSumOptions: {
auto ptr = reinterpret_cast<const tflite::SegmentSumOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_BatchMatMulOptions: {
auto ptr = reinterpret_cast<const tflite::BatchMatMulOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_CumsumOptions: {
auto ptr = reinterpret_cast<const tflite::CumsumOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_CallOnceOptions: {
auto ptr = reinterpret_cast<const tflite::CallOnceOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_BroadcastToOptions: {
auto ptr = reinterpret_cast<const tflite::BroadcastToOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_Rfft2dOptions: {
auto ptr = reinterpret_cast<const tflite::Rfft2dOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_Conv3DOptions: {
auto ptr = reinterpret_cast<const tflite::Conv3DOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_HashtableOptions: {
auto ptr = reinterpret_cast<const tflite::HashtableOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_HashtableFindOptions: {
auto ptr = reinterpret_cast<const tflite::HashtableFindOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_HashtableImportOptions: {
auto ptr = reinterpret_cast<const tflite::HashtableImportOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_HashtableSizeOptions: {
auto ptr = reinterpret_cast<const tflite::HashtableSizeOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_VarHandleOptions: {
auto ptr = reinterpret_cast<const tflite::VarHandleOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ReadVariableOptions: {
auto ptr = reinterpret_cast<const tflite::ReadVariableOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_AssignVariableOptions: {
auto ptr = reinterpret_cast<const tflite::AssignVariableOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_RandomOptions: {
auto ptr = reinterpret_cast<const tflite::RandomOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_BucketizeOptions: {
auto ptr = reinterpret_cast<const tflite::BucketizeOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_GeluOptions: {
auto ptr = reinterpret_cast<const tflite::GeluOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_DynamicUpdateSliceOptions: {
auto ptr = reinterpret_cast<const tflite::DynamicUpdateSliceOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_UnsortedSegmentProdOptions: {
auto ptr = reinterpret_cast<const tflite::UnsortedSegmentProdOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_UnsortedSegmentMaxOptions: {
auto ptr = reinterpret_cast<const tflite::UnsortedSegmentMaxOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_UnsortedSegmentMinOptions: {
auto ptr = reinterpret_cast<const tflite::UnsortedSegmentMinOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_UnsortedSegmentSumOptions: {
auto ptr = reinterpret_cast<const tflite::UnsortedSegmentSumOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_ATan2Options: {
auto ptr = reinterpret_cast<const tflite::ATan2Options *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_SignOptions: {
auto ptr = reinterpret_cast<const tflite::SignOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_BitcastOptions: {
auto ptr = reinterpret_cast<const tflite::BitcastOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_BitwiseXorOptions: {
auto ptr = reinterpret_cast<const tflite::BitwiseXorOptions *>(obj);
return ptr->UnPack(resolver);
}
case BuiltinOptions_RightShiftOptions: {
auto ptr = reinterpret_cast<const tflite::RightShiftOptions *>(obj);
return ptr->UnPack(resolver);
}
default: return nullptr;
}
}
inline ::flatbuffers::Offset<void> BuiltinOptionsUnion::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ::flatbuffers::rehasher_function_t *_rehasher) const {
(void)_rehasher;
switch (type) {
case BuiltinOptions_Conv2DOptions: {
auto ptr = reinterpret_cast<const tflite::Conv2DOptionsT *>(value);
return CreateConv2DOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_DepthwiseConv2DOptions: {
auto ptr = reinterpret_cast<const tflite::DepthwiseConv2DOptionsT *>(value);
return CreateDepthwiseConv2DOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ConcatEmbeddingsOptions: {
auto ptr = reinterpret_cast<const tflite::ConcatEmbeddingsOptionsT *>(value);
return CreateConcatEmbeddingsOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_LSHProjectionOptions: {
auto ptr = reinterpret_cast<const tflite::LSHProjectionOptionsT *>(value);
return CreateLSHProjectionOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_Pool2DOptions: {
auto ptr = reinterpret_cast<const tflite::Pool2DOptionsT *>(value);
return CreatePool2DOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SVDFOptions: {
auto ptr = reinterpret_cast<const tflite::SVDFOptionsT *>(value);
return CreateSVDFOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_RNNOptions: {
auto ptr = reinterpret_cast<const tflite::RNNOptionsT *>(value);
return CreateRNNOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_FullyConnectedOptions: {
auto ptr = reinterpret_cast<const tflite::FullyConnectedOptionsT *>(value);
return CreateFullyConnectedOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SoftmaxOptions: {
auto ptr = reinterpret_cast<const tflite::SoftmaxOptionsT *>(value);
return CreateSoftmaxOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ConcatenationOptions: {
auto ptr = reinterpret_cast<const tflite::ConcatenationOptionsT *>(value);
return CreateConcatenationOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_AddOptions: {
auto ptr = reinterpret_cast<const tflite::AddOptionsT *>(value);
return CreateAddOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_L2NormOptions: {
auto ptr = reinterpret_cast<const tflite::L2NormOptionsT *>(value);
return CreateL2NormOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_LocalResponseNormalizationOptions: {
auto ptr = reinterpret_cast<const tflite::LocalResponseNormalizationOptionsT *>(value);
return CreateLocalResponseNormalizationOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_LSTMOptions: {
auto ptr = reinterpret_cast<const tflite::LSTMOptionsT *>(value);
return CreateLSTMOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ResizeBilinearOptions: {
auto ptr = reinterpret_cast<const tflite::ResizeBilinearOptionsT *>(value);
return CreateResizeBilinearOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_CallOptions: {
auto ptr = reinterpret_cast<const tflite::CallOptionsT *>(value);
return CreateCallOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ReshapeOptions: {
auto ptr = reinterpret_cast<const tflite::ReshapeOptionsT *>(value);
return CreateReshapeOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SkipGramOptions: {
auto ptr = reinterpret_cast<const tflite::SkipGramOptionsT *>(value);
return CreateSkipGramOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SpaceToDepthOptions: {
auto ptr = reinterpret_cast<const tflite::SpaceToDepthOptionsT *>(value);
return CreateSpaceToDepthOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_EmbeddingLookupSparseOptions: {
auto ptr = reinterpret_cast<const tflite::EmbeddingLookupSparseOptionsT *>(value);
return CreateEmbeddingLookupSparseOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_MulOptions: {
auto ptr = reinterpret_cast<const tflite::MulOptionsT *>(value);
return CreateMulOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_PadOptions: {
auto ptr = reinterpret_cast<const tflite::PadOptionsT *>(value);
return CreatePadOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_GatherOptions: {
auto ptr = reinterpret_cast<const tflite::GatherOptionsT *>(value);
return CreateGatherOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_BatchToSpaceNDOptions: {
auto ptr = reinterpret_cast<const tflite::BatchToSpaceNDOptionsT *>(value);
return CreateBatchToSpaceNDOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SpaceToBatchNDOptions: {
auto ptr = reinterpret_cast<const tflite::SpaceToBatchNDOptionsT *>(value);
return CreateSpaceToBatchNDOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_TransposeOptions: {
auto ptr = reinterpret_cast<const tflite::TransposeOptionsT *>(value);
return CreateTransposeOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ReducerOptions: {
auto ptr = reinterpret_cast<const tflite::ReducerOptionsT *>(value);
return CreateReducerOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SubOptions: {
auto ptr = reinterpret_cast<const tflite::SubOptionsT *>(value);
return CreateSubOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_DivOptions: {
auto ptr = reinterpret_cast<const tflite::DivOptionsT *>(value);
return CreateDivOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SqueezeOptions: {
auto ptr = reinterpret_cast<const tflite::SqueezeOptionsT *>(value);
return CreateSqueezeOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SequenceRNNOptions: {
auto ptr = reinterpret_cast<const tflite::SequenceRNNOptionsT *>(value);
return CreateSequenceRNNOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_StridedSliceOptions: {
auto ptr = reinterpret_cast<const tflite::StridedSliceOptionsT *>(value);
return CreateStridedSliceOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ExpOptions: {
auto ptr = reinterpret_cast<const tflite::ExpOptionsT *>(value);
return CreateExpOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_TopKV2Options: {
auto ptr = reinterpret_cast<const tflite::TopKV2OptionsT *>(value);
return CreateTopKV2Options(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SplitOptions: {
auto ptr = reinterpret_cast<const tflite::SplitOptionsT *>(value);
return CreateSplitOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_LogSoftmaxOptions: {
auto ptr = reinterpret_cast<const tflite::LogSoftmaxOptionsT *>(value);
return CreateLogSoftmaxOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_CastOptions: {
auto ptr = reinterpret_cast<const tflite::CastOptionsT *>(value);
return CreateCastOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_DequantizeOptions: {
auto ptr = reinterpret_cast<const tflite::DequantizeOptionsT *>(value);
return CreateDequantizeOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_MaximumMinimumOptions: {
auto ptr = reinterpret_cast<const tflite::MaximumMinimumOptionsT *>(value);
return CreateMaximumMinimumOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ArgMaxOptions: {
auto ptr = reinterpret_cast<const tflite::ArgMaxOptionsT *>(value);
return CreateArgMaxOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_LessOptions: {
auto ptr = reinterpret_cast<const tflite::LessOptionsT *>(value);
return CreateLessOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_NegOptions: {
auto ptr = reinterpret_cast<const tflite::NegOptionsT *>(value);
return CreateNegOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_PadV2Options: {
auto ptr = reinterpret_cast<const tflite::PadV2OptionsT *>(value);
return CreatePadV2Options(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_GreaterOptions: {
auto ptr = reinterpret_cast<const tflite::GreaterOptionsT *>(value);
return CreateGreaterOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_GreaterEqualOptions: {
auto ptr = reinterpret_cast<const tflite::GreaterEqualOptionsT *>(value);
return CreateGreaterEqualOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_LessEqualOptions: {
auto ptr = reinterpret_cast<const tflite::LessEqualOptionsT *>(value);
return CreateLessEqualOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SelectOptions: {
auto ptr = reinterpret_cast<const tflite::SelectOptionsT *>(value);
return CreateSelectOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SliceOptions: {
auto ptr = reinterpret_cast<const tflite::SliceOptionsT *>(value);
return CreateSliceOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_TransposeConvOptions: {
auto ptr = reinterpret_cast<const tflite::TransposeConvOptionsT *>(value);
return CreateTransposeConvOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SparseToDenseOptions: {
auto ptr = reinterpret_cast<const tflite::SparseToDenseOptionsT *>(value);
return CreateSparseToDenseOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_TileOptions: {
auto ptr = reinterpret_cast<const tflite::TileOptionsT *>(value);
return CreateTileOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ExpandDimsOptions: {
auto ptr = reinterpret_cast<const tflite::ExpandDimsOptionsT *>(value);
return CreateExpandDimsOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_EqualOptions: {
auto ptr = reinterpret_cast<const tflite::EqualOptionsT *>(value);
return CreateEqualOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_NotEqualOptions: {
auto ptr = reinterpret_cast<const tflite::NotEqualOptionsT *>(value);
return CreateNotEqualOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ShapeOptions: {
auto ptr = reinterpret_cast<const tflite::ShapeOptionsT *>(value);
return CreateShapeOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_PowOptions: {
auto ptr = reinterpret_cast<const tflite::PowOptionsT *>(value);
return CreatePowOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ArgMinOptions: {
auto ptr = reinterpret_cast<const tflite::ArgMinOptionsT *>(value);
return CreateArgMinOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_FakeQuantOptions: {
auto ptr = reinterpret_cast<const tflite::FakeQuantOptionsT *>(value);
return CreateFakeQuantOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_PackOptions: {
auto ptr = reinterpret_cast<const tflite::PackOptionsT *>(value);
return CreatePackOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_LogicalOrOptions: {
auto ptr = reinterpret_cast<const tflite::LogicalOrOptionsT *>(value);
return CreateLogicalOrOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_OneHotOptions: {
auto ptr = reinterpret_cast<const tflite::OneHotOptionsT *>(value);
return CreateOneHotOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_LogicalAndOptions: {
auto ptr = reinterpret_cast<const tflite::LogicalAndOptionsT *>(value);
return CreateLogicalAndOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_LogicalNotOptions: {
auto ptr = reinterpret_cast<const tflite::LogicalNotOptionsT *>(value);
return CreateLogicalNotOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_UnpackOptions: {
auto ptr = reinterpret_cast<const tflite::UnpackOptionsT *>(value);
return CreateUnpackOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_FloorDivOptions: {
auto ptr = reinterpret_cast<const tflite::FloorDivOptionsT *>(value);
return CreateFloorDivOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SquareOptions: {
auto ptr = reinterpret_cast<const tflite::SquareOptionsT *>(value);
return CreateSquareOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ZerosLikeOptions: {
auto ptr = reinterpret_cast<const tflite::ZerosLikeOptionsT *>(value);
return CreateZerosLikeOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_FillOptions: {
auto ptr = reinterpret_cast<const tflite::FillOptionsT *>(value);
return CreateFillOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_BidirectionalSequenceLSTMOptions: {
auto ptr = reinterpret_cast<const tflite::BidirectionalSequenceLSTMOptionsT *>(value);
return CreateBidirectionalSequenceLSTMOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_BidirectionalSequenceRNNOptions: {
auto ptr = reinterpret_cast<const tflite::BidirectionalSequenceRNNOptionsT *>(value);
return CreateBidirectionalSequenceRNNOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_UnidirectionalSequenceLSTMOptions: {
auto ptr = reinterpret_cast<const tflite::UnidirectionalSequenceLSTMOptionsT *>(value);
return CreateUnidirectionalSequenceLSTMOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_FloorModOptions: {
auto ptr = reinterpret_cast<const tflite::FloorModOptionsT *>(value);
return CreateFloorModOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_RangeOptions: {
auto ptr = reinterpret_cast<const tflite::RangeOptionsT *>(value);
return CreateRangeOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ResizeNearestNeighborOptions: {
auto ptr = reinterpret_cast<const tflite::ResizeNearestNeighborOptionsT *>(value);
return CreateResizeNearestNeighborOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_LeakyReluOptions: {
auto ptr = reinterpret_cast<const tflite::LeakyReluOptionsT *>(value);
return CreateLeakyReluOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SquaredDifferenceOptions: {
auto ptr = reinterpret_cast<const tflite::SquaredDifferenceOptionsT *>(value);
return CreateSquaredDifferenceOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_MirrorPadOptions: {
auto ptr = reinterpret_cast<const tflite::MirrorPadOptionsT *>(value);
return CreateMirrorPadOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_AbsOptions: {
auto ptr = reinterpret_cast<const tflite::AbsOptionsT *>(value);
return CreateAbsOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SplitVOptions: {
auto ptr = reinterpret_cast<const tflite::SplitVOptionsT *>(value);
return CreateSplitVOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_UniqueOptions: {
auto ptr = reinterpret_cast<const tflite::UniqueOptionsT *>(value);
return CreateUniqueOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ReverseV2Options: {
auto ptr = reinterpret_cast<const tflite::ReverseV2OptionsT *>(value);
return CreateReverseV2Options(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_AddNOptions: {
auto ptr = reinterpret_cast<const tflite::AddNOptionsT *>(value);
return CreateAddNOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_GatherNdOptions: {
auto ptr = reinterpret_cast<const tflite::GatherNdOptionsT *>(value);
return CreateGatherNdOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_CosOptions: {
auto ptr = reinterpret_cast<const tflite::CosOptionsT *>(value);
return CreateCosOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_WhereOptions: {
auto ptr = reinterpret_cast<const tflite::WhereOptionsT *>(value);
return CreateWhereOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_RankOptions: {
auto ptr = reinterpret_cast<const tflite::RankOptionsT *>(value);
return CreateRankOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ReverseSequenceOptions: {
auto ptr = reinterpret_cast<const tflite::ReverseSequenceOptionsT *>(value);
return CreateReverseSequenceOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_MatrixDiagOptions: {
auto ptr = reinterpret_cast<const tflite::MatrixDiagOptionsT *>(value);
return CreateMatrixDiagOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_QuantizeOptions: {
auto ptr = reinterpret_cast<const tflite::QuantizeOptionsT *>(value);
return CreateQuantizeOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_MatrixSetDiagOptions: {
auto ptr = reinterpret_cast<const tflite::MatrixSetDiagOptionsT *>(value);
return CreateMatrixSetDiagOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_HardSwishOptions: {
auto ptr = reinterpret_cast<const tflite::HardSwishOptionsT *>(value);
return CreateHardSwishOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_IfOptions: {
auto ptr = reinterpret_cast<const tflite::IfOptionsT *>(value);
return CreateIfOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_WhileOptions: {
auto ptr = reinterpret_cast<const tflite::WhileOptionsT *>(value);
return CreateWhileOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_DepthToSpaceOptions: {
auto ptr = reinterpret_cast<const tflite::DepthToSpaceOptionsT *>(value);
return CreateDepthToSpaceOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_NonMaxSuppressionV4Options: {
auto ptr = reinterpret_cast<const tflite::NonMaxSuppressionV4OptionsT *>(value);
return CreateNonMaxSuppressionV4Options(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_NonMaxSuppressionV5Options: {
auto ptr = reinterpret_cast<const tflite::NonMaxSuppressionV5OptionsT *>(value);
return CreateNonMaxSuppressionV5Options(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ScatterNdOptions: {
auto ptr = reinterpret_cast<const tflite::ScatterNdOptionsT *>(value);
return CreateScatterNdOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SelectV2Options: {
auto ptr = reinterpret_cast<const tflite::SelectV2OptionsT *>(value);
return CreateSelectV2Options(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_DensifyOptions: {
auto ptr = reinterpret_cast<const tflite::DensifyOptionsT *>(value);
return CreateDensifyOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SegmentSumOptions: {
auto ptr = reinterpret_cast<const tflite::SegmentSumOptionsT *>(value);
return CreateSegmentSumOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_BatchMatMulOptions: {
auto ptr = reinterpret_cast<const tflite::BatchMatMulOptionsT *>(value);
return CreateBatchMatMulOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_CumsumOptions: {
auto ptr = reinterpret_cast<const tflite::CumsumOptionsT *>(value);
return CreateCumsumOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_CallOnceOptions: {
auto ptr = reinterpret_cast<const tflite::CallOnceOptionsT *>(value);
return CreateCallOnceOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_BroadcastToOptions: {
auto ptr = reinterpret_cast<const tflite::BroadcastToOptionsT *>(value);
return CreateBroadcastToOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_Rfft2dOptions: {
auto ptr = reinterpret_cast<const tflite::Rfft2dOptionsT *>(value);
return CreateRfft2dOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_Conv3DOptions: {
auto ptr = reinterpret_cast<const tflite::Conv3DOptionsT *>(value);
return CreateConv3DOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_HashtableOptions: {
auto ptr = reinterpret_cast<const tflite::HashtableOptionsT *>(value);
return CreateHashtableOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_HashtableFindOptions: {
auto ptr = reinterpret_cast<const tflite::HashtableFindOptionsT *>(value);
return CreateHashtableFindOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_HashtableImportOptions: {
auto ptr = reinterpret_cast<const tflite::HashtableImportOptionsT *>(value);
return CreateHashtableImportOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_HashtableSizeOptions: {
auto ptr = reinterpret_cast<const tflite::HashtableSizeOptionsT *>(value);
return CreateHashtableSizeOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_VarHandleOptions: {
auto ptr = reinterpret_cast<const tflite::VarHandleOptionsT *>(value);
return CreateVarHandleOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ReadVariableOptions: {
auto ptr = reinterpret_cast<const tflite::ReadVariableOptionsT *>(value);
return CreateReadVariableOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_AssignVariableOptions: {
auto ptr = reinterpret_cast<const tflite::AssignVariableOptionsT *>(value);
return CreateAssignVariableOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_RandomOptions: {
auto ptr = reinterpret_cast<const tflite::RandomOptionsT *>(value);
return CreateRandomOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_BucketizeOptions: {
auto ptr = reinterpret_cast<const tflite::BucketizeOptionsT *>(value);
return CreateBucketizeOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_GeluOptions: {
auto ptr = reinterpret_cast<const tflite::GeluOptionsT *>(value);
return CreateGeluOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_DynamicUpdateSliceOptions: {
auto ptr = reinterpret_cast<const tflite::DynamicUpdateSliceOptionsT *>(value);
return CreateDynamicUpdateSliceOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_UnsortedSegmentProdOptions: {
auto ptr = reinterpret_cast<const tflite::UnsortedSegmentProdOptionsT *>(value);
return CreateUnsortedSegmentProdOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_UnsortedSegmentMaxOptions: {
auto ptr = reinterpret_cast<const tflite::UnsortedSegmentMaxOptionsT *>(value);
return CreateUnsortedSegmentMaxOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_UnsortedSegmentMinOptions: {
auto ptr = reinterpret_cast<const tflite::UnsortedSegmentMinOptionsT *>(value);
return CreateUnsortedSegmentMinOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_UnsortedSegmentSumOptions: {
auto ptr = reinterpret_cast<const tflite::UnsortedSegmentSumOptionsT *>(value);
return CreateUnsortedSegmentSumOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_ATan2Options: {
auto ptr = reinterpret_cast<const tflite::ATan2OptionsT *>(value);
return CreateATan2Options(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_SignOptions: {
auto ptr = reinterpret_cast<const tflite::SignOptionsT *>(value);
return CreateSignOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_BitcastOptions: {
auto ptr = reinterpret_cast<const tflite::BitcastOptionsT *>(value);
return CreateBitcastOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_BitwiseXorOptions: {
auto ptr = reinterpret_cast<const tflite::BitwiseXorOptionsT *>(value);
return CreateBitwiseXorOptions(_fbb, ptr, _rehasher).Union();
}
case BuiltinOptions_RightShiftOptions: {
auto ptr = reinterpret_cast<const tflite::RightShiftOptionsT *>(value);
return CreateRightShiftOptions(_fbb, ptr, _rehasher).Union();
}
default: return 0;
}
}
inline BuiltinOptionsUnion::BuiltinOptionsUnion(const BuiltinOptionsUnion &u) : type(u.type), value(nullptr) {
switch (type) {
case BuiltinOptions_Conv2DOptions: {
value = new tflite::Conv2DOptionsT(*reinterpret_cast<tflite::Conv2DOptionsT *>(u.value));
break;
}
case BuiltinOptions_DepthwiseConv2DOptions: {
value = new tflite::DepthwiseConv2DOptionsT(*reinterpret_cast<tflite::DepthwiseConv2DOptionsT *>(u.value));
break;
}
case BuiltinOptions_ConcatEmbeddingsOptions: {
value = new tflite::ConcatEmbeddingsOptionsT(*reinterpret_cast<tflite::ConcatEmbeddingsOptionsT *>(u.value));
break;
}
case BuiltinOptions_LSHProjectionOptions: {
value = new tflite::LSHProjectionOptionsT(*reinterpret_cast<tflite::LSHProjectionOptionsT *>(u.value));
break;
}
case BuiltinOptions_Pool2DOptions: {
value = new tflite::Pool2DOptionsT(*reinterpret_cast<tflite::Pool2DOptionsT *>(u.value));
break;
}
case BuiltinOptions_SVDFOptions: {
value = new tflite::SVDFOptionsT(*reinterpret_cast<tflite::SVDFOptionsT *>(u.value));
break;
}
case BuiltinOptions_RNNOptions: {
value = new tflite::RNNOptionsT(*reinterpret_cast<tflite::RNNOptionsT *>(u.value));
break;
}
case BuiltinOptions_FullyConnectedOptions: {
value = new tflite::FullyConnectedOptionsT(*reinterpret_cast<tflite::FullyConnectedOptionsT *>(u.value));
break;
}
case BuiltinOptions_SoftmaxOptions: {
value = new tflite::SoftmaxOptionsT(*reinterpret_cast<tflite::SoftmaxOptionsT *>(u.value));
break;
}
case BuiltinOptions_ConcatenationOptions: {
value = new tflite::ConcatenationOptionsT(*reinterpret_cast<tflite::ConcatenationOptionsT *>(u.value));
break;
}
case BuiltinOptions_AddOptions: {
value = new tflite::AddOptionsT(*reinterpret_cast<tflite::AddOptionsT *>(u.value));
break;
}
case BuiltinOptions_L2NormOptions: {
value = new tflite::L2NormOptionsT(*reinterpret_cast<tflite::L2NormOptionsT *>(u.value));
break;
}
case BuiltinOptions_LocalResponseNormalizationOptions: {
value = new tflite::LocalResponseNormalizationOptionsT(*reinterpret_cast<tflite::LocalResponseNormalizationOptionsT *>(u.value));
break;
}
case BuiltinOptions_LSTMOptions: {
value = new tflite::LSTMOptionsT(*reinterpret_cast<tflite::LSTMOptionsT *>(u.value));
break;
}
case BuiltinOptions_ResizeBilinearOptions: {
value = new tflite::ResizeBilinearOptionsT(*reinterpret_cast<tflite::ResizeBilinearOptionsT *>(u.value));
break;
}
case BuiltinOptions_CallOptions: {
value = new tflite::CallOptionsT(*reinterpret_cast<tflite::CallOptionsT *>(u.value));
break;
}
case BuiltinOptions_ReshapeOptions: {
value = new tflite::ReshapeOptionsT(*reinterpret_cast<tflite::ReshapeOptionsT *>(u.value));
break;
}
case BuiltinOptions_SkipGramOptions: {
value = new tflite::SkipGramOptionsT(*reinterpret_cast<tflite::SkipGramOptionsT *>(u.value));
break;
}
case BuiltinOptions_SpaceToDepthOptions: {
value = new tflite::SpaceToDepthOptionsT(*reinterpret_cast<tflite::SpaceToDepthOptionsT *>(u.value));
break;
}
case BuiltinOptions_EmbeddingLookupSparseOptions: {
value = new tflite::EmbeddingLookupSparseOptionsT(*reinterpret_cast<tflite::EmbeddingLookupSparseOptionsT *>(u.value));
break;
}
case BuiltinOptions_MulOptions: {
value = new tflite::MulOptionsT(*reinterpret_cast<tflite::MulOptionsT *>(u.value));
break;
}
case BuiltinOptions_PadOptions: {
value = new tflite::PadOptionsT(*reinterpret_cast<tflite::PadOptionsT *>(u.value));
break;
}
case BuiltinOptions_GatherOptions: {
value = new tflite::GatherOptionsT(*reinterpret_cast<tflite::GatherOptionsT *>(u.value));
break;
}
case BuiltinOptions_BatchToSpaceNDOptions: {
value = new tflite::BatchToSpaceNDOptionsT(*reinterpret_cast<tflite::BatchToSpaceNDOptionsT *>(u.value));
break;
}
case BuiltinOptions_SpaceToBatchNDOptions: {
value = new tflite::SpaceToBatchNDOptionsT(*reinterpret_cast<tflite::SpaceToBatchNDOptionsT *>(u.value));
break;
}
case BuiltinOptions_TransposeOptions: {
value = new tflite::TransposeOptionsT(*reinterpret_cast<tflite::TransposeOptionsT *>(u.value));
break;
}
case BuiltinOptions_ReducerOptions: {
value = new tflite::ReducerOptionsT(*reinterpret_cast<tflite::ReducerOptionsT *>(u.value));
break;
}
case BuiltinOptions_SubOptions: {
value = new tflite::SubOptionsT(*reinterpret_cast<tflite::SubOptionsT *>(u.value));
break;
}
case BuiltinOptions_DivOptions: {
value = new tflite::DivOptionsT(*reinterpret_cast<tflite::DivOptionsT *>(u.value));
break;
}
case BuiltinOptions_SqueezeOptions: {
value = new tflite::SqueezeOptionsT(*reinterpret_cast<tflite::SqueezeOptionsT *>(u.value));
break;
}
case BuiltinOptions_SequenceRNNOptions: {
value = new tflite::SequenceRNNOptionsT(*reinterpret_cast<tflite::SequenceRNNOptionsT *>(u.value));
break;
}
case BuiltinOptions_StridedSliceOptions: {
value = new tflite::StridedSliceOptionsT(*reinterpret_cast<tflite::StridedSliceOptionsT *>(u.value));
break;
}
case BuiltinOptions_ExpOptions: {
value = new tflite::ExpOptionsT(*reinterpret_cast<tflite::ExpOptionsT *>(u.value));
break;
}
case BuiltinOptions_TopKV2Options: {
value = new tflite::TopKV2OptionsT(*reinterpret_cast<tflite::TopKV2OptionsT *>(u.value));
break;
}
case BuiltinOptions_SplitOptions: {
value = new tflite::SplitOptionsT(*reinterpret_cast<tflite::SplitOptionsT *>(u.value));
break;
}
case BuiltinOptions_LogSoftmaxOptions: {
value = new tflite::LogSoftmaxOptionsT(*reinterpret_cast<tflite::LogSoftmaxOptionsT *>(u.value));
break;
}
case BuiltinOptions_CastOptions: {
value = new tflite::CastOptionsT(*reinterpret_cast<tflite::CastOptionsT *>(u.value));
break;
}
case BuiltinOptions_DequantizeOptions: {
value = new tflite::DequantizeOptionsT(*reinterpret_cast<tflite::DequantizeOptionsT *>(u.value));
break;
}
case BuiltinOptions_MaximumMinimumOptions: {
value = new tflite::MaximumMinimumOptionsT(*reinterpret_cast<tflite::MaximumMinimumOptionsT *>(u.value));
break;
}
case BuiltinOptions_ArgMaxOptions: {
value = new tflite::ArgMaxOptionsT(*reinterpret_cast<tflite::ArgMaxOptionsT *>(u.value));
break;
}
case BuiltinOptions_LessOptions: {
value = new tflite::LessOptionsT(*reinterpret_cast<tflite::LessOptionsT *>(u.value));
break;
}
case BuiltinOptions_NegOptions: {
value = new tflite::NegOptionsT(*reinterpret_cast<tflite::NegOptionsT *>(u.value));
break;
}
case BuiltinOptions_PadV2Options: {
value = new tflite::PadV2OptionsT(*reinterpret_cast<tflite::PadV2OptionsT *>(u.value));
break;
}
case BuiltinOptions_GreaterOptions: {
value = new tflite::GreaterOptionsT(*reinterpret_cast<tflite::GreaterOptionsT *>(u.value));
break;
}
case BuiltinOptions_GreaterEqualOptions: {
value = new tflite::GreaterEqualOptionsT(*reinterpret_cast<tflite::GreaterEqualOptionsT *>(u.value));
break;
}
case BuiltinOptions_LessEqualOptions: {
value = new tflite::LessEqualOptionsT(*reinterpret_cast<tflite::LessEqualOptionsT *>(u.value));
break;
}
case BuiltinOptions_SelectOptions: {
value = new tflite::SelectOptionsT(*reinterpret_cast<tflite::SelectOptionsT *>(u.value));
break;
}
case BuiltinOptions_SliceOptions: {
value = new tflite::SliceOptionsT(*reinterpret_cast<tflite::SliceOptionsT *>(u.value));
break;
}
case BuiltinOptions_TransposeConvOptions: {
value = new tflite::TransposeConvOptionsT(*reinterpret_cast<tflite::TransposeConvOptionsT *>(u.value));
break;
}
case BuiltinOptions_SparseToDenseOptions: {
value = new tflite::SparseToDenseOptionsT(*reinterpret_cast<tflite::SparseToDenseOptionsT *>(u.value));
break;
}
case BuiltinOptions_TileOptions: {
value = new tflite::TileOptionsT(*reinterpret_cast<tflite::TileOptionsT *>(u.value));
break;
}
case BuiltinOptions_ExpandDimsOptions: {
value = new tflite::ExpandDimsOptionsT(*reinterpret_cast<tflite::ExpandDimsOptionsT *>(u.value));
break;
}
case BuiltinOptions_EqualOptions: {
value = new tflite::EqualOptionsT(*reinterpret_cast<tflite::EqualOptionsT *>(u.value));
break;
}
case BuiltinOptions_NotEqualOptions: {
value = new tflite::NotEqualOptionsT(*reinterpret_cast<tflite::NotEqualOptionsT *>(u.value));
break;
}
case BuiltinOptions_ShapeOptions: {
value = new tflite::ShapeOptionsT(*reinterpret_cast<tflite::ShapeOptionsT *>(u.value));
break;
}
case BuiltinOptions_PowOptions: {
value = new tflite::PowOptionsT(*reinterpret_cast<tflite::PowOptionsT *>(u.value));
break;
}
case BuiltinOptions_ArgMinOptions: {
value = new tflite::ArgMinOptionsT(*reinterpret_cast<tflite::ArgMinOptionsT *>(u.value));
break;
}
case BuiltinOptions_FakeQuantOptions: {
value = new tflite::FakeQuantOptionsT(*reinterpret_cast<tflite::FakeQuantOptionsT *>(u.value));
break;
}
case BuiltinOptions_PackOptions: {
value = new tflite::PackOptionsT(*reinterpret_cast<tflite::PackOptionsT *>(u.value));
break;
}
case BuiltinOptions_LogicalOrOptions: {
value = new tflite::LogicalOrOptionsT(*reinterpret_cast<tflite::LogicalOrOptionsT *>(u.value));
break;
}
case BuiltinOptions_OneHotOptions: {
value = new tflite::OneHotOptionsT(*reinterpret_cast<tflite::OneHotOptionsT *>(u.value));
break;
}
case BuiltinOptions_LogicalAndOptions: {
value = new tflite::LogicalAndOptionsT(*reinterpret_cast<tflite::LogicalAndOptionsT *>(u.value));
break;
}
case BuiltinOptions_LogicalNotOptions: {
value = new tflite::LogicalNotOptionsT(*reinterpret_cast<tflite::LogicalNotOptionsT *>(u.value));
break;
}
case BuiltinOptions_UnpackOptions: {
value = new tflite::UnpackOptionsT(*reinterpret_cast<tflite::UnpackOptionsT *>(u.value));
break;
}
case BuiltinOptions_FloorDivOptions: {
value = new tflite::FloorDivOptionsT(*reinterpret_cast<tflite::FloorDivOptionsT *>(u.value));
break;
}
case BuiltinOptions_SquareOptions: {
value = new tflite::SquareOptionsT(*reinterpret_cast<tflite::SquareOptionsT *>(u.value));
break;
}
case BuiltinOptions_ZerosLikeOptions: {
value = new tflite::ZerosLikeOptionsT(*reinterpret_cast<tflite::ZerosLikeOptionsT *>(u.value));
break;
}
case BuiltinOptions_FillOptions: {
value = new tflite::FillOptionsT(*reinterpret_cast<tflite::FillOptionsT *>(u.value));
break;
}
case BuiltinOptions_BidirectionalSequenceLSTMOptions: {
value = new tflite::BidirectionalSequenceLSTMOptionsT(*reinterpret_cast<tflite::BidirectionalSequenceLSTMOptionsT *>(u.value));
break;
}
case BuiltinOptions_BidirectionalSequenceRNNOptions: {
value = new tflite::BidirectionalSequenceRNNOptionsT(*reinterpret_cast<tflite::BidirectionalSequenceRNNOptionsT *>(u.value));
break;
}
case BuiltinOptions_UnidirectionalSequenceLSTMOptions: {
value = new tflite::UnidirectionalSequenceLSTMOptionsT(*reinterpret_cast<tflite::UnidirectionalSequenceLSTMOptionsT *>(u.value));
break;
}
case BuiltinOptions_FloorModOptions: {
value = new tflite::FloorModOptionsT(*reinterpret_cast<tflite::FloorModOptionsT *>(u.value));
break;
}
case BuiltinOptions_RangeOptions: {
value = new tflite::RangeOptionsT(*reinterpret_cast<tflite::RangeOptionsT *>(u.value));
break;
}
case BuiltinOptions_ResizeNearestNeighborOptions: {
value = new tflite::ResizeNearestNeighborOptionsT(*reinterpret_cast<tflite::ResizeNearestNeighborOptionsT *>(u.value));
break;
}
case BuiltinOptions_LeakyReluOptions: {
value = new tflite::LeakyReluOptionsT(*reinterpret_cast<tflite::LeakyReluOptionsT *>(u.value));
break;
}
case BuiltinOptions_SquaredDifferenceOptions: {
value = new tflite::SquaredDifferenceOptionsT(*reinterpret_cast<tflite::SquaredDifferenceOptionsT *>(u.value));
break;
}
case BuiltinOptions_MirrorPadOptions: {
value = new tflite::MirrorPadOptionsT(*reinterpret_cast<tflite::MirrorPadOptionsT *>(u.value));
break;
}
case BuiltinOptions_AbsOptions: {
value = new tflite::AbsOptionsT(*reinterpret_cast<tflite::AbsOptionsT *>(u.value));
break;
}
case BuiltinOptions_SplitVOptions: {
value = new tflite::SplitVOptionsT(*reinterpret_cast<tflite::SplitVOptionsT *>(u.value));
break;
}
case BuiltinOptions_UniqueOptions: {
value = new tflite::UniqueOptionsT(*reinterpret_cast<tflite::UniqueOptionsT *>(u.value));
break;
}
case BuiltinOptions_ReverseV2Options: {
value = new tflite::ReverseV2OptionsT(*reinterpret_cast<tflite::ReverseV2OptionsT *>(u.value));
break;
}
case BuiltinOptions_AddNOptions: {
value = new tflite::AddNOptionsT(*reinterpret_cast<tflite::AddNOptionsT *>(u.value));
break;
}
case BuiltinOptions_GatherNdOptions: {
value = new tflite::GatherNdOptionsT(*reinterpret_cast<tflite::GatherNdOptionsT *>(u.value));
break;
}
case BuiltinOptions_CosOptions: {
value = new tflite::CosOptionsT(*reinterpret_cast<tflite::CosOptionsT *>(u.value));
break;
}
case BuiltinOptions_WhereOptions: {
value = new tflite::WhereOptionsT(*reinterpret_cast<tflite::WhereOptionsT *>(u.value));
break;
}
case BuiltinOptions_RankOptions: {
value = new tflite::RankOptionsT(*reinterpret_cast<tflite::RankOptionsT *>(u.value));
break;
}
case BuiltinOptions_ReverseSequenceOptions: {
value = new tflite::ReverseSequenceOptionsT(*reinterpret_cast<tflite::ReverseSequenceOptionsT *>(u.value));
break;
}
case BuiltinOptions_MatrixDiagOptions: {
value = new tflite::MatrixDiagOptionsT(*reinterpret_cast<tflite::MatrixDiagOptionsT *>(u.value));
break;
}
case BuiltinOptions_QuantizeOptions: {
value = new tflite::QuantizeOptionsT(*reinterpret_cast<tflite::QuantizeOptionsT *>(u.value));
break;
}
case BuiltinOptions_MatrixSetDiagOptions: {
value = new tflite::MatrixSetDiagOptionsT(*reinterpret_cast<tflite::MatrixSetDiagOptionsT *>(u.value));
break;
}
case BuiltinOptions_HardSwishOptions: {
value = new tflite::HardSwishOptionsT(*reinterpret_cast<tflite::HardSwishOptionsT *>(u.value));
break;
}
case BuiltinOptions_IfOptions: {
value = new tflite::IfOptionsT(*reinterpret_cast<tflite::IfOptionsT *>(u.value));
break;
}
case BuiltinOptions_WhileOptions: {
value = new tflite::WhileOptionsT(*reinterpret_cast<tflite::WhileOptionsT *>(u.value));
break;
}
case BuiltinOptions_DepthToSpaceOptions: {
value = new tflite::DepthToSpaceOptionsT(*reinterpret_cast<tflite::DepthToSpaceOptionsT *>(u.value));
break;
}
case BuiltinOptions_NonMaxSuppressionV4Options: {
value = new tflite::NonMaxSuppressionV4OptionsT(*reinterpret_cast<tflite::NonMaxSuppressionV4OptionsT *>(u.value));
break;
}
case BuiltinOptions_NonMaxSuppressionV5Options: {
value = new tflite::NonMaxSuppressionV5OptionsT(*reinterpret_cast<tflite::NonMaxSuppressionV5OptionsT *>(u.value));
break;
}
case BuiltinOptions_ScatterNdOptions: {
value = new tflite::ScatterNdOptionsT(*reinterpret_cast<tflite::ScatterNdOptionsT *>(u.value));
break;
}
case BuiltinOptions_SelectV2Options: {
value = new tflite::SelectV2OptionsT(*reinterpret_cast<tflite::SelectV2OptionsT *>(u.value));
break;
}
case BuiltinOptions_DensifyOptions: {
value = new tflite::DensifyOptionsT(*reinterpret_cast<tflite::DensifyOptionsT *>(u.value));
break;
}
case BuiltinOptions_SegmentSumOptions: {
value = new tflite::SegmentSumOptionsT(*reinterpret_cast<tflite::SegmentSumOptionsT *>(u.value));
break;
}
case BuiltinOptions_BatchMatMulOptions: {
value = new tflite::BatchMatMulOptionsT(*reinterpret_cast<tflite::BatchMatMulOptionsT *>(u.value));
break;
}
case BuiltinOptions_CumsumOptions: {
value = new tflite::CumsumOptionsT(*reinterpret_cast<tflite::CumsumOptionsT *>(u.value));
break;
}
case BuiltinOptions_CallOnceOptions: {
value = new tflite::CallOnceOptionsT(*reinterpret_cast<tflite::CallOnceOptionsT *>(u.value));
break;
}
case BuiltinOptions_BroadcastToOptions: {
value = new tflite::BroadcastToOptionsT(*reinterpret_cast<tflite::BroadcastToOptionsT *>(u.value));
break;
}
case BuiltinOptions_Rfft2dOptions: {
value = new tflite::Rfft2dOptionsT(*reinterpret_cast<tflite::Rfft2dOptionsT *>(u.value));
break;
}
case BuiltinOptions_Conv3DOptions: {
value = new tflite::Conv3DOptionsT(*reinterpret_cast<tflite::Conv3DOptionsT *>(u.value));
break;
}
case BuiltinOptions_HashtableOptions: {
value = new tflite::HashtableOptionsT(*reinterpret_cast<tflite::HashtableOptionsT *>(u.value));
break;
}
case BuiltinOptions_HashtableFindOptions: {
value = new tflite::HashtableFindOptionsT(*reinterpret_cast<tflite::HashtableFindOptionsT *>(u.value));
break;
}
case BuiltinOptions_HashtableImportOptions: {
value = new tflite::HashtableImportOptionsT(*reinterpret_cast<tflite::HashtableImportOptionsT *>(u.value));
break;
}
case BuiltinOptions_HashtableSizeOptions: {
value = new tflite::HashtableSizeOptionsT(*reinterpret_cast<tflite::HashtableSizeOptionsT *>(u.value));
break;
}
case BuiltinOptions_VarHandleOptions: {
value = new tflite::VarHandleOptionsT(*reinterpret_cast<tflite::VarHandleOptionsT *>(u.value));
break;
}
case BuiltinOptions_ReadVariableOptions: {
value = new tflite::ReadVariableOptionsT(*reinterpret_cast<tflite::ReadVariableOptionsT *>(u.value));
break;
}
case BuiltinOptions_AssignVariableOptions: {
value = new tflite::AssignVariableOptionsT(*reinterpret_cast<tflite::AssignVariableOptionsT *>(u.value));
break;
}
case BuiltinOptions_RandomOptions: {
value = new tflite::RandomOptionsT(*reinterpret_cast<tflite::RandomOptionsT *>(u.value));
break;
}
case BuiltinOptions_BucketizeOptions: {
value = new tflite::BucketizeOptionsT(*reinterpret_cast<tflite::BucketizeOptionsT *>(u.value));
break;
}
case BuiltinOptions_GeluOptions: {
value = new tflite::GeluOptionsT(*reinterpret_cast<tflite::GeluOptionsT *>(u.value));
break;
}
case BuiltinOptions_DynamicUpdateSliceOptions: {
value = new tflite::DynamicUpdateSliceOptionsT(*reinterpret_cast<tflite::DynamicUpdateSliceOptionsT *>(u.value));
break;
}
case BuiltinOptions_UnsortedSegmentProdOptions: {
value = new tflite::UnsortedSegmentProdOptionsT(*reinterpret_cast<tflite::UnsortedSegmentProdOptionsT *>(u.value));
break;
}
case BuiltinOptions_UnsortedSegmentMaxOptions: {
value = new tflite::UnsortedSegmentMaxOptionsT(*reinterpret_cast<tflite::UnsortedSegmentMaxOptionsT *>(u.value));
break;
}
case BuiltinOptions_UnsortedSegmentMinOptions: {
value = new tflite::UnsortedSegmentMinOptionsT(*reinterpret_cast<tflite::UnsortedSegmentMinOptionsT *>(u.value));
break;
}
case BuiltinOptions_UnsortedSegmentSumOptions: {
value = new tflite::UnsortedSegmentSumOptionsT(*reinterpret_cast<tflite::UnsortedSegmentSumOptionsT *>(u.value));
break;
}
case BuiltinOptions_ATan2Options: {
value = new tflite::ATan2OptionsT(*reinterpret_cast<tflite::ATan2OptionsT *>(u.value));
break;
}
case BuiltinOptions_SignOptions: {
value = new tflite::SignOptionsT(*reinterpret_cast<tflite::SignOptionsT *>(u.value));
break;
}
case BuiltinOptions_BitcastOptions: {
value = new tflite::BitcastOptionsT(*reinterpret_cast<tflite::BitcastOptionsT *>(u.value));
break;
}
case BuiltinOptions_BitwiseXorOptions: {
value = new tflite::BitwiseXorOptionsT(*reinterpret_cast<tflite::BitwiseXorOptionsT *>(u.value));
break;
}
case BuiltinOptions_RightShiftOptions: {
value = new tflite::RightShiftOptionsT(*reinterpret_cast<tflite::RightShiftOptionsT *>(u.value));
break;
}
default:
break;
}
}
inline void BuiltinOptionsUnion::Reset() {
switch (type) {
case BuiltinOptions_Conv2DOptions: {
auto ptr = reinterpret_cast<tflite::Conv2DOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_DepthwiseConv2DOptions: {
auto ptr = reinterpret_cast<tflite::DepthwiseConv2DOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ConcatEmbeddingsOptions: {
auto ptr = reinterpret_cast<tflite::ConcatEmbeddingsOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_LSHProjectionOptions: {
auto ptr = reinterpret_cast<tflite::LSHProjectionOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_Pool2DOptions: {
auto ptr = reinterpret_cast<tflite::Pool2DOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SVDFOptions: {
auto ptr = reinterpret_cast<tflite::SVDFOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_RNNOptions: {
auto ptr = reinterpret_cast<tflite::RNNOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_FullyConnectedOptions: {
auto ptr = reinterpret_cast<tflite::FullyConnectedOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SoftmaxOptions: {
auto ptr = reinterpret_cast<tflite::SoftmaxOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ConcatenationOptions: {
auto ptr = reinterpret_cast<tflite::ConcatenationOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_AddOptions: {
auto ptr = reinterpret_cast<tflite::AddOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_L2NormOptions: {
auto ptr = reinterpret_cast<tflite::L2NormOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_LocalResponseNormalizationOptions: {
auto ptr = reinterpret_cast<tflite::LocalResponseNormalizationOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_LSTMOptions: {
auto ptr = reinterpret_cast<tflite::LSTMOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ResizeBilinearOptions: {
auto ptr = reinterpret_cast<tflite::ResizeBilinearOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_CallOptions: {
auto ptr = reinterpret_cast<tflite::CallOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ReshapeOptions: {
auto ptr = reinterpret_cast<tflite::ReshapeOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SkipGramOptions: {
auto ptr = reinterpret_cast<tflite::SkipGramOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SpaceToDepthOptions: {
auto ptr = reinterpret_cast<tflite::SpaceToDepthOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_EmbeddingLookupSparseOptions: {
auto ptr = reinterpret_cast<tflite::EmbeddingLookupSparseOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_MulOptions: {
auto ptr = reinterpret_cast<tflite::MulOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_PadOptions: {
auto ptr = reinterpret_cast<tflite::PadOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_GatherOptions: {
auto ptr = reinterpret_cast<tflite::GatherOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_BatchToSpaceNDOptions: {
auto ptr = reinterpret_cast<tflite::BatchToSpaceNDOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SpaceToBatchNDOptions: {
auto ptr = reinterpret_cast<tflite::SpaceToBatchNDOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_TransposeOptions: {
auto ptr = reinterpret_cast<tflite::TransposeOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ReducerOptions: {
auto ptr = reinterpret_cast<tflite::ReducerOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SubOptions: {
auto ptr = reinterpret_cast<tflite::SubOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_DivOptions: {
auto ptr = reinterpret_cast<tflite::DivOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SqueezeOptions: {
auto ptr = reinterpret_cast<tflite::SqueezeOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SequenceRNNOptions: {
auto ptr = reinterpret_cast<tflite::SequenceRNNOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_StridedSliceOptions: {
auto ptr = reinterpret_cast<tflite::StridedSliceOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ExpOptions: {
auto ptr = reinterpret_cast<tflite::ExpOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_TopKV2Options: {
auto ptr = reinterpret_cast<tflite::TopKV2OptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SplitOptions: {
auto ptr = reinterpret_cast<tflite::SplitOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_LogSoftmaxOptions: {
auto ptr = reinterpret_cast<tflite::LogSoftmaxOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_CastOptions: {
auto ptr = reinterpret_cast<tflite::CastOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_DequantizeOptions: {
auto ptr = reinterpret_cast<tflite::DequantizeOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_MaximumMinimumOptions: {
auto ptr = reinterpret_cast<tflite::MaximumMinimumOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ArgMaxOptions: {
auto ptr = reinterpret_cast<tflite::ArgMaxOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_LessOptions: {
auto ptr = reinterpret_cast<tflite::LessOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_NegOptions: {
auto ptr = reinterpret_cast<tflite::NegOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_PadV2Options: {
auto ptr = reinterpret_cast<tflite::PadV2OptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_GreaterOptions: {
auto ptr = reinterpret_cast<tflite::GreaterOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_GreaterEqualOptions: {
auto ptr = reinterpret_cast<tflite::GreaterEqualOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_LessEqualOptions: {
auto ptr = reinterpret_cast<tflite::LessEqualOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SelectOptions: {
auto ptr = reinterpret_cast<tflite::SelectOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SliceOptions: {
auto ptr = reinterpret_cast<tflite::SliceOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_TransposeConvOptions: {
auto ptr = reinterpret_cast<tflite::TransposeConvOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SparseToDenseOptions: {
auto ptr = reinterpret_cast<tflite::SparseToDenseOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_TileOptions: {
auto ptr = reinterpret_cast<tflite::TileOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ExpandDimsOptions: {
auto ptr = reinterpret_cast<tflite::ExpandDimsOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_EqualOptions: {
auto ptr = reinterpret_cast<tflite::EqualOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_NotEqualOptions: {
auto ptr = reinterpret_cast<tflite::NotEqualOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ShapeOptions: {
auto ptr = reinterpret_cast<tflite::ShapeOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_PowOptions: {
auto ptr = reinterpret_cast<tflite::PowOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ArgMinOptions: {
auto ptr = reinterpret_cast<tflite::ArgMinOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_FakeQuantOptions: {
auto ptr = reinterpret_cast<tflite::FakeQuantOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_PackOptions: {
auto ptr = reinterpret_cast<tflite::PackOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_LogicalOrOptions: {
auto ptr = reinterpret_cast<tflite::LogicalOrOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_OneHotOptions: {
auto ptr = reinterpret_cast<tflite::OneHotOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_LogicalAndOptions: {
auto ptr = reinterpret_cast<tflite::LogicalAndOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_LogicalNotOptions: {
auto ptr = reinterpret_cast<tflite::LogicalNotOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_UnpackOptions: {
auto ptr = reinterpret_cast<tflite::UnpackOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_FloorDivOptions: {
auto ptr = reinterpret_cast<tflite::FloorDivOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SquareOptions: {
auto ptr = reinterpret_cast<tflite::SquareOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ZerosLikeOptions: {
auto ptr = reinterpret_cast<tflite::ZerosLikeOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_FillOptions: {
auto ptr = reinterpret_cast<tflite::FillOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_BidirectionalSequenceLSTMOptions: {
auto ptr = reinterpret_cast<tflite::BidirectionalSequenceLSTMOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_BidirectionalSequenceRNNOptions: {
auto ptr = reinterpret_cast<tflite::BidirectionalSequenceRNNOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_UnidirectionalSequenceLSTMOptions: {
auto ptr = reinterpret_cast<tflite::UnidirectionalSequenceLSTMOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_FloorModOptions: {
auto ptr = reinterpret_cast<tflite::FloorModOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_RangeOptions: {
auto ptr = reinterpret_cast<tflite::RangeOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ResizeNearestNeighborOptions: {
auto ptr = reinterpret_cast<tflite::ResizeNearestNeighborOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_LeakyReluOptions: {
auto ptr = reinterpret_cast<tflite::LeakyReluOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SquaredDifferenceOptions: {
auto ptr = reinterpret_cast<tflite::SquaredDifferenceOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_MirrorPadOptions: {
auto ptr = reinterpret_cast<tflite::MirrorPadOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_AbsOptions: {
auto ptr = reinterpret_cast<tflite::AbsOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SplitVOptions: {
auto ptr = reinterpret_cast<tflite::SplitVOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_UniqueOptions: {
auto ptr = reinterpret_cast<tflite::UniqueOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ReverseV2Options: {
auto ptr = reinterpret_cast<tflite::ReverseV2OptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_AddNOptions: {
auto ptr = reinterpret_cast<tflite::AddNOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_GatherNdOptions: {
auto ptr = reinterpret_cast<tflite::GatherNdOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_CosOptions: {
auto ptr = reinterpret_cast<tflite::CosOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_WhereOptions: {
auto ptr = reinterpret_cast<tflite::WhereOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_RankOptions: {
auto ptr = reinterpret_cast<tflite::RankOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ReverseSequenceOptions: {
auto ptr = reinterpret_cast<tflite::ReverseSequenceOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_MatrixDiagOptions: {
auto ptr = reinterpret_cast<tflite::MatrixDiagOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_QuantizeOptions: {
auto ptr = reinterpret_cast<tflite::QuantizeOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_MatrixSetDiagOptions: {
auto ptr = reinterpret_cast<tflite::MatrixSetDiagOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_HardSwishOptions: {
auto ptr = reinterpret_cast<tflite::HardSwishOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_IfOptions: {
auto ptr = reinterpret_cast<tflite::IfOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_WhileOptions: {
auto ptr = reinterpret_cast<tflite::WhileOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_DepthToSpaceOptions: {
auto ptr = reinterpret_cast<tflite::DepthToSpaceOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_NonMaxSuppressionV4Options: {
auto ptr = reinterpret_cast<tflite::NonMaxSuppressionV4OptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_NonMaxSuppressionV5Options: {
auto ptr = reinterpret_cast<tflite::NonMaxSuppressionV5OptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ScatterNdOptions: {
auto ptr = reinterpret_cast<tflite::ScatterNdOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SelectV2Options: {
auto ptr = reinterpret_cast<tflite::SelectV2OptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_DensifyOptions: {
auto ptr = reinterpret_cast<tflite::DensifyOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SegmentSumOptions: {
auto ptr = reinterpret_cast<tflite::SegmentSumOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_BatchMatMulOptions: {
auto ptr = reinterpret_cast<tflite::BatchMatMulOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_CumsumOptions: {
auto ptr = reinterpret_cast<tflite::CumsumOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_CallOnceOptions: {
auto ptr = reinterpret_cast<tflite::CallOnceOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_BroadcastToOptions: {
auto ptr = reinterpret_cast<tflite::BroadcastToOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_Rfft2dOptions: {
auto ptr = reinterpret_cast<tflite::Rfft2dOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_Conv3DOptions: {
auto ptr = reinterpret_cast<tflite::Conv3DOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_HashtableOptions: {
auto ptr = reinterpret_cast<tflite::HashtableOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_HashtableFindOptions: {
auto ptr = reinterpret_cast<tflite::HashtableFindOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_HashtableImportOptions: {
auto ptr = reinterpret_cast<tflite::HashtableImportOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_HashtableSizeOptions: {
auto ptr = reinterpret_cast<tflite::HashtableSizeOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_VarHandleOptions: {
auto ptr = reinterpret_cast<tflite::VarHandleOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ReadVariableOptions: {
auto ptr = reinterpret_cast<tflite::ReadVariableOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_AssignVariableOptions: {
auto ptr = reinterpret_cast<tflite::AssignVariableOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_RandomOptions: {
auto ptr = reinterpret_cast<tflite::RandomOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_BucketizeOptions: {
auto ptr = reinterpret_cast<tflite::BucketizeOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_GeluOptions: {
auto ptr = reinterpret_cast<tflite::GeluOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_DynamicUpdateSliceOptions: {
auto ptr = reinterpret_cast<tflite::DynamicUpdateSliceOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_UnsortedSegmentProdOptions: {
auto ptr = reinterpret_cast<tflite::UnsortedSegmentProdOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_UnsortedSegmentMaxOptions: {
auto ptr = reinterpret_cast<tflite::UnsortedSegmentMaxOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_UnsortedSegmentMinOptions: {
auto ptr = reinterpret_cast<tflite::UnsortedSegmentMinOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_UnsortedSegmentSumOptions: {
auto ptr = reinterpret_cast<tflite::UnsortedSegmentSumOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_ATan2Options: {
auto ptr = reinterpret_cast<tflite::ATan2OptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_SignOptions: {
auto ptr = reinterpret_cast<tflite::SignOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_BitcastOptions: {
auto ptr = reinterpret_cast<tflite::BitcastOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_BitwiseXorOptions: {
auto ptr = reinterpret_cast<tflite::BitwiseXorOptionsT *>(value);
delete ptr;
break;
}
case BuiltinOptions_RightShiftOptions: {
auto ptr = reinterpret_cast<tflite::RightShiftOptionsT *>(value);
delete ptr;
break;
}
default: break;
}
value = nullptr;
type = BuiltinOptions_NONE;
}
inline const tflite::Model *GetModel(const void *buf) {
return ::flatbuffers::GetRoot<tflite::Model>(buf);
}
inline const tflite::Model *GetSizePrefixedModel(const void *buf) {
return ::flatbuffers::GetSizePrefixedRoot<tflite::Model>(buf);
}
inline const char *ModelIdentifier() {
return "TFL3";
}
inline bool ModelBufferHasIdentifier(const void *buf) {
return ::flatbuffers::BufferHasIdentifier(
buf, ModelIdentifier());
}
inline bool SizePrefixedModelBufferHasIdentifier(const void *buf) {
return ::flatbuffers::BufferHasIdentifier(
buf, ModelIdentifier(), true);
}
inline bool VerifyModelBuffer(
::flatbuffers::Verifier &verifier) {
return verifier.VerifyBuffer<tflite::Model>(ModelIdentifier());
}
inline bool VerifySizePrefixedModelBuffer(
::flatbuffers::Verifier &verifier) {
return verifier.VerifySizePrefixedBuffer<tflite::Model>(ModelIdentifier());
}
inline const char *ModelExtension() {
return "tflite";
}
inline void FinishModelBuffer(
::flatbuffers::FlatBufferBuilder &fbb,
::flatbuffers::Offset<tflite::Model> root) {
fbb.Finish(root, ModelIdentifier());
}
inline void FinishSizePrefixedModelBuffer(
::flatbuffers::FlatBufferBuilder &fbb,
::flatbuffers::Offset<tflite::Model> root) {
fbb.FinishSizePrefixed(root, ModelIdentifier());
}
inline std::unique_ptr<tflite::ModelT> UnPackModel(
const void *buf,
const ::flatbuffers::resolver_function_t *res = nullptr) {
return std::unique_ptr<tflite::ModelT>(GetModel(buf)->UnPack(res));
}
inline std::unique_ptr<tflite::ModelT> UnPackSizePrefixedModel(
const void *buf,
const ::flatbuffers::resolver_function_t *res = nullptr) {
return std::unique_ptr<tflite::ModelT>(GetSizePrefixedModel(buf)->UnPack(res));
}
} // namespace tflite
#endif // FLATBUFFERS_GENERATED_SCHEMA_TFLITE_H_
| [
"[email protected]"
] | |
f047f8cb4a3b64cbbcd5864e64ad4a79694d3650 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-mediaconnect/source/model/UpdateFlowOutputRequest.cpp | 664ca927992d44123848888d09d296019ec2b84c | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 3,344 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/mediaconnect/model/UpdateFlowOutputRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::MediaConnect::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
UpdateFlowOutputRequest::UpdateFlowOutputRequest() :
m_cidrAllowListHasBeenSet(false),
m_descriptionHasBeenSet(false),
m_destinationHasBeenSet(false),
m_encryptionHasBeenSet(false),
m_flowArnHasBeenSet(false),
m_maxLatency(0),
m_maxLatencyHasBeenSet(false),
m_mediaStreamOutputConfigurationsHasBeenSet(false),
m_minLatency(0),
m_minLatencyHasBeenSet(false),
m_outputArnHasBeenSet(false),
m_port(0),
m_portHasBeenSet(false),
m_protocol(Protocol::NOT_SET),
m_protocolHasBeenSet(false),
m_remoteIdHasBeenSet(false),
m_smoothingLatency(0),
m_smoothingLatencyHasBeenSet(false),
m_streamIdHasBeenSet(false),
m_vpcInterfaceAttachmentHasBeenSet(false)
{
}
Aws::String UpdateFlowOutputRequest::SerializePayload() const
{
JsonValue payload;
if(m_cidrAllowListHasBeenSet)
{
Array<JsonValue> cidrAllowListJsonList(m_cidrAllowList.size());
for(unsigned cidrAllowListIndex = 0; cidrAllowListIndex < cidrAllowListJsonList.GetLength(); ++cidrAllowListIndex)
{
cidrAllowListJsonList[cidrAllowListIndex].AsString(m_cidrAllowList[cidrAllowListIndex]);
}
payload.WithArray("cidrAllowList", std::move(cidrAllowListJsonList));
}
if(m_descriptionHasBeenSet)
{
payload.WithString("description", m_description);
}
if(m_destinationHasBeenSet)
{
payload.WithString("destination", m_destination);
}
if(m_encryptionHasBeenSet)
{
payload.WithObject("encryption", m_encryption.Jsonize());
}
if(m_maxLatencyHasBeenSet)
{
payload.WithInteger("maxLatency", m_maxLatency);
}
if(m_mediaStreamOutputConfigurationsHasBeenSet)
{
Array<JsonValue> mediaStreamOutputConfigurationsJsonList(m_mediaStreamOutputConfigurations.size());
for(unsigned mediaStreamOutputConfigurationsIndex = 0; mediaStreamOutputConfigurationsIndex < mediaStreamOutputConfigurationsJsonList.GetLength(); ++mediaStreamOutputConfigurationsIndex)
{
mediaStreamOutputConfigurationsJsonList[mediaStreamOutputConfigurationsIndex].AsObject(m_mediaStreamOutputConfigurations[mediaStreamOutputConfigurationsIndex].Jsonize());
}
payload.WithArray("mediaStreamOutputConfigurations", std::move(mediaStreamOutputConfigurationsJsonList));
}
if(m_minLatencyHasBeenSet)
{
payload.WithInteger("minLatency", m_minLatency);
}
if(m_portHasBeenSet)
{
payload.WithInteger("port", m_port);
}
if(m_protocolHasBeenSet)
{
payload.WithString("protocol", ProtocolMapper::GetNameForProtocol(m_protocol));
}
if(m_remoteIdHasBeenSet)
{
payload.WithString("remoteId", m_remoteId);
}
if(m_smoothingLatencyHasBeenSet)
{
payload.WithInteger("smoothingLatency", m_smoothingLatency);
}
if(m_streamIdHasBeenSet)
{
payload.WithString("streamId", m_streamId);
}
if(m_vpcInterfaceAttachmentHasBeenSet)
{
payload.WithObject("vpcInterfaceAttachment", m_vpcInterfaceAttachment.Jsonize());
}
return payload.View().WriteReadable();
}
| [
"[email protected]"
] | |
67a7d96a7ec79a49e9cbceed2b6d6afc928dbf48 | 967834d40ced59148efcb063fd1875ede6efd058 | /Projects/069_Circle_loop/src/ofApp.cpp | 7b19f6ae2e6d8f5bdfb3ed5ff5dce6720979bbcd | [] | no_license | idesign0/openframeworks_projects | 28d68e4dcbfad4780c8290a924f0e4fd4d0a19b7 | b18bf2c62372d0b1553c7f061be78468b7240484 | refs/heads/master | 2023-01-01T18:49:27.479742 | 2020-10-25T05:12:02 | 2020-10-25T05:12:02 | 279,644,608 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,358 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(0);
record.setup(true, false);
record.setWidth(ofGetWidth());
record.setHeight(ofGetHeight());
//record.setVideoCodec("mpeg4");
record.setFFmpegPath(ofToDataPath("ffmpeg.exe"));
record.setFps(60);
ofSetLineWidth(3);
ofSetCircleResolution(128);
gui.setup();
gui.add(uiAmount.set("Amount", 1, 1, 30));
gui.add(uiPower.set("Power", ofVec3f(0), ofVec3f(0), ofVec3f(3.0)));
gui.add(uiRadius.set("Radius", 0, 0, 60.0));
gui.add(uiPosition.set("Position", ofVec2f(0),
ofVec2f(-ofGetWidth(), -ofGetHeight()),
ofVec2f(ofGetWidth(), ofGetHeight())));
}
//--------------------------------------------------------------
void ofApp::update(){
image.grabScreen(0, 0, ofGetWidth(), ofGetHeight());
pixels = image.getPixels();
}
//--------------------------------------------------------------
void ofApp::draw(){
if (!record.isPaused()) {
if (brecording) {
ofPushMatrix();
cam.begin();
ofTranslate(uiPosition->x, uiPosition->y);
float radius = uiRadius;
for (int i = 0; i < uiAmount; i++)
{
float noisex = ofNoise((ofGetElapsedTimef() + i)*uiPower->x);
float noisey = ofNoise((ofGetElapsedTimef() + i)*uiPower->y);
float noiseZ = ofNoise((ofGetElapsedTimef() + i)*uiPower->z);
float x = ofGetWidth() / 2 * noisex;
float y = ofGetHeight() / 2 * noisey;
float z = ofGetHeight() / 2 * noiseZ;
ofNoFill();
ofDrawCircle(x, y, z, radius);
record.addFrame(pixels);
radius += i;
}
cam.end();
ofPopMatrix();
}
}
if (bHide) {
gui.draw();
}
}
//--------------------------------------------------------------
void ofApp::keyPressed(int key){
switch (key)
{
case 'r':
brecording = !brecording;
if (record.isRecording())
{
record.stop();
}
else
{
string filename = ofToString(ofGetElapsedTimef()) + ".mp4";
record.setOutputPath(ofToDataPath(filename, true));
record.startCustomRecord();
}
break;
case 'p':
if (record.isPaused()) {
record.setPaused(false);
}
else {
record.setPaused(true);
}
break;
case 'h':
bHide = !bHide;
break;
default:
break;
}
}
//--------------------------------------------------------------
void ofApp::keyReleased(int key){
}
//--------------------------------------------------------------
void ofApp::mouseMoved(int x, int y ){
}
//--------------------------------------------------------------
void ofApp::mouseDragged(int x, int y, int button){
}
//--------------------------------------------------------------
void ofApp::mousePressed(int x, int y, int button){
}
//--------------------------------------------------------------
void ofApp::mouseReleased(int x, int y, int button){
}
//--------------------------------------------------------------
void ofApp::mouseEntered(int x, int y){
}
//--------------------------------------------------------------
void ofApp::mouseExited(int x, int y){
}
//--------------------------------------------------------------
void ofApp::windowResized(int w, int h){
}
//--------------------------------------------------------------
void ofApp::gotMessage(ofMessage msg){
}
//--------------------------------------------------------------
void ofApp::dragEvent(ofDragInfo dragInfo){
}
| [
"[email protected]"
] | |
ed7b65d1317c7cd108ad4b0a83155493ae092c6b | 2cb37a3f31ccebf37b173071278312e19799ad6d | /avec encodeur rotatif 3eme version/porte_poulailler_automatique_rotatif/Bouton.cpp | df0255b7efb8e221773938259460c052b2b9bf30 | [] | no_license | zephyr5028/Porte-poulailler-automatique-autonome | 6796c3889b34d9a75a02d96b361c52e73230254d | 397ae02a115d643cd65bbd670da4f66dde1a8289 | refs/heads/master | 2023-09-04T00:29:25.956240 | 2021-10-18T07:40:56 | 2021-10-18T07:40:56 | 75,304,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,289 | cpp | /** Bouton.cpp
définitions de la classe Bouton
*/
#include "Bouton.h"
Bouton::Bouton() : m_pinBp(9), m_pinBoitier(6), m_debounce(350), m_relacheBp(true), m_tempoDebounce(0), m_debouncePret(false)
{
}
/* sucharge du constructeur avec le nombre de lignes du menu */
Bouton::Bouton( const byte pinBp, const byte pinBoitier, const int debounce, boolean debug) : m_debug(debug), m_pinBp(pinBp),
m_pinBoitier(pinBoitier), m_relacheBp(true), m_debounce(debounce), m_tempoDebounce(0), m_debouncePret(false)
{
}
Bouton::~Bouton() {
}
///-----test touche Bp-----
bool Bouton::testToucheBp() {
if (((millis() - m_tempoDebounce) > m_debounce) and m_relacheBp == true and !digitalRead(m_pinBp)) {
m_relacheBp = false;
m_debouncePret = true;// pour le relache du bp
return true;
} else {
return false;
}
}
///-----test relache Bp-----
void Bouton::testRelacheBp (volatile bool & interruptBp) {
if (m_relacheBp == false and digitalRead(m_pinBp) and m_debouncePret ) {
m_tempoDebounce = millis();// pour eviter des declenchements intempestifs
m_debouncePret = false;
}
if ((millis() - m_tempoDebounce) > m_debounce ) {
interruptBp = false; // autorisation de la prise en compte de l'IT
m_relacheBp = true;
}
}
///-----test IT Bp-----
void Bouton::testInterruptionBp (volatile bool & interruptBp) {
if (!digitalRead(m_pinBp) and !interruptBp) { // entree 9 pour interruption BP
interruptBp = true;
m_tempoDebounce = millis();
}
}
///-----test IT ouverture boitier-----
void Bouton::testInterruptionBoitier (volatile bool & interruptOuvBoi) {
if (!digitalRead(m_pinBoitier) and !interruptOuvBoi) { // entree 9 pour interruption BP
interruptOuvBoi = true;
}
}
///-----test boitier ouvert------
bool Bouton::testBoitierOuvert(const volatile bool & interruptOuvBoi, const bool & boitierOuvert) {
if ( interruptOuvBoi and !digitalRead(m_pinBoitier) and !boitierOuvert) { // interruption ouverture boitier
return true;
} else {
return false;
}
}
///-----test boitier ferme------
bool Bouton::testBoitierFerme(const volatile bool & interruptOuvBoi, const bool & boitierOuvert) {
if (digitalRead(m_pinBoitier) and boitierOuvert) { // fermeture boitier
return true;
} else {
return false;
}
}
| [
"[email protected]"
] | |
5f63ebbbb9349d1b82459b598a14f5b26a2cf725 | 1854b2324a00391ed2a188e12ea6c232075cf868 | /course/BirdGame/roaditem.cpp | 949fc11b063f167568709f95b71f010ad3f2bb67 | [] | no_license | long238/githubTest | 0af81449a6bac55ed0b167ce116cb4cd73aa43a3 | 004538d4d6b6b66e7f908d8b024280af64f555c0 | refs/heads/master | 2023-03-01T13:44:27.576659 | 2021-02-15T14:56:58 | 2021-02-15T14:56:58 | 337,628,792 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,641 | cpp | #include "roaditem.h"
#include <QPainter>
#include <QPropertyAnimation>
#define ROAD_ITEM_HEIGHT 64
RoadItem::RoadItem(QGraphicsScene *scene)
:m_scene(scene)
{
//将当前道路图形项对象添加到游戏场景中去
scene->addItem(this);
startMove();
}
RoadItem::~RoadItem()
{
}
//重写绘图区域
QRectF RoadItem::boundingRect() const
{
//584*448 场景长度
//384*64 道路图长度
return QRectF(0,m_scene->height() - ROAD_ITEM_HEIGHT,m_scene->width()*2,ROAD_ITEM_HEIGHT);
}
//重写绘图事件
void RoadItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *)
{
//画前后两段马路
painter->drawImage(QRectF(0,m_scene->height() - ROAD_ITEM_HEIGHT,
m_scene->width(),ROAD_ITEM_HEIGHT),
QImage(":/BirdGame/Resources/image/road.png"));
painter->drawImage(QRectF(m_scene->width(),m_scene->height() - ROAD_ITEM_HEIGHT,
m_scene->width(),ROAD_ITEM_HEIGHT),
QImage(":/BirdGame/Resources/image/road.png"));
}
void RoadItem::startMove()
{
QPropertyAnimation *moveAnimation = new QPropertyAnimation(this,"pos");
moveAnimation->setLoopCount(-1); //设置动画的循环次数,0不启动,-1无限循环
moveAnimation->setDuration(6000); //动画时长6秒
moveAnimation->setStartValue(QPoint(0,pos().y()));//动画启动值(位置初始值)
moveAnimation->setEndValue(QPoint(0-m_scene->width(),pos().y()));//动画结束值
moveAnimation->setEasingCurve(QEasingCurve::Linear);//动画曲线
moveAnimation->start();
}
| [
"[email protected]"
] | |
3de75a143ae9446e5301fa60781fbb7cc6ad7578 | d5e3b14d2d2d15781ab31bcefd6ef989e1a9827d | /mycode/c++/define_map_new.cpp | 7c674958e4d5bb4e727a9e09186ac9eba39eb6c4 | [] | no_license | 44652499/embedded | bb3b51f5f7daac1696fc77981c200653fe294f99 | e3e2c1d4e8397d576eb710b966581748d3ade411 | refs/heads/master | 2021-05-08T14:06:51.181433 | 2018-02-03T07:35:57 | 2018-02-03T07:35:57 | 120,066,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,059 | cpp | #include <iostream>
using namespace std;
template<class T1,class T2>
class define_map;
template<class T1,class T2>
class define_stack;
template<class T1,class T2>
class tree_node
{
friend class define_map<T1,T2>;
template<class T11,class T22>
friend void mid_print_tree_by_stack(tree_node<T11,T22>* root);
public:
tree_node(T1 _key,T2 _value)
{
key=_key;
value=_value;
ptr_lchild=NULL;
ptr_rchild=NULL;
}
//private:
T1 key;
T2 value;
tree_node* ptr_lchild;
tree_node* ptr_rchild;
};
//定义栈,用来遍历输出树节点
template<class T1,class T2>
class stack_node
{
friend class define_stack<T1,T2>;
public:
stack_node()
{
next=NULL;
}
stack_node(tree_node<T1,T2>* _t_node)
{
next=NULL;
t_node=_t_node;
}
private:
tree_node<T1,T2> *t_node;
stack_node* next;
};
template<class T1,class T2>
class define_stack
{
public:
define_stack()
{
top=NULL;
size=0;
}
define_stack(stack_node<T1,T2>* s_node)
{
top=s_node;
size=1;
}
void push_stack(tree_node<T1,T2>* s_node)
{
stack_node<T1,T2>* new_node=new stack_node<T1,T2>(s_node);
new_node->next=top;
top=new_node;
size++;
}
bool stack_empty()
{
if(size==0)
{
return true;
}
else
{
return false;
}
}
tree_node<T1,T2>* get_stack_top()
{
if(stack_empty())
{
return NULL;
}
else
{
return top->t_node;
}
}
void pop_stack()
{
if(!stack_empty())
{
stack_node<T1,T2>* tmp=top;
top=top->next;
size--;
}
else
{
cout<<"this stack empty"<<endl;
}
}
private:
stack_node<T1,T2>* top;
int size;
};
template<class T1,class T2>
class define_map
{
public:
class iterator
{
public:
iterator()
{
ptr=NULL;
st=new define_stack<T1,T2>;
}
iterator(tree_node<T1,T2> * _ptr)
{
ptr=_ptr;
st=new define_stack<T1,T2>;
}
iterator operator =(iterator it)
{
while(it.ptr!=NULL || !st->stack_empty())
{
while(it.ptr!=NULL)
{
st->push_stack(it.ptr);
it.ptr=it.ptr->ptr_lchild;
}
if(!st->stack_empty())
{
it.ptr=st->get_stack_top();
this->ptr=it.ptr;
break;
}
}
return *this;
}
bool operator !=(const iterator& it)
{
return this->ptr!=it.ptr;
}
tree_node<T1,T2> operator *()
{
return *(this->ptr);
}
tree_node<T1,T2> * operator ->()
{
return this->ptr;
}
iterator operator ++(int i)
{
if(!st->stack_empty())
{
this->ptr=st->get_stack_top();
st->pop_stack();
this->ptr=this->ptr->ptr_rchild;
}
while(this->ptr!=NULL || !st->stack_empty())
{
while(this->ptr!=NULL)
{
st->push_stack(this->ptr);
this->ptr=this->ptr->ptr_lchild;
}
if(!st->stack_empty())
{
this->ptr=st->get_stack_top();
break;
}
}
return *this;
}
private:
tree_node<T1,T2> * ptr;
define_stack<T1,T2> *st;
};
define_map()
{
root=NULL;
}
tree_node<T1,T2>* get_tree_root()
{
return root;
}
tree_node<T1,T2>* insert(tree_node<T1,T2>* node)
{
if(root==NULL)
{
root=node;
return root;
}
if(root->ptr_lchild==NULL && root->key>node->key)
{
root->ptr_lchild=node;
return root;
}
if(root->ptr_rchild==NULL && root->key<node->key)
{
root->ptr_rchild=node;
return root;
}
tree_node<T1,T2>* move=root;
while(move!=NULL)
{
while(move->key<node->key)
{
if(move->ptr_rchild==NULL)
{
move->ptr_rchild=node;
return root;
}
else
{
move=move->ptr_rchild;
}
}
while(move->key>node->key)
{
if(move->ptr_lchild==NULL)
{
move->ptr_lchild=node;
return root;
}
else
{
move=move->ptr_lchild;
}
}
}
}
iterator begin()
{
return iterator(root);
}
iterator end()
{
return iterator();
}
private:
tree_node<T1,T2>* root;
};
template<class T1,class T2>
void mid_print_tree_by_stack(tree_node<T1,T2>* root)
{
define_stack<T1,T2> *st;
st=new define_stack<T1,T2>;
while(root!=NULL || !st->stack_empty())
{
while(root!=NULL)
{
st->push_stack(root);
root=root->ptr_lchild;
}
if(!st->stack_empty())
{
root=st->get_stack_top();
cout<<root->key<<'\t'<<root->value<<endl;
st->pop_stack();
root=root->ptr_rchild;
}
}
delete st;
st=NULL;
}
int main(int argc, char const *argv[])
{
define_map<int,string> m1;
m1.insert(new tree_node<int,string>(1,"s1"));
m1.insert(new tree_node<int,string>(3,"s3"));
m1.insert(new tree_node<int,string>(2,"s2"));
m1.insert(new tree_node<int,string>(6,"s6"));
m1.insert(new tree_node<int,string>(5,"s5"));
//mid_print_tree_by_stack(m1.get_tree_root());
define_map<int,string>::iterator it;
//it=m1.begin();
//cout<<it->key<<"\t"<<it->value<<endl;
//cout<<(*it).key<<"\t"<<(*it).value<<endl;
for(it=m1.begin();it!=m1.end();it++)
{
cout<<it->key<<"\t"<<it->value<<endl;
}
//cout<<it->key<<"\t"<<it->value<<endl;
return 0;
}
| [
"[email protected]"
] | |
fffb6200492e637da03cd54321b76bf27dab091a | b9ee68d627e37a028331a4aa321c732e6981eb69 | /AbstractVM/src/Exception/ExitException.hh | 0c5ed32e40b93eafb0076e27e0106d1526e680d9 | [] | no_license | cpaille/Assembleur | 8b09a6b5192cc731ded19da2dc2242cfa1190f89 | 730832608962f9b1f8f693030cf76e4d4ecee2d7 | refs/heads/master | 2020-04-15T16:33:36.741562 | 2013-02-15T15:45:57 | 2013-02-15T15:45:57 | 7,080,482 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | hh | /**
*
*
*
*/
#ifndef __EXITEXCEPTION_HH__
#define __EXITEXCEPTION_HH__
#include "StopException.hh"
class ExitException : public StopException {
public:
ExitException() throw();
virtual ~ExitException() throw();
};
#endif
| [
"[email protected]"
] | |
6110c3f97a95204a3365365cf7b57739678780fb | 388e2e58b27315f4a478e30034ad0ba5c33354e7 | /Program Design and Development (CSCI 3081W)/Projects/iteration1/src/arena_entity.h | 622f6782fb8fc6371510bdd9b9fc922cd464cea7 | [] | no_license | GregoryStar/CourseWork | 867139538d11e36c05d3c753d252a7da414709ec | 952ef5e747408f9e1e6e973909dd73e5c3135a9b | refs/heads/master | 2020-05-02T22:40:44.567006 | 2019-03-28T18:23:51 | 2019-03-28T18:23:51 | 178,258,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,829 | h | /**
* @file arena_entity.h
*
* @copyright 2017 3081 Staff, All rights reserved.
*/
#ifndef PROJECT_ITERATION1_SRC_ARENA_ENTITY_H_
#define PROJECT_ITERATION1_SRC_ARENA_ENTITY_H_
/*******************************************************************************
* Includes
******************************************************************************/
#include <nanogui/nanogui.h>
#include <string>
#include "src/position.h"
#include "src/color.h"
/*******************************************************************************
* Namespaces
******************************************************************************/
NAMESPACE_BEGIN(csci3081);
/*******************************************************************************
* Class Definitions
******************************************************************************/
/**
* @brief A base class representing an entity within the arena. All entities
* within the arena know how to :
*
* 1. Update themselves each timestep (i.e. in accordance with current velocity
* and position).
* 2. Reset themselves to a newly constructed state. This is so the user can
* click the reset button after completing a game and have things work as
* expected.
*
* Note that not all classes need to be able to do these two things.
*/
class ArenaEntity {
public:
ArenaEntity(double radius, const Position& pos,
const Color& color) :
radius_(radius), pos_(pos), color_(color) {}
virtual ~ArenaEntity(void) {}
/**
* @brief Perform whatever updates are needed for a particular entity after 1
* timestep (updating position, changing color, etc.).
*/
virtual void TimestepUpdate(__unused uint dt) {}
/**
* @brief Reset the entity to its newly constructed state.
*/
virtual void Reset(void) {}
/**
* @brief Return name of entity.
*/
virtual std::string get_name(void) const = 0;
/**
* @brief Set the position of an entity using Position struct.
*/
void set_pos(const Position& pos) { pos_ = pos; }
/**
* @brief Returns the position of the entity as a Position struct.
*/
const Position& get_pos(void) const { return pos_; }
/**
* @brief Returns the color of the entity as a Color struct.
*/
const Color& get_color(void) const { return color_; }
/**
* @brief Sets the color of the entity.
*
* @param color The color to set.
*/
void set_color(const Color& color) { color_ = color; }
/**
* @brief Should return whether it's mobile or not when implemented.
*/
virtual bool is_mobile(void) = 0;
/**
* @brief Returns the radius of the entity.
*/
double get_radius(void) const { return radius_; }
private:
double radius_;
Position pos_;
Color color_;
};
NAMESPACE_END(csci3081);
#endif /* PROJECT_ITERATION1_SRC_ARENA_ENTITY_H_ */
| [
"[email protected]"
] | |
61c1977b7fecc18db74a60d34b062cd67e09031c | dc135861f62e1b835b27206ad9c3af69742b04de | /PAT-A/PAT_A1089_B1035.cpp | dc69d2b4508a4f39ba9a51256e908aace75b35f9 | [] | no_license | Philo-Li/PAT-Solutions | b025cc7671c71f4a1107140748d47b73b1d0ccc9 | a7d00677a969c57e8fe77fd9e1193e9cf3f25ba3 | refs/heads/master | 2023-04-11T12:18:25.991971 | 2021-04-26T05:53:59 | 2021-04-26T05:53:59 | 93,131,936 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,900 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <cstring>
#include <cstdio>
#include <iostream>
#include <string>
#include <cctype>
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
//A1089_B1035 插入与归并
const int maxn = 100010;
int n, num[maxn], sort1[maxn], sort2[maxn], check[maxn];
bool issame(int *a, int *b){
for(int i = 0; i < n; i++){
if(a[i] != b[i]) return false;
}
return true;
}
void showans(int *a){
printf("%d", a[0]);
for(int i = 1; i < n; i++) printf(" %d", a[i]);
}
bool insertsort(){
bool flag = false;
for(int i = 1; i < n; i++){
int j = i;
if(i != 1 && issame(check, sort1)) {
flag = true;
}
while(j > 0 && num[i] < sort1[j - 1]){
sort1[j] = sort1[j - 1];
j--;
}
sort1[j] = num[i];
if(flag) {
printf("Insertion Sort\n");
showans(sort1);
return true;
}
}
return false;
}
void mergesort(){
for(int step = 2; step / 2 < n; step *= 2){
bool flag = false;
if(step != 2 && issame(sort2, check)){
printf("Merge Sort\n");
flag = true;
}
for(int i = 0; i < n; i+=step){
sort(sort2 + i, sort2 + min(i + step, n));
}
if(flag && step != 2){
showans(sort2);return;
}
}
}
int main() {
scanf("%d", &n);
for(int i = 0; i < n; i++) {
scanf("%d", &num[i]);
sort1[i] = num[i];
sort2[i] = num[i];
}
for(int i = 0; i < n; i++){
scanf("%d", &check[i]);
}
// 可以直接判定结果是不是 插入排序
// 如果是插入排序,前面排好的一定是有序的,后面的都没有变动
// for (i = 0; i < n - 1 && b[i] <= b[i + 1]; i++);
// for (j = i + 1; a[j] == b[j] && j < n; j++);
// if (j == n) {
// cout << "Insertion Sort" << endl;
// sort(a, a + i + 2);
// }
if(!insertsort()){
mergesort();
}
return 0;
}
| [
"[email protected]"
] | |
2e775baef7078c9459e937dada55c9447e020016 | dbe0699bf2440ef049a2882443189e3ea27cb7b5 | /src/core/src/precomp.hpp | 80baa9ae9fe25d4c90d4689ce0e10f2189334fb2 | [] | no_license | erhuo522/Easy_CPR | 227fba8ef74102d768ab790df9e8318f5622a315 | cffef3cd8bf4d95070ee798a5ad1f4837a90b54c | refs/heads/master | 2021-01-18T05:53:09.783394 | 2016-05-28T06:24:38 | 2016-05-28T06:24:38 | 56,416,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,779 | hpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, install,
// copy or use the software.
//
//
// License Agreement
// For Open Source Computer Vision Library
//
// Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
// Copyright (C) 2009, Willow Garage Inc., all rights reserved.
// Third party copyrights are property of their respective owners.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistribution's of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// * Redistribution's 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.
//
// * The name of the copyright holders may not 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 Intel Corporation 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.
//
//M*/
#ifndef __OPENCV_PRECOMP_H__
#define __OPENCV_PRECOMP_H__
#include "opencv2/opencv_modules.hpp"
#include "opencv2/cvconfig.h"
#include "opencv2/core/utility.hpp"
#include "opencv2/core/core_c.h"
#include "opencv2/core/private.hpp"
#include "opencv2/hal.hpp"
#include <assert.h>
#include <ctype.h>
#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define GET_OPTIMIZED(func) (func)
namespace cv
{
typedef void (*BinaryFunc)(const uchar* src1, size_t step1,
const uchar* src2, size_t step2,
uchar* dst, size_t step, Size sz,
void*);
BinaryFunc getConvertFunc(int sdepth, int ddepth);
BinaryFunc getCopyMaskFunc(size_t esz);
/* default memory block for sparse array elements */
#define CV_SPARSE_MAT_BLOCK (1<<12)
/* initial hash table size */
#define CV_SPARSE_HASH_SIZE0 (1<<10)
/* maximal average node_count/hash_size ratio beyond which hash table is resized */
#define CV_SPARSE_HASH_RATIO 3
// -128.f ... 255.f
extern const float g_8x32fTab[];
#define CV_8TO32F(x) cv::g_8x32fTab[(x)+128]
extern const ushort g_8x16uSqrTab[];
#define CV_SQR_8U(x) cv::g_8x16uSqrTab[(x)+255]
extern const uchar g_Saturate8u[];
#define CV_FAST_CAST_8U(t) (assert(-256 <= (t) && (t) <= 512), cv::g_Saturate8u[(t)+256])
#define CV_MIN_8U(a,b) ((a) - CV_FAST_CAST_8U((a) - (b)))
#define CV_MAX_8U(a,b) ((a) + CV_FAST_CAST_8U((b) - (a)))
#if defined WIN32 || defined _WIN32
void deleteThreadAllocData();
#endif
template<typename T1, typename T2=T1, typename T3=T1> struct OpAdd
{
typedef T1 type1;
typedef T2 type2;
typedef T3 rtype;
T3 operator ()(const T1 a, const T2 b) const { return saturate_cast<T3>(a + b); }
};
template<typename T1, typename T2=T1, typename T3=T1> struct OpSub
{
typedef T1 type1;
typedef T2 type2;
typedef T3 rtype;
T3 operator ()(const T1 a, const T2 b) const { return saturate_cast<T3>(a - b); }
};
template<typename T1, typename T2=T1, typename T3=T1> struct OpRSub
{
typedef T1 type1;
typedef T2 type2;
typedef T3 rtype;
T3 operator ()(const T1 a, const T2 b) const { return saturate_cast<T3>(b - a); }
};
template<typename T> struct OpMin
{
typedef T type1;
typedef T type2;
typedef T rtype;
T operator ()(const T a, const T b) const { return std::min(a, b); }
};
template<typename T> struct OpMax
{
typedef T type1;
typedef T type2;
typedef T rtype;
T operator ()(const T a, const T b) const { return std::max(a, b); }
};
inline Size getContinuousSize_( int flags, int cols, int rows, int widthScale )
{
int64 sz = (int64)cols * rows * widthScale;
return (flags & Mat::CONTINUOUS_FLAG) != 0 &&
(int)sz == sz ? Size((int)sz, 1) : Size(cols * widthScale, rows);
}
inline Size getContinuousSize( const Mat& m1, int widthScale=1 )
{
return getContinuousSize_(m1.flags,
m1.cols, m1.rows, widthScale);
}
inline Size getContinuousSize( const Mat& m1, const Mat& m2, int widthScale=1 )
{
return getContinuousSize_(m1.flags & m2.flags,
m1.cols, m1.rows, widthScale);
}
inline Size getContinuousSize( const Mat& m1, const Mat& m2,
const Mat& m3, int widthScale=1 )
{
return getContinuousSize_(m1.flags & m2.flags & m3.flags,
m1.cols, m1.rows, widthScale);
}
inline Size getContinuousSize( const Mat& m1, const Mat& m2,
const Mat& m3, const Mat& m4,
int widthScale=1 )
{
return getContinuousSize_(m1.flags & m2.flags & m3.flags & m4.flags,
m1.cols, m1.rows, widthScale);
}
inline Size getContinuousSize( const Mat& m1, const Mat& m2,
const Mat& m3, const Mat& m4,
const Mat& m5, int widthScale=1 )
{
return getContinuousSize_(m1.flags & m2.flags & m3.flags & m4.flags & m5.flags,
m1.cols, m1.rows, widthScale);
}
struct NoVec
{
size_t operator()(const void*, const void*, void*, size_t) const { return 0; }
};
extern volatile bool USE_SSE2;
extern volatile bool USE_SSE4_2;
extern volatile bool USE_AVX;
extern volatile bool USE_AVX2;
enum { BLOCK_SIZE = 1024 };
inline bool checkScalar(const Mat& sc, int atype, int sckind, int akind)
{
if( sc.dims > 2 || !sc.isContinuous() )
return false;
Size sz = sc.size();
if(sz.width != 1 && sz.height != 1)
return false;
int cn = CV_MAT_CN(atype);
if( akind == _InputArray::MATX && sckind != _InputArray::MATX )
return false;
return sz == Size(1, 1) || sz == Size(1, cn) || sz == Size(cn, 1) ||
(sz == Size(1, 4) && sc.type() == CV_64F && cn <= 4);
}
inline bool checkScalar(InputArray sc, int atype, int sckind, int akind)
{
if( sc.dims() > 2 || !sc.isContinuous() )
return false;
Size sz = sc.size();
if(sz.width != 1 && sz.height != 1)
return false;
int cn = CV_MAT_CN(atype);
if( akind == _InputArray::MATX && sckind != _InputArray::MATX )
return false;
return sz == Size(1, 1) || sz == Size(1, cn) || sz == Size(cn, 1) ||
(sz == Size(1, 4) && sc.type() == CV_64F && cn <= 4);
}
void convertAndUnrollScalar( const Mat& sc, int buftype, uchar* scbuf, size_t blocksize );
#ifdef CV_COLLECT_IMPL_DATA
struct ImplCollector
{
ImplCollector()
{
useCollection = false;
implFlags = 0;
}
bool useCollection; // enable/disable impl data collection
int implFlags;
std::vector<int> implCode;
std::vector<String> implFun;
cv::Mutex mutex;
};
#endif
struct CoreTLSData
{
CoreTLSData() : device(0)
{
}
RNG rng;
int device;
};
TLSData<CoreTLSData>& getCoreTlsData();
#if defined(BUILD_SHARED_LIBS)
#if defined WIN32 || defined _WIN32 || defined WINCE
#define CL_RUNTIME_EXPORT __declspec(dllexport)
#elif defined __GNUC__ && __GNUC__ >= 4
#define CL_RUNTIME_EXPORT __attribute__ ((visibility ("default")))
#else
#define CL_RUNTIME_EXPORT
#endif
#else
#define CL_RUNTIME_EXPORT
#endif
#ifndef HAVE_PTHREADS
#if !(defined WIN32 || defined _WIN32 || defined WINCE || defined HAVE_WINRT)
//#define HAVE_PTHREADS 1
#endif
#endif
extern bool __termination; // skip some cleanups, because process is terminating
// (for example, if ExitProcess() was already called)
}
#include "opencv2/hal/intrin.hpp"
#endif /*_CXCORE_INTERNAL_H_*/
| [
"[email protected]"
] | |
15522989d879ed51dad6fcfe11593e3dcbfbd477 | 23e4f0044b5dda16268298b8762ab83c98775c59 | /hpx/components_fwd.hpp | 9d92429eca4ba2d3b44a86673f11bd4d0551b916 | [
"LicenseRef-scancode-free-unknown",
"BSL-1.0"
] | permissive | tapaswenipathak/hpx | c5b2838948c700b8e6f38227946d57fa5edb672f | 4ab69844795a2674dff977509fe09588761b8e6e | refs/heads/master | 2022-02-24T20:17:28.221574 | 2019-07-18T09:32:32 | 2019-07-18T09:32:32 | 184,462,430 | 1 | 0 | BSL-1.0 | 2019-05-01T18:31:04 | 2019-05-01T18:31:04 | null | UTF-8 | C++ | false | false | 458 | hpp | // Copyright (c) 2017 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef HPX_COMPONENTS_FWD_HPP
#define HPX_COMPONENTS_FWD_HPP
#include <hpx/config.hpp>
namespace hpx
{
/// \namespace components
namespace components
{
template <typename Derived, typename Stub>
class client_base;
}
}
#endif
| [
"[email protected]"
] | |
34f9529c69c3c129da7115972acd94c43df8d742 | 56a6cbd7c0df788d5d8be8dd9d85b98f0a152bcc | /4th_semester/Cpp-SFML-My-Doodle-Jump/Cpp-SFML-My-Doodle-Jump/Projekt_PK4/Interface.cpp | d3275961d7514e44fab4503ad4bfd68df2900ad6 | [] | no_license | tomaszsojka/university-projects-in-C-Cpp | 936bb6936a999d1386bcb2907d99249c3c145cbd | 334cae73e42c07aa56030286c7f3b699b03788c1 | refs/heads/master | 2023-01-29T09:20:36.150606 | 2023-01-09T22:52:47 | 2023-01-09T22:52:47 | 284,423,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,907 | cpp | #include "Interface.h"
#include <typeinfo>
#include "Platform.h"
#include "OneJumpPlatform.h"
#include "MovingPlatform.h"
const sf::RenderWindow & Interface::get_app()
{
return app;
}
void Interface::set_position_sPlatform(float x, float y)
{
sPlatform.setPosition(x, y);
}
void Interface::set_position_sOneJumpPlatform(float x, float y)
{
sOneJumpPlatform.setPosition(x,y);
}
void Interface::set_position_sJumper(float x, float y)
{
sJumper.setPosition(x, y);
}
void Interface::set_position_sOpponent(float x, float y)
{
sOpponent.setPosition(x, y);
}
void Interface::set_position_score_text(float x, float y)
{
score_text.setPosition(x, y);
}
void Interface::set_size_score_text(unsigned int size)
{
score_text.setCharacterSize(size);
}
void Interface::set_string_score_text(std::string str)
{
score_text.setString(str);
}
void Interface::set_string_hscore_text(std::string str)
{
highscore_text.setString(str);
}
void Interface::draw_start_texts()
{
sf::Text title;
title.setFont(font);
title.setString("Jynx Jump");
title.setFillColor(sf::Color::Black);
title.setCharacterSize(70);
title.setPosition((float)((window_width - title.getLocalBounds().width) / 2), (float)(window_height / 4));
highscore_text.setFont(font);
highscore_text.setFillColor(sf::Color::Black);
highscore_text.setCharacterSize(30);
highscore_text.setPosition(((float)window_width - highscore_text.getLocalBounds().width) / 2.f, float(window_height) / 10.f);
sf::Text hs_title;
hs_title.setFont(font);
hs_title.setString("HIGHSCORE");
hs_title.setFillColor(sf::Color::Black);
hs_title.setCharacterSize(30);
hs_title.setPosition((window_width - hs_title.getLocalBounds().width) / 2, highscore_text.getPosition().y - 35.f);
sf::Text instr;
instr.setFont(font);
instr.setString("PRESS SPACE KEY TO PLAY");
instr.setFillColor(sf::Color::Black);
instr.setCharacterSize(20);
instr.setPosition((window_width - instr.getLocalBounds().width) / 2, window_height - 2 * sJumper.getLocalBounds().height);
draw(title);
draw(highscore_text);
draw(hs_title);
draw(instr);
}
void Interface::draw_end_texts()
{
if (score_text.getString() == ' ')
set_string_score_text("0");
set_size_score_text(30);
set_position_score_text((window_width -score_text.getLocalBounds().width) / 2, window_height / 2.f - 20.f);
sf::Text hs_title;
hs_title.setFont(font);
hs_title.setString("HIGHSCORE");
hs_title.setFillColor(sf::Color::Black);
hs_title.setCharacterSize(30);
hs_title.setPosition((window_width - hs_title.getLocalBounds().width) / 2, highscore_text.getPosition().y - 35.f);
sf::Text cs_title;
cs_title.setFont(font);
cs_title.setString("YOUR SCORE");
cs_title.setFillColor(sf::Color::Black);
cs_title.setCharacterSize(30);
cs_title.setPosition((window_width - cs_title.getLocalBounds().width) / 2, score_text.getPosition().y - 35.f);
sf::Text instr;
instr.setFont(font);
instr.setString(" PRESS ENTER KEY TO PLAY AGAIN\n\n\n PRESS ESCAPE KEY TO CLOSE THE GAME");
instr.setFillColor(sf::Color::Black);
instr.setCharacterSize(20);
instr.setPosition((window_width - instr.getLocalBounds().width) / 2, window_height - 2 * sJumper.getLocalBounds().height);
draw(score_text);
draw(highscore_text);
draw(hs_title);
draw(cs_title);
draw(instr);
}
bool Interface::check_right_key()
{
return sf::Keyboard::isKeyPressed(sf::Keyboard::Right);
}
bool Interface::check_left_key()
{
return sf::Keyboard::isKeyPressed(sf::Keyboard::Left);
}
void Interface::draw(const sf::Sprite & s)
{
app.draw(s);
}
void Interface::draw(const sf::Text & t)
{
app.draw(t);
}
void Interface::draw_plats( const Group_of_Plats & gr)
{
for (unsigned int i = 0; i < gr.get_nr_of_plats(); i++)
{
if (typeid(*gr.get_member(i)) != typeid(OneJumpPlatform))
{
set_position_sPlatform(gr.get_member(i)->get_coord_x(), gr.get_member(i)->get_coord_y());
}
else if (!gr.get_member(i)->get_is_visited())
set_position_sOneJumpPlatform(gr.get_member(i)->get_coord_x(), gr.get_member(i)->get_coord_y());
else
set_position_sOneJumpPlatform(-20, -20);
draw(sPlatform);
draw(sOneJumpPlatform);
}
}
void Interface::draw_all(const Group_of_Plats & g)
{
draw(sBackground);
draw_plats(g);
draw(score_text);
draw(sJumper);
draw(sOpponent);
}
void Interface::load_textures(std::string str1, std::string str2, std::string str3, std::string str4, std::string str5)
{
if (!t1.loadFromFile(str1))
{
throw std::string("nie odnaleziono pliku z tekstura tla");
}
if (!t2.loadFromFile(str2))
{
throw std::string("nie odnaleziono pliku z tekstura platformy");
}
if (!t21.loadFromFile(str3))
{
throw std::string("nie odnaleziono pliku z tekstura kruszacej sie platformy");
}
if (!t3.loadFromFile(str4))
{
throw std::string("nie odnaleziono pliku z tekstura skoczka");
}
if (!t4.loadFromFile(str5))
{
throw std::string("nie odnaleziono pliku z tekstura przeciwnika");
}
}
void Interface::assign_sprites()
{
sBackground.setTexture(t1);
sPlatform.setTexture(t2);
sOneJumpPlatform.setTexture(t21);
sJumper.setTexture(t3);
sOpponent.setTexture(t4);
}
void Interface::load_fonts(std::string str)
{
if (!font.loadFromFile(str))
{
throw std::string("nie odnaleziono pliku z czcionka");
}
}
void Interface::set_default_score_text()
{
score_text.setFont(font);
score_text.setString(' ');
score_text.setFillColor(sf::Color::Black);
score_text.setPosition(0.f, 0.f);
}
void Interface::create_window(unsigned int width, unsigned int height)
{
window_width = width;
window_height = height;
window_title = "Jynx Jump";
app.create(sf::VideoMode(window_width, window_height), window_title, sf::Style::Titlebar | sf::Style::Close);
app.setFramerateLimit(60);
}
void Interface::display_window()
{
app.display();
}
bool Interface::pollEvent(sf::Event & e)
{
return app.pollEvent(e);
}
void Interface::app_close()
{
app.close();
}
| [
"[email protected]"
] | |
d1d54187d13f471245417899b5ba94cc420b6b9c | 6e2fa7e6646e97102ad251f8c1ef4e28e9ede922 | /csound_1/src/cApp.cpp | 428402dc0f1bf0251afe7123db725b81919ed30e | [] | no_license | hiroMTB/uf_0.8.6 | a21e57c940e526b543e6524bf756ce621c890e4a | 048af1a6d78095834d4c0a36a97e8eaf3e69a72d | refs/heads/master | 2021-05-31T13:43:03.758515 | 2016-03-14T18:26:34 | 2016-03-14T18:26:34 | 34,898,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,160 | cpp | #include "cinder/app/AppNative.h"
#include "cinder/Rand.h"
#include "cinder/Utilities.h"
#include "cinder/gl/gl.h"
#include "cinder/gl/Fbo.h"
#include "cinder/gl/Texture.h"
#include "cinder/Camera.h"
#include "cinder/MayaCamUI.h"
#include "cinder/Perlin.h"
#include "cinder/params/Params.h"
#include "CinderOpenCv.h"
#include "csound.hpp"
#include "csPerfThread.hpp"
#include "csound.h"
#include "ContourMap.h"
#include "mtUtil.h"
#include "ConsoleColor.h"
using namespace ci;
using namespace ci::app;
using namespace std;
class cApp : public AppNative {
public:
void setup();
void update();
void draw();
void shutdown();
Csound * csound;
CsoundPerformanceThread * perfThread;
double mPitch;
double mPitchFirst;
Perlin mPln;
};
void cApp::setup(){
mPitch = mPitchFirst = 200;
mPln.setSeed(123);
mPln.setOctaves(3);
csound = new Csound();
csound->SetOption( (char*)"-odac" );
string orc = R"dlm(
; orchestra code
sr=44100
ksmps=32
nchnls=2
0dbfs=1
instr 1
kfreq chnget "pitch"
aout vco2 0.01, kfreq
outs aout, aout
endin
)dlm";
string sco = R"dlm(
; score code
i1 0 10000
)dlm";
{
cout << orc << endl;
int result = csound->CompileOrc( orc.c_str() );
if( result ==0 ){
ccout::b( "Orcestra file compile OK" );
}else{
ccout::r( "Orcestra file compile Failed" );
quit();
}
}
{
cout << sco << endl;
int result = csound->ReadScore(sco.c_str());
if( result ==0 ){
ccout::b("Score file compile OK");
}else{
ccout::r("Score file compile Failed");
}
}
{
int result = csound->Start();
if( result ==0 ){
ccout::b("Csound start OK");
}else{
ccout::r("CSound start Failed");
quit();
}
}
perfThread = new CsoundPerformanceThread(csound);
perfThread->Play();
}
void cApp::update(){
double * pvalue;
int result = csoundGetChannelPtr( csound->GetCsound(), &pvalue, "pitch", CSOUND_INPUT_CHANNEL | CSOUND_CONTROL_CHANNEL );
if( result != 0){
cout << "Cant get chPtr" << endl;
}else{
*pvalue = mPitch;
mPitch += mPln.fBm( getElapsedFrames()*0.05, mPitch*0.05 )*100.0;
}
}
void cApp::draw(){
int w = getWindowWidth();
int h = getWindowHeight();
double d = mPitch - mPitchFirst;
gl::clear(Colorf(1,1,1));
gl::pushMatrices();
gl::translate(w/2, h/2);
gl::color(0, 0, 1);
gl::drawSolidEllipse( Vec2f(0, -d*0.2), 5, 5);
gl::drawLine(Vec2f(0,0), Vec2f(0,-d*0.2));
gl::popMatrices();
}
void cApp::shutdown(){
delete perfThread;
delete csound;
}
CINDER_APP_NATIVE( cApp, RendererGl(0) )
| [
"[email protected]"
] | |
fad63521a54094ce5376edbe04850beafe7a2e85 | 9d164088aa2d5a65215b77186c45da093ad68cb1 | /src/CGnuPlotEndBar.h | 8dbd87e76ac51b3dbf121d4ffa55496a76a11c4a | [
"MIT"
] | permissive | colinw7/CQGnuPlot | 9c247a7ff8afd0060fd99d7f4c12d4f105dfc9d9 | c12ad292932a2116ab7fbb33be158adcf6c32674 | refs/heads/master | 2023-04-14T07:29:43.807602 | 2023-04-03T15:59:36 | 2023-04-03T15:59:36 | 26,377,931 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,506 | h | #ifndef CGnuPlotEndBar_H
#define CGnuPlotEndBar_H
#include <CPoint2D.h>
#include <CGnuPlotStroke.h>
class CGnuPlotPlot;
class CGnuPlotBoxBarObject;
class CGnuPlotRenderer;
class CGnuPlotEndBar {
public:
CGnuPlotEndBar(CGnuPlotPlot *plot);
virtual ~CGnuPlotEndBar() { }
CGnuPlotEndBar(const CGnuPlotEndBar &) = delete;
CGnuPlotEndBar &operator=(const CGnuPlotEndBar &) = delete;
void setBarObject(CGnuPlotBoxBarObject *bar) { bar_ = bar; }
const CPoint2D &start() const { return start_; }
void setStart(const CPoint2D &v) { start_ = v; }
const CPoint2D &end() const { return end_; }
void setEnd(const CPoint2D &v) { end_ = v; }
bool isStartLine() const { return startLine_; }
void setStartLine(bool b) { startLine_ = b; }
bool isEndLine() const { return endLine_; }
void setEndLine(bool b) { endLine_ = b; }
double endWidth() const { return endWidth_; }
void setEndWidth(double r) { endWidth_ = r; }
const CGnuPlotStrokeP &stroke() const { return stroke_; }
void setStroke(const CGnuPlotStrokeP &s) { stroke_ = s; }
virtual void draw(CGnuPlotRenderer *renderer) const;
protected:
CGnuPlotPlot* plot_ { 0 };
CGnuPlotBoxBarObject* bar_ { 0 };
CPoint2D start_;
CPoint2D end_;
bool startLine_ { false };
bool endLine_ { false };
double endWidth_ { 0 };
CGnuPlotStrokeP stroke_;
};
typedef CRefPtr<CGnuPlotEndBar> CGnuPlotEndBarP;
#endif
| [
"[email protected]"
] | |
d75b02a27cad699876d1ad8adcb25a2487a6b776 | 9a32178d3c2fdf377d84f65b55989264e67f40e9 | /2002/ALL VC SAMPLES/ManagedExtensions/Interoperability/MEDriver/MEDriver.cpp | e13773849bcd5d05c88bcf278efefec4971c032b | [] | no_license | philipwolfe/Samples | 5e5cc1376575ac6361b62a3554c98626f153b694 | 7eb703287a6d07596a141c4557f271efe6c1666f | refs/heads/master | 2021-12-25T12:52:52.616313 | 2021-12-19T04:26:29 | 2021-12-19T04:26:29 | 250,445,305 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,259 | cpp | /*=====================================================================
File: MEDriver.cpp
Summary: The Managed Extension Driver sample shows how to use COM events in .NET world.
---------------------------------------------------------------------
This file is part of the Microsoft VC++ Code Samples.
Copyright (C) 2001 Microsoft Corporation. All rights reserved.
This source code is intended only as a supplement to Microsoft
Development Tools and/or on-line documentation. See these other
materials for detailed information regarding Microsoft code samples.
THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
=====================================================================*/
// This is the main project file for VC++ application project
// generated using an Application Wizard.
#include "stdafx.h"
#using <mscorlib.dll>
#using "CONNECTLib.dll" // generated by tlbimp from the output bits of the connect sample found in the ATL/COM sample section
#using <system.dll>
#using <system.windows.forms.dll>
#using <system.drawing.dll>
using namespace System;
using namespace System::Drawing;
using namespace System::Collections;
using namespace System::Threading;
using namespace System::Windows::Forms;
using namespace CONNECTLib;
#define null 0L
public
__gc class HashElem
{
public:
HashElem() {nPos = 0;nDir=1;}
Int32 nPos;
Int32 nDir;
};
public
__gc class MEDriverForm : public Form
{
private:
Button* btnOK;
Button* btnStart;
Button* btnStop;
Button* btnStopAll;
Button* btnAdvise;
Button* btnUnAdvise;
CoRandomClass* m_comObj;
public:
PictureBox* pictureBox1;
static const Int32 nMaxThreads = 10;
Int32 nThreads, m_nAdvisedObjs;
Int32 m_arrID[];
MEDriverForm()
{
InitializeComponent();
nThreads = 1;
m_nAdvisedObjs = 0;
m_arrID = new Int32[nMaxThreads];
m_comObj = new CoRandomClass();
}
__gc class CMEDriver
{
public:
CMEDriver(MEDriverForm* pDriverForm) : m_cs(new Mutex), m_mapPos(new Hashtable), m_pDr(pDriverForm) {}
void Fire(int l);
private:
Mutex* m_cs;
Hashtable* m_mapPos;
MEDriverForm* m_pDr;
};
private:
void InitializeComponent()
{
btnAdvise = new Button();
btnOK = new Button();
btnStop = new Button();
btnStopAll = new Button();
btnUnAdvise = new Button();
pictureBox1 = new PictureBox();
btnStart = new Button();
btnAdvise->Location = Point(400, 184);
btnAdvise->Size = System::Drawing::Size(88, 24);
btnAdvise->TabIndex = 1;
btnAdvise->Text = S"&Advise";
btnAdvise->Click += new EventHandler(this, OnAdvise);
btnOK->Location = Point(400, 8);
btnOK->Size = System::Drawing::Size(88, 24);
btnOK->TabIndex = 1;
btnOK->Text = S"OK";
btnOK->Click += new EventHandler(this, OnClose);
btnStop->Location = Point(400, 104);
btnStop->Size = System::Drawing::Size(88, 24);
btnStop->TabIndex = 1;
btnStop->Text = S"S&top";
btnStop->Click += new EventHandler(this, OnStop);
btnStopAll->Location = Point(400, 136);
btnStopAll->Size = System::Drawing::Size(88, 24);
btnStopAll->TabIndex = 1;
btnStopAll->Text = S"Stop A&ll";
btnStopAll->Click += new EventHandler(this, OnStopAll);
btnUnAdvise->Location = Point(400, 216);
btnUnAdvise->Size = System::Drawing::Size(88, 24);
btnUnAdvise->TabIndex = 1;
btnUnAdvise->Text = S"&UnAdvise";
btnUnAdvise->Click += new EventHandler(this, OnUnAdvise);
pictureBox1->Location = Point(32, 16);
pictureBox1->Size = System::Drawing::Size(352, 224);
pictureBox1->TabIndex = 0;
pictureBox1->TabStop = false;
btnStart->Location = Point(400, 72);
btnStart->Size = System::Drawing::Size(88, 24);
btnStart->TabIndex = 1;
btnStart->Text = S"&Start";
btnStart->Click += new EventHandler(this, OnStart);
AutoScaleBaseSize = System::Drawing::Size(5, 13);
ClientSize = System::Drawing::Size(507, 256);
Control* temp[] = new Control*[7];
temp[0] = pictureBox1;
temp[1] = btnUnAdvise;
temp[2] = btnAdvise;
temp[3] = btnStopAll;
temp[4] = btnStop;
temp[5] = btnStart;
temp[6] = btnOK;
Controls->AddRange(temp);
Text = S"COM Events sample:";
}
void OnClose(Object* sender, EventArgs* e)
{
m_comObj->StopAll();
while(0 < m_nAdvisedObjs)
OnUnAdvise(null, null);
Close();
}
void OnStart(Object* sender, EventArgs* e)
{
try
{
if(nThreads < nMaxThreads)
{
m_comObj->Start(&(m_arrID[nThreads - 1]));
++nThreads;
}
}
catch(Exception* e)
{
MessageBox::Show(S"Error starting a new thread:", e->ToString());
}
}
void OnStop(Object* sender, EventArgs* e)
{
if(nThreads > 0)
{
m_comObj->Stop(m_arrID[nThreads - 1]);
--nThreads;
}
}
void OnStopAll(Object* sender, EventArgs* e)
{
m_comObj->StopAll();
}
void OnAdvise(Object* sender, EventArgs* e)
{
m_comObj->Fire += new IRandomEvent_FireEventHandler(new CMEDriver(this), CMEDriver::Fire);
++m_nAdvisedObjs;
}
void OnUnAdvise(Object* sender, EventArgs* e)
{
m_comObj->Fire -= new IRandomEvent_FireEventHandler(new CMEDriver(this), CMEDriver::Fire);
--m_nAdvisedObjs;
}
};
void MEDriverForm::CMEDriver::Fire(Int32 l)
{
m_cs->WaitOne();
Graphics* gr = m_pDr->pictureBox1->CreateGraphics();
Rectangle rcl = m_pDr->pictureBox1->ClientRectangle;
Pen* p = new Pen( Color::Black );
gr->DrawLine( p, rcl.Left + 1, rcl.Bottom - 1, rcl.Right - 1, rcl.Bottom - 1 );
gr->DrawLine( p, rcl.Right - 1, rcl.Bottom - 1, rcl.Right - 1, rcl.Top + 1 );
gr->DrawLine( p, rcl.Left + 1, rcl.Bottom - 1, rcl.Left + 1, rcl.Top + 1 );
gr->DrawLine( p, rcl.Left + 1, rcl.Top + 1, rcl.Right - 1, rcl.Top + 1 );
HashElem* pos;
if( (pos = dynamic_cast<HashElem*>(m_mapPos->Item[__box(l)])) == null )
{
m_mapPos->Item[__box(l)] = new HashElem();
pos = dynamic_cast<HashElem*>(m_mapPos->Item[__box(l)]);
}
Color cr = Color::Black;
switch (l)
{
case 0:
cr = Color::FromArgb(255,0,0);
break;
case 1:
cr = Color::FromArgb(0,255,0);
break;
case 2:
cr = Color::FromArgb(0,0,255);
break;
case 3:
cr = Color::FromArgb(255,255,0);
break;
case 4:
cr = Color::FromArgb(255,0,255);
break;
case 5:
cr = Color::FromArgb(0,255,255);
break;
case 6:
cr = Color::FromArgb(64,64,64);
break;
case 7:
cr = Color::FromArgb(128,128,128);
break;
case 8:
cr = Color::FromArgb(192,192,192);
break;
case 9:
cr = Color::FromArgb(0,0,0);
break;
}
int nH = rcl.Height/m_pDr->nThreads;
// if(rcl.Height - nH*l+pos->nPos);
if(1 == pos->nDir)
gr->DrawLine( new Pen(cr), m_pDr->m_nAdvisedObjs - 1, nH*l+pos->nPos, m_pDr->m_nAdvisedObjs, nH*l+pos->nPos);
else
gr->DrawLine( new Pen(Color::FromArgb(0,0,0)), m_pDr->m_nAdvisedObjs - 1, nH*l+pos->nPos, m_pDr->m_nAdvisedObjs, nH*l+pos->nPos);
pos->nPos += pos->nDir;
if (pos->nPos >= nH)
{
pos->nDir = -1;
pos->nPos = nH-1;
}
if (pos->nPos <= -1)
{
pos->nDir = 1;
pos->nPos = 0;
}
m_mapPos->Item[__box(l)] = pos;
m_cs->ReleaseMutex();
}
// This is the entry point for this application
void main(void)
{
Thread::CurrentThread->ApartmentState = System::Threading::ApartmentState::STA;
Application::Run(new MEDriverForm());
} | [
"[email protected]"
] | |
aea54d8fac8e02f5718ed2dc69ab525014de38bb | 15dfbea7a1b4255de28a14fa8dbadcac3d6f9092 | /App/DigiPlot/source/MainWindow.cpp | 58f2b2891c18ad868051c73eb23c2a0ede55a9bb | [] | no_license | amoskahiga/utilities | 55acebca3e698a62f0609087c8213d89b0c8f7a7 | 2454594f59fdddb98d9e130df3ab5dc06cd71759 | refs/heads/master | 2021-01-18T09:57:25.651416 | 2012-03-28T06:54:25 | 2012-03-28T06:54:25 | 2,833,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,293 | cpp | #include <QFileDialog>
#include <QFileInfo>
#include <QMessageBox>
#include "DataPlot.h"
#include "MainWindow.h"
#include "ui_MainWindow.h"
#include "SettingsDialog.h"
#include "Utility.h"
/**
* Constructor
*/
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
m_file(0),
m_sampleThread(m_buffer, m_mutex, this),
m_plot(0)
{
ui->setupUi(this);
createActions();
createMenus();
m_settings.loadDefault();
m_plot = new DataPlot(this);
setCentralWidget(m_plot);
m_plot->setMinimumSize(400, 400);
m_plot->initialize(m_settings);
m_timer.setInterval(100);
connect(&m_timer, SIGNAL(timeout()), this, SLOT(sampleAndUpdate()));
m_timer.start();
m_buffer.set_capacity(1000000);
}
/**
* Destructor
*/
MainWindow::~MainWindow()
{
if (m_file) {
m_sampleThread.stop();
m_sampleThread.wait();
fclose(m_file);
}
m_file = 0;
m_settings.saveDefault();
delete ui;
}
/**
* Display the about dialog
*/
void MainWindow::createActions()
{
m_openAct = new QAction(QIcon(":/images/open.png"), "&Open...", this);
m_openAct->setShortcuts(QKeySequence::Open);
m_openAct->setStatusTip(tr("Open an existing file"));
connect(m_openAct, SIGNAL(triggered()), this, SLOT(open()));
m_saveAct = new QAction("&Save", this);
m_saveAct->setShortcuts(QKeySequence::Save);
m_saveAct->setStatusTip(tr("Save to current file"));
connect(m_saveAct, SIGNAL(triggered()), this, SLOT(save()));
m_saveAsAct = new QAction("&Save As...", this);
m_saveAsAct->setShortcuts(QKeySequence::SaveAs);
m_saveAsAct->setStatusTip(tr("Save to specified file"));
connect(m_saveAsAct, SIGNAL(triggered()), this, SLOT(saveAs()));
m_configureAct = new QAction("&Configure DigiPlot...", this);
m_configureAct->setStatusTip(tr("Configure the application's settings"));
connect(m_configureAct, SIGNAL(triggered()), this, SLOT(configure()));
m_aboutAct = new QAction("&About", this);
m_aboutAct->setStatusTip("Show the application's About box");
connect(m_aboutAct, SIGNAL(triggered()), this, SLOT(about()));
m_aboutQtAct = new QAction("About &Qt", this);
m_aboutQtAct->setStatusTip("Show the Qt library's About box");
connect(m_aboutQtAct, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
m_exitAct = new QAction("E&xit", this);
m_exitAct->setShortcuts(QKeySequence::Quit);
m_exitAct->setStatusTip("Exit the application");
connect(m_exitAct, SIGNAL(triggered()), this, SLOT(close()));
}
/**
* Set up menu items
*/
void MainWindow::createMenus()
{
m_fileMenu = menuBar()->addMenu(tr("&File"));
m_fileMenu->addAction(m_openAct);
m_fileMenu->addAction(m_saveAct);
m_fileMenu->addAction(m_saveAsAct);
m_fileMenu->addAction(m_exitAct);
m_toolsMenu = menuBar()->addMenu(tr("&Settings"));
m_toolsMenu->addAction(m_configureAct);
m_helpMenu = menuBar()->addMenu(tr("&Help"));
m_helpMenu->addAction(m_aboutAct);
m_helpMenu->addAction(m_aboutQtAct);
}
/**
* Open a dialog to allow the user to specify the sample file. If a valid file is selected, start sampling it.
*/
void MainWindow::open()
{
QString fileName = QFileDialog::getOpenFileName(this, "Open File", m_settings.recentPath);
if (!fileName.isEmpty()) {
// Close any active file
if (m_file) {
m_sampleThread.stop();
m_sampleThread.wait();
fclose(m_file);
}
if ((m_file = fopen(fileName.toStdString().c_str(), "rb")) == NULL) {
QMessageBox::warning(this, "Application", "Cannot read file: " + fileName);
return;
}
statusBar()->showMessage("File opened", 2000);
QFileInfo fileInfo(fileName);
m_settings.recentPath = fileInfo.filePath();
// Reset the current view
m_plot->setSettings(m_settings);
m_sampleThread.setFile(m_file);
m_sampleThread.start();
}
}
/**
* Open a dialog to allow the user to specify a file to save the currently displayed samples to. If a valid file is
* selected, save the samples to it.
*/
void MainWindow::saveAs()
{
QString fileName = QFileDialog::getSaveFileName(this, "Open File", m_settings.recentPath);
if (!fileName.isEmpty()) {
QFile file(fileName);
if (!file.open(QIODevice::WriteOnly))
{
QMessageBox::warning(this, "Application", "Cannot read file: " + fileName);
return;
}
QVector<QPointF> points = m_plot->getDisplayedPoints();
QVector<double> yPoints = Utility::getYValues(points);
QBitArray bits = Utility::toBits(yPoints);
QVector<char> chars = Utility::toChars(bits);
// Save the chars to file
QDataStream outStream(&file);
outStream.writeRawData(chars.data(), chars.size());
statusBar()->showMessage("File saved", 2000);
}
}
/**
* Open the configuration dialog with the current settings, allowing the user to modify and persist them
*/
void MainWindow::configure()
{
SettingsDialog settingsDialog;
settingsDialog.setSettings(m_settings);
if (settingsDialog.exec() == QDialog::Accepted) {
settingsDialog.getSettings(m_settings);
m_plot->setSettings(m_settings);
}
}
/**
* Display the about dialog
*/
void MainWindow::about()
{
QMessageBox::about(this, tr("About DigiPlot"),
tr("The <b>DigiPlot</b> provides a graphing interface to plot real-time or archived data."));
}
/**
* Read the available data from the shared buffer and plot it. Access to the buffer is synchronized with a mutex.
*/
void MainWindow::sampleAndUpdate()
{
// If we have an open file and some data to read
if (m_file && m_buffer.size()) {
// Get data from the buffer
const size_t size = m_buffer.size();
// char* buffer = m_buffer.linearize();
char tempBuffer[size];
m_mutex.lock();
for (size_t i = 0; i < size; ++i) {
tempBuffer[i] = m_buffer[0];
m_buffer.pop_front();
}
m_mutex.unlock();
// Add the data to our plot
QBitArray bits = Utility::toBits(tempBuffer, size);
m_plot->addPoints(bits);
}
}
| [
"[email protected]"
] | |
f82477304c282f1194f653d07e1d04605eb39446 | 60556523e3b487de570617306fb5dc29b05d1545 | /seedlingDetector/WatershedCustom.cpp | e339afceab2c06bfc44abda07e77575912aa1637 | [] | no_license | sukruburakcetin/seedlingDetector | 3eaf6f7284a6b6e507563807a3538ab50b5239b8 | 66c941ac3002c600eb36aaa986e83348219065cd | refs/heads/master | 2023-07-13T08:41:19.489626 | 2021-08-18T13:24:44 | 2021-08-18T13:24:44 | 339,544,180 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,619 | cpp | #include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
#include <array>
#include "Helpers.hpp"
#include "WatershedCustom.hpp"
#include <iostream>
using namespace cv;
using namespace std;
const int SINGLE_POINTS = 0;
const int SEGMENTED = 2;
const uchar MAXIMUM = 1; // marks local maxima (irrespective of noise tolerance)
const uchar LISTED = 2; // marks points currently in the list
const uchar PROCESSED = 4; // marks points processed previously
const uchar MAX_AREA = 8; // marks areas near a maximum, within the tolerance
const uchar EQUAL = 16; // marks contigous maximum points of equal level
const uchar MAX_POINT = 32; // marks a single point standing for a maximum
const uchar ELIMINATED = 64; // marks maxima that have been eliminated before watershed
const int ONE = 41;
const int SQRT2 = 58;
const int SQRT5 = 92;
array<int, 8> dirOffset;
array<int, 8> dirXoffset = {0, 1, 1, 1, 0, -1, -1, -1};
array<int, 8> dirYoffset = {-1, -1, 0, 1, 1, 1, 0, -1};
class MaxPoint
{
public:
short x;
short y;
float value;
MaxPoint(const short x, const short y, const float value) : x(x), y(y), value(value) {}
bool operator<(const MaxPoint other) const { return value < other.value; }
};
int trueEdmHeight(const int x, const int y, Mat& ip)
{
const int xmax = ip.cols - 1;
const int ymax = ip.rows - 1;
const int v = ip.at<short>(y, x);
if (x == 0 || y == 0 || x == xmax || y == ymax || v == 0) {
return v; //don't recalculate for edge pixels or background
}
else {
const int one = ONE;
const int sqrt2 = SQRT2;
int trueH = v + sqrt2 / 2; //true height can never by higher than this
bool ridgeOrMax = false;
for (int d = 0; d < 4; d++) {
//for all directions halfway around:
const int d2 = (d + 4) % 8; //get the opposite direction and neighbors
int v1 = ip.at<short>(y + dirYoffset[d], x + dirXoffset[d]);
int v2 = ip.at<short>(y + dirYoffset[d2], x + dirXoffset[d2]);
int h;
if (v >= v1 && v >= v2) {
ridgeOrMax = true;
h = (v1 + v2) / 2;
}
else {
h = min(v1, v2);
}
h += (d % 2 == 0) ? one : sqrt2; //in diagonal directions, distance is sqrt2
if (trueH > h) trueH = h;
}
if (!ridgeOrMax) trueH = v;
return trueH;
}
}
bool isWithin(Mat& ip, const int x, const int y, const int direction)
{
const int width = ip.cols;
const int height = ip.rows;
const int xmax = width - 1;
const int ymax = height - 1;
switch (direction) {
case 0:
return (y > 0);
case 1:
return (x < xmax && y > 0);
case 2:
return (x < xmax);
case 3:
return (x < xmax && y < ymax);
case 4:
return (y < ymax);
case 5:
return (x > 0 && y < ymax);
case 6:
return (x > 0);
case 7:
return (x > 0 && y > 0);
default:
return false;
}
}
void getSortedMaxPoints(Mat& ip, Mat& typeP, vector<MaxPoint>& maxPoints, const bool excludeEdgesNow, const bool isEDM, const float globalMin)
{
const int width = ip.cols;
const int height = ip.rows;
int nMax = 0; //counts local maxima
for (int y = 0; y < height; y++) {
// find local maxima now
for (int x = 0; x < width; x++) {
const float v = ip.at<short>(y, x);
const float vTrue = isEDM ? trueEdmHeight(x, y, ip) : v; // for 16-bit EDMs, use interpolated ridge height
if (v == globalMin) continue;
if (excludeEdgesNow && (x == 0 || x == width - 1 || y == 0 || y == height - 1)) continue;
bool isMax = true;
/* check wheter we have a local maximum.
Note: For a 16-bit EDM, we need all maxima: those of the EDM-corrected values
(needed by findMaxima) and those of the raw values (needed by cleanupMaxima) */
for (int d = 0; d < 8; d++) {
// compare with the 8 neighbor pixels
if (isWithin(ip, x, y, d)) {
const float vNeighbor = ip.at<short>(y + dirYoffset[d], x + dirXoffset[d]);
const float vNeighborTrue = isEDM ? trueEdmHeight(x + dirXoffset[d], y + dirYoffset[d], ip) : vNeighbor;
if (vNeighbor > v && vNeighborTrue > vTrue) {
isMax = false;
break;
}
}
}
if (isMax) {
typeP.at<uchar>(y, x) = MAXIMUM;
nMax++;
}
} // for x
} // for y
maxPoints.reserve(nMax);
for (short y = 0; y < height; y++) {
for (short x = 0; x < width; x++) {
if (typeP.at<uchar>(y, x) == MAXIMUM) {
maxPoints.push_back(MaxPoint(x, y, isEDM ? trueEdmHeight(x, y, ip) : ip.at<short>(x, y)));
}
}
}
std::sort(maxPoints.begin(), maxPoints.end());
}
void analyzeAndMarkMaxima(Mat& ip, Mat& typeP, vector<MaxPoint>& maxPoints, const bool excludeEdgesNow, const bool isEDM, const float globalMin, const double tolerance)
{
const int width = ip.cols;
const int height = ip.rows;
const int nMax = maxPoints.size();
uchar* types = typeP.ptr<uchar>();
short* xList = new short[width * height](); //here we enter points starting from a maximum
short* yList = new short[width * height]();
//bool displayOrCount = false;
for (int iMax = nMax - 1; iMax >= 0; iMax--) {
//process all maxima now, starting from the highest
const float v = maxPoints[iMax].value;
if (v == globalMin) break;
int offset = maxPoints[iMax].x + width * maxPoints[iMax].y;
if ((types[offset] & PROCESSED) != 0) //this maximum has been reached from another one, skip it
continue;
xList[0] = maxPoints[iMax].x; //we create a list of connected points and start the list
yList[0] = maxPoints[iMax].y; // at the current maximum
types[offset] |= (EQUAL | LISTED); //mark first point as equal height (to itself) and listed
int listLen = 1; //number of elements in the list
int listI = 0; //index of current element in the list
//bool isEdgeMaximum = (xList[0] == 0 || xList[0] == width - 1 || yList[0] == 0 || yList[0] == height - 1);
bool maxPossible = true; //it may be a true maxmum
double xEqual = xList[0]; //for creating a single point: determine average over the
double yEqual = yList[0]; // coordinates of contiguous equal-height points
int nEqual = 1; //counts xEqual/yEqual points that we use for averaging
do {
offset = xList[listI] + width * yList[listI];
for (int d = 0; d < 8; d++) {
//analyze all neighbors (in 8 directions) at the same level
const int offset2 = offset + dirOffset[d];
if (isWithin(ip, xList[listI], yList[listI], d) && (types[offset2] & LISTED) == 0) {
if ((types[offset2] & PROCESSED) != 0) {
maxPossible = false; //we have reached a point processed previously, thus it is no maximum now
break;
}
const int x2 = xList[listI] + dirXoffset[d];
const int y2 = yList[listI] + dirYoffset[d];
float v2 = ip.at<short>(y2, x2);
if (isEDM && (v2 <= v - static_cast<float>(tolerance))) v2 = trueEdmHeight(x2, y2, ip); //correcting for EDM peaks may move the point up
if (v2 > v) {
maxPossible = false; //we have reached a higher point, thus it is no maximum
break;
}
else if (v2 >= v - static_cast<float>(tolerance)) {
xList[listLen] = static_cast<float>(x2);
yList[listLen] = static_cast<float>(y2);
listLen++; //we have found a new point within the tolerance
types[offset2] |= LISTED;
if (x2 == 0 || x2 == width - 1 || y2 == 0 || y2 == height - 1) {
//isEdgeMaximum = true;
if (excludeEdgesNow) {
maxPossible = false;
break; //we have an edge maximum;
}
}
if (v2 == v) {
//prepare finding center of equal points (in case single point needed)
types[offset2] |= EQUAL;
xEqual += x2;
yEqual += y2;
nEqual++;
}
}
} // if isWithin & not LISTED
} // for directions d
listI++;
}
while (listI < listLen);
const uchar resetMask = static_cast<float>(~(maxPossible ? LISTED : (LISTED | EQUAL)));
xEqual /= nEqual;
yEqual /= nEqual;
double minDist2 = 1e20;
int nearestI = 0;
for (listI = 0; listI < listLen; listI++) {
offset = xList[listI] + width * yList[listI];
types[offset] &= resetMask; //reset attributes no longer needed
types[offset] |= PROCESSED; //mark as processed
if (maxPossible) {
types[offset] |= MAX_AREA;
if ((types[offset] & EQUAL) != 0) {
const double dist2 = (xEqual - xList[listI]) * (xEqual - xList[listI]) + (yEqual - yList[listI]) * (yEqual - yList[listI]);
if (dist2 < minDist2) {
minDist2 = dist2; //this could be the best "single maximum" point
nearestI = listI;
}
}
}
} // for listI
if (maxPossible) {
types[xList[nearestI] + width * yList[nearestI]] |= MAX_POINT;
}
}
delete[] xList;
delete[] yList;
}
void make8bit(Mat& ip, Mat& dst, Mat& typeP, const bool isEDM, const float globalMin, const float globalMax)
{
const int width = ip.cols;
const int height = ip.rows;
uchar* types = typeP.ptr<uchar>();
const double minValue = globalMin;
const double offset = minValue - (globalMax - minValue) * (1. / 253 / 2 - 1e-6); //everything above minValue should become >(uchar)0
double factor = 253 / (globalMax - minValue);
if (isEDM && factor > 1. / ONE)
factor = 1. / ONE; // in EDM, no better resolution is needed
dst.create(height, width, CV_8U);
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {
const long v = static_cast<long>(round((ip.at<short>(y, x) - offset) * factor));
if (v < 0) dst.at<uchar>(y, x) = 0;
else if (v <= 255) dst.at<uchar>(y, x) = static_cast<uchar>(v & 255);
else dst.at<uchar>(y, x) = 255;
}
}
for (int y = 0, i = 0; y < height; y++) {
for (int x = 0; x < width; x++, i++) {
if ((dst.at<uchar>(y, x) & 255) == 255) //pixel value 255 is reserved
dst.at<uchar>(y, x)--;
if ((types[i] & MAX_AREA) != 0)
dst.at<uchar>(y, x) = 255; //prepare watershed by setting "true" maxima+surroundings to 255
}
}
}
void cleanupMaxima(Mat& outIp, Mat& typeP, vector<MaxPoint>& maxPoints)
{
uchar* pixels = outIp.ptr<uchar>();
uchar* types = typeP.ptr<uchar>();
const int width = outIp.cols;
const int height = outIp.rows;
const int nMax = maxPoints.size();
short* xList = new short[width * height]();
short* yList = new short[width * height]();
for (int iMax = nMax - 1; iMax >= 0; iMax--) {
int offset = maxPoints[iMax].x + width * maxPoints[iMax].y;
if ((types[offset] & (MAX_AREA | ELIMINATED)) != 0) continue;
const int level = pixels[offset] & 255;
int loLevel = level + 1;
xList[0] = maxPoints[iMax].x; //we start the list at the current maximum
yList[0] = maxPoints[iMax].y;
types[offset] |= LISTED; //mark first point as listed
int listLen = 1; //number of elements in the list
int lastLen = 1;
int listI; //index of current element in the list
bool saddleFound = false;
while (!saddleFound && loLevel > 0) {
loLevel--;
lastLen = listLen; //remember end of list for previous level
listI = 0; //in each level, start analyzing the neighbors of all pixels
do {
//for all pixels listed so far
offset = xList[listI] + width * yList[listI];
for (int d = 0; d < 8; d++) {
//analyze all neighbors (in 8 directions) at the same level
const int offset2 = offset + dirOffset[d];
if (isWithin(typeP, xList[listI], yList[listI], d) && (types[offset2] & LISTED) == 0) {
if ((types[offset2] & MAX_AREA) != 0 || (((types[offset2] & ELIMINATED) != 0) && (pixels[offset2] & 255) >= loLevel)) {
saddleFound = true; //we have reached a point touching a "true" maximum...
break; //...or a level not lower, but touching a "true" maximum
}
else if ((pixels[offset2] & 255) >= loLevel && (types[offset2] & ELIMINATED) == 0) {
xList[listLen] = static_cast<short>(xList[listI] + dirXoffset[d]);
yList[listLen] = static_cast<short>(yList[listI] + dirYoffset[d]);
listLen++; //we have found a new point to be processed
types[offset2] |= LISTED;
}
} // if isWithin & not LISTED
} // for directions d
if (saddleFound) break; //no reason to search any further
listI++;
}
while (listI < listLen);
} // while !levelFound && loLevel>=0
for (listI = 0; listI < listLen; listI++) //reset attribute since we may come to this place again
types[xList[listI] + width * yList[listI]] &= ~LISTED;
for (listI = 0; listI < lastLen; listI++) {
//for all points higher than the level of the saddle point
offset = xList[listI] + width * yList[listI];
pixels[offset] = loLevel; //set pixel value to the level of the saddle point
types[offset] |= ELIMINATED; //mark as processed: there can't be a local maximum in this area
}
} // for all maxima iMax
delete[] xList;
delete[] yList;
}
void makeFateTable(vector<int>& table)
{
bool* isSet = new bool[8]();
for (int item = 0; item < 256; item++) {
//dissect into pixels
for (int i = 0, mask = 1; i < 8; i++) {
isSet[i] = (item & mask) == mask;
mask *= 2;
}
for (int i = 0, mask = 1; i < 8; i++) {
//we dilate in the direction opposite to the direction of the existing neighbors
if (isSet[(i + 4) % 8]) table[item] |= mask;
mask *= 2;
}
for (int i = 0; i < 8; i += 2) //if side pixels are set, for counting transitions it is as good as if the adjacent edges were also set
if (isSet[i]) {
isSet[(i + 1) % 8] = true;
isSet[(i + 7) % 8] = true;
}
int transitions = 0;
for (int i = 0; i < 8; i++) {
if (isSet[i] != isSet[(i + 1) % 8])
transitions++;
}
if (transitions >= 4) {
//if neighbors contain more than one region, dilation ito this pixel is forbidden
table[item] = 0;
}
}
}
bool processLevel(const int level, const int pass, Mat& ip1, Mat& ip2, vector<int>& table, int* histogram, int* levelStart, short* xCoordinate, short* yCoordinate)
{
const int rowSize = ip1.cols;
const int height = ip1.rows;
const int xmax = rowSize - 1;
const int ymax = height - 1;
uchar* pixels1 = ip1.ptr<uchar>();
uchar* pixels2 = ip2.ptr<uchar>();
bool changed = false;
for (int i = 0; i < histogram[level]; i++) {
const int coordOffset = levelStart[level] + i;
const int x = xCoordinate[coordOffset];
const int y = yCoordinate[coordOffset];
const int offset = x + y * rowSize;
if ((pixels2[offset] & 255) != 255) {
int index = 0;
if (y > 0 && (pixels2[offset - rowSize] & 255) == 255)
index ^= 1;
if (x < xmax && y > 0 && (pixels2[offset - rowSize + 1] & 255) == 255)
index ^= 2;
if (x < xmax && (pixels2[offset + 1] & 255) == 255)
index ^= 4;
if (x < xmax && y < ymax && (pixels2[offset + rowSize + 1] & 255) == 255)
index ^= 8;
if (y < ymax && (pixels2[offset + rowSize] & 255) == 255)
index ^= 16;
if (x > 0 && y < ymax && (pixels2[offset + rowSize - 1] & 255) == 255)
index ^= 32;
if (x > 0 && (pixels2[offset - 1] & 255) == 255)
index ^= 64;
if (x > 0 && y > 0 && (pixels2[offset - rowSize - 1] & 255) == 255)
index ^= 128;
switch (pass) {
case 0: if ((table[index] & 1) == 1) {
pixels1[offset] = 255;
changed = true;
}
break;
case 1: if ((table[index] & 2) == 2) {
pixels1[offset] = 255;
changed = true;
}
break;
case 2: if ((table[index] & 4) == 4) {
pixels1[offset] = 255;
changed = true;
}
break;
case 3: if ((table[index] & 8) == 8) {
pixels1[offset] = 255;
changed = true;
}
break;
case 4: if ((table[index] & 16) == 16) {
pixels1[offset] = 255;
changed = true;
}
break;
case 5: if ((table[index] & 32) == 32) {
pixels1[offset] = 255;
changed = true;
}
break;
case 6: if ((table[index] & 64) == 64) {
pixels1[offset] = 255;
changed = true;
}
break;
case 7: if ((table[index] & 128) == 128) {
pixels1[offset] = 255;
changed = true;
}
break;
default:
printf("Invalid call to processLevel!");
} // switch
} // if .. !=255
} // for pixel i
if (changed) //make sure that ip2 is updated for the next time
std::copy_n(pixels1, rowSize * height, pixels2);
return changed;
}
void watershedSegment(Mat& ip)
{
const int width = ip.cols;
const int height = ip.rows;
uchar* pixels = ip.ptr<uchar>();
// create arrays with the coordinates of all points between value 1 and 254
//This method, suggested by Stein Roervik (stein_at_kjemi-dot-unit-dot-no),
//greatly speeds up the watershed segmentation routine.
Mat hist;
getHistogramGrayscale(ip, hist);
int* histogram = hist.ptr<int>();
const int arraySize = width * height - histogram[0] - histogram[255];
short* xCoordinate = new short[arraySize]();
short* yCoordinate = new short[arraySize]();
int highestValue = 0;
int offset = 0;
int* levelStart = new int[256]();
for (int v = 1; v < 255; v++) {
levelStart[v] = offset;
offset += histogram[v];
if (histogram[v] > 0) highestValue = v;
}
int* levelOffset = new int[highestValue + 1]();
for (int y = 0, i = 0; y < height; y++) {
for (int x = 0; x < width; x++, i++) {
const int v = pixels[i] & 255;
if (v > 0 && v < 255) {
offset = levelStart[v] + levelOffset[v];
xCoordinate[offset] = static_cast<short>(x);
yCoordinate[offset] = static_cast<short>(y);
levelOffset[v] ++;
}
} //for x
} //for y
// now do the segmentation, starting at the highest level and working down.
// At each level, dilate the particle, constrained to pixels whose values are
// at that level and also constrained to prevent features from merging.
vector<int> table(256);
makeFateTable(table);
Mat ip2 = ip.clone();
for (int level = highestValue; level >= 1; level--) {
int idle = 1;
while (true) {
// break the loop at any point after 8 idle processLevel calls
if (processLevel(level, 7, ip, ip2, table, histogram, levelStart, xCoordinate, yCoordinate))
idle = 0;
if (++idle >= 8) break;
if (processLevel(level, 3, ip, ip2, table, histogram, levelStart, xCoordinate, yCoordinate))
idle = 0;
if (idle++ >= 8) break;
if (processLevel(level, 1, ip, ip2, table, histogram, levelStart, xCoordinate, yCoordinate))
idle = 0;
if (idle++ >= 8) break;
if (processLevel(level, 5, ip, ip2, table, histogram, levelStart, xCoordinate, yCoordinate))
idle = 0;
if (idle++ >= 8) break;
if (processLevel(level, 0, ip, ip2, table, histogram, levelStart, xCoordinate, yCoordinate))
idle = 0;
if (idle++ >= 8) break;
if (processLevel(level, 4, ip, ip2, table, histogram, levelStart, xCoordinate, yCoordinate))
idle = 0;
if (idle++ >= 8) break;
if (processLevel(level, 2, ip, ip2, table, histogram, levelStart, xCoordinate, yCoordinate))
idle = 0;
if (idle++ >= 8) break;
if (processLevel(level, 6, ip, ip2, table, histogram, levelStart, xCoordinate, yCoordinate))
idle = 0;
if (idle++ >= 8) break;
}
}
delete[] xCoordinate;
delete[] yCoordinate;
delete[] levelStart;
delete[] levelOffset;
}
void findMaxima(Mat& src, Mat& dst, const double tolerance, const int outputType, const bool excludeOnEdges, const bool isEDM)
{
const int width = src.cols;
const int height = src.rows;
Mat typeP(height, width, CV_8UC1, Scalar(0));
//uchar *types = typeP.ptr<uchar>();
dirOffset = {-width, -width + 1, +1, +width + 1, +width, +width - 1, -1, -width - 1};
float globalMin = FLT_MAX;
float globalMax = -FLT_MAX;
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {
const float v = src.at<short>(y, x);
if (globalMin > v) globalMin = v;
if (globalMax < v) globalMax = v;
}
}
vector<MaxPoint> maxPoints;
getSortedMaxPoints(src, typeP, maxPoints, false, isEDM, globalMin);
analyzeAndMarkMaxima(src, typeP, maxPoints, false, isEDM, globalMin, tolerance);
if (outputType == SEGMENTED) {
//create 8-bit image from src with background 0 and maximum areas 255
make8bit(src, dst, typeP, isEDM, globalMin, globalMax);
cleanupMaxima(dst, typeP, maxPoints); //eliminate all the small maxima (i.e. those outside MAX_AREA)
watershedSegment(dst); //do watershed segmentation
dst = dst == 255;; //levels to binary image
}
else if (outputType == SINGLE_POINTS) {
dst = typeP & MAX_POINT;
}
}
void setValue(const int offset, const int rowsize, short* image16)
{
const int r1 = offset - rowsize - rowsize - 2;
const int r2 = r1 + rowsize;
const int r3 = r2 + rowsize;
const int r4 = r3 + rowsize;
const int r5 = r4 + rowsize;
int min = 32767;
int v = image16[r2 + 2] + ONE;
if (v < min)
min = v;
v = image16[r3 + 1] + ONE;
if (v < min)
min = v;
v = image16[r3 + 3] + ONE;
if (v < min)
min = v;
v = image16[r4 + 2] + ONE;
if (v < min)
min = v;
v = image16[r2 + 1] + SQRT2;
if (v < min)
min = v;
v = image16[r2 + 3] + SQRT2;
if (v < min)
min = v;
v = image16[r4 + 1] + SQRT2;
if (v < min)
min = v;
v = image16[r4 + 3] + SQRT2;
if (v < min)
min = v;
v = image16[r1 + 1] + SQRT5;
if (v < min)
min = v;
v = image16[r1 + 3] + SQRT5;
if (v < min)
min = v;
v = image16[r2 + 4] + SQRT5;
if (v < min)
min = v;
v = image16[r4 + 4] + SQRT5;
if (v < min)
min = v;
v = image16[r5 + 3] + SQRT5;
if (v < min)
min = v;
v = image16[r5 + 1] + SQRT5;
if (v < min)
min = v;
v = image16[r4] + SQRT5;
if (v < min)
min = v;
v = image16[r2] + SQRT5;
if (v < min)
min = v;
image16[offset] = static_cast<short>(min);
}
void setEdgeValue(const int offset, const int rowsize, short* image16, const int x, const int y, const int xmax, const int ymax)
{
int v;
const int r1 = offset - rowsize - rowsize - 2;
const int r2 = r1 + rowsize;
const int r3 = r2 + rowsize;
const int r4 = r3 + rowsize;
const int r5 = r4 + rowsize;
int min = 32767;
const int offimage = image16[r3 + 2];
if (y < 1)
v = offimage + ONE;
else
v = image16[r2 + 2] + ONE;
if (v < min)
min = v;
if (x < 1)
v = offimage + ONE;
else
v = image16[r3 + 1] + ONE;
if (v < min)
min = v;
if (x > xmax)
v = offimage + ONE;
else
v = image16[r3 + 3] + ONE;
if (v < min)
min = v;
if (y > ymax)
v = offimage + ONE;
else
v = image16[r4 + 2] + ONE;
if (v < min)
min = v;
if ((x < 1) || (y < 1))
v = offimage + SQRT2;
else
v = image16[r2 + 1] + SQRT2;
if (v < min)
min = v;
if ((x > xmax) || (y < 1))
v = offimage + SQRT2;
else
v = image16[r2 + 3] + SQRT2;
if (v < min)
min = v;
if ((x < 1) || (y > ymax))
v = offimage + SQRT2;
else
v = image16[r4 + 1] + SQRT2;
if (v < min)
min = v;
if ((x > xmax) || (y > ymax))
v = offimage + SQRT2;
else
v = image16[r4 + 3] + SQRT2;
if (v < min)
min = v;
if ((x < 1) || (y <= 1))
v = offimage + SQRT5;
else
v = image16[r1 + 1] + SQRT5;
if (v < min)
min = v;
if ((x > xmax) || (y <= 1))
v = offimage + SQRT5;
else
v = image16[r1 + 3] + SQRT5;
if (v < min)
min = v;
if ((x >= xmax) || (y < 1))
v = offimage + SQRT5;
else
v = image16[r2 + 4] + SQRT5;
if (v < min)
min = v;
if ((x >= xmax) || (y > ymax))
v = offimage + SQRT5;
else
v = image16[r4 + 4] + SQRT5;
if (v < min)
min = v;
if ((x > xmax) || (y >= ymax))
v = offimage + SQRT5;
else
v = image16[r5 + 3] + SQRT5;
if (v < min)
min = v;
if ((x < 1) || (y >= ymax))
v = offimage + SQRT5;
else
v = image16[r5 + 1] + SQRT5;
if (v < min)
min = v;
if ((x <= 1) || (y > ymax))
v = offimage + SQRT5;
else
v = image16[r4] + SQRT5;
if (v < min)
min = v;
if ((x <= 1) || (y < 1))
v = offimage + SQRT5;
else
v = image16[r2] + SQRT5;
if (v < min)
min = v;
image16[offset] = static_cast<short>(min);
}
Mat make16bitEDM(Mat& ip)
{
int offset;
const int width = ip.cols;
const int height = ip.rows;
const int rowsize = width;
const int xmax = width - 2;
const int ymax = height - 2;
Mat ip16;
ip.convertTo(ip16, CV_16S);
ip16 *= 128;
short* image16 = ip16.ptr<short>();
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {
offset = x + y * rowsize;
if (image16[offset] > 0) {
if ((x <= 1) || (x >= xmax) || (y <= 1) || (y >= ymax))
setEdgeValue(offset, rowsize, image16, x, y, xmax, ymax);
else
setValue(offset, rowsize, image16);
}
} // for x
} // for y
for (int y = height - 1; y >= 0; y--) {
for (int x = width - 1; x >= 0; x--) {
offset = x + y * rowsize;
if (image16[offset] > 0) {
if ((x <= 1) || (x >= xmax) || (y <= 1) || (y >= ymax))
setEdgeValue(offset, rowsize, image16, x, y, xmax, ymax);
else
setValue(offset, rowsize, image16);
}
} // for x
} // for y
return ip16;
}
void watershedProcess(Mat& src, Mat& dst, const double tolerance)
{
CV_Assert(src.type() == CV_8UC1);
Mat src16 = make16bitEDM(src);
findMaxima(src16, dst, tolerance, SEGMENTED, false, true);
}
void findMaximumPoints(Mat& src, Mat& dst, const double tolerance)
{
CV_Assert(src.type() == CV_8UC1);
Mat src16 = make16bitEDM(src);
findMaxima(src16, dst, tolerance, SINGLE_POINTS, false, true);
}
| [
"[email protected]"
] | |
b7a0e5749491d7b304c2d7fc32cf4dc8653f4fbe | b3710dfdd0eeb3e28d3a4c666af5df6558a03553 | /cgodeps/godot_engine/servers/physics_2d/broad_phase_2d_basic.cpp | 3bdfc1a9733cd58f2767b5f7e87d4727dd9e62e3 | [
"MIT",
"CC-BY-3.0",
"CC-BY-4.0",
"LicenseRef-scancode-free-unknown",
"OFL-1.1",
"BSD-3-Clause",
"Bitstream-Vera",
"FTL",
"MPL-2.0",
"Zlib",
"LicenseRef-scancode-nvidia-2002",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | gabstv/godot-go | 5befd7539ef35a9e459046644dd4b246a0db1ad9 | e0e7f07e1e44716e18330f063c9b3fd3c2468d31 | refs/heads/master | 2021-05-21T23:48:25.434825 | 2020-08-27T16:52:18 | 2020-08-27T16:52:18 | 252,864,512 | 10 | 3 | MIT | 2020-08-27T16:52:20 | 2020-04-03T23:26:52 | C++ | UTF-8 | C++ | false | false | 5,997 | cpp | /*************************************************************************/
/* broad_phase_2d_basic.cpp */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/*************************************************************************/
/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */
/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "broad_phase_2d_basic.h"
BroadPhase2DBasic::ID BroadPhase2DBasic::create(CollisionObject2DSW *p_object_, int p_subindex) {
current++;
Element e;
e.owner = p_object_;
e._static = false;
e.subindex = p_subindex;
element_map[current] = e;
return current;
}
void BroadPhase2DBasic::move(ID p_id, const Rect2 &p_aabb) {
Map<ID, Element>::Element *E = element_map.find(p_id);
ERR_FAIL_COND(!E);
E->get().aabb = p_aabb;
}
void BroadPhase2DBasic::set_static(ID p_id, bool p_static) {
Map<ID, Element>::Element *E = element_map.find(p_id);
ERR_FAIL_COND(!E);
E->get()._static = p_static;
}
void BroadPhase2DBasic::remove(ID p_id) {
Map<ID, Element>::Element *E = element_map.find(p_id);
ERR_FAIL_COND(!E);
element_map.erase(E);
}
CollisionObject2DSW *BroadPhase2DBasic::get_object(ID p_id) const {
const Map<ID, Element>::Element *E = element_map.find(p_id);
ERR_FAIL_COND_V(!E, nullptr);
return E->get().owner;
}
bool BroadPhase2DBasic::is_static(ID p_id) const {
const Map<ID, Element>::Element *E = element_map.find(p_id);
ERR_FAIL_COND_V(!E, false);
return E->get()._static;
}
int BroadPhase2DBasic::get_subindex(ID p_id) const {
const Map<ID, Element>::Element *E = element_map.find(p_id);
ERR_FAIL_COND_V(!E, -1);
return E->get().subindex;
}
int BroadPhase2DBasic::cull_segment(const Vector2 &p_from, const Vector2 &p_to, CollisionObject2DSW **p_results, int p_max_results, int *p_result_indices) {
int rc = 0;
for (Map<ID, Element>::Element *E = element_map.front(); E; E = E->next()) {
const Rect2 aabb = E->get().aabb;
if (aabb.intersects_segment(p_from, p_to)) {
p_results[rc] = E->get().owner;
p_result_indices[rc] = E->get().subindex;
rc++;
if (rc >= p_max_results) {
break;
}
}
}
return rc;
}
int BroadPhase2DBasic::cull_aabb(const Rect2 &p_aabb, CollisionObject2DSW **p_results, int p_max_results, int *p_result_indices) {
int rc = 0;
for (Map<ID, Element>::Element *E = element_map.front(); E; E = E->next()) {
const Rect2 aabb = E->get().aabb;
if (aabb.intersects(p_aabb)) {
p_results[rc] = E->get().owner;
p_result_indices[rc] = E->get().subindex;
rc++;
if (rc >= p_max_results) {
break;
}
}
}
return rc;
}
void BroadPhase2DBasic::set_pair_callback(PairCallback p_pair_callback, void *p_userdata) {
pair_userdata = p_userdata;
pair_callback = p_pair_callback;
}
void BroadPhase2DBasic::set_unpair_callback(UnpairCallback p_unpair_callback, void *p_userdata) {
unpair_userdata = p_userdata;
unpair_callback = p_unpair_callback;
}
void BroadPhase2DBasic::update() {
// recompute pairs
for (Map<ID, Element>::Element *I = element_map.front(); I; I = I->next()) {
for (Map<ID, Element>::Element *J = I->next(); J; J = J->next()) {
Element *elem_A = &I->get();
Element *elem_B = &J->get();
if (elem_A->owner == elem_B->owner) {
continue;
}
bool pair_ok = elem_A->aabb.intersects(elem_B->aabb) && (!elem_A->_static || !elem_B->_static);
PairKey key(I->key(), J->key());
Map<PairKey, void *>::Element *E = pair_map.find(key);
if (!pair_ok && E) {
if (unpair_callback) {
unpair_callback(elem_A->owner, elem_A->subindex, elem_B->owner, elem_B->subindex, E->get(), unpair_userdata);
}
pair_map.erase(key);
}
if (pair_ok && !E) {
void *data = nullptr;
if (pair_callback) {
data = pair_callback(elem_A->owner, elem_A->subindex, elem_B->owner, elem_B->subindex, unpair_userdata);
if (data) {
pair_map.insert(key, data);
}
}
}
}
}
}
BroadPhase2DSW *BroadPhase2DBasic::_create() {
return memnew(BroadPhase2DBasic);
}
BroadPhase2DBasic::BroadPhase2DBasic() {
current = 1;
unpair_callback = nullptr;
unpair_userdata = nullptr;
pair_callback = nullptr;
pair_userdata = nullptr;
}
| [
"[email protected]"
] | |
39b65a47e039be96bcb5f1586191122ba6888e93 | de59df06ef86ac907d925bf94275af235198a826 | /src/univalue/lib/univalue_read.cpp | b29a7b1160558b1d983eb031aff0861f93c01efb | [
"MIT"
] | permissive | phoenixkonsole/transcendence | 28045180823a9922221f806a273c02e034d2c90d | bbe75eb71a5643fa2ba6bb8002d6288b8e14716f | refs/heads/master | 2023-02-10T20:26:36.313626 | 2023-01-18T16:47:27 | 2023-01-18T16:47:27 | 136,924,482 | 32 | 47 | MIT | 2023-01-18T16:19:30 | 2018-06-11T12:39:41 | C++ | UTF-8 | C++ | false | false | 11,829 | cpp | // Copyright 2014 BitPay Inc.
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <string.h>
#include <vector>
#include <stdio.h>
#include <univalue.h>
#include "univalue_utffilter.h"
using namespace std;
static bool json_isdigit(int ch)
{
return ((ch >= '0') && (ch <= '9'));
}
// convert hexadecimal string to unsigned integer
static const char *hatoui(const char *first, const char *last,
unsigned int& out)
{
unsigned int result = 0;
for (; first != last; ++first)
{
int digit;
if (json_isdigit(*first))
digit = *first - '0';
else if (*first >= 'a' && *first <= 'f')
digit = *first - 'a' + 10;
else if (*first >= 'A' && *first <= 'F')
digit = *first - 'A' + 10;
else
break;
result = 16 * result + digit;
}
out = result;
return first;
}
enum jtokentype getJsonToken(string& tokenVal, unsigned int& consumed,
const char *raw, const char *end)
{
tokenVal.clear();
consumed = 0;
const char *rawStart = raw;
while (raw < end && (json_isspace(*raw))) // skip whitespace
raw++;
if (raw >= end)
return JTOK_NONE;
switch (*raw) {
case '{':
raw++;
consumed = (raw - rawStart);
return JTOK_OBJ_OPEN;
case '}':
raw++;
consumed = (raw - rawStart);
return JTOK_OBJ_CLOSE;
case '[':
raw++;
consumed = (raw - rawStart);
return JTOK_ARR_OPEN;
case ']':
raw++;
consumed = (raw - rawStart);
return JTOK_ARR_CLOSE;
case ':':
raw++;
consumed = (raw - rawStart);
return JTOK_COLON;
case ',':
raw++;
consumed = (raw - rawStart);
return JTOK_COMMA;
case 'n':
case 't':
case 'f':
if (!strncmp(raw, "null", 4)) {
raw += 4;
consumed = (raw - rawStart);
return JTOK_KW_NULL;
} else if (!strncmp(raw, "true", 4)) {
raw += 4;
consumed = (raw - rawStart);
return JTOK_KW_TRUE;
} else if (!strncmp(raw, "false", 5)) {
raw += 5;
consumed = (raw - rawStart);
return JTOK_KW_FALSE;
} else
return JTOK_ERR;
case '-':
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9': {
// part 1: int
string numStr;
const char *first = raw;
const char *firstDigit = first;
if (!json_isdigit(*firstDigit))
firstDigit++;
if ((*firstDigit == '0') && json_isdigit(firstDigit[1]))
return JTOK_ERR;
numStr += *raw; // copy first char
raw++;
if ((*first == '-') && (raw < end) && (!json_isdigit(*raw)))
return JTOK_ERR;
while (raw < end && json_isdigit(*raw)) { // copy digits
numStr += *raw;
raw++;
}
// part 2: frac
if (raw < end && *raw == '.') {
numStr += *raw; // copy .
raw++;
if (raw >= end || !json_isdigit(*raw))
return JTOK_ERR;
while (raw < end && json_isdigit(*raw)) { // copy digits
numStr += *raw;
raw++;
}
}
// part 3: exp
if (raw < end && (*raw == 'e' || *raw == 'E')) {
numStr += *raw; // copy E
raw++;
if (raw < end && (*raw == '-' || *raw == '+')) { // copy +/-
numStr += *raw;
raw++;
}
if (raw >= end || !json_isdigit(*raw))
return JTOK_ERR;
while (raw < end && json_isdigit(*raw)) { // copy digits
numStr += *raw;
raw++;
}
}
tokenVal = numStr;
consumed = (raw - rawStart);
return JTOK_NUMBER;
}
case '"': {
raw++; // skip "
string valStr;
JSONUTF8StringFilter writer(valStr);
while (true) {
if (raw >= end || (unsigned char)*raw < 0x20)
return JTOK_ERR;
else if (*raw == '\\') {
raw++; // skip backslash
if (raw >= end)
return JTOK_ERR;
switch (*raw) {
case '"': writer.push_back('\"'); break;
case '\\': writer.push_back('\\'); break;
case '/': writer.push_back('/'); break;
case 'b': writer.push_back('\b'); break;
case 'f': writer.push_back('\f'); break;
case 'n': writer.push_back('\n'); break;
case 'r': writer.push_back('\r'); break;
case 't': writer.push_back('\t'); break;
case 'u': {
unsigned int codepoint;
if (raw + 1 + 4 >= end ||
hatoui(raw + 1, raw + 1 + 4, codepoint) !=
raw + 1 + 4)
return JTOK_ERR;
writer.push_back_u(codepoint);
raw += 4;
break;
}
default:
return JTOK_ERR;
}
raw++; // skip esc'd char
}
else if (*raw == '"') {
raw++; // skip "
break; // stop scanning
}
else {
writer.push_back(*raw);
raw++;
}
}
if (!writer.finalize())
return JTOK_ERR;
tokenVal = valStr;
consumed = (raw - rawStart);
return JTOK_STRING;
}
default:
return JTOK_ERR;
}
}
enum expect_bits {
EXP_OBJ_NAME = (1U << 0),
EXP_COLON = (1U << 1),
EXP_ARR_VALUE = (1U << 2),
EXP_VALUE = (1U << 3),
EXP_NOT_VALUE = (1U << 4),
};
#define expect(bit) (expectMask & (EXP_##bit))
#define setExpect(bit) (expectMask |= EXP_##bit)
#define clearExpect(bit) (expectMask &= ~EXP_##bit)
bool UniValue::read(const char *raw, size_t size)
{
clear();
uint32_t expectMask = 0;
vector<UniValue*> stack;
string tokenVal;
unsigned int consumed;
enum jtokentype tok = JTOK_NONE;
enum jtokentype last_tok = JTOK_NONE;
const char* end = raw + size;
do {
last_tok = tok;
tok = getJsonToken(tokenVal, consumed, raw, end);
if (tok == JTOK_NONE || tok == JTOK_ERR)
return false;
raw += consumed;
bool isValueOpen = jsonTokenIsValue(tok) ||
tok == JTOK_OBJ_OPEN || tok == JTOK_ARR_OPEN;
if (expect(VALUE)) {
if (!isValueOpen)
return false;
clearExpect(VALUE);
} else if (expect(ARR_VALUE)) {
bool isArrValue = isValueOpen || (tok == JTOK_ARR_CLOSE);
if (!isArrValue)
return false;
clearExpect(ARR_VALUE);
} else if (expect(OBJ_NAME)) {
bool isObjName = (tok == JTOK_OBJ_CLOSE || tok == JTOK_STRING);
if (!isObjName)
return false;
} else if (expect(COLON)) {
if (tok != JTOK_COLON)
return false;
clearExpect(COLON);
} else if (!expect(COLON) && (tok == JTOK_COLON)) {
return false;
}
if (expect(NOT_VALUE)) {
if (isValueOpen)
return false;
clearExpect(NOT_VALUE);
}
switch (tok) {
case JTOK_OBJ_OPEN:
case JTOK_ARR_OPEN: {
VType utyp = (tok == JTOK_OBJ_OPEN ? VOBJ : VARR);
if (!stack.size()) {
if (utyp == VOBJ)
setObject();
else
setArray();
stack.push_back(this);
} else {
UniValue tmpVal(utyp);
UniValue *top = stack.back();
top->values.push_back(tmpVal);
UniValue *newTop = &(top->values.back());
stack.push_back(newTop);
}
if (utyp == VOBJ)
setExpect(OBJ_NAME);
else
setExpect(ARR_VALUE);
break;
}
case JTOK_OBJ_CLOSE:
case JTOK_ARR_CLOSE: {
if (!stack.size() || (last_tok == JTOK_COMMA))
return false;
VType utyp = (tok == JTOK_OBJ_CLOSE ? VOBJ : VARR);
UniValue *top = stack.back();
if (utyp != top->getType())
return false;
stack.pop_back();
clearExpect(OBJ_NAME);
setExpect(NOT_VALUE);
break;
}
case JTOK_COLON: {
if (!stack.size())
return false;
UniValue *top = stack.back();
if (top->getType() != VOBJ)
return false;
setExpect(VALUE);
break;
}
case JTOK_COMMA: {
if (!stack.size() ||
(last_tok == JTOK_COMMA) || (last_tok == JTOK_ARR_OPEN))
return false;
UniValue *top = stack.back();
if (top->getType() == VOBJ)
setExpect(OBJ_NAME);
else
setExpect(ARR_VALUE);
break;
}
case JTOK_KW_NULL:
case JTOK_KW_TRUE:
case JTOK_KW_FALSE: {
UniValue tmpVal;
switch (tok) {
case JTOK_KW_NULL:
// do nothing more
break;
case JTOK_KW_TRUE:
tmpVal.setBool(true);
break;
case JTOK_KW_FALSE:
tmpVal.setBool(false);
break;
default: /* impossible */ break;
}
if (!stack.size()) {
*this = tmpVal;
break;
}
UniValue *top = stack.back();
top->values.push_back(tmpVal);
setExpect(NOT_VALUE);
break;
}
case JTOK_NUMBER: {
UniValue tmpVal(VNUM, tokenVal);
if (!stack.size()) {
*this = tmpVal;
break;
}
UniValue *top = stack.back();
top->values.push_back(tmpVal);
setExpect(NOT_VALUE);
break;
}
case JTOK_STRING: {
if (expect(OBJ_NAME)) {
UniValue *top = stack.back();
top->keys.push_back(tokenVal);
clearExpect(OBJ_NAME);
setExpect(COLON);
} else {
UniValue tmpVal(VSTR, tokenVal);
if (!stack.size()) {
*this = tmpVal;
break;
}
UniValue *top = stack.back();
top->values.push_back(tmpVal);
}
setExpect(NOT_VALUE);
break;
}
default:
return false;
}
} while (!stack.empty ());
/* Check that nothing follows the initial construct (parsed above). */
tok = getJsonToken(tokenVal, consumed, raw, end);
if (tok != JTOK_NONE)
return false;
return true;
}
bool UniValue::read(const char *raw) {
return read(raw, strlen(raw));
}
| [
"[email protected]"
] | |
f393d6b91bb751d635723f433a84c2129dfb664b | 28e7bcfa5041f8266ace080f64794c78bb02a9ab | /Gnou/main.cpp | ba19e8ff3d6df3980feb9cce9d612db275a63c59 | [] | no_license | gpalex07/SIMU | 4361722c02367f3f3481d0bfcae7b5d7c69bf69a | 2ae0b2e6f7d169e23882e967b34ad0013975b7af | refs/heads/master | 2020-06-01T19:06:25.832067 | 2013-02-12T07:23:03 | 2013-02-12T07:23:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include <QDebug>
#include <QObject>
#include <QApplication>
#include "vue/vue.h"
#include "controleur.h"
#include "modele/modele.h"
int main(int argc, char * argv[])
{
QApplication app(argc, argv);
modele modeleSimu(50,50);
vue vueSimu(&modeleSimu);
controleur controleurSimu;
QObject::connect(vueSimu.getPtrScene(), SIGNAL(keyPressed(QKeyEvent*)), &controleurSimu, SLOT(keyEventManager(QKeyEvent*)));
controleurSimu.runSimu(&modeleSimu, &vueSimu);
return app.exec();
}
| [
"none"
] | none |
a85e35df5ae44ee5eeb18cb1c743cf94e90f5568 | 469100067213102f9942bc375ffb74c098cc0337 | /hdu/5410/main.cpp | 3c3cb0abca38574bc3527cc036fbb3c6ffc8f55c | [] | no_license | xuziye0327/acm | 52c2dc245ad8bf5a684da677a0ebe57e0b4f8a59 | e0737fdbbebc698e2f36e3136c8939729cad50b9 | refs/heads/master | 2021-04-22T12:59:31.525803 | 2016-11-13T08:44:23 | 2016-11-13T08:44:23 | 41,278,480 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | cpp | #include <cstdio>
#include <algorithm>
#include <cstring>
using namespace std;
typedef unsigned long long ull;
const int maxn = 2007;
int d[maxn];
int a[maxn], b[maxn], w[maxn];
int main() {
int T;
scanf("%d", &T);
while (T--) {
int m, n;
memset(d, 0, sizeof(d));
scanf("%d%d", &m, &n);
for (int i = 1; i <= n; ++i) {
scanf("%d%d%d", &w[i], &a[i], &b[i]);
for (int j = m; j >= w[i]; --j) {
d[j] = max(d[j], d[j - w[i]] + a[i] + b[i]);
}
}
for (int i = 1; i <= n; ++i) {
for (int j = 0; j <= m; ++j) {
if (j >= w[i]) d[j] = max(d[j], d[j - w[i]] + a[i]);
}
}
int ans = 0;
for (int i = 0; i <= m; ++i) ans = max(ans, d[i]);
printf("%d\n", ans);
}
return 0;
}
| [
"[email protected]"
] | |
366fdad767517b8a38c4255914a50741b7bba58b | 3300774493ff8ca8cfb6cfc9dc52f89ae704dd32 | /nano_led_external_blink/nano_led_external_blink.ino | 998524dd79af38b3a9a682743ff7124e00322610 | [
"MIT"
] | permissive | tapin13/Arduino4Fun | 4c56590884028d7795ae8b768fd5ccef4e7e5dcc | c4a91f7e36a275b6be90f1d55c9555720d4e0f63 | refs/heads/master | 2021-01-01T20:46:23.046441 | 2019-10-29T13:47:03 | 2019-10-29T13:47:03 | 98,930,833 | 0 | 0 | null | 2018-02-13T11:00:48 | 2017-07-31T21:19:08 | C++ | UTF-8 | C++ | false | false | 179 | ino | #define BOARD_LED 5
void setup() {
pinMode(BOARD_LED, OUTPUT);
}
void loop() {
digitalWrite(BOARD_LED, HIGH);
delay(1000);
digitalWrite(BOARD_LED, LOW);
delay(500);
}
| [
"[email protected]"
] | |
45a29f0d5143c4d6cdc1294f6194b6137830ffb7 | 1e9bf9c96dfa7bfac61875cc4a1af5ab81f5ac07 | /SAGT_Arduino/SerialCommand.cpp | 9bb9397de1aa2c7b644bd7fe01fbe47bbb181d13 | [] | no_license | minhhieubkdn/SAGT | 7f1fec6cd0f372151628fb1ffaecd630b626579e | ab1b217b93356fe93397187cbf1cdd1581c6b5e7 | refs/heads/master | 2021-08-29T12:47:36.673003 | 2021-08-26T14:46:48 | 2021-08-26T14:46:48 | 160,530,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,880 | cpp | #include "SerialCommand.h"
SerialCommand::SerialCommand()
{
_Serial = &Serial;
_Serial->begin(9600);
//inputString.reserve(100);
boolean stringComplete = false;
String inputString = "";
cmdCounter = 0;
//cmdContainer = new Command[10];
cmdContainer = NULL;
}
SerialCommand::SerialCommand(HardwareSerial* serial, uint16_t baudrate)
{
_Serial = serial;
_Serial->begin(baudrate);
//inputString.reserve(100);
boolean stringComplete = false;
String inputString = "";
cmdCounter = 0;
//cmdContainer = new Command[cmdCounter];
cmdContainer = NULL;
}
SerialCommand::~SerialCommand()
{
//free(cmdContainer);
delete[] cmdContainer;
}
void SerialCommand::ForwardData(HardwareSerial* forwardSerial, uint16_t baudrate)
{
ForwardSerial = forwardSerial;
ForwardSerial->begin(baudrate);
}
void SerialCommand::AddCommand(String message, void(*function)())
{
cmdCounter++;
//cmdContainer = (Command *) realloc(cmdContainer, cmdCounter * sizeof(Command));
Command* newContainer = new Command[cmdCounter];
for( uint8_t i = 0; i < cmdCounter - 1; i++ )
{
newContainer[i] = cmdContainer[i];
}
if( cmdContainer != NULL )
{
delete[] cmdContainer;
}
cmdContainer = newContainer;
cmdContainer[cmdCounter - 1].message = message;
cmdContainer[cmdCounter - 1].function = function;
cmdContainer[cmdCounter - 1].value = NULL;
cmdContainer[cmdCounter - 1].contain = NULL;
}
void SerialCommand::AddCommand(String message, float* value)
{
cmdCounter++;
//cmdContainer = (Command *) realloc(cmdContainer, cmdCounter * sizeof(Command));
Command* newContainer = new Command[cmdCounter];
for( uint8_t i = 0; i < cmdCounter - 1; i++ )
{
newContainer[i] = cmdContainer[i];
}
if( cmdContainer != NULL )
{
delete[] cmdContainer;
}
cmdContainer = newContainer;
cmdContainer[cmdCounter - 1].message = message;
cmdContainer[cmdCounter - 1].value = value;
cmdContainer[cmdCounter - 1].function = NULL;
cmdContainer[cmdCounter - 1].contain = NULL;
}
void SerialCommand::AddCommand(String message, char* contain)
{
cmdCounter++;
//cmdContainer = (Command *) realloc(cmdContainer, cmdCounter * sizeof(Command));
Command* newContainer = new Command[cmdCounter];
for (uint8_t i = 0; i < cmdCounter - 1; i++)
{
newContainer[i] = cmdContainer[i];
}
if (cmdContainer != NULL)
{
delete[] cmdContainer;
}
cmdContainer = newContainer;
cmdContainer[cmdCounter - 1].message = message;
cmdContainer[cmdCounter - 1].value = NULL;
cmdContainer[cmdCounter - 1].function = NULL;
cmdContainer[cmdCounter - 1].contain = contain;
}
void SerialCommand::Execute()
{
// receive every character
while (_Serial->available())
{
char inChar = (char)_Serial->read();
if (ForwardSerial != NULL)
{
ForwardSerial->print(inChar);
}
if (inChar == '\n')
{
stringComplete = true;
break;
}
inputString += inChar;
}
if (!stringComplete)
return;
// when complete receiving
for( uint8_t index = 0; index < cmdCounter; index++ )
{
if( cmdContainer[index].message == inputString.substring(0, cmdContainer[index].message.length()) )
{
if( cmdContainer[index].value != NULL )
{
*cmdContainer[index].value = inputString.substring(cmdContainer[index].message.length() + 1).toFloat();
}
else if (cmdContainer[index].contain != NULL)
{
//String s(inputString.substring(cmdContainer[index].message.length() + 1));
uint16_t num = inputString.length() - cmdContainer[index].message.length();
inputString.toCharArray(cmdContainer[index].contain, num + 1, cmdContainer[index].message.length() + 1);
//Serial.println("Done");
}
else
{
cmdContainer[index].function();
}
}
}
inputString = "";
stringComplete = false;
}
| [
"[email protected]"
] | |
183d1c34dde655d3dcd2d932a85c55bc8739b1f4 | b7e5eba1f68c188e3291eae63e32814f4ec91cf5 | /src/ImageProcessing/OpticalFlowSegmentation.cpp | 194e91c0ccd7a9c9eff3d4374339835719e61194 | [] | no_license | GroupDenseKitchen/KitchenOccupation | 6a0c8c65d9a7d09dd30b48561729f73bbaab3b85 | 6189c0ef75f73a7364b6d7567be8561eda07337a | refs/heads/master | 2020-04-09T03:31:28.830745 | 2013-12-20T12:10:09 | 2013-12-20T12:10:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,555 | cpp | #include "OpticalFlowSegmentation.hpp"
namespace image_processing{
OpticalFlowSegmentation::OpticalFlowSegmentation()
{
}
OpticalFlowSegmentation::~OpticalFlowSegmentation()
{
}
void OpticalFlowSegmentation::process(FrameList &frames)
{
if(frames.hasPrevious()){
Frame current = frames.getCurrent();
Frame previous = frames.getPrevious();
computeOpticalFlow(current,previous);
}
}
bool OpticalFlowSegmentation::initialize(configuration::ConfigurationManager &settings){
maxPointsToTrack = 3000;
minPointsToTrack = 1000;
int nFeatures = maxPointsToTrack;
float scaleFactor = 1.2;
int nLevels = 1; //default 8
int edgeThreshold = 31;
int firstLevel = 0;
int WTA_K = 2;
int scoreType =cv::ORB::HARRIS_SCORE;
int patchSize = 31;
detector = new cv::ORB(nFeatures,scaleFactor,nLevels,edgeThreshold,firstLevel,WTA_K,scoreType,patchSize);
isInitialized = true;
return isInitialized;
}
float OpticalFlowSegmentation::angleToXaxis(cv::Point2f _vector)
{
cv::Point2f xAxis = cv::Point2f(1,0);
float n = sqrt(_vector.dot(_vector));
_vector.x = _vector.x /n;//normalize
_vector.y = _vector.y / n;
if(_vector.y > 0){
return acos(_vector.dot(xAxis));
}
else{
return 2*3.1415-acos(_vector.dot(xAxis));
}
}
void OpticalFlowSegmentation::paintFlowVectors(cv::Mat imageToDrawOn, std::vector<FlowVector> flowVectors){
int bb = 0;
for(FlowVector& fl: flowVectors){
cv::Point2f diff = fl.flow;
float a = angleToXaxis(diff);
float r = a * 255 / (2*3.1415) ;
float g = 255 - a*255/(2*3.1415) ;
int rr = (int)ceil(r);
int gg = (int)ceil(g);
paintFlowVectors(imageToDrawOn,flowVectors,cv::Scalar(rr,gg,0));
bb = bb + 1;
if(bb == 255){
bb = 0;
}
}
}
void OpticalFlowSegmentation::paintFlowVectors(cv::Mat imageToDrawOn, std::vector<FlowVector> flowVectors, cv::Scalar color)
{
for(FlowVector& fl: flowVectors){
cv::line(imageToDrawOn,fl.pos,fl.pos+fl.flow,color,1);
}
}
void OpticalFlowSegmentation::computeOpticalFlow(Frame current, Frame previous){
int numFrames = 1;
static int counter = -1;
static cv::Mat lastImage;
for(unsigned int i=0; i < current.getCameras().size(); ++i){
if(counter == -1){
lastImage = previous.getCameras()[i].getImage("reallyRawImage").clone();
imageToDrawOn = lastImage.clone();
}
if(counter == numFrames){
CameraObject* currentCamera = ¤t.getCameras()[i];
cv::Mat currentImage; //grayscale image
cv::Mat prevImage;
cv::cvtColor(currentCamera->getImage("reallyRawImage"), currentImage, CV_BGR2GRAY);
cv::cvtColor(lastImage, prevImage, CV_BGR2GRAY);
imageToDrawOn = lastImage.clone();
getOpticalFlow(currentImage,prevImage);
cv::Mat flowVectorImage = currentCamera->getImage("reallyRawImage").clone();
lastImage = current.getCameras()[i].getImage("reallyRawImage").clone();
counter = 0;
}
}
counter = counter + 1;
}
std::vector<FlowVector> OpticalFlowSegmentation::filterSmallest(std::vector<FlowVector> FlowVectors){
std::vector<FlowVector> removedOutliers = std::vector<FlowVector>();
for(FlowVector& fv: FlowVectors){
float size = fv.flow.dot(fv.flow);
if(size > 100 && size < 4000){
removedOutliers.push_back(fv);
}
}
return removedOutliers;
}
std::vector<FlowVector> OpticalFlowSegmentation::averageFlow(std::vector<FlowVector> flowVectors, cv::Size imageSize){
std::vector<FlowVector> averagedFlow = std::vector<FlowVector>();
int blocksPerRow = 80;
int blockWidth = imageSize.width / blocksPerRow;
int blockHeight = imageSize.height / blocksPerRow;
int hBlocks = imageSize.width / blockWidth;
int wBlocks = imageSize.height / blockHeight;
std::vector<std::vector<FlowVector> > blocks = std::vector<std::vector<FlowVector> >(hBlocks*wBlocks);
for(int i=0; i < hBlocks*wBlocks; ++i){
blocks[i] = std::vector<FlowVector>();
}
for(FlowVector& fl : flowVectors){
int blockIndex = (int)std::floor(fl.pos.x / blockWidth) + std::floor(fl.pos.y / blockHeight) * blocksPerRow;
blocks[blockIndex].push_back(fl);
}
for(std::vector<FlowVector>& blockVectors : blocks){
if(blockVectors.size() > 0){
FlowVector averageVector;
averageVector.pos = cv::Point2f(0,0);
averageVector.flow = cv::Point2f(0,0);
for(FlowVector& fl : blockVectors){
averageVector.pos = averageVector.pos + fl.pos;
averageVector.flow = averageVector.flow + fl.flow;
}
int numVectorsInBlock = blockVectors.size();
averageVector.pos.x = averageVector.pos.x / numVectorsInBlock;
averageVector.flow.x = averageVector.flow.x / numVectorsInBlock;
averageVector.pos.y = averageVector.pos.y / numVectorsInBlock;
averageVector.flow.y = averageVector.flow.y / numVectorsInBlock;
averagedFlow.push_back(averageVector);
}
}
return averagedFlow;
}
void OpticalFlowSegmentation::clusterVectors(const std::vector<FlowVector>& flowVectors){
printf("in function \n");
/*
const int numElements = flowVectors.size();
//make a vector of angles
std::vector<double> angles = std::vector<double>(numElements);
for(int i=0; i < numElements; ++i){
angles[i] = angleToXaxis(flowVectors[i].flow);
}
*/
cv::Mat sampleMatrix = cv::Mat(flowVectors.size(),4,CV_32FC1);
for(int i=0; i < flowVectors.size();++i){
sampleMatrix.at<float>(i,0) = flowVectors[i].pos.x;
sampleMatrix.at<float>(i,1) = flowVectors[i].pos.y;
sampleMatrix.at<float>(i,2) = flowVectors[i].flow.x;
sampleMatrix.at<float>(i,3) = flowVectors[i].flow.y;
}
cv::Mat bestLables;
int numClusters = 5;
cv::TermCriteria terminate = cv::KMEANS_RANDOM_CENTERS;
cv::Mat centers;
cv::kmeans(sampleMatrix,numClusters,bestLables,terminate,centers);
}
void OpticalFlowSegmentation::getOpticalFlow(cv::Mat current, cv::Mat prev){
std::vector<cv::Point2f> trackedPoints = std::vector<cv::Point2f>();
std::vector<FlowVector> flowVectors = std::vector<FlowVector>();
if(lastTrackedPoints.size() < minPointsToTrack){
std::vector<cv::KeyPoint> currentKeyPoints = std::vector<cv::KeyPoint>();
detector->detect(prev,currentKeyPoints);
trackedPoints = std::vector<cv::Point2f>(currentKeyPoints.size());
keyframeCoordinates.clear();
keyframeCoordinates = std::vector<cv::Point2f>(trackedPoints.size());
for(int i=0; i < currentKeyPoints.size(); ++i){
trackedPoints[i] = currentKeyPoints[i].pt;
keyframeCoordinates[i] = currentKeyPoints[i].pt;
}
LOG("OpticalFLowSegmentation","ran detector");
}else{
trackedPoints = lastTrackedPoints;
}
std::vector<uchar> status = std::vector<uchar>();
std::vector<float> error = std::vector<float>();
cv::Size windowSize = cv::Size(31,31);
int maxLevel = 1;
cv::TermCriteria terminate = cv::TermCriteria(cv::TermCriteria::COUNT + cv::TermCriteria::EPS, 30,0.01);
int flags = 0; //cv::OPTFLOW_LK_GET_MIN_EIGENVALS;
std::vector<cv::Point2f> nextPoints;
//get optical flow
cv::calcOpticalFlowPyrLK(prev,current,trackedPoints,nextPoints,status,error,windowSize,maxLevel,terminate,flags);
//only remember the points we managed to track
lastTrackedPoints.clear();
flowVectors.clear();
for(int i=0; i < status.size(); ++i){
if(status[i] == 1){
lastTrackedPoints.push_back(nextPoints[i]);
FlowVector fl;
fl.pos = keyframeCoordinates[i];
fl.flow = keyframeCoordinates[i] - nextPoints[i];
flowVectors.push_back(fl);
}else{
//lost a point
}
}
flowVectors = filterSmallest(flowVectors);
flowVectors = averageFlow(flowVectors,current.size());
flowVectors = filterSmallest(flowVectors);
clusterVectors(flowVectors);
paintFlowVectors(imageToDrawOn,flowVectors);
cv::namedWindow("w2n");
cv:imshow("w2n",imageToDrawOn);
}
void OpticalFlowSegmentation::drawOptFlowMap(const cv::Mat& flow, cv::Mat& cflowmap, int step,
double, const cv::Scalar& color)
{
for(int y = 0; y < cflowmap.rows; y += step)
for(int x = 0; x < cflowmap.cols; x += step)
{
const cv::Point2f& fxy = flow.at<cv::Point2f>(y, x);
line(cflowmap, cv::Point(x,y), cv::Point(cvRound(x+fxy.x), cvRound(y+fxy.y)),
color);
circle(cflowmap, cv::Point(x,y), 2, color, -1);
}
}
void OpticalFlowSegmentation::globalOpticalFlow(cv::Mat current, cv::Mat prev)
{
cv::Mat flowImage(current.rows, current.cols, CV_32FC2);
float pyrScale = 0.5;
int levels = 3;
int winsize = 40;
int iterations = 3;
cv::calcOpticalFlowFarneback(current,prev,flowImage,pyrScale,levels,winsize,iterations,5,1.2,0);
cv::Mat cflow;
cvtColor(prev, cflow, cv::COLOR_GRAY2BGR);
drawOptFlowMap(flowImage,cflow,16, 1.5, cv::Scalar(0, 255, 0));
cv::namedWindow("w1n");
cv::imshow("w1n",cflow);
}
}
| [
"[email protected]"
] | |
0918a2788b80ccaa9583c3bffcf38e40f48f7772 | e6acce6daa3a30580cb31a32564a3b633570c23e | /Cocos2dxExt/Cocos2dxExt/Classes/ZoomController/EXZoomController.cpp | a5b3e7790bb4cfa4fbaa8cd3f8d4e69d2b1945a0 | [] | no_license | gtxx3600/cocos2dx-extensions | c161e9dc6cac79236fb18962aa8a6d19d9a0ce7b | 85e017298118cd994e182702b40ed57e33dcc3a5 | refs/heads/master | 2021-01-16T22:50:32.097292 | 2013-08-01T00:53:10 | 2013-08-01T00:53:10 | 12,554,407 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,586 | cpp | //
// EXZoomController.cpp
// Cocos2dxExt
//
// Created by Yanghui.Liu on 13-5-23.
//
//
#include "EXZoomController.h"
//Will return value between 0 and 1, think of it as a percentage of rotation
static inline float vectorsDeviation(CCPoint v1, CCPoint v2) {
return ccpLength(ccpSub(ccpNormalize(v1), ccpNormalize(v2)))/2.0f;
}
#pragma mark - EXZoomController
EXZoomController::EXZoomController() {
}
EXZoomController::~EXZoomController() {
_touchesDic->release();
}
EXZoomController* EXZoomController::controllerWithNode(CCNode* node) {
EXZoomController* pRet = new EXZoomController();
if (pRet && pRet->initWithNode(node)) {
pRet->autorelease();
return pRet;
} else {
CC_SAFE_DELETE(pRet);
return NULL;
}
}
bool EXZoomController::initWithNode(CCNode* node) {
if (!CCLayer::init()) {
return false;
}
_touchesDic = CCDictionary::create();
_touchesDic->retain();
_node = node;
_tr = ccp(0, 0);
_bl = ccp(node->getContentSize().width, node->getContentSize().height);
CCSize winSize = CCDirector::sharedDirector()->getWinSize();
_winTr.x = winSize.width;
_winTr.y = winSize.height;
_winBl.x = 0;
_winBl.y = 0;
centerOnPinch = true;
zoomOnDoubleTap = true;
zoomRate = 1/500.0f;
zoomInLimit = 1.0f;
zoomOutLimit = 0.5f;
swipeVelocityMultiplier = 400;
scrollDuration = .4;
scrollDamping = .4;
pinchDamping = .9;
pinchDistanceThreshold = 3;
doubleTapZoomDuration = .2;
// setTouchEnabled(true);
return true;
}
void EXZoomController::setBoundingRect(CCRect rect) {
_bl = rect.origin;
_tr = ccpAdd(_bl, ccp(rect.size.width, rect.size.height));
}
CCRect EXZoomController::getBoundingRect() {
CCPoint size = ccpSub(_tr, _bl);
return CCRectMake(_bl.x, _bl.y, size.x, size.y);
}
void EXZoomController::setWindowRect(CCRect rect) {
_winBl = rect.origin;
_winTr = ccpAdd(_winBl, ccp(rect.size.width, rect.size.height));
}
CCRect EXZoomController::getWindowRect() {
CCPoint size = ccpSub(_winTr, _winBl);
return CCRectMake(_winBl.x, _winBl.y, size.x, size.y);
}
float EXZoomController::getOptimalZoomOutLimit() {
//default to 100%
float xMaxZoom = 1;
float yMaxZoom = 1;
float width = (_tr.x - _bl.x);
float height = (_tr.y - _bl.y);
//don't divide by zero
if (width)
xMaxZoom = (_winTr.x - _winBl.x) / width;
if (height)
yMaxZoom = (_winTr.y - _winBl.y) / height;
//give the best out of the 2 zooms
return (xMaxZoom > yMaxZoom) ? xMaxZoom : yMaxZoom;
}
CCPoint EXZoomController::boundPos(CCPoint pos) {
float scale = _node->getScale();
//Correct for anchor
CCPoint anchor = ccp(_node->getContentSize().width * _node->getAnchorPoint().x,
_node->getContentSize().height * _node->getAnchorPoint().y);
anchor = ccpMult(anchor, (1.0f - scale));
//Calculate corners
CCPoint topRight = ccpAdd(ccpSub(ccpMult(_tr, scale), _winTr), anchor);
CCPoint bottomLeft = ccpSub(ccpAdd(ccpMult(_bl, scale), _winBl), anchor);
//bound x
if (pos.x > bottomLeft.x)
pos.x = bottomLeft.x;
else if (pos.x < -topRight.x)
pos.x = -topRight.x;
//bound y
if (pos.y > bottomLeft.y)
pos.y = bottomLeft.y;
else if (pos.y < -topRight.y)
pos.y = -topRight.y;
return pos;
}
void EXZoomController::updatePosition(CCPoint pos) {
//user interface to boundPos basically
pos = boundPos(pos);
_node->setPosition(pos);
}
void EXZoomController::enableWithTouchPriority(int priority, bool swallowsTouches) {
// CCDirector::sharedDirector()->getTouchDispatcher()->addTargetedDelegate(this, priority, swallowsTouches);
setTouchEnabled(true);
// CCTouchDispatcher::sharedDispatcher->addTargetedDelegate(this, priority, swallowsTouches);
}
void EXZoomController::disable() {
CCDirector::sharedDirector()->getTouchDispatcher()->removeDelegate(this);
}
void EXZoomController::updateTime(float dt) {
//keep the time
_time += dt;
}
void EXZoomController::registerWithTouchDispatcher(void){
CCDirector::sharedDirector()->getTouchDispatcher()->addStandardDelegate(this, 0);
// CCDirector::sharedDirector()->getTouchDispatcher()->addTargetedDelegate(this, 0, false);
}
void EXZoomController::ccTouchesBegan(CCSet *pTouches, CCEvent *pEvent){
CCSetIterator iter = pTouches->begin();
for (; iter != pTouches->end(); iter++){
CCTouch* pTouch = (CCTouch*)(*iter);
// CCPoint location = pTouch->getLocation();
_touchesDic->setObject(pTouch, CCString::createWithFormat("%d",pTouch->getID())->getCString());
CCLog("touc id %s,",CCString::createWithFormat("%d",pTouch->getID())->getCString());
}
bool multitouch = _touchesDic->count() > 1;
if (multitouch){
//reset history so auto scroll doesn't happen
_timePointStampCounter = 0;
endScroll(_firstTouch);
CCArray* keys = _touchesDic->allKeys();
CCTouch *touch1 = (CCTouch*)_touchesDic->objectForKey(((CCString*)keys->objectAtIndex(0))->getCString());
CCTouch *touch2 = (CCTouch*)_touchesDic->objectForKey(((CCString*)keys->objectAtIndex(1))->getCString());
CCPoint pt = touch1->getLocationInView();
CCPoint pt2 = touch2->getLocationInView();
beginZoom(pt, pt2);
} else {
//record the point for determining velocity
CCArray* keys = _touchesDic->allKeys();
// ((CCString*)keys->objectAtIndex(0))->getCString()
_touchesDic->objectForKey(((CCString*)keys->objectAtIndex(0))->getCString());
CCTouch *touch = (CCTouch*)_touchesDic->objectForKey(((CCString*)keys->objectAtIndex(0))->getCString());
recordScrollPoint(touch);
beginScroll(_node->convertToNodeSpace(touch->getLocation()));
}
}
void EXZoomController::ccTouchesMoved(CCSet *pTouches, CCEvent *pEvent){
bool multitouch = _touchesDic->count() > 1;
if (multitouch) {
CCArray* keys = _touchesDic->allKeys();
CCTouch *touch1 = (CCTouch*)_touchesDic->objectForKey(((CCString*)keys->objectAtIndex(0))->getCString());
CCTouch *touch2 = (CCTouch*)_touchesDic->objectForKey(((CCString*)keys->objectAtIndex(1))->getCString());
CCPoint pt1 = touch1->getLocationInView();
CCPoint pt2 = touch2->getLocationInView();
moveZoom(pt1, pt2);
} else {
CCArray* keys = _touchesDic->allKeys();
CCTouch *touch = (CCTouch*)_touchesDic->objectForKey(((CCString*)keys->objectAtIndex(0))->getCString());
recordScrollPoint(touch);
moveScroll(_node->convertToNodeSpace(touch->getLocation()));
}
}
void EXZoomController::ccTouchesEnded(CCSet *pTouches, CCEvent *pEvent){
bool multitouch = _touchesDic->count() > 1;
if (multitouch) {
CCArray* keys = _touchesDic->allKeys();
CCTouch *touch1 = (CCTouch*)_touchesDic->objectForKey(((CCString*)keys->objectAtIndex(0))->getCString());
CCTouch *touch2 = (CCTouch*)_touchesDic->objectForKey(((CCString*)keys->objectAtIndex(1))->getCString());
CCPoint pt1 = touch1->getLocationInView();
CCPoint pt2 = touch2->getLocationInView();
endZoom(pt1, pt2);
//which touch remains?
// if (touch == touch2)
// beginScroll(_node->convertToNodeSpace(touch1->getLocation()));
// else
beginScroll(_node->convertToNodeSpace(touch2->getLocation()));
} else {
CCArray* keys = _touchesDic->allKeys();
CCTouch *touch = (CCTouch*)_touchesDic->objectForKey(((CCString*)keys->objectAtIndex(0))->getCString());
recordScrollPoint(touch);
CCPoint pt = _node->convertToNodeSpace(touch->getLocation());
endScroll(pt);
//handle double-tap zooming
// if (zoomOnDoubleTap /**&& [touch tapCount] == 2*/)
// handleDoubleTapAt(pt);
}
CCSetIterator iter = pTouches->begin();
for (; iter != pTouches->end(); iter++){
CCTouch* pTouch = (CCTouch*)(*iter);
_touchesDic->removeObjectForKey(CCString::createWithFormat("%d",pTouch->getID())->getCString());
}
}
void EXZoomController::ccTouchesCancelled(CCSet *pTouches, CCEvent *pEvent){
ccTouchesEnded(pTouches, pEvent);
}
void EXZoomController::handleDoubleTapAt(CCPoint pt) {
float mid = (zoomInLimit + zoomOutLimit)/2;
//closer to being zoomed out? then zoom in, else zoom out
if (_node->getScale() < mid)
zoomInOnPoint(pt, doubleTapZoomDuration);
else
zoomOutOnPoint(pt, doubleTapZoomDuration);
}
void EXZoomController::zoomInOnPoint(CCPoint pt, float duration) {
zoomOnPoint(pt, duration, zoomInLimit);
}
void EXZoomController::zoomOutOnPoint(CCPoint pt, float duration) {
zoomOnPoint(pt, duration, zoomOutLimit);
}
void EXZoomController::zoomOnPoint(CCPoint pt, float duration, float scale) {
_node->runAction(EXZoomControllerScale::actionWithDuration(duration, scale, this, pt));
}
void EXZoomController::recordScrollPoint(CCTouch* touch) {
CCPoint pt = CCDirector::sharedDirector()->convertToGL(touch->getLocationInView());
CCPanZoomTimePointStamp* record = &_history[_timePointStampCounter++ % kEXZoomControllerHistoryCount];
record->time = _time;
record->pt = pt;
}
CCPoint EXZoomController::getHistoricSpeed() {
CCPoint lastPt;
CCPoint tPt = ccp(0,0);
CCPoint speed = ccp(0,0);
float lastTime;
int count = 0;
//Walk thru our history
for (int i = 0; i < kEXZoomControllerHistoryCount && i < _timePointStampCounter; i++) {
CCPanZoomTimePointStamp *record = &_history[(_timePointStampCounter-i-1) % kEXZoomControllerHistoryCount];
CCPoint pt = record->pt;
float time = record->time;
//Only calculate after first
if (i != 0) {
//Sentinels: stop if we have large time chunks
if ((lastTime-time) > .25)
break;
//or sporadic vectors past an amount of history
if (i > 3 && vectorsDeviation(lastPt, pt) > .1)
break;
//Get a vector between two touches, but weight it with the time difference,
//this will eliminate small quick movements and favor sweeping touches
tPt = ccpAdd(tPt, ccpMult(ccpSub(lastPt, pt), (lastTime-time)));
count++;
}
lastPt = pt;
lastTime = time;
}
//Calculate speed
if (count)
speed = ccpMult(tPt, 1.0f/count);
CCLog("tPt %f,%f",tPt.x, tPt.y);
CCLog("count %d",count);
CCLog("speed %f,%f",speed.x, speed.y);
return speed;
}
void EXZoomController::beginScroll(CCPoint pos) {
_time = 0;
_timePointStampCounter = 0;
_firstTouch = pos;
//keep track of time passed
schedule(schedule_selector(EXZoomController::updateTime));
}
void EXZoomController::moveScroll(CCPoint pos) {
//dampen value
pos = ccpSub(pos, _firstTouch);
pos = ccpMult(pos, scrollDamping * _node->getScale());
//debug
//NSLog(@"Moving to: (%.2f, %.2f)", pos.x, pos.y);
updatePosition(ccpAdd(_node->getPosition(), pos));
}
void EXZoomController::endScroll(CCPoint pos) {
unschedule(schedule_selector(EXZoomController::updateTime));
//Only perform a velocity scroll if we have a good amount of history
if (_timePointStampCounter > 3) {
//calculate velocity
CCPoint velocity = ccpMult(getHistoricSpeed(), swipeVelocityMultiplier * _node->getScale());
//Make sure we have a reasonable speed (more than 5 pts away)
if (ccpLengthSQ(velocity) > 5*5) {
//caculate position of swipe action
CCPoint newPos = ccpAdd(_node->getPosition(), velocity);
newPos = boundPos(newPos);
//create the action
CCMoveTo* moveTo = CCMoveTo::create(scrollDuration, newPos);
CCEaseOut* ease = CCEaseOut::create(moveTo, 3);
//unconditional stop; cocos handles this properly
_node->stopAction(_lastScrollAction);
_node->runAction(ease);
//release our last action since we retain it below
if (_lastScrollAction) {
_lastScrollAction->release();
_lastScrollAction = NULL;
}
_lastScrollAction = ease;
_lastScrollAction->retain();
}
}
}
void EXZoomController::beginZoom(CCPoint pt, CCPoint pt2) {
//initialize our zoom vars
_firstLength = ccpDistance(pt, pt2);
_oldScale = _node->getScale();
//get the mid point of pinch
_firstTouch = _node->convertToNodeSpace(ccpMidpoint(pt, pt2));
}
void EXZoomController::moveZoom(CCPoint pt, CCPoint pt2) {
//what's the difference in length
float length = ccpDistance(pt, pt2);
float diff = (length-_firstLength);
//ignore small movements
if (fabs(diff) < pinchDistanceThreshold)
return;
//calculate new scale
float factor = diff * zoomRate * pinchDamping;
float newScale = _oldScale + factor;
//bound scale
if (newScale > zoomInLimit)
newScale = zoomInLimit;
else if (newScale < zoomOutLimit)
newScale = zoomOutLimit;
//set the new scale
_node->setScale(newScale);
//center on midpoint of pinch
if (centerOnPinch)
centerOnPoint(_firstTouch, scrollDamping);
else
updatePosition(_node->getPosition());
}
void EXZoomController::endZoom(CCPoint pt, CCPoint pt2) {
//moveZoom(pt, pt2);
}
void EXZoomController::centerOnPoint(CCPoint pt) {
centerOnPoint(pt, 1.0f);
}
void EXZoomController::centerOnPoint(CCPoint pt, float damping) {
CCPoint mid = _node->convertToNodeSpace(ccpMidpoint(_winTr, _winBl));
CCPoint diff = ccpMult(ccpSub(mid, pt), damping);
CCLog("_winTr %f,%f",_winTr.x,_winTr.y);
CCLog("_winBl %f,%f",_winBl.x,_winBl.y);
CCLog("mid %f,%f",mid.x,mid.y);
CCLog("diff %f,%f",diff.x,diff.y);
CCLog("_node->getPosition() %f,%f",_node->getPosition().x,_node->getPosition().y);
updatePosition(ccpAdd(_node->getPosition(), diff));
}
void EXZoomController::centerOnPoint(CCPoint pt, float duration, float rate) {
CCPoint mid = _node->convertToNodeSpace(ccpMidpoint(_winTr, _winBl));
CCPoint diff = ccpSub(mid, pt);
CCPoint final = boundPos(ccpAdd(_node->getPosition(), diff));
CCMoveTo* moveTo = CCMoveTo::create(duration, final);
CCEaseOut* ease = CCEaseOut::create(moveTo, rate);
_node->runAction(ease);
}
#pragma mark - EXZoomControllerScale
EXZoomControllerScale::EXZoomControllerScale() {
}
EXZoomControllerScale::~EXZoomControllerScale() {
_controller->release();
}
EXZoomControllerScale* EXZoomControllerScale::actionWithDuration(float duration, float s, EXZoomController* controller, CCPoint pt) {
EXZoomControllerScale* pRet = new EXZoomControllerScale();
if (pRet && pRet->initWithDuration(duration, s, controller, pt)) {
pRet->autorelease();
return pRet;
} else {
CC_SAFE_DELETE(pRet);
return NULL;
}
}
bool EXZoomControllerScale::initWithDuration(float duration, float s, EXZoomController* controller, CCPoint pt) {
if (!CCScaleTo::initWithDuration(duration, s)) {
return false;
}
this->_controller = controller;
this->_controller->retain();
_point = pt;
return true;
}
void EXZoomControllerScale::update(float t) {
CCScaleTo::update(t);
//use damping, but make sure we get there
if (t < 1.0f)
_controller->centerOnPoint(_point, _controller->scrollDamping);
else
_controller->centerOnPoint(_point);
}
| [
"[email protected]"
] | |
18a0131674d802e9c71ca10eb2329d8204de893f | 7667c4a1c24dc2ba144cb6a5c08a748302843779 | /example/timer/main.cpp | 2d805cad43adb9286e044795bc25e089f89c3a88 | [
"BSD-3-Clause"
] | permissive | wangscript007/net | 64ab688f6101327fa3dc7703c85989b19002456b | 62f61b8a9cbafa99b6cc22bb5c4b3b61172316d3 | refs/heads/master | 2021-09-15T04:37:27.430713 | 2018-05-26T05:43:09 | 2018-05-26T05:43:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | cpp | #include <iostream>
#include <Log.h>
#include<chrono>
using namespace std;
#include"EventLoop.h"
using namespace net;
int main() {
Log::set_rank(Log::INFO);
EventLoop loop;
auto timer=loop.run_every(3s,[](){
time_t t=time(nullptr);
cout<<ctime(&t);
std::cout << "Hello, World!" << std::endl<<endl;
});
loop.run_after(5s,[](){
time_t t=time(nullptr);
cout<<ctime(&t);
std::cout << "AAAAAAAAAAAAAAAAAAAAAA" << std::endl<<endl;
});
loop.run_at(chrono::system_clock::now()+7s,[timer,&loop](){
time_t t=time(nullptr);
cout<<ctime(&t);
std::cout << "BBBBBBBBBBBBBB" << std::endl<<endl;
loop.cancel(timer);
});
cout<<"-----------------------------------"<<endl<<endl;
thread A([&loop](){
this_thread::sleep_for(19s);
loop.stop();
});
//auto p =new int[100];
loop.run();
LOG_INFO<<"exit";
A.join();
} | [
"[email protected]"
] | |
a5d7788a89f9adbe3bd63ec3aaed81a2c3c9fa4c | 99e494d9ca83ebafdbe6fbebc554ab229edcbacc | /.history/Day 2/Practice/Answers/StringConcatenation_20210305191732.cpp | 6d84097097b1e66edc0380ded71c69f796203b26 | [] | no_license | Datta2901/CCC | c0364caa1e4937bc7bce68e4847c8d599aef0f59 | 4debb2c1c70df693d0e5f68b5798bd9c7a7ef3dc | refs/heads/master | 2023-04-19T10:05:12.372578 | 2021-04-23T12:50:08 | 2021-04-23T12:50:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int p;
string word;
cin >> p >> word;
map<char,int> freq;
for(int i = 0; i < word.size(); i++){
freq[word[i]]++;
}
bool answer = true;
for(auto i : freq){
if(i.second % p != 0){
answer = false;
break;
}
}
if(answer){
cout << "YES" << endl;
}else{
cout << "NO" << endl;
}
return 0;
} | [
"[email protected]"
] | |
a834d6a0c635225abcf2980d4cc766065ae8a3df | bb9b83b2526d3ff8a932a1992885a3fac7ee064d | /src/modules/osgDB/generated_code/FieldReaderIterator.pypp.hpp | 4287e7891cd742d84ea4c3abf6c59427b3baa002 | [] | no_license | JaneliaSciComp/osgpyplusplus | 4ceb65237772fe6686ddc0805b8c77d7b4b61b40 | a5ae3f69c7e9101a32d8cc95fe680dab292f75ac | refs/heads/master | 2021-01-10T19:12:31.756663 | 2015-09-09T19:10:16 | 2015-09-09T19:10:16 | 23,578,052 | 20 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 243 | hpp | // This file has been generated by Py++.
#ifndef FieldReaderIterator_hpp__pyplusplus_wrapper
#define FieldReaderIterator_hpp__pyplusplus_wrapper
void register_FieldReaderIterator_class();
#endif//FieldReaderIterator_hpp__pyplusplus_wrapper
| [
"[email protected]"
] | |
61fdb0cd7b995bcb9f48f41b1eb8e3bd30f2dfde | 0a0ab58beaf2917d3768fdd18b23cef7ad778fcf | /Ninjaspicot/ninjaspicot_v3_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Unity.TextMeshPro6.cpp | ebf245ccc7de49721a6daf622083a44f06f92e75 | [] | no_license | michelseb/ninjaspicot | 1521a35d3444e78c1d86b44fb7750fe3bc6c1d98 | 3926a45dfd5d6531684c21bd979c8ebf6177a493 | refs/heads/master | 2023-05-11T18:29:51.181381 | 2023-05-07T20:29:44 | 2023-05-07T20:29:44 | 120,929,294 | 2 | 0 | null | 2021-11-12T18:06:45 | 2018-02-09T16:32:26 | ASP | UTF-8 | C++ | false | false | 1,570,603 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
struct VirtualActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1>
struct VirtualActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2, typename T3>
struct VirtualActionInvoker3
{
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename T1, typename T2, typename T3, typename T4>
struct VirtualActionInvoker4
{
typedef void (*Action)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
}
};
template <typename R>
struct VirtualFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename R, typename T1>
struct VirtualFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4>
struct VirtualFuncInvoker4
{
typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
}
};
template <typename R, typename T1>
struct InterfaceFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
struct Action_1_tD69A6DC9FBE94131E52F5A73B2A9D4AB51EEC404;
struct Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87;
struct Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1;
struct Action_2_tD7438462601D3939500ED67463331FE00CFFBDB8;
struct Dictionary_2_t01224C8DBCCFE276E97D2BF52F4D7B10D3642682;
struct Dictionary_2_t760E9A9490B53715AE11CA76450386C19A39A0C8;
struct Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180;
struct Dictionary_2_t5BB0B09C825404C5C7781A7CE8B7D9ADD11A6579;
struct Dictionary_2_tC61348D10610A6B3D7B65102D82AC3467D59EAA7;
struct Dictionary_2_t1A4804CA9724B6CE01D6ECABE81CE0848CBA80B4;
struct Dictionary_2_tC8FA8E0C06C3A9584490723EC95DC65E5AFFF71A;
struct Dictionary_2_tCB5FEF8D6CEA1557D9B9BA25946AD6BF3E6C14D0;
struct Dictionary_2_t64B29724AB3A3E4261D34B912BF8A6B0CD287142;
struct Dictionary_2_t2E5037179C9A1F1245F111C037CAFB47E3EB45ED;
struct Dictionary_2_tDE8FAF4CAC415F7871ED1DBA452249683C3C7C27;
struct Func_3_tD48690FA870BA310D4390AE6025ACAC699C152D6;
struct Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C;
struct Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5;
struct HashSet_1_t4A2F2B74276D0AD3ED0F873045BD61E9504ECAE2;
struct HashSet_1_t5DD20B42149A11AEBF12A75505306E6EFC34943A;
struct IEqualityComparer_1_tDBFC8496F14612776AF930DBF84AFE7D06D1F0E9;
struct IEqualityComparer_1_t0BB8211419723EB61BF19007AC9D62365E50500E;
struct KeyCollection_t3E33C2EB31F1F1EF4ADE3FFFBB7D11E563134D04;
struct KeyCollection_t67E8423B5AEB30C254013AD88AB68D2A36F1F436;
struct KeyCollection_tC71FA11749E936C809A9B4EF81DF00FE54556509;
struct KeyCollection_tA8BC84D1186868F27E7DE472869DE9C55BD5782D;
struct List_1_t95DB74B8EE315F8F92B7B96D93C901C8C3F6FE2C;
struct List_1_t425D3A455811E316D2DF73E46CF9CD90A4341C1B;
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D;
struct List_1_tCE1ACAA0C2736A7797B2C134895298CAB10BEB5E;
struct List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF;
struct List_1_tAB7976FADCF872E418770E60783056C23394843D;
struct List_1_t459ECEA1AA73CFA0FE650EF2487BB92F31382F4A;
struct List_1_tBF2191892DFB746CF83364BF93720BDBF5422853;
struct List_1_tB66B78FCD61EAA013319E93BE83B16C78143E868;
struct List_1_t2F39287A7FAAAD3D4A84C8C4EF6D748502C1DACC;
struct List_1_t1ACC21967B12156F242D5D942EF3A71908550905;
struct List_1_tD2E7A87088A4F1FBE2DCD6E5BD9894222A78FB1E;
struct List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A;
struct TweenRunner_1_t5BB0582F926E75E2FE795492679A6CF55A4B4BC4;
struct ValueCollection_tDBED056C1C402E2288827E2C0299F425713D8171;
struct ValueCollection_t74AF7C1BAE06C66E984668F663D574ED6A596D28;
struct ValueCollection_t8D5EC2FA30E455F3AC119716BB909FFA1CD59DBE;
struct ValueCollection_t39651256547A96154CD080EC10FF9E4A0A00C572;
struct EntryU5BU5D_t74939D41FA6DAF2CD4F7462D8AD016D48B99B8B7;
struct EntryU5BU5D_t197C691F43F1694B771BF83C278D12BBFEEB86FA;
struct EntryU5BU5D_t4F3493B13237D6830CBEDA6A37D57EEFEB165466;
struct EntryU5BU5D_tD9625F8E3067C4376493E8C4069FD53F2E755C50;
struct TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2;
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
struct Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259;
struct DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615;
struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
struct FontWeightU5BU5D_t2A406B5BAB0DD0F06E7F1773DB062E4AF98067BA;
struct HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622;
struct HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658;
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
struct Int32EnumU5BU5D_t87B7DB802810C38016332669039EF42C487A081F;
struct MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D;
struct MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2;
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
struct RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D;
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
struct TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99;
struct TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A;
struct TMP_FontAssetU5BU5D_tC028E06B33643ABCED25C8BF7CB21A748E23BB83;
struct TMP_FontWeightPairU5BU5D_t0A3A5955F13FEB2F7329D81BA157110DB99F9F37;
struct TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E;
struct TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E;
struct TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7;
struct TMP_PageInfoU5BU5D_tE3DAAA8E2E9147F97C424A9034F677A516E8DAF9;
struct TMP_SpriteCharacterU5BU5D_t95867998753219562445A616BE72C0CD4C4399EF;
struct TMP_WordInfoU5BU5D_tD1759E5A84DCCCD42B718D79E953E72A432BB4DC;
struct Texture2DU5BU5D_t05332F1E3F7D4493E304C702201F9BE4F9236191;
struct TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB;
struct UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA;
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA;
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
struct Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD;
struct WordWrapStateU5BU5D_t473D59C9DBCC949CE72EF1EB471CBA152A6CEAC9;
struct UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5;
struct Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235;
struct CancellationTokenSource_tAAE1E0033BCFC233801F8CB4CED5C852B350CB7B;
struct Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26;
struct CanvasRenderer_tAB9A55A976C4E3B2B37D0CE5616E5685A8B43860;
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3;
struct Delegate_t;
struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
struct FaceInfo_Legacy_t23B118EFD5AB7162515ABF18C0212DF155CCF7B8;
struct Font_tC95270EA3198038970422D78B74A7F2E218A96B6;
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F;
struct Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F;
struct Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931;
struct ITextPreprocessor_tDBB49C8B68D7B80E8D233B9D9666C43981EFAAB9;
struct KerningTable_t040C3FE3B519B12AADE1C5B00628581551D5AB6B;
struct LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A;
struct MaskableGraphic_tFC5B6BE351C90DE53744DF2A70940242774B361E;
struct Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3;
struct MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553;
struct Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4;
struct MethodInfo_t;
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
struct RectMask2D_tACF92BE999C791A665BD1ADEABF5BCEB82846670;
struct RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5;
struct Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692;
struct String_t;
struct StringBuilder_t;
struct TMP_Asset_t135A047D4F5CBBA9CD356B762B55AB164122B969;
struct TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35;
struct TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB;
struct TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160;
struct TMP_FontFeatureTable_t726A09E64FDF682A8FFE294BB6CFE7747F6C40EA;
struct TMP_GlyphPairAdjustmentRecord_t6150C3DE547DDD860AB097843D36519D818D810F;
struct TMP_Settings_t5875BC616C98A30032C6B733CF7FC90A0EE48062;
struct TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4;
struct TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39;
struct TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E;
struct TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C;
struct TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859;
struct TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9;
struct TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5;
struct TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D;
struct TextAsset_t2C64E93DA366D9DE5A8209E1802FA4884AC1BD69;
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700;
struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4;
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
struct Type_t;
struct UnityAction_t11A1F3B953B365C072A5DCC32677EE1796A962A7;
struct VertexHelper_tB905FCB02AE67CBEE5F265FE37A5938FC5D136FE;
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
struct WillRenderCanvases_tA4A6E66DBA797DCB45B995DBA449A9D1D80D0FBC;
struct CullStateChangedEvent_t6073CD0D951EC1256BF74B8F9107D68FC89B99B8;
struct ReapplyDrivenProperties_t3482EA130A01FF7EE2EEFE37F66A5215D08CFE24;
struct LineBreakingTable_t8F7C67DC8CF3D46115EB50409E5C0E32B5ADC531;
IL2CPP_EXTERN_C RuntimeClass* Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Char_t521A6F19B456D956AF452D926C32709DC03D6B17_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ITextPreprocessor_tDBB49C8B68D7B80E8D233B9D9666C43981EFAAB9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMP_TextParsingUtilities_tF6AF6ED06ADFB8C71F4C1D713D677D821A1AB6FA_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMP_UpdateManager_tE9BFD4F61F3B94F860D7D3A6436162DA893BA2E2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Type_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteral10AFEF67C3DFA56498662B12A8647359768C0E9F;
IL2CPP_EXTERN_C String_t* _stringLiteral205DE2CB7E86A79B6B3940AFB5A0EC8F490142CE;
IL2CPP_EXTERN_C String_t* _stringLiteral2770A633C3121057FB1B03FB7E4E4A3C21E9D5BF;
IL2CPP_EXTERN_C String_t* _stringLiteral3CF41D991C7F2555D83F628B4B3B26444D917083;
IL2CPP_EXTERN_C String_t* _stringLiteral491A401AD10238BD1F1C20242CA9D6E07305B338;
IL2CPP_EXTERN_C String_t* _stringLiteral605D352052EE397075103BC56DCC3C5BEED3DF2C;
IL2CPP_EXTERN_C String_t* _stringLiteral75CDF58C9AFA1ECF6D29D4045BD510C2651DD6E5;
IL2CPP_EXTERN_C String_t* _stringLiteral77A4D95C5A66881369906720C24690D7097D85DC;
IL2CPP_EXTERN_C String_t* _stringLiteral804E3B76CDCD07E13EAE2E489D1D76D145E0DED6;
IL2CPP_EXTERN_C String_t* _stringLiteralA7D55861F3D2688D8F40C14691D660661CBD2B27;
IL2CPP_EXTERN_C String_t* _stringLiteralBDC04DCE144956C85753B1D40627C3620348D36C;
IL2CPP_EXTERN_C String_t* _stringLiteralE37CF7E47CB9000C903DB247EEF917A2B2043256;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisLayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A_mBEDAB0EBAEF4ADA5377B97FC2318DE8020F2D639_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m0640480E7E38BB88B0D1F6AD59E697C8EE6AAFA4_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisTMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4_mE172CE27F16AA0850E9A2EC698627142A829F7CC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisTransform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_m60E86366B3E431D4C4A549CF4FE5951087686F7F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_ContainsKey_mFEF31529C09939D463552C900419ABCC2B05B354_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_mD85118F441AE91F71148EF036C683C6D893D3D74_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Item_m43EA32FD1DAA3D907704A2F5B20845722C30849E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisTMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4_m172B07FA426C5BF7CCB660139D956232A762DC1B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m98B2ED14D5EBBED4D53F00F785FC2B5FE87FE3F5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m15153E553DF2FC3956A9EA60D995E6A6CD087CE3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_mC909CC888641BC8E1E29C8AB1C790C637C9B390E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Resources_Load_TisTMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB_m7546617D59DD4AF34FA2D67F11F82C658194F5F8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m5F15FBF7AC2FCDC8C169ED260201B75AB8CB50F3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Resources_Load_TisTMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39_m7904B83E27E07EAAE6AFD7AD2270D77A6B2F210B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextInfo_Resize_TisTMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6_m8FFB7A047A39033B809EBE3DC8756EF04721A6B3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Add_m57810DE15A45E439F6648C54DFE507C3E56AA72A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Add_m7384E96876DE9397A2E5C59711743F69132E536E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Add_mE1377C8125BB8D09F1F8133EC5C7B41757E592BA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Clear_m3763CBE15B699BDEAB58FD4D6FEA4BF708F9B60D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_CurrentItem_mF7764B34297632B9645EBCA34E55AECCDE58D367_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Peek_mC8569734890F2DED4A76435029774AE618C4B3B5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Pop_mBB6CFCE314680FC6801E9D68AF1974BCFD350CBF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Push_m044F03B5DB751956253506A126DF3382E86CBD9B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Push_mA474FC826EA9F947DACE0C8050322C961ABE97FB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Remove_m012CED006CD62BD452498A862676A1E775138717_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Remove_m0353A4D9760AB41F66944B4BC0975E2EA8282C7A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Remove_m7EAFE41E986CC289AFE14769631B2E5BAEC446AF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Remove_m9E2E06D1B36F92004CA676136D0E3F0BDCD1630C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Remove_mA98ACB867032B9BD34CB3B5717D2B9E3D6028652_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Remove_mB944EB7E1D1A02A96C48B1AA7EE7A2D7C232745D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_Remove_mB9D97F9A4BDE45ED0CA012B3EC5AB86E8747B06A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_SetDefault_m046571FFD5160F1760BCD9F5AF64A32EA75616E9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_SetDefault_m698E3FC65D297F210EA10D014AE2D836708A420C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_SetDefault_m7CE06332FBA28EFF7BD420B215587317648C1EB8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1_SetDefault_mE117EC83B0E0DD13A62A2ACAE4FD90DDDE520C24_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1__ctor_m0B52E0D58591313105377840D688BC44FA89CF1C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1__ctor_m476BD28C0A88B4D608008587806134742627AC0A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1__ctor_m490E53F5247CD44A1D3AA446A2B67FF0C8478F42_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1__ctor_m67EF0A267B30BE09CF07E10EEBC69099A33C3706_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1__ctor_m805D9E903893D54322A7E7C30A076C6976CB67A7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1__ctor_mB80A97ACD232E30BBAC0DF6D6E6F4398CE37E32A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1__ctor_mBD47E7ABC68BF701705427A3C1C40B77C0DBD1A9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1__ctor_mD9A97602F26B38649E5C756C1F60E3128FD594B7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1__ctor_mEF356198B5589E4F781952A625BE5DF2D0CF222A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextProcessingStack_1__ctor_mF51929F261282F2506327912A76AAA1DB96CC4A4_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_mF109948338BF79C7D60372B34ABBC90F8AA038FF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3C_ctorU3Eb__622_0_m4ADE4CF5BF5DB0476C27555136DB926EB976EEFE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeType* TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_0_0_0_var;
struct Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7;
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2;
struct Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3;
struct TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2;
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
struct Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259;
struct DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615;
struct HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622;
struct HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658;
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
struct MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D;
struct MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2;
struct RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D;
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
struct TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99;
struct TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A;
struct TMP_FontWeightPairU5BU5D_t0A3A5955F13FEB2F7329D81BA157110DB99F9F37;
struct TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E;
struct TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E;
struct TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7;
struct UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA;
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA;
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
struct UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5;
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
struct Dictionary_2_t760E9A9490B53715AE11CA76450386C19A39A0C8 : public RuntimeObject
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
EntryU5BU5D_t74939D41FA6DAF2CD4F7462D8AD016D48B99B8B7* ____entries_1;
int32_t ____count_2;
int32_t ____freeList_3;
int32_t ____freeCount_4;
int32_t ____version_5;
RuntimeObject* ____comparer_6;
KeyCollection_t3E33C2EB31F1F1EF4ADE3FFFBB7D11E563134D04* ____keys_7;
ValueCollection_tDBED056C1C402E2288827E2C0299F425713D8171* ____values_8;
RuntimeObject* ____syncRoot_9;
};
struct Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180 : public RuntimeObject
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
EntryU5BU5D_t197C691F43F1694B771BF83C278D12BBFEEB86FA* ____entries_1;
int32_t ____count_2;
int32_t ____freeList_3;
int32_t ____freeCount_4;
int32_t ____version_5;
RuntimeObject* ____comparer_6;
KeyCollection_t67E8423B5AEB30C254013AD88AB68D2A36F1F436* ____keys_7;
ValueCollection_t74AF7C1BAE06C66E984668F663D574ED6A596D28* ____values_8;
RuntimeObject* ____syncRoot_9;
};
struct Dictionary_2_tCB5FEF8D6CEA1557D9B9BA25946AD6BF3E6C14D0 : public RuntimeObject
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
EntryU5BU5D_t4F3493B13237D6830CBEDA6A37D57EEFEB165466* ____entries_1;
int32_t ____count_2;
int32_t ____freeList_3;
int32_t ____freeCount_4;
int32_t ____version_5;
RuntimeObject* ____comparer_6;
KeyCollection_tC71FA11749E936C809A9B4EF81DF00FE54556509* ____keys_7;
ValueCollection_t8D5EC2FA30E455F3AC119716BB909FFA1CD59DBE* ____values_8;
RuntimeObject* ____syncRoot_9;
};
struct Dictionary_2_t64B29724AB3A3E4261D34B912BF8A6B0CD287142 : public RuntimeObject
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
EntryU5BU5D_tD9625F8E3067C4376493E8C4069FD53F2E755C50* ____entries_1;
int32_t ____count_2;
int32_t ____freeList_3;
int32_t ____freeCount_4;
int32_t ____version_5;
RuntimeObject* ____comparer_6;
KeyCollection_tA8BC84D1186868F27E7DE472869DE9C55BD5782D* ____keys_7;
ValueCollection_t39651256547A96154CD080EC10FF9E4A0A00C572* ____values_8;
RuntimeObject* ____syncRoot_9;
};
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D : public RuntimeObject
{
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ____items_1;
int32_t ____size_2;
int32_t ____version_3;
RuntimeObject* ____syncRoot_4;
};
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D_StaticFields
{
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___s_emptyArray_5;
};
struct List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF : public RuntimeObject
{
TMP_FontAssetU5BU5D_tC028E06B33643ABCED25C8BF7CB21A748E23BB83* ____items_1;
int32_t ____size_2;
int32_t ____version_3;
RuntimeObject* ____syncRoot_4;
};
struct List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF_StaticFields
{
TMP_FontAssetU5BU5D_tC028E06B33643ABCED25C8BF7CB21A748E23BB83* ___s_emptyArray_5;
};
struct List_1_t2F39287A7FAAAD3D4A84C8C4EF6D748502C1DACC : public RuntimeObject
{
TMP_SpriteCharacterU5BU5D_t95867998753219562445A616BE72C0CD4C4399EF* ____items_1;
int32_t ____size_2;
int32_t ____version_3;
RuntimeObject* ____syncRoot_4;
};
struct List_1_t2F39287A7FAAAD3D4A84C8C4EF6D748502C1DACC_StaticFields
{
TMP_SpriteCharacterU5BU5D_t95867998753219562445A616BE72C0CD4C4399EF* ___s_emptyArray_5;
};
struct Il2CppArrayBounds;
struct MemberInfo_t : public RuntimeObject
{
};
struct ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F : public RuntimeObject
{
};
struct ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_StaticFields
{
int32_t ___ID_MainTex_0;
int32_t ___ID_FaceTex_1;
int32_t ___ID_FaceColor_2;
int32_t ___ID_FaceDilate_3;
int32_t ___ID_Shininess_4;
int32_t ___ID_UnderlayColor_5;
int32_t ___ID_UnderlayOffsetX_6;
int32_t ___ID_UnderlayOffsetY_7;
int32_t ___ID_UnderlayDilate_8;
int32_t ___ID_UnderlaySoftness_9;
int32_t ___ID_UnderlayOffset_10;
int32_t ___ID_UnderlayIsoPerimeter_11;
int32_t ___ID_WeightNormal_12;
int32_t ___ID_WeightBold_13;
int32_t ___ID_OutlineTex_14;
int32_t ___ID_OutlineWidth_15;
int32_t ___ID_OutlineSoftness_16;
int32_t ___ID_OutlineColor_17;
int32_t ___ID_Outline2Color_18;
int32_t ___ID_Outline2Width_19;
int32_t ___ID_Padding_20;
int32_t ___ID_GradientScale_21;
int32_t ___ID_ScaleX_22;
int32_t ___ID_ScaleY_23;
int32_t ___ID_PerspectiveFilter_24;
int32_t ___ID_Sharpness_25;
int32_t ___ID_TextureWidth_26;
int32_t ___ID_TextureHeight_27;
int32_t ___ID_BevelAmount_28;
int32_t ___ID_GlowColor_29;
int32_t ___ID_GlowOffset_30;
int32_t ___ID_GlowPower_31;
int32_t ___ID_GlowOuter_32;
int32_t ___ID_GlowInner_33;
int32_t ___ID_LightAngle_34;
int32_t ___ID_EnvMap_35;
int32_t ___ID_EnvMatrix_36;
int32_t ___ID_EnvMatrixRotation_37;
int32_t ___ID_MaskCoord_38;
int32_t ___ID_ClipRect_39;
int32_t ___ID_MaskSoftnessX_40;
int32_t ___ID_MaskSoftnessY_41;
int32_t ___ID_VertexOffsetX_42;
int32_t ___ID_VertexOffsetY_43;
int32_t ___ID_UseClipRect_44;
int32_t ___ID_StencilID_45;
int32_t ___ID_StencilOp_46;
int32_t ___ID_StencilComp_47;
int32_t ___ID_StencilReadMask_48;
int32_t ___ID_StencilWriteMask_49;
int32_t ___ID_ShaderFlags_50;
int32_t ___ID_ScaleRatio_A_51;
int32_t ___ID_ScaleRatio_B_52;
int32_t ___ID_ScaleRatio_C_53;
String_t* ___Keyword_Bevel_54;
String_t* ___Keyword_Glow_55;
String_t* ___Keyword_Underlay_56;
String_t* ___Keyword_Ratios_57;
String_t* ___Keyword_MASK_SOFT_58;
String_t* ___Keyword_MASK_HARD_59;
String_t* ___Keyword_MASK_TEX_60;
String_t* ___Keyword_Outline_61;
String_t* ___ShaderTag_ZTestMode_62;
String_t* ___ShaderTag_CullMode_63;
float ___m_clamp_64;
bool ___isInitialized_65;
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* ___k_ShaderRef_MobileSDF_66;
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* ___k_ShaderRef_MobileBitmap_67;
};
struct String_t : public RuntimeObject
{
int32_t ____stringLength_4;
Il2CppChar ____firstChar_5;
};
struct String_t_StaticFields
{
String_t* ___Empty_6;
};
struct StringBuilder_t : public RuntimeObject
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___m_ChunkChars_0;
StringBuilder_t* ___m_ChunkPrevious_1;
int32_t ___m_ChunkLength_2;
int32_t ___m_ChunkOffset_3;
int32_t ___m_MaxCapacity_4;
};
struct TMP_FontFeatureTable_t726A09E64FDF682A8FFE294BB6CFE7747F6C40EA : public RuntimeObject
{
List_1_t459ECEA1AA73CFA0FE650EF2487BB92F31382F4A* ___m_GlyphPairAdjustmentRecords_0;
Dictionary_2_t64B29724AB3A3E4261D34B912BF8A6B0CD287142* ___m_GlyphPairAdjustmentRecordLookupDictionary_1;
};
struct TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C : public RuntimeObject
{
String_t* ___m_Name_1;
int32_t ___m_HashCode_2;
String_t* ___m_OpeningDefinition_3;
String_t* ___m_ClosingDefinition_4;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___m_OpeningTagArray_5;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___m_ClosingTagArray_6;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* ___m_OpeningTagUnicodeArray_7;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* ___m_ClosingTagUnicodeArray_8;
};
struct TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C_StaticFields
{
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* ___k_NormalStyle_0;
};
struct TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5 : public RuntimeObject
{
uint8_t ___m_ElementType_0;
uint32_t ___m_Unicode_1;
TMP_Asset_t135A047D4F5CBBA9CD356B762B55AB164122B969* ___m_TextAsset_2;
Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* ___m_Glyph_3;
uint32_t ___m_GlyphIndex_4;
float ___m_Scale_5;
};
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
{
};
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
{
};
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
{
};
struct LineBreakingTable_t8F7C67DC8CF3D46115EB50409E5C0E32B5ADC531 : public RuntimeObject
{
Dictionary_2_t760E9A9490B53715AE11CA76450386C19A39A0C8* ___leadingCharacters_0;
Dictionary_2_t760E9A9490B53715AE11CA76450386C19A39A0C8* ___followingCharacters_1;
};
struct U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D : public RuntimeObject
{
};
struct U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_StaticFields
{
U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D* ___U3CU3E9_0;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* ___U3CU3E9__622_0_1;
};
struct TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4
{
FontWeightU5BU5D_t2A406B5BAB0DD0F06E7F1773DB062E4AF98067BA* ___itemStack_0;
int32_t ___index_1;
int32_t ___m_DefaultItem_2;
int32_t ___m_Capacity_3;
int32_t ___m_RolloverSize_4;
int32_t ___m_Count_5;
};
struct TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0
{
HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658* ___itemStack_0;
int32_t ___index_1;
int32_t ___m_DefaultItem_2;
int32_t ___m_Capacity_3;
int32_t ___m_RolloverSize_4;
int32_t ___m_Count_5;
};
struct TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___itemStack_0;
int32_t ___index_1;
int32_t ___m_DefaultItem_2;
int32_t ___m_Capacity_3;
int32_t ___m_RolloverSize_4;
int32_t ___m_Count_5;
};
struct TMP_TextProcessingStack_1_tA1252F156B42CCD2773D5A32C56DA9E021706659
{
Int32EnumU5BU5D_t87B7DB802810C38016332669039EF42C487A081F* ___itemStack_0;
int32_t ___index_1;
int32_t ___m_DefaultItem_2;
int32_t ___m_Capacity_3;
int32_t ___m_RolloverSize_4;
int32_t ___m_Count_5;
};
struct TMP_TextProcessingStack_1_t2A4A4F86DEC2892F4B6D6B29A6473437E6C9EE35
{
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___itemStack_0;
int32_t ___index_1;
RuntimeObject* ___m_DefaultItem_2;
int32_t ___m_Capacity_3;
int32_t ___m_RolloverSize_4;
int32_t ___m_Count_5;
};
struct TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9
{
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___itemStack_0;
int32_t ___index_1;
float ___m_DefaultItem_2;
int32_t ___m_Capacity_3;
int32_t ___m_RolloverSize_4;
int32_t ___m_Count_5;
};
struct TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C
{
TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A* ___itemStack_0;
int32_t ___index_1;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* ___m_DefaultItem_2;
int32_t ___m_Capacity_3;
int32_t ___m_RolloverSize_4;
int32_t ___m_Count_5;
};
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
{
bool ___m_value_0;
};
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
{
String_t* ___TrueString_5;
String_t* ___FalseString_6;
};
struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
{
uint8_t ___m_value_0;
};
struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17
{
Il2CppChar ___m_value_0;
};
struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17_StaticFields
{
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___s_categoryForLatin1_3;
};
struct Color_tD001788D726C3A7F1379BEED0260B9591F440C1F
{
float ___r_0;
float ___g_1;
float ___b_2;
float ___a_3;
};
struct Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B
{
union
{
#pragma pack(push, tp, 1)
struct
{
int32_t ___rgba_0;
};
#pragma pack(pop, tp)
struct
{
int32_t ___rgba_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
uint8_t ___r_1;
};
#pragma pack(pop, tp)
struct
{
uint8_t ___r_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___g_2_OffsetPadding[1];
uint8_t ___g_2;
};
#pragma pack(pop, tp)
struct
{
char ___g_2_OffsetPadding_forAlignmentOnly[1];
uint8_t ___g_2_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___b_3_OffsetPadding[2];
uint8_t ___b_3;
};
#pragma pack(pop, tp)
struct
{
char ___b_3_OffsetPadding_forAlignmentOnly[2];
uint8_t ___b_3_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___a_4_OffsetPadding[3];
uint8_t ___a_4;
};
#pragma pack(pop, tp)
struct
{
char ___a_4_OffsetPadding_forAlignmentOnly[3];
uint8_t ___a_4_forAlignmentOnly;
};
};
};
struct Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F
{
union
{
#pragma pack(push, tp, 1)
struct
{
int32_t ___flags_8;
};
#pragma pack(pop, tp)
struct
{
int32_t ___flags_8_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___hi_9_OffsetPadding[4];
int32_t ___hi_9;
};
#pragma pack(pop, tp)
struct
{
char ___hi_9_OffsetPadding_forAlignmentOnly[4];
int32_t ___hi_9_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___lo_10_OffsetPadding[8];
int32_t ___lo_10;
};
#pragma pack(pop, tp)
struct
{
char ___lo_10_OffsetPadding_forAlignmentOnly[8];
int32_t ___lo_10_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___mid_11_OffsetPadding[12];
int32_t ___mid_11;
};
#pragma pack(pop, tp)
struct
{
char ___mid_11_OffsetPadding_forAlignmentOnly[12];
int32_t ___mid_11_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___ulomidLE_12_OffsetPadding[8];
uint64_t ___ulomidLE_12;
};
#pragma pack(pop, tp)
struct
{
char ___ulomidLE_12_OffsetPadding_forAlignmentOnly[8];
uint64_t ___ulomidLE_12_forAlignmentOnly;
};
};
};
struct Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F_StaticFields
{
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___Zero_3;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___One_4;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___MinusOne_5;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___MaxValue_6;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___MinValue_7;
};
struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
{
double ___m_value_0;
};
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
{
};
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_StaticFields
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___enumSeperatorCharArray_0;
};
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
{
};
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
{
};
struct FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756
{
int32_t ___m_FaceIndex_0;
String_t* ___m_FamilyName_1;
String_t* ___m_StyleName_2;
int32_t ___m_PointSize_3;
float ___m_Scale_4;
float ___m_LineHeight_5;
float ___m_AscentLine_6;
float ___m_CapLine_7;
float ___m_MeanLine_8;
float ___m_Baseline_9;
float ___m_DescentLine_10;
float ___m_SuperscriptOffset_11;
float ___m_SuperscriptSize_12;
float ___m_SubscriptOffset_13;
float ___m_SubscriptSize_14;
float ___m_UnderlineOffset_15;
float ___m_UnderlineThickness_16;
float ___m_StrikethroughOffset_17;
float ___m_StrikethroughThickness_18;
float ___m_TabWidth_19;
};
struct FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756_marshaled_pinvoke
{
int32_t ___m_FaceIndex_0;
char* ___m_FamilyName_1;
char* ___m_StyleName_2;
int32_t ___m_PointSize_3;
float ___m_Scale_4;
float ___m_LineHeight_5;
float ___m_AscentLine_6;
float ___m_CapLine_7;
float ___m_MeanLine_8;
float ___m_Baseline_9;
float ___m_DescentLine_10;
float ___m_SuperscriptOffset_11;
float ___m_SuperscriptSize_12;
float ___m_SubscriptOffset_13;
float ___m_SubscriptSize_14;
float ___m_UnderlineOffset_15;
float ___m_UnderlineThickness_16;
float ___m_StrikethroughOffset_17;
float ___m_StrikethroughThickness_18;
float ___m_TabWidth_19;
};
struct FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756_marshaled_com
{
int32_t ___m_FaceIndex_0;
Il2CppChar* ___m_FamilyName_1;
Il2CppChar* ___m_StyleName_2;
int32_t ___m_PointSize_3;
float ___m_Scale_4;
float ___m_LineHeight_5;
float ___m_AscentLine_6;
float ___m_CapLine_7;
float ___m_MeanLine_8;
float ___m_Baseline_9;
float ___m_DescentLine_10;
float ___m_SuperscriptOffset_11;
float ___m_SuperscriptSize_12;
float ___m_SubscriptOffset_13;
float ___m_SubscriptSize_14;
float ___m_UnderlineOffset_15;
float ___m_UnderlineThickness_16;
float ___m_StrikethroughOffset_17;
float ___m_StrikethroughThickness_18;
float ___m_TabWidth_19;
};
struct FontAssetCreationSettings_t2B94078737A72F814E8BC2126F967B94231190DF
{
String_t* ___sourceFontFileName_0;
String_t* ___sourceFontFileGUID_1;
int32_t ___pointSizeSamplingMode_2;
int32_t ___pointSize_3;
int32_t ___padding_4;
int32_t ___packingMode_5;
int32_t ___atlasWidth_6;
int32_t ___atlasHeight_7;
int32_t ___characterSetSelectionMode_8;
String_t* ___characterSequence_9;
String_t* ___referencedFontAssetGUID_10;
String_t* ___referencedTextAssetGUID_11;
int32_t ___fontStyle_12;
float ___fontStyleModifier_13;
int32_t ___renderMode_14;
bool ___includeFontFeatures_15;
};
struct FontAssetCreationSettings_t2B94078737A72F814E8BC2126F967B94231190DF_marshaled_pinvoke
{
char* ___sourceFontFileName_0;
char* ___sourceFontFileGUID_1;
int32_t ___pointSizeSamplingMode_2;
int32_t ___pointSize_3;
int32_t ___padding_4;
int32_t ___packingMode_5;
int32_t ___atlasWidth_6;
int32_t ___atlasHeight_7;
int32_t ___characterSetSelectionMode_8;
char* ___characterSequence_9;
char* ___referencedFontAssetGUID_10;
char* ___referencedTextAssetGUID_11;
int32_t ___fontStyle_12;
float ___fontStyleModifier_13;
int32_t ___renderMode_14;
int32_t ___includeFontFeatures_15;
};
struct FontAssetCreationSettings_t2B94078737A72F814E8BC2126F967B94231190DF_marshaled_com
{
Il2CppChar* ___sourceFontFileName_0;
Il2CppChar* ___sourceFontFileGUID_1;
int32_t ___pointSizeSamplingMode_2;
int32_t ___pointSize_3;
int32_t ___padding_4;
int32_t ___packingMode_5;
int32_t ___atlasWidth_6;
int32_t ___atlasHeight_7;
int32_t ___characterSetSelectionMode_8;
Il2CppChar* ___characterSequence_9;
Il2CppChar* ___referencedFontAssetGUID_10;
Il2CppChar* ___referencedTextAssetGUID_11;
int32_t ___fontStyle_12;
float ___fontStyleModifier_13;
int32_t ___renderMode_14;
int32_t ___includeFontFeatures_15;
};
struct GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A
{
float ___m_Width_0;
float ___m_Height_1;
float ___m_HorizontalBearingX_2;
float ___m_HorizontalBearingY_3;
float ___m_HorizontalAdvance_4;
};
struct GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D
{
int32_t ___m_X_0;
int32_t ___m_Y_1;
int32_t ___m_Width_2;
int32_t ___m_Height_3;
};
struct GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D_StaticFields
{
GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D ___s_ZeroGlyphRect_4;
};
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
{
int32_t ___m_value_0;
};
struct Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3
{
int64_t ___m_value_0;
};
struct IntPtr_t
{
void* ___m_value_0;
};
struct IntPtr_t_StaticFields
{
intptr_t ___Zero_1;
};
struct MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B
{
int32_t ___index_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset_1;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___spriteAsset_2;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_3;
bool ___isDefaultMaterial_4;
bool ___isFallbackMaterial_5;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___fallbackMaterial_6;
float ___padding_7;
int32_t ___referenceCount_8;
};
struct MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B_marshaled_pinvoke
{
int32_t ___index_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset_1;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___spriteAsset_2;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_3;
int32_t ___isDefaultMaterial_4;
int32_t ___isFallbackMaterial_5;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___fallbackMaterial_6;
float ___padding_7;
int32_t ___referenceCount_8;
};
struct MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B_marshaled_com
{
int32_t ___index_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset_1;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___spriteAsset_2;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_3;
int32_t ___isDefaultMaterial_4;
int32_t ___isFallbackMaterial_5;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___fallbackMaterial_6;
float ___padding_7;
int32_t ___referenceCount_8;
};
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6
{
float ___m00_0;
float ___m10_1;
float ___m20_2;
float ___m30_3;
float ___m01_4;
float ___m11_5;
float ___m21_6;
float ___m31_7;
float ___m02_8;
float ___m12_9;
float ___m22_10;
float ___m32_11;
float ___m03_12;
float ___m13_13;
float ___m23_14;
float ___m33_15;
};
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_StaticFields
{
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___zeroMatrix_16;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___identityMatrix_17;
};
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974
{
float ___x_0;
float ___y_1;
float ___z_2;
float ___w_3;
};
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___identityQuaternion_4;
};
struct Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D
{
float ___m_XMin_0;
float ___m_YMin_1;
float ___m_Width_2;
float ___m_Height_3;
};
struct RichTextTagAttribute_t1BB51A8FD6C14746D177D8E84E281A4FD4A720E0
{
int32_t ___nameHashCode_0;
int32_t ___valueHashCode_1;
int32_t ___valueType_2;
int32_t ___valueStartIndex_3;
int32_t ___valueLength_4;
int32_t ___unitType_5;
};
struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
{
float ___m_value_0;
};
struct TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35 : public TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5
{
};
struct TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC
{
uint8_t ___bold_0;
uint8_t ___italic_1;
uint8_t ___underline_2;
uint8_t ___strikethrough_3;
uint8_t ___highlight_4;
uint8_t ___superscript_5;
uint8_t ___subscript_6;
uint8_t ___uppercase_7;
uint8_t ___lowercase_8;
uint8_t ___smallcaps_9;
};
struct TMP_FontWeightPair_t2835DA6BF1309AC6C817ECF878232CCF9DDB703E
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___regularTypeface_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___italicTypeface_1;
};
struct TMP_FontWeightPair_t2835DA6BF1309AC6C817ECF878232CCF9DDB703E_marshaled_pinvoke
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___regularTypeface_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___italicTypeface_1;
};
struct TMP_FontWeightPair_t2835DA6BF1309AC6C817ECF878232CCF9DDB703E_marshaled_com
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___regularTypeface_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___italicTypeface_1;
};
struct TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1
{
float ___m_XPlacement_0;
float ___m_YPlacement_1;
float ___m_XAdvance_2;
float ___m_YAdvance_3;
};
struct TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___textComponent_0;
int32_t ___hashCode_1;
int32_t ___linkIdFirstCharacterIndex_2;
int32_t ___linkIdLength_3;
int32_t ___linkTextfirstCharacterIndex_4;
int32_t ___linkTextLength_5;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___linkID_6;
};
struct TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6_marshaled_pinvoke
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___textComponent_0;
int32_t ___hashCode_1;
int32_t ___linkIdFirstCharacterIndex_2;
int32_t ___linkIdLength_3;
int32_t ___linkTextfirstCharacterIndex_4;
int32_t ___linkTextLength_5;
uint8_t* ___linkID_6;
};
struct TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6_marshaled_com
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___textComponent_0;
int32_t ___hashCode_1;
int32_t ___linkIdFirstCharacterIndex_2;
int32_t ___linkIdLength_3;
int32_t ___linkTextfirstCharacterIndex_4;
int32_t ___linkTextLength_5;
uint8_t* ___linkID_6;
};
struct TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6
{
float ___m_Left_0;
float ___m_Right_1;
float ___m_Top_2;
float ___m_Bottom_3;
};
struct TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6_StaticFields
{
TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 ___k_ZeroOffset_4;
};
struct TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E : public TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5
{
String_t* ___m_Name_6;
int32_t ___m_HashCode_7;
};
struct UInt16_tF4C148C876015C212FD72652D0B6ED8CC247A455
{
uint16_t ___m_value_0;
};
struct UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B
{
uint32_t ___m_value_0;
};
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7
{
float ___x_0;
float ___y_1;
};
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___zeroVector_2;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___oneVector_3;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___upVector_4;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___downVector_5;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___leftVector_6;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rightVector_7;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___positiveInfinityVector_8;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___negativeInfinityVector_9;
};
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
{
float ___x_2;
float ___y_3;
float ___z_4;
};
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector_14;
};
struct Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3
{
float ___x_1;
float ___y_2;
float ___z_3;
float ___w_4;
};
struct Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3_StaticFields
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___zeroVector_5;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___oneVector_6;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___positiveInfinityVector_7;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___negativeInfinityVector_8;
};
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
{
union
{
struct
{
};
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
};
};
struct CharacterSubstitution_t1F95CD37050627A0EFDC0F0F25FD04EA70015403
{
int32_t ___index_0;
uint32_t ___unicode_1;
};
struct SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* ___character_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_2;
int32_t ___materialIndex_3;
};
struct SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777_marshaled_pinvoke
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* ___character_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_2;
int32_t ___materialIndex_3;
};
struct SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777_marshaled_com
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* ___character_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_2;
int32_t ___materialIndex_3;
};
struct TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361
{
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* ___m_Array_0;
int32_t ___m_Count_1;
};
struct TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361_marshaled_pinvoke
{
Il2CppSafeArray* ___m_Array_0;
int32_t ___m_Count_1;
};
struct TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361_marshaled_com
{
Il2CppSafeArray* ___m_Array_0;
int32_t ___m_Count_1;
};
struct UnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722
{
int32_t ___unicode_0;
int32_t ___stringIndex_1;
int32_t ___length_2;
};
struct TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3
{
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* ___itemStack_0;
int32_t ___index_1;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_DefaultItem_2;
int32_t ___m_Capacity_3;
int32_t ___m_RolloverSize_4;
int32_t ___m_Count_5;
};
struct TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9
{
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* ___itemStack_0;
int32_t ___index_1;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B ___m_DefaultItem_2;
int32_t ___m_Capacity_3;
int32_t ___m_RolloverSize_4;
int32_t ___m_Count_5;
};
struct Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Center_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Extents_1;
};
struct Delegate_t : public RuntimeObject
{
Il2CppMethodPointer ___method_ptr_0;
intptr_t ___invoke_impl_1;
RuntimeObject* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
intptr_t ___interp_method_7;
intptr_t ___interp_invoke_impl_8;
MethodInfo_t* ___method_info_9;
MethodInfo_t* ___original_method_info_10;
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
bool ___method_is_virtual_12;
};
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;
intptr_t ___interp_method_7;
intptr_t ___interp_invoke_impl_8;
MethodInfo_t* ___method_info_9;
MethodInfo_t* ___original_method_info_10;
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
int32_t ___method_is_virtual_12;
};
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;
intptr_t ___interp_method_7;
intptr_t ___interp_invoke_impl_8;
MethodInfo_t* ___method_info_9;
MethodInfo_t* ___original_method_info_10;
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
int32_t ___method_is_virtual_12;
};
struct Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___min_2;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___max_3;
};
struct Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8_StaticFields
{
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___zero_0;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___uninitialized_1;
};
struct Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F : public RuntimeObject
{
uint32_t ___m_Index_0;
GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A ___m_Metrics_1;
GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D ___m_GlyphRect_2;
float ___m_Scale_3;
int32_t ___m_AtlasIndex_4;
int32_t ___m_ClassDefinitionType_5;
};
struct Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F_marshaled_pinvoke
{
uint32_t ___m_Index_0;
GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A ___m_Metrics_1;
GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D ___m_GlyphRect_2;
float ___m_Scale_3;
int32_t ___m_AtlasIndex_4;
int32_t ___m_ClassDefinitionType_5;
};
struct Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F_marshaled_com
{
uint32_t ___m_Index_0;
GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A ___m_Metrics_1;
GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D ___m_GlyphRect_2;
float ___m_Scale_3;
int32_t ___m_AtlasIndex_4;
int32_t ___m_ClassDefinitionType_5;
};
struct HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color_0;
TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 ___padding_1;
};
struct HorizontalAlignmentOptions_tCC21260E9FBEC656BA7783643ED5F44AFF7955A1
{
int32_t ___value___2;
};
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
{
intptr_t ___m_CachedPtr_0;
};
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
{
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
};
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
{
intptr_t ___m_CachedPtr_0;
};
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
{
intptr_t ___m_CachedPtr_0;
};
struct ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD
{
intptr_t ___m_Ptr_0;
};
struct RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B
{
intptr_t ___value_0;
};
struct TMP_GlyphAdjustmentRecord_t5B0CA0C5AA31B3774F21B3756AEEE5D35A648E00
{
uint32_t ___m_GlyphIndex_0;
TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1 ___m_GlyphValueRecord_1;
};
struct TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D : public RuntimeObject
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___textComponent_2;
int32_t ___characterCount_3;
int32_t ___spriteCount_4;
int32_t ___spaceCount_5;
int32_t ___wordCount_6;
int32_t ___linkCount_7;
int32_t ___lineCount_8;
int32_t ___pageCount_9;
int32_t ___materialCount_10;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* ___characterInfo_11;
TMP_WordInfoU5BU5D_tD1759E5A84DCCCD42B718D79E953E72A432BB4DC* ___wordInfo_12;
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* ___linkInfo_13;
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* ___lineInfo_14;
TMP_PageInfoU5BU5D_tE3DAAA8E2E9147F97C424A9034F677A516E8DAF9* ___pageInfo_15;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* ___meshInfo_16;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* ___m_CachedMeshInfo_17;
};
struct TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D_StaticFields
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___k_InfinityVectorPositive_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___k_InfinityVectorNegative_1;
};
struct TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___uv_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___uv2_2;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___uv4_3;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color_4;
};
struct TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A_StaticFields
{
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___k_Zero_5;
};
struct VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___topLeft_0;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___topRight_1;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___bottomLeft_2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___bottomRight_3;
};
struct TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D
{
HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622* ___itemStack_0;
int32_t ___index_1;
HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B ___m_DefaultItem_2;
int32_t ___m_Capacity_3;
int32_t ___m_RolloverSize_4;
int32_t ___m_Count_5;
};
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
struct Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
struct Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
struct MulticastDelegate_t : public Delegate_t
{
DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates_13;
};
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_13;
};
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_13;
};
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_pinvoke : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
{
};
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_com : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
{
};
struct TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8
{
Il2CppChar ___character_0;
int32_t ___index_1;
int32_t ___stringLength_2;
int32_t ___elementType_3;
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* ___textElement_4;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset_5;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___spriteAsset_6;
int32_t ___spriteIndex_7;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_8;
int32_t ___materialReferenceIndex_9;
bool ___isUsingAlternateTypeface_10;
float ___pointSize_11;
int32_t ___lineNumber_12;
int32_t ___pageNumber_13;
int32_t ___vertexIndex_14;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_BL_15;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_TL_16;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_TR_17;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_BR_18;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___topLeft_19;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bottomLeft_20;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___topRight_21;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bottomRight_22;
float ___origin_23;
float ___xAdvance_24;
float ___ascender_25;
float ___baseLine_26;
float ___descender_27;
float ___adjustedAscender_28;
float ___adjustedDescender_29;
float ___aspectRatio_30;
float ___scale_31;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color_32;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor_33;
int32_t ___underlineVertexIndex_34;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___strikethroughColor_35;
int32_t ___strikethroughVertexIndex_36;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor_37;
HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B ___highlightState_38;
int32_t ___style_39;
bool ___isVisible_40;
};
struct TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8_marshaled_pinvoke
{
uint8_t ___character_0;
int32_t ___index_1;
int32_t ___stringLength_2;
int32_t ___elementType_3;
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* ___textElement_4;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset_5;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___spriteAsset_6;
int32_t ___spriteIndex_7;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_8;
int32_t ___materialReferenceIndex_9;
int32_t ___isUsingAlternateTypeface_10;
float ___pointSize_11;
int32_t ___lineNumber_12;
int32_t ___pageNumber_13;
int32_t ___vertexIndex_14;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_BL_15;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_TL_16;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_TR_17;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_BR_18;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___topLeft_19;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bottomLeft_20;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___topRight_21;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bottomRight_22;
float ___origin_23;
float ___xAdvance_24;
float ___ascender_25;
float ___baseLine_26;
float ___descender_27;
float ___adjustedAscender_28;
float ___adjustedDescender_29;
float ___aspectRatio_30;
float ___scale_31;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color_32;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor_33;
int32_t ___underlineVertexIndex_34;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___strikethroughColor_35;
int32_t ___strikethroughVertexIndex_36;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor_37;
HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B ___highlightState_38;
int32_t ___style_39;
int32_t ___isVisible_40;
};
struct TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8_marshaled_com
{
uint8_t ___character_0;
int32_t ___index_1;
int32_t ___stringLength_2;
int32_t ___elementType_3;
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* ___textElement_4;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset_5;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___spriteAsset_6;
int32_t ___spriteIndex_7;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_8;
int32_t ___materialReferenceIndex_9;
int32_t ___isUsingAlternateTypeface_10;
float ___pointSize_11;
int32_t ___lineNumber_12;
int32_t ___pageNumber_13;
int32_t ___vertexIndex_14;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_BL_15;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_TL_16;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_TR_17;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_BR_18;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___topLeft_19;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bottomLeft_20;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___topRight_21;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bottomRight_22;
float ___origin_23;
float ___xAdvance_24;
float ___ascender_25;
float ___baseLine_26;
float ___descender_27;
float ___adjustedAscender_28;
float ___adjustedDescender_29;
float ___aspectRatio_30;
float ___scale_31;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color_32;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor_33;
int32_t ___underlineVertexIndex_34;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___strikethroughColor_35;
int32_t ___strikethroughVertexIndex_36;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor_37;
HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B ___highlightState_38;
int32_t ___style_39;
int32_t ___isVisible_40;
};
struct TMP_GlyphPairAdjustmentRecord_t6150C3DE547DDD860AB097843D36519D818D810F : public RuntimeObject
{
TMP_GlyphAdjustmentRecord_t5B0CA0C5AA31B3774F21B3756AEEE5D35A648E00 ___m_FirstAdjustmentRecord_0;
TMP_GlyphAdjustmentRecord_t5B0CA0C5AA31B3774F21B3756AEEE5D35A648E00 ___m_SecondAdjustmentRecord_1;
int32_t ___m_FeatureLookupFlags_2;
};
struct TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3
{
int32_t ___controlCharacterCount_0;
int32_t ___characterCount_1;
int32_t ___visibleCharacterCount_2;
int32_t ___spaceCount_3;
int32_t ___wordCount_4;
int32_t ___firstCharacterIndex_5;
int32_t ___firstVisibleCharacterIndex_6;
int32_t ___lastCharacterIndex_7;
int32_t ___lastVisibleCharacterIndex_8;
float ___length_9;
float ___lineHeight_10;
float ___ascender_11;
float ___baseline_12;
float ___descender_13;
float ___maxAdvance_14;
float ___width_15;
float ___marginLeft_16;
float ___marginRight_17;
int32_t ___alignment_18;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___lineExtents_19;
};
struct TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B
{
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___mesh_4;
int32_t ___vertexCount_5;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___vertices_6;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___normals_7;
Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* ___tangents_8;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___uvs0_9;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___uvs2_10;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* ___colors32_11;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___triangles_12;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_13;
};
struct TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B_StaticFields
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___s_DefaultColor_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___s_DefaultNormal_1;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___s_DefaultTangent_2;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___s_DefaultBounds_3;
};
struct TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B_marshaled_pinvoke
{
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___mesh_4;
int32_t ___vertexCount_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___vertices_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___normals_7;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* ___tangents_8;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* ___uvs0_9;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* ___uvs2_10;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* ___colors32_11;
Il2CppSafeArray* ___triangles_12;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_13;
};
struct TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B_marshaled_com
{
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___mesh_4;
int32_t ___vertexCount_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___vertices_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* ___normals_7;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* ___tangents_8;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* ___uvs0_9;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* ___uvs2_10;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* ___colors32_11;
Il2CppSafeArray* ___triangles_12;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_13;
};
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700_StaticFields
{
int32_t ___GenerateAllMips_4;
};
struct Type_t : public MemberInfo_t
{
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B ____impl_8;
};
struct Type_t_StaticFields
{
Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235* ___s_defaultBinder_0;
Il2CppChar ___Delimiter_1;
TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB* ___EmptyTypes_2;
RuntimeObject* ___Missing_3;
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterAttribute_4;
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterName_5;
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterNameIgnoreCase_6;
};
struct Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1 : public MulticastDelegate_t
{
};
struct Func_3_tD48690FA870BA310D4390AE6025ACAC699C152D6 : public MulticastDelegate_t
{
};
struct Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C : public MulticastDelegate_t
{
};
struct Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5 : public MulticastDelegate_t
{
};
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
struct TMP_Asset_t135A047D4F5CBBA9CD356B762B55AB164122B969 : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
{
int32_t ___m_InstanceID_4;
int32_t ___hashCode_5;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material_6;
int32_t ___materialHashCode_7;
};
struct TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
{
int32_t ___colorMode_4;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___topLeft_5;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___topRight_6;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___bottomLeft_7;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___bottomRight_8;
};
struct TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB_StaticFields
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___k_DefaultColor_10;
};
struct TMP_Settings_t5875BC616C98A30032C6B733CF7FC90A0EE48062 : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
{
bool ___m_enableWordWrapping_5;
bool ___m_enableKerning_6;
bool ___m_enableExtraPadding_7;
bool ___m_enableTintAllSprites_8;
bool ___m_enableParseEscapeCharacters_9;
bool ___m_EnableRaycastTarget_10;
bool ___m_GetFontFeaturesAtRuntime_11;
int32_t ___m_missingGlyphCharacter_12;
bool ___m_warningsDisabled_13;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___m_defaultFontAsset_14;
String_t* ___m_defaultFontAssetPath_15;
float ___m_defaultFontSize_16;
float ___m_defaultAutoSizeMinRatio_17;
float ___m_defaultAutoSizeMaxRatio_18;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_defaultTextMeshProTextContainerSize_19;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_defaultTextMeshProUITextContainerSize_20;
bool ___m_autoSizeTextContainer_21;
bool ___m_IsTextObjectScaleStatic_22;
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* ___m_fallbackFontAssets_23;
bool ___m_matchMaterialPreset_24;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___m_defaultSpriteAsset_25;
String_t* ___m_defaultSpriteAssetPath_26;
bool ___m_enableEmojiSupport_27;
uint32_t ___m_MissingCharacterSpriteUnicode_28;
String_t* ___m_defaultColorGradientPresetsPath_29;
TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* ___m_defaultStyleSheet_30;
String_t* ___m_StyleSheetsResourcePath_31;
TextAsset_t2C64E93DA366D9DE5A8209E1802FA4884AC1BD69* ___m_leadingCharacters_32;
TextAsset_t2C64E93DA366D9DE5A8209E1802FA4884AC1BD69* ___m_followingCharacters_33;
LineBreakingTable_t8F7C67DC8CF3D46115EB50409E5C0E32B5ADC531* ___m_linebreakingRules_34;
bool ___m_UseModernHangulLineBreakingRules_35;
};
struct TMP_Settings_t5875BC616C98A30032C6B733CF7FC90A0EE48062_StaticFields
{
TMP_Settings_t5875BC616C98A30032C6B733CF7FC90A0EE48062* ___s_Instance_4;
};
struct TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859 : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
{
List_1_tD2E7A87088A4F1FBE2DCD6E5BD9894222A78FB1E* ___m_StyleList_4;
Dictionary_2_t5BB0B09C825404C5C7781A7CE8B7D9ADD11A6579* ___m_StyleLookupDictionary_5;
};
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
struct WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A
{
int32_t ___previous_WordBreak_0;
int32_t ___total_CharacterCount_1;
int32_t ___visible_CharacterCount_2;
int32_t ___visible_SpriteCount_3;
int32_t ___visible_LinkCount_4;
int32_t ___firstCharacterIndex_5;
int32_t ___firstVisibleCharacterIndex_6;
int32_t ___lastCharacterIndex_7;
int32_t ___lastVisibleCharIndex_8;
int32_t ___lineNumber_9;
float ___maxCapHeight_10;
float ___maxAscender_11;
float ___maxDescender_12;
float ___startOfLineAscender_13;
float ___maxLineAscender_14;
float ___maxLineDescender_15;
float ___pageAscender_16;
int32_t ___horizontalAlignment_17;
float ___marginLeft_18;
float ___marginRight_19;
float ___xAdvance_20;
float ___preferredWidth_21;
float ___preferredHeight_22;
float ___previousLineScale_23;
int32_t ___wordCount_24;
int32_t ___fontStyle_25;
int32_t ___italicAngle_26;
float ___fontScaleMultiplier_27;
float ___currentFontSize_28;
float ___baselineOffset_29;
float ___lineOffset_30;
bool ___isDrivenLineSpacing_31;
float ___glyphHorizontalAdvanceAdjustment_32;
float ___cSpace_33;
float ___mSpace_34;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* ___textInfo_35;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 ___lineInfo_36;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___vertexColor_37;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor_38;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___strikethroughColor_39;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor_40;
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC ___basicStyleStack_41;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___italicAngleStack_42;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___colorStack_43;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___underlineColorStack_44;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___strikethroughColorStack_45;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___highlightColorStack_46;
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D ___highlightStateStack_47;
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C ___colorGradientStack_48;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___sizeStack_49;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___indentStack_50;
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4 ___fontWeightStack_51;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___styleStack_52;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___baselineStack_53;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___actionStack_54;
TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9 ___materialReferenceStack_55;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0 ___lineJustificationStack_56;
int32_t ___spriteAnimationID_57;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___currentFontAsset_58;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___currentSpriteAsset_59;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___currentMaterial_60;
int32_t ___currentMaterialIndex_61;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___meshExtents_62;
bool ___tagNoParsing_63;
bool ___isNonBreakingSpace_64;
};
struct WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A_marshaled_pinvoke
{
int32_t ___previous_WordBreak_0;
int32_t ___total_CharacterCount_1;
int32_t ___visible_CharacterCount_2;
int32_t ___visible_SpriteCount_3;
int32_t ___visible_LinkCount_4;
int32_t ___firstCharacterIndex_5;
int32_t ___firstVisibleCharacterIndex_6;
int32_t ___lastCharacterIndex_7;
int32_t ___lastVisibleCharIndex_8;
int32_t ___lineNumber_9;
float ___maxCapHeight_10;
float ___maxAscender_11;
float ___maxDescender_12;
float ___startOfLineAscender_13;
float ___maxLineAscender_14;
float ___maxLineDescender_15;
float ___pageAscender_16;
int32_t ___horizontalAlignment_17;
float ___marginLeft_18;
float ___marginRight_19;
float ___xAdvance_20;
float ___preferredWidth_21;
float ___preferredHeight_22;
float ___previousLineScale_23;
int32_t ___wordCount_24;
int32_t ___fontStyle_25;
int32_t ___italicAngle_26;
float ___fontScaleMultiplier_27;
float ___currentFontSize_28;
float ___baselineOffset_29;
float ___lineOffset_30;
int32_t ___isDrivenLineSpacing_31;
float ___glyphHorizontalAdvanceAdjustment_32;
float ___cSpace_33;
float ___mSpace_34;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* ___textInfo_35;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 ___lineInfo_36;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___vertexColor_37;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor_38;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___strikethroughColor_39;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor_40;
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC ___basicStyleStack_41;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___italicAngleStack_42;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___colorStack_43;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___underlineColorStack_44;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___strikethroughColorStack_45;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___highlightColorStack_46;
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D ___highlightStateStack_47;
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C ___colorGradientStack_48;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___sizeStack_49;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___indentStack_50;
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4 ___fontWeightStack_51;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___styleStack_52;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___baselineStack_53;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___actionStack_54;
TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9 ___materialReferenceStack_55;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0 ___lineJustificationStack_56;
int32_t ___spriteAnimationID_57;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___currentFontAsset_58;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___currentSpriteAsset_59;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___currentMaterial_60;
int32_t ___currentMaterialIndex_61;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___meshExtents_62;
int32_t ___tagNoParsing_63;
int32_t ___isNonBreakingSpace_64;
};
struct WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A_marshaled_com
{
int32_t ___previous_WordBreak_0;
int32_t ___total_CharacterCount_1;
int32_t ___visible_CharacterCount_2;
int32_t ___visible_SpriteCount_3;
int32_t ___visible_LinkCount_4;
int32_t ___firstCharacterIndex_5;
int32_t ___firstVisibleCharacterIndex_6;
int32_t ___lastCharacterIndex_7;
int32_t ___lastVisibleCharIndex_8;
int32_t ___lineNumber_9;
float ___maxCapHeight_10;
float ___maxAscender_11;
float ___maxDescender_12;
float ___startOfLineAscender_13;
float ___maxLineAscender_14;
float ___maxLineDescender_15;
float ___pageAscender_16;
int32_t ___horizontalAlignment_17;
float ___marginLeft_18;
float ___marginRight_19;
float ___xAdvance_20;
float ___preferredWidth_21;
float ___preferredHeight_22;
float ___previousLineScale_23;
int32_t ___wordCount_24;
int32_t ___fontStyle_25;
int32_t ___italicAngle_26;
float ___fontScaleMultiplier_27;
float ___currentFontSize_28;
float ___baselineOffset_29;
float ___lineOffset_30;
int32_t ___isDrivenLineSpacing_31;
float ___glyphHorizontalAdvanceAdjustment_32;
float ___cSpace_33;
float ___mSpace_34;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* ___textInfo_35;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 ___lineInfo_36;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___vertexColor_37;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor_38;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___strikethroughColor_39;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor_40;
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC ___basicStyleStack_41;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___italicAngleStack_42;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___colorStack_43;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___underlineColorStack_44;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___strikethroughColorStack_45;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___highlightColorStack_46;
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D ___highlightStateStack_47;
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C ___colorGradientStack_48;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___sizeStack_49;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___indentStack_50;
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4 ___fontWeightStack_51;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___styleStack_52;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___baselineStack_53;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___actionStack_54;
TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9 ___materialReferenceStack_55;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0 ___lineJustificationStack_56;
int32_t ___spriteAnimationID_57;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___currentFontAsset_58;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___currentSpriteAsset_59;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___currentMaterial_60;
int32_t ___currentMaterialIndex_61;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___meshExtents_62;
int32_t ___tagNoParsing_63;
int32_t ___isNonBreakingSpace_64;
};
struct TMP_TextProcessingStack_1_t2DDA00FFC64AF6E3AFD475AB2086D16C34787E0F
{
WordWrapStateU5BU5D_t473D59C9DBCC949CE72EF1EB471CBA152A6CEAC9* ___itemStack_0;
int32_t ___index_1;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A ___m_DefaultItem_2;
int32_t ___m_Capacity_3;
int32_t ___m_RolloverSize_4;
int32_t ___m_Count_5;
};
struct Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
{
};
struct Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_StaticFields
{
WillRenderCanvases_tA4A6E66DBA797DCB45B995DBA449A9D1D80D0FBC* ___preWillRenderCanvases_4;
WillRenderCanvases_tA4A6E66DBA797DCB45B995DBA449A9D1D80D0FBC* ___willRenderCanvases_5;
Action_1_tD69A6DC9FBE94131E52F5A73B2A9D4AB51EEC404* ___U3CexternBeginRenderOverlaysU3Ek__BackingField_6;
Action_2_tD7438462601D3939500ED67463331FE00CFFBDB8* ___U3CexternRenderOverlaysBeforeU3Ek__BackingField_7;
Action_1_tD69A6DC9FBE94131E52F5A73B2A9D4AB51EEC404* ___U3CexternEndRenderOverlaysU3Ek__BackingField_8;
};
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
{
CancellationTokenSource_tAAE1E0033BCFC233801F8CB4CED5C852B350CB7B* ___m_CancellationTokenSource_4;
};
struct RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 : public Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1
{
};
struct RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_StaticFields
{
ReapplyDrivenProperties_t3482EA130A01FF7EE2EEFE37F66A5215D08CFE24* ___reapplyDrivenProperties_4;
};
struct TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 : public TMP_Asset_t135A047D4F5CBBA9CD356B762B55AB164122B969
{
String_t* ___m_Version_8;
String_t* ___m_SourceFontFileGUID_9;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6* ___m_SourceFontFile_10;
int32_t ___m_AtlasPopulationMode_11;
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 ___m_FaceInfo_12;
List_1_t95DB74B8EE315F8F92B7B96D93C901C8C3F6FE2C* ___m_GlyphTable_13;
Dictionary_2_tC61348D10610A6B3D7B65102D82AC3467D59EAA7* ___m_GlyphLookupDictionary_14;
List_1_tCE1ACAA0C2736A7797B2C134895298CAB10BEB5E* ___m_CharacterTable_15;
Dictionary_2_tCB5FEF8D6CEA1557D9B9BA25946AD6BF3E6C14D0* ___m_CharacterLookupDictionary_16;
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___m_AtlasTexture_17;
Texture2DU5BU5D_t05332F1E3F7D4493E304C702201F9BE4F9236191* ___m_AtlasTextures_18;
int32_t ___m_AtlasTextureIndex_19;
bool ___m_IsMultiAtlasTexturesEnabled_20;
bool ___m_ClearDynamicDataOnBuild_21;
List_1_t425D3A455811E316D2DF73E46CF9CD90A4341C1B* ___m_UsedGlyphRects_22;
List_1_t425D3A455811E316D2DF73E46CF9CD90A4341C1B* ___m_FreeGlyphRects_23;
FaceInfo_Legacy_t23B118EFD5AB7162515ABF18C0212DF155CCF7B8* ___m_fontInfo_24;
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___atlas_25;
int32_t ___m_AtlasWidth_26;
int32_t ___m_AtlasHeight_27;
int32_t ___m_AtlasPadding_28;
int32_t ___m_AtlasRenderMode_29;
List_1_tAB7976FADCF872E418770E60783056C23394843D* ___m_glyphInfoList_30;
KerningTable_t040C3FE3B519B12AADE1C5B00628581551D5AB6B* ___m_KerningTable_31;
TMP_FontFeatureTable_t726A09E64FDF682A8FFE294BB6CFE7747F6C40EA* ___m_FontFeatureTable_32;
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* ___fallbackFontAssets_33;
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* ___m_FallbackFontAssetTable_34;
FontAssetCreationSettings_t2B94078737A72F814E8BC2126F967B94231190DF ___m_CreationSettings_35;
TMP_FontWeightPairU5BU5D_t0A3A5955F13FEB2F7329D81BA157110DB99F9F37* ___m_FontWeightTable_36;
TMP_FontWeightPairU5BU5D_t0A3A5955F13FEB2F7329D81BA157110DB99F9F37* ___fontWeights_37;
float ___normalStyle_38;
float ___normalSpacingOffset_39;
float ___boldStyle_40;
float ___boldSpacing_41;
uint8_t ___italicStyle_42;
uint8_t ___tabSize_43;
bool ___IsFontAssetLookupTablesDirty_44;
HashSet_1_t4A2F2B74276D0AD3ED0F873045BD61E9504ECAE2* ___FallbackSearchQueryLookup_53;
List_1_t95DB74B8EE315F8F92B7B96D93C901C8C3F6FE2C* ___m_GlyphsToRender_59;
List_1_t95DB74B8EE315F8F92B7B96D93C901C8C3F6FE2C* ___m_GlyphsRendered_60;
List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A* ___m_GlyphIndexList_61;
List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A* ___m_GlyphIndexListNewlyAdded_62;
List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A* ___m_GlyphsToAdd_63;
HashSet_1_t5DD20B42149A11AEBF12A75505306E6EFC34943A* ___m_GlyphsToAddLookup_64;
List_1_tCE1ACAA0C2736A7797B2C134895298CAB10BEB5E* ___m_CharactersToAdd_65;
HashSet_1_t5DD20B42149A11AEBF12A75505306E6EFC34943A* ___m_CharactersToAddLookup_66;
List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A* ___s_MissingCharacterList_67;
HashSet_1_t5DD20B42149A11AEBF12A75505306E6EFC34943A* ___m_MissingUnicodesFromFontFile_68;
};
struct TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_StaticFields
{
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_ReadFontAssetDefinitionMarker_45;
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_AddSynthesizedCharactersMarker_46;
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_TryAddCharacterMarker_47;
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_TryAddCharactersMarker_48;
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_UpdateGlyphAdjustmentRecordsMarker_49;
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_ClearFontAssetDataMarker_50;
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_UpdateFontAssetDataMarker_51;
String_t* ___s_DefaultMaterialSuffix_52;
HashSet_1_t4A2F2B74276D0AD3ED0F873045BD61E9504ECAE2* ___k_SearchedFontAssetLookup_54;
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* ___k_FontAssets_FontFeaturesUpdateQueue_55;
HashSet_1_t4A2F2B74276D0AD3ED0F873045BD61E9504ECAE2* ___k_FontAssets_FontFeaturesUpdateQueueLookup_56;
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* ___k_FontAssets_AtlasTexturesUpdateQueue_57;
HashSet_1_t4A2F2B74276D0AD3ED0F873045BD61E9504ECAE2* ___k_FontAssets_AtlasTexturesUpdateQueueLookup_58;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* ___k_GlyphIndexArray_69;
};
struct TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 : public TMP_Asset_t135A047D4F5CBBA9CD356B762B55AB164122B969
{
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* ___m_NameLookup_8;
Dictionary_2_t1A4804CA9724B6CE01D6ECABE81CE0848CBA80B4* ___m_GlyphIndexLookup_9;
String_t* ___m_Version_10;
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 ___m_FaceInfo_11;
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___spriteSheet_12;
List_1_t2F39287A7FAAAD3D4A84C8C4EF6D748502C1DACC* ___m_SpriteCharacterTable_13;
Dictionary_2_t2E5037179C9A1F1245F111C037CAFB47E3EB45ED* ___m_SpriteCharacterLookup_14;
List_1_t1ACC21967B12156F242D5D942EF3A71908550905* ___m_SpriteGlyphTable_15;
Dictionary_2_tDE8FAF4CAC415F7871ED1DBA452249683C3C7C27* ___m_SpriteGlyphLookup_16;
List_1_tBF2191892DFB746CF83364BF93720BDBF5422853* ___spriteInfoList_17;
List_1_tB66B78FCD61EAA013319E93BE83B16C78143E868* ___fallbackSpriteAssets_18;
bool ___m_IsSpriteAssetLookupTablesDirty_19;
};
struct TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39_StaticFields
{
HashSet_1_t4A2F2B74276D0AD3ED0F873045BD61E9504ECAE2* ___k_searchedSpriteAssets_20;
};
struct TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
Dictionary_2_t01224C8DBCCFE276E97D2BF52F4D7B10D3642682* ___m_animations_5;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___m_TextComponent_6;
};
struct UIBehaviour_tB9D4295827BD2EEDEF0749200C6CA7090C742A9D : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
};
struct Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931 : public UIBehaviour_tB9D4295827BD2EEDEF0749200C6CA7090C742A9D
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___m_Material_7;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_Color_8;
bool ___m_SkipLayoutUpdate_9;
bool ___m_SkipMaterialUpdate_10;
bool ___m_RaycastTarget_11;
bool ___m_RaycastTargetCache_12;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___m_RaycastPadding_13;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* ___m_RectTransform_14;
CanvasRenderer_tAB9A55A976C4E3B2B37D0CE5616E5685A8B43860* ___m_CanvasRenderer_15;
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26* ___m_Canvas_16;
bool ___m_VertsDirty_17;
bool ___m_MaterialDirty_18;
UnityAction_t11A1F3B953B365C072A5DCC32677EE1796A962A7* ___m_OnDirtyLayoutCallback_19;
UnityAction_t11A1F3B953B365C072A5DCC32677EE1796A962A7* ___m_OnDirtyVertsCallback_20;
UnityAction_t11A1F3B953B365C072A5DCC32677EE1796A962A7* ___m_OnDirtyMaterialCallback_21;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___m_CachedMesh_24;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___m_CachedUvs_25;
TweenRunner_1_t5BB0582F926E75E2FE795492679A6CF55A4B4BC4* ___m_ColorTweenRunner_26;
bool ___U3CuseLegacyMeshGenerationU3Ek__BackingField_27;
};
struct Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931_StaticFields
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___s_DefaultUI_5;
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ___s_WhiteTexture_6;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___s_Mesh_22;
VertexHelper_tB905FCB02AE67CBEE5F265FE37A5938FC5D136FE* ___s_VertexHelper_23;
};
struct LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A : public UIBehaviour_tB9D4295827BD2EEDEF0749200C6CA7090C742A9D
{
bool ___m_IgnoreLayout_5;
float ___m_MinWidth_6;
float ___m_MinHeight_7;
float ___m_PreferredWidth_8;
float ___m_PreferredHeight_9;
float ___m_FlexibleWidth_10;
float ___m_FlexibleHeight_11;
int32_t ___m_LayoutPriority_12;
};
struct MaskableGraphic_tFC5B6BE351C90DE53744DF2A70940242774B361E : public Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931
{
bool ___m_ShouldRecalculateStencil_28;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___m_MaskMaterial_29;
RectMask2D_tACF92BE999C791A665BD1ADEABF5BCEB82846670* ___m_ParentMask_30;
bool ___m_Maskable_31;
bool ___m_IsMaskingGraphic_32;
bool ___m_IncludeForMasking_33;
CullStateChangedEvent_t6073CD0D951EC1256BF74B8F9107D68FC89B99B8* ___m_OnCullStateChanged_34;
bool ___m_ShouldRecalculate_35;
int32_t ___m_StencilValue_36;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___m_Corners_37;
};
struct TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 : public MaskableGraphic_tFC5B6BE351C90DE53744DF2A70940242774B361E
{
String_t* ___m_text_38;
bool ___m_IsTextBackingStringDirty_39;
RuntimeObject* ___m_TextPreprocessor_40;
bool ___m_isRightToLeft_41;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___m_fontAsset_42;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___m_currentFontAsset_43;
bool ___m_isSDFShader_44;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___m_sharedMaterial_45;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___m_currentMaterial_46;
int32_t ___m_currentMaterialIndex_50;
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* ___m_fontSharedMaterials_51;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___m_fontMaterial_52;
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* ___m_fontMaterials_53;
bool ___m_isMaterialDirty_54;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_fontColor32_55;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_fontColor_56;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_underlineColor_58;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_strikethroughColor_59;
bool ___m_enableVertexGradient_60;
int32_t ___m_colorMode_61;
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F ___m_fontColorGradient_62;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* ___m_fontColorGradientPreset_63;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___m_spriteAsset_64;
bool ___m_tintAllSprites_65;
bool ___m_tintSprite_66;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_spriteColor_67;
TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* ___m_StyleSheet_68;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* ___m_TextStyle_69;
int32_t ___m_TextStyleHashCode_70;
bool ___m_overrideHtmlColors_71;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_faceColor_72;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_outlineColor_73;
float ___m_outlineWidth_74;
float ___m_fontSize_75;
float ___m_currentFontSize_76;
float ___m_fontSizeBase_77;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___m_sizeStack_78;
int32_t ___m_fontWeight_79;
int32_t ___m_FontWeightInternal_80;
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4 ___m_FontWeightStack_81;
bool ___m_enableAutoSizing_82;
float ___m_maxFontSize_83;
float ___m_minFontSize_84;
int32_t ___m_AutoSizeIterationCount_85;
int32_t ___m_AutoSizeMaxIterationCount_86;
bool ___m_IsAutoSizePointSizeSet_87;
float ___m_fontSizeMin_88;
float ___m_fontSizeMax_89;
int32_t ___m_fontStyle_90;
int32_t ___m_FontStyleInternal_91;
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC ___m_fontStyleStack_92;
bool ___m_isUsingBold_93;
int32_t ___m_HorizontalAlignment_94;
int32_t ___m_VerticalAlignment_95;
int32_t ___m_textAlignment_96;
int32_t ___m_lineJustification_97;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0 ___m_lineJustificationStack_98;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___m_textContainerLocalCorners_99;
float ___m_characterSpacing_100;
float ___m_cSpacing_101;
float ___m_monoSpacing_102;
float ___m_wordSpacing_103;
float ___m_lineSpacing_104;
float ___m_lineSpacingDelta_105;
float ___m_lineHeight_106;
bool ___m_IsDrivenLineSpacing_107;
float ___m_lineSpacingMax_108;
float ___m_paragraphSpacing_109;
float ___m_charWidthMaxAdj_110;
float ___m_charWidthAdjDelta_111;
bool ___m_enableWordWrapping_112;
bool ___m_isCharacterWrappingEnabled_113;
bool ___m_isNonBreakingSpace_114;
bool ___m_isIgnoringAlignment_115;
float ___m_wordWrappingRatios_116;
int32_t ___m_overflowMode_117;
int32_t ___m_firstOverflowCharacterIndex_118;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___m_linkedTextComponent_119;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___parentLinkedComponent_120;
bool ___m_isTextTruncated_121;
bool ___m_enableKerning_122;
float ___m_GlyphHorizontalAdvanceAdjustment_123;
bool ___m_enableExtraPadding_124;
bool ___checkPaddingRequired_125;
bool ___m_isRichText_126;
bool ___m_parseCtrlCharacters_127;
bool ___m_isOverlay_128;
bool ___m_isOrthographic_129;
bool ___m_isCullingEnabled_130;
bool ___m_isMaskingEnabled_131;
bool ___isMaskUpdateRequired_132;
bool ___m_ignoreCulling_133;
int32_t ___m_horizontalMapping_134;
int32_t ___m_verticalMapping_135;
float ___m_uvLineOffset_136;
int32_t ___m_renderMode_137;
int32_t ___m_geometrySortingOrder_138;
bool ___m_IsTextObjectScaleStatic_139;
bool ___m_VertexBufferAutoSizeReduction_140;
int32_t ___m_firstVisibleCharacter_141;
int32_t ___m_maxVisibleCharacters_142;
int32_t ___m_maxVisibleWords_143;
int32_t ___m_maxVisibleLines_144;
bool ___m_useMaxVisibleDescender_145;
int32_t ___m_pageToDisplay_146;
bool ___m_isNewPage_147;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___m_margin_148;
float ___m_marginLeft_149;
float ___m_marginRight_150;
float ___m_marginWidth_151;
float ___m_marginHeight_152;
float ___m_width_153;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* ___m_textInfo_154;
bool ___m_havePropertiesChanged_155;
bool ___m_isUsingLegacyAnimationComponent_156;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___m_transform_157;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* ___m_rectTransform_158;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_PreviousRectTransformSize_159;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_PreviousPivotPosition_160;
bool ___U3CautoSizeTextContainerU3Ek__BackingField_161;
bool ___m_autoSizeTextContainer_162;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___m_mesh_163;
bool ___m_isVolumetricText_164;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* ___OnPreRenderText_167;
TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* ___m_spriteAnimator_168;
float ___m_flexibleHeight_169;
float ___m_flexibleWidth_170;
float ___m_minWidth_171;
float ___m_minHeight_172;
float ___m_maxWidth_173;
float ___m_maxHeight_174;
LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A* ___m_LayoutElement_175;
float ___m_preferredWidth_176;
float ___m_renderedWidth_177;
bool ___m_isPreferredWidthDirty_178;
float ___m_preferredHeight_179;
float ___m_renderedHeight_180;
bool ___m_isPreferredHeightDirty_181;
bool ___m_isCalculatingPreferredValues_182;
int32_t ___m_layoutPriority_183;
bool ___m_isLayoutDirty_184;
bool ___m_isAwake_185;
bool ___m_isWaitingOnResourceLoad_186;
int32_t ___m_inputSource_187;
float ___m_fontScaleMultiplier_188;
float ___tag_LineIndent_192;
float ___tag_Indent_193;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___m_indentStack_194;
bool ___tag_NoParsing_195;
bool ___m_isParsingText_196;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_FXMatrix_197;
bool ___m_isFXMatrixSet_198;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* ___m_TextProcessingArray_199;
int32_t ___m_InternalTextProcessingArraySize_200;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* ___m_internalCharacterInfo_201;
int32_t ___m_totalCharacterCount_202;
int32_t ___m_characterCount_209;
int32_t ___m_firstCharacterOfLine_210;
int32_t ___m_firstVisibleCharacterOfLine_211;
int32_t ___m_lastCharacterOfLine_212;
int32_t ___m_lastVisibleCharacterOfLine_213;
int32_t ___m_lineNumber_214;
int32_t ___m_lineVisibleCharacterCount_215;
int32_t ___m_pageNumber_216;
float ___m_PageAscender_217;
float ___m_maxTextAscender_218;
float ___m_maxCapHeight_219;
float ___m_ElementAscender_220;
float ___m_ElementDescender_221;
float ___m_maxLineAscender_222;
float ___m_maxLineDescender_223;
float ___m_startOfLineAscender_224;
float ___m_startOfLineDescender_225;
float ___m_lineOffset_226;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___m_meshExtents_227;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_htmlColor_228;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___m_colorStack_229;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___m_underlineColorStack_230;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___m_strikethroughColorStack_231;
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D ___m_HighlightStateStack_232;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* ___m_colorGradientPreset_233;
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C ___m_colorGradientStack_234;
bool ___m_colorGradientPresetIsTinted_235;
float ___m_tabSpacing_236;
float ___m_spacing_237;
TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2* ___m_TextStyleStacks_238;
int32_t ___m_TextStyleStackDepth_239;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___m_ItalicAngleStack_240;
int32_t ___m_ItalicAngle_241;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___m_actionStack_242;
float ___m_padding_243;
float ___m_baselineOffset_244;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___m_baselineOffsetStack_245;
float ___m_xAdvance_246;
int32_t ___m_textElementType_247;
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* ___m_cached_TextElement_248;
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777 ___m_Ellipsis_249;
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777 ___m_Underline_250;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___m_defaultSpriteAsset_251;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___m_currentSpriteAsset_252;
int32_t ___m_spriteCount_253;
int32_t ___m_spriteIndex_254;
int32_t ___m_spriteAnimationID_255;
bool ___m_ignoreActiveState_258;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361 ___m_TextBackingArray_259;
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* ___k_Power_260;
};
struct TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields
{
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* ___m_materialReferences_47;
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* ___m_materialReferenceIndexLookup_48;
TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9 ___m_materialReferenceStack_49;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___s_colorWhite_57;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* ___OnFontAssetRequest_165;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* ___OnSpriteAssetRequest_166;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* ___m_xmlAttribute_190;
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___m_attributeParameterValues_191;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A ___m_SavedWordWrapState_203;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A ___m_SavedLineState_204;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A ___m_SavedEllipsisState_205;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A ___m_SavedLastValidState_206;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A ___m_SavedSoftLineBreakState_207;
TMP_TextProcessingStack_1_t2DDA00FFC64AF6E3AFD475AB2086D16C34787E0F ___m_EllipsisInsertionCandidateStack_208;
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_ParseTextMarker_256;
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_InsertNewLineMarker_257;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___k_LargePositiveVector2_261;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___k_LargeNegativeVector2_262;
float ___k_LargePositiveFloat_263;
float ___k_LargeNegativeFloat_264;
int32_t ___k_LargePositiveInt_265;
int32_t ___k_LargeNegativeInt_266;
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
struct MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D : public RuntimeArray
{
ALIGN_FIELD (8) Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* m_Items[1];
inline Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3** 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, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 : public RuntimeArray
{
ALIGN_FIELD (8) String_t* m_Items[1];
inline String_t* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline String_t** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, String_t* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C : public RuntimeArray
{
ALIGN_FIELD (8) int32_t m_Items[1];
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;
}
};
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C : public RuntimeArray
{
ALIGN_FIELD (8) Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 m_Items[1];
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
{
m_Items[index] = value;
}
};
struct UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5 : public RuntimeArray
{
ALIGN_FIELD (8) UnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722 m_Items[1];
inline UnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline UnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722* 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, UnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline UnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline UnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, UnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722 value)
{
m_Items[index] = value;
}
};
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB : public RuntimeArray
{
ALIGN_FIELD (8) Il2CppChar m_Items[1];
inline Il2CppChar GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Il2CppChar* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Il2CppChar value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Il2CppChar GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Il2CppChar* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Il2CppChar value)
{
m_Items[index] = value;
}
};
struct TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2 : public RuntimeArray
{
ALIGN_FIELD (8) TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C m_Items[1];
inline TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___itemStack_0), (void*)NULL);
}
inline TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___itemStack_0), (void*)NULL);
}
};
struct DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615 : public RuntimeArray
{
ALIGN_FIELD (8) Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F m_Items[1];
inline Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F* 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, Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F value)
{
m_Items[index] = value;
}
};
struct TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99 : public RuntimeArray
{
ALIGN_FIELD (8) TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 m_Items[1];
inline TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___textElement_4), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___fontAsset_5), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___spriteAsset_6), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___material_8), (void*)NULL);
#endif
}
inline TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___textElement_4), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___fontAsset_5), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___spriteAsset_6), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___material_8), (void*)NULL);
#endif
}
};
struct TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E : public RuntimeArray
{
ALIGN_FIELD (8) TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 m_Items[1];
inline TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 value)
{
m_Items[index] = value;
}
};
struct TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7 : public RuntimeArray
{
ALIGN_FIELD (8) TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B m_Items[1];
inline TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___mesh_4), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___vertices_6), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___normals_7), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___tangents_8), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___uvs0_9), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___uvs2_10), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___colors32_11), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___triangles_12), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___material_13), (void*)NULL);
#endif
}
inline TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___mesh_4), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___vertices_6), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___normals_7), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___tangents_8), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___uvs0_9), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___uvs2_10), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___colors32_11), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___triangles_12), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___material_13), (void*)NULL);
#endif
}
};
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA : public RuntimeArray
{
ALIGN_FIELD (8) Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 m_Items[1];
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 value)
{
m_Items[index] = value;
}
};
struct Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259 : public RuntimeArray
{
ALIGN_FIELD (8) Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B m_Items[1];
inline Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B value)
{
m_Items[index] = value;
}
};
struct TMP_FontWeightPairU5BU5D_t0A3A5955F13FEB2F7329D81BA157110DB99F9F37 : public RuntimeArray
{
ALIGN_FIELD (8) TMP_FontWeightPair_t2835DA6BF1309AC6C817ECF878232CCF9DDB703E m_Items[1];
inline TMP_FontWeightPair_t2835DA6BF1309AC6C817ECF878232CCF9DDB703E GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TMP_FontWeightPair_t2835DA6BF1309AC6C817ECF878232CCF9DDB703E* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, TMP_FontWeightPair_t2835DA6BF1309AC6C817ECF878232CCF9DDB703E value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___regularTypeface_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___italicTypeface_1), (void*)NULL);
#endif
}
inline TMP_FontWeightPair_t2835DA6BF1309AC6C817ECF878232CCF9DDB703E GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TMP_FontWeightPair_t2835DA6BF1309AC6C817ECF878232CCF9DDB703E* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TMP_FontWeightPair_t2835DA6BF1309AC6C817ECF878232CCF9DDB703E value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___regularTypeface_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___italicTypeface_1), (void*)NULL);
#endif
}
};
struct MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2 : public RuntimeArray
{
ALIGN_FIELD (8) MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B m_Items[1];
inline MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B* 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, MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___fontAsset_1), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___spriteAsset_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___material_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___fallbackMaterial_6), (void*)NULL);
#endif
}
inline MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___fontAsset_1), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___spriteAsset_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___material_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___fallbackMaterial_6), (void*)NULL);
#endif
}
};
struct UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA : public RuntimeArray
{
ALIGN_FIELD (8) uint32_t m_Items[1];
inline uint32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline uint32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, uint32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline uint32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline uint32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, uint32_t value)
{
m_Items[index] = value;
}
};
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C : public RuntimeArray
{
ALIGN_FIELD (8) float m_Items[1];
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;
}
};
struct RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D : public RuntimeArray
{
ALIGN_FIELD (8) RichTextTagAttribute_t1BB51A8FD6C14746D177D8E84E281A4FD4A720E0 m_Items[1];
inline RichTextTagAttribute_t1BB51A8FD6C14746D177D8E84E281A4FD4A720E0 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RichTextTagAttribute_t1BB51A8FD6C14746D177D8E84E281A4FD4A720E0* 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, RichTextTagAttribute_t1BB51A8FD6C14746D177D8E84E281A4FD4A720E0 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline RichTextTagAttribute_t1BB51A8FD6C14746D177D8E84E281A4FD4A720E0 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RichTextTagAttribute_t1BB51A8FD6C14746D177D8E84E281A4FD4A720E0* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RichTextTagAttribute_t1BB51A8FD6C14746D177D8E84E281A4FD4A720E0 value)
{
m_Items[index] = value;
}
};
struct TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E : public RuntimeArray
{
ALIGN_FIELD (8) TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 m_Items[1];
inline TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___textComponent_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___linkID_6), (void*)NULL);
#endif
}
inline TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___textComponent_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___linkID_6), (void*)NULL);
#endif
}
};
struct HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658 : public RuntimeArray
{
ALIGN_FIELD (8) int32_t m_Items[1];
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;
}
};
struct HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622 : public RuntimeArray
{
ALIGN_FIELD (8) HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B m_Items[1];
inline HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B* 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, HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B value)
{
m_Items[index] = value;
}
};
struct TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A : public RuntimeArray
{
ALIGN_FIELD (8) TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* m_Items[1];
inline TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_mF109948338BF79C7D60372B34ABBC90F8AA038FF_gshared (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___array0, int32_t ___size1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_SetDefault_m046571FFD5160F1760BCD9F5AF64A32EA75616E9_gshared (TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2* ___stack0, int32_t ___item1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_gshared (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___array0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1_gshared (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* __this, int32_t ___item0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A_gshared (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_SetDefault_m7CE06332FBA28EFF7BD420B215587317648C1EB8_gshared (TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9* __this, MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B ___item0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_SetDefault_mE117EC83B0E0DD13A62A2ACAE4FD90DDDE520C24_gshared (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, float ___item0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_SetDefault_m2C0441CC533208EC428B25D634157481DB03852E_gshared (TMP_TextProcessingStack_1_tA1252F156B42CCD2773D5A32C56DA9E021706659* __this, int32_t ___item0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_Clear_m3763CBE15B699BDEAB58FD4D6FEA4BF708F9B60D_gshared (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Dictionary_2_get_Item_m1ABC559AFCB634174C216DFF864168F9D0611B91_gshared (Dictionary_2_tC8FA8E0C06C3A9584490723EC95DC65E5AFFF71A* __this, uint32_t ___key0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___index0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_mBBE3855923B29F8A7CDB21CF7DD7FCD84AABEB68_gshared (Dictionary_2_tC8FA8E0C06C3A9584490723EC95DC65E5AFFF71A* __this, uint32_t ___key0, RuntimeObject** ___value1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_ContainsKey_mFEF31529C09939D463552C900419ABCC2B05B354_gshared (Dictionary_2_t760E9A9490B53715AE11CA76450386C19A39A0C8* __this, int32_t ___key0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_gshared (TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* __this, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___item0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_TextProcessingStack_1_Peek_mB90F5F7DC9DCA8AF8BC36C8CF1BA5C2D45C12369_gshared (TMP_TextProcessingStack_1_tA1252F156B42CCD2773D5A32C56DA9E021706659* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_Add_m57810DE15A45E439F6648C54DFE507C3E56AA72A_gshared (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* __this, int32_t ___item0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_TextProcessingStack_1_Remove_m0353A4D9760AB41F66944B4BC0975E2EA8282C7A_gshared (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954_gshared (TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_Push_m044F03B5DB751956253506A126DF3382E86CBD9B_gshared (TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D* __this, HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B ___item0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B TMP_TextProcessingStack_1_Remove_mA98ACB867032B9BD34CB3B5717D2B9E3D6028652_gshared (TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_Push_mA474FC826EA9F947DACE0C8050322C961ABE97FB_gshared (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, float ___item0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_TextProcessingStack_1_Pop_mBB6CFCE314680FC6801E9D68AF1974BCFD350CBF_gshared (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_Add_mF48AC3CA56FD8EEEABCBEFE0FD634E55746BBAC8_gshared (TMP_TextProcessingStack_1_tA1252F156B42CCD2773D5A32C56DA9E021706659* __this, int32_t ___item0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_TextProcessingStack_1_Remove_m02D4CCCE9ECA9EA6031971186BEC8481472EF1C8_gshared (TMP_TextProcessingStack_1_tA1252F156B42CCD2773D5A32C56DA9E021706659* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE_gshared (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, float ___item0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_TextProcessingStack_1_Remove_m9E2E06D1B36F92004CA676136D0E3F0BDCD1630C_gshared (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0_gshared (TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9* __this, MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B ___item0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* Func_3_Invoke_mDBE7BF61E26769EA19ED04DF5E652E424B50486E_gshared_inline (Func_3_tD48690FA870BA310D4390AE6025ACAC699C152D6* __this, int32_t ___arg10, RuntimeObject* ___arg21, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Resources_Load_TisRuntimeObject_mD1AF6299B14F87ED1D1A6199A51480919F7C79D7_gshared (String_t* ___path0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B TMP_TextProcessingStack_1_Remove_mB944EB7E1D1A02A96C48B1AA7EE7A2D7C232745D_gshared (TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextInfo_Resize_TisTMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6_m8FFB7A047A39033B809EBE3DC8756EF04721A6B3_gshared (TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E** ___array0, int32_t ___size1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1_Add_m158D1491CC67B3837FFEB69712D557A7D4373660_gshared (TMP_TextProcessingStack_1_t2A4A4F86DEC2892F4B6D6B29A6473437E6C9EE35* __this, RuntimeObject* ___item0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TMP_TextProcessingStack_1_Remove_mFC9A29A8894D63E524EBBFEDBBC607E090E40697_gshared (TMP_TextProcessingStack_1_t2A4A4F86DEC2892F4B6D6B29A6473437E6C9EE35* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_TextProcessingStack_1_CurrentItem_mF7764B34297632B9645EBCA34E55AECCDE58D367_gshared (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1__ctor_m490E53F5247CD44A1D3AA446A2B67FF0C8478F42_gshared (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, int32_t ___capacity0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1__ctor_m99B0BB883BA29BA17AA4B3CB0E15C680846132A4_gshared (TMP_TextProcessingStack_1_tA1252F156B42CCD2773D5A32C56DA9E021706659* __this, int32_t ___capacity0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1__ctor_m565CEDB51545030C8280E971A43083E34E64C546_gshared (TMP_TextProcessingStack_1_tA1252F156B42CCD2773D5A32C56DA9E021706659* __this, Int32EnumU5BU5D_t87B7DB802810C38016332669039EF42C487A081F* ___stack0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1__ctor_m2E1DFA67718FC1A0B6E5DFEB78831FFE9C059EB4_gshared (Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1__ctor_m67EF0A267B30BE09CF07E10EEBC69099A33C3706_gshared (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___stack0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1__ctor_mF51929F261282F2506327912A76AAA1DB96CC4A4_gshared (TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* __this, Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* ___stack0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1__ctor_m805D9E903893D54322A7E7C30A076C6976CB67A7_gshared (TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D* __this, HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622* ___stack0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1__ctor_mFE39D066D3C4F7C9198D65490D68522FFA9423C8_gshared (TMP_TextProcessingStack_1_t2A4A4F86DEC2892F4B6D6B29A6473437E6C9EE35* __this, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___stack0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1__ctor_mB80A97ACD232E30BBAC0DF6D6E6F4398CE37E32A_gshared (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___stack0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F_gshared (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1__ctor_mBD47E7ABC68BF701705427A3C1C40B77C0DBD1A9_gshared (TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9* __this, MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* ___stack0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextProcessingStack_1__ctor_mEF356198B5589E4F781952A625BE5DF2D0CF222A_gshared (TMP_TextProcessingStack_1_t2DDA00FFC64AF6E3AFD475AB2086D16C34787E0F* __this, int32_t ___capacity0, int32_t ___rolloverSize1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TMP_Text_InternalTextBackingArrayToString_m7E70067C4FF555AFF7D95718141ADA0794EF37B5 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1 (String_t* ___a0, String_t* ___b1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___x0, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___y1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___x0, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___y1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Object_GetInstanceID_m554FF4073C9465F3835574CC084E68AAEEC6CC6A (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Color_op_Equality_mB2BDC39B0B367BA15AA8DF22F8CB0D02D20BDC71_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___lhs0, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___rhs1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* TMP_Text_GetStyle_m556317F676C8A404F2BEEB1EA28AA188229D5886 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___hashCode0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* TMP_Style_get_NormalStyle_mB8B470F18522380C52B6E76D4B287F3D21009CC0 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Style_get_hashCode_m19EC41583BBC799AC118324ED1A0405E26990E85 (TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Material_GetColor_mCCC62F29234C5D2D9B19EE2D7DA46A4573AFA765 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, int32_t ___nameID0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___c0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMPro_ExtensionMethods_Compare_m1838CE0635EC60A2288FA34D81634A7F808DE370 (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___a0, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___b1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Material_GetFloat_m52462F4AEDE20758BFB592B11DE83A79D2774932 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, int32_t ___nameID0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26* Graphic_get_canvas_mEA2161DF3BD736541DE41F9B814C4860FEB76419 (Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___exists0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* TMP_Text_get_font_m1F5E907B9181A54212FBD8123242583C1CA4BE2A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Canvas_get_scaleFactor_m6B8D694A68376EE5E13D9B0B0F037E2E90C99921 (Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F (TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t FaceInfo_get_pointSize_m7EF7429A4725AB715931A220F6BB498C3D6BF7CB (FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ReleaseLinkedTextComponent_mBFBB0BB0702503E5492FE5CDC94164363A139696 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___targetTextComponent0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_IsSelfOrLinkedAncestor_m81351987CC1F547B1E7A0EDE1109F5EF596A8F76 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___targetTextComponent0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_UpdateManager_UnRegisterTextObjectForUpdate_mEFBA4B82356AAFD89692D3A3DA55B760977A8D40 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___textObject0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_UpdateManager_RegisterTextObjectForUpdate_m18247DEF67E359156574B001461A8995D6CD027D (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___textObject0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector4_op_Equality_mCEA0E5F229F4AE8C55152F7A8F84345F24F52DC6_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___lhs0, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___rhs1, const RuntimeMethod* method) ;
inline Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Component_GetComponent_TisTransform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_m60E86366B3E431D4C4A549CF4FE5951087686F7F (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
{
return (( Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
}
inline RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* Component_GetComponent_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m0640480E7E38BB88B0D1F6AD59E697C8EE6AAFA4 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
{
return (( RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextInfo_ResetVertexLayout_mDD6C8111384A819DDD015F66567A69C97C4F74E2 (TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* __this, bool ___isVolumetric0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 TMP_Text_GetTextBounds_m9B8ADDB3EE48C956CF9D61DA303B21D5EA32081A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t* Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00 (Delegate_t* ___a0, Delegate_t* ___b1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t* Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3 (Delegate_t* ___source0, Delegate_t* ___value1, const RuntimeMethod* method) ;
inline TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* Component_GetComponent_TisTMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4_mE172CE27F16AA0850E9A2EC698627142A829F7CC (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
{
return (( TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
inline TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* GameObject_AddComponent_TisTMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4_m172B07FA426C5BF7CCB660139D956232A762DC1B (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
{
return (( TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
inline LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A* Component_GetComponent_TisLayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A_mBEDAB0EBAEF4ADA5377B97FC2318DE8020F2D639 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
{
return (( LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetPreferredWidth_m0478A5C6B1B1C3A4A64C5BF89401B2A33A192F5C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetPreferredHeight_mD8B87C32069B477E010E30D33CB616854CE708B4 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetRenderedWidth_mCCCE790E25FD4C17B55DBE153663D8024B458EDF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetRenderedHeight_m7BEF1FB09209779C3D70185491FBC6E90A71214C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material__ctor_mFCC42FB90257F1E8F7516A8640A79C465A39961C (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___source0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* Material_get_shaderKeywords_m11982F09EED6BB0A892342E1A72AEA470C44B105 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_set_shaderKeywords_mD650CF82B2DBB75F001E373E2E1ACA30876F3AB8 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___value0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m9E3155FB84015C823606188F53B47CB44C444991 (String_t* ___str00, String_t* ___str11, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, String_t* ___value0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ShaderUtilities_GetShaderPropertyIDs_m3EE2D3D2A31C57AE418FCC0782D0CC9D2FBD0A65 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float ShaderUtilities_GetPadding_mACB25967DE353794970CEC89362214C3F65341FA (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, bool ___enableExtraPadding1, bool ___isBold2, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ShaderUtilities_IsMaskingEnabled_mC2C8788713E32E1ECB8D2ED17F5FE3335F4FA723 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Material_HasProperty_m52E2D3BC3049B8B228149E023CD73C34B05A5222 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, int32_t ___nameID0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Graphic_CrossFadeColor_m6BF11EA2B9F62DF8D9421292EF974D7D548829C5 (Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___targetColor0, float ___duration1, bool ___ignoreTimeScale2, bool ___useAlpha3, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Graphic_CrossFadeAlpha_mB3D045B48E9DDE6CE23F4368B875F1307765B192 (Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931* __this, float ___alpha0, float ___duration1, bool ___ignoreTimeScale2, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ProfilerMarker_Begin_mD07DB736ADA7D8BAF9D969CC7F3C55848A218C6E_inline (ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_PopulateTextBackingArray_mFD376BD29DBC5157116653E031FA2BB8AD85CB8B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_PopulateTextProcessingArray_m2D1F8D3CAE8F1F29242547BCCC91D1226FA9A6F0 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ProfilerMarker_End_m025AE3EF0F96F6DADC53489A53FC6EE65073DE60_inline (ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_PopulateTextBackingArray_mDAFAFBA1D6EF883BBA870BEC34F4AFC52A8D4799 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline (int32_t ___value0, int32_t ___min1, int32_t ___max2, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextBackingContainer_get_Capacity_m314198D61452DF6CAB895C2BF8D1C0829C579F9C (TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextBackingContainer_Resize_m669CEE085664D77F581761A5888EEF20E095F752 (TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* __this, int32_t ___size0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3 (String_t* __this, int32_t ___index0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381 (TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* __this, int32_t ___index0, uint32_t ___value1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextBackingContainer_set_Count_m3833989ADDB6C436DFB7A8979080FF5F2A411F19 (TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* __this, int32_t ___value0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t StringBuilder_get_Length_mDEA041E7357C68CC3B5885276BB403676DAAE0D8 (StringBuilder_t* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D (StringBuilder_t* __this, int32_t ___index0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextBackingContainer_get_Count_mA4E440D40E9EECB361CE4697B11F9B017B19E0C1 (TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* __this, const RuntimeMethod* method) ;
inline void TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_mF109948338BF79C7D60372B34ABBC90F8AA038FF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___array0, int32_t ___size1, const RuntimeMethod* method)
{
(( void (*) (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9*, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**, int32_t, const RuntimeMethod*))TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_mF109948338BF79C7D60372B34ABBC90F8AA038FF_gshared)(__this, ___array0, ___size1, method);
}
inline void TMP_TextProcessingStack_1_SetDefault_m046571FFD5160F1760BCD9F5AF64A32EA75616E9 (TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2* ___stack0, int32_t ___item1, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2*, int32_t, const RuntimeMethod*))TMP_TextProcessingStack_1_SetDefault_m046571FFD5160F1760BCD9F5AF64A32EA75616E9_gshared)(___stack0, ___item1, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* TMP_Text_get_textStyle_m18773DC7DEFAA035C8D86475294AD3C0DDB52603 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_InsertOpeningStyleTag_m7194E079B8619F42CF27B3AB2A9B0A9FE2AB14BC (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* ___style0, int32_t ___srcIndex1, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___charBuffer2, int32_t* ___writeIndex3, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276 (TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* __this, int32_t ___index0, const RuntimeMethod* method) ;
inline void TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___array0, const RuntimeMethod* method)
{
(( void (*) (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9*, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**, const RuntimeMethod*))TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_gshared)(__this, ___array0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF16_m6B311F8F9A6775761D65E56B3A14D4300694018C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361 ___text0, int32_t ___i1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF32_m8969A7CF25219B3D95051380B0BF81E36515FA8B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361 ___text0, int32_t ___i1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TMP_TextParsingUtilities_ConvertToUTF32_m867CF53D1EEA890D5BF53B3D328398D60895E04B (uint32_t ___highSurrogate0, uint32_t ___lowSurrogate1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetMarkupTagHashCode_mF2C6D3C0D954B1B17F584758FFACAAFA270B37BA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361 ___tagDefinition0, int32_t ___readIndex1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_ReplaceOpeningStyleTag_m140CE17F312BBDE9A6F429F6976A6EAF22FBF7F7 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* ___sourceText0, int32_t ___srcIndex1, int32_t* ___srcOffset2, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___charBuffer3, int32_t* ___writeIndex4, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ReplaceClosingStyleTag_m8F0A4C880ED8811B94472B9A122FEE3DF1CEA06C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* ___sourceText0, int32_t ___srcIndex1, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___charBuffer2, int32_t* ___writeIndex3, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_InsertClosingStyleTag_m6AA7BC638D9F53B831DB2702256CFBFC25EA19AA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___charBuffer0, int32_t* ___writeIndex1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_m5093EBC3B7161E3775B6A6EA2F3E7C4FAA55814B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, float ___arg01, float ___arg12, float ___arg23, float ___arg34, float ___arg45, float ___arg56, float ___arg67, float ___arg78, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_AddFloatToInternalTextBackingArray_m91003C38D80CE33F40B45FB30E6B90F2EC2B78AB (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, int32_t ___padding1, int32_t ___precision2, int32_t* ___writeIndex3, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_mEFBC8BA593BB9B7A6F58BE8A1EF74F83E7B4CFF1 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, StringBuilder_t* ___sourceText0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_PopulateTextBackingArray_m2DD1214AFFFF0214596222BCC5B759D0F8D48557 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, StringBuilder_t* ___sourceText0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetCharArray_mA6EC91F806E7B7B4BAF34317531083DEC6AAFD70 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___sourceText0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_PopulateTextBackingArray_mF50056377989BB902E9ECB7B8607BD5CAE2B9EC8 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___sourceText0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* TMP_StyleSheet_GetStyle_m1A066C8EB0E74AE5D84DEC570BFE301D45FAE078 (TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* __this, int32_t ___hashCode0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* TMP_Settings_get_defaultStyleSheet_m348327B30DA1E60CAFBD929D9724E4FECAD23AE4 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetStyleHashCode_mB54D3FEFFCA8A40441A169AD140C1531A788C92F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* ___text0, int32_t ___index1, int32_t* ___closeIndex2, const RuntimeMethod* method) ;
inline void TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1 (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* __this, int32_t ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C*, int32_t, const RuntimeMethod*))TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1_gshared)(__this, ___item0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* TMP_Style_get_styleOpeningTagArray_mB7640D4E0C5A8EF7E1C46AFEFC98909A642ACCC7 (TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF16_m5DCD9865CEC393DE526550744D2F17448FFFB031 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___text0, int32_t ___i1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF32_m5417B3BA725A8B5C3EAD1AB1C8704DCAA7D8112E (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___text0, int32_t ___i1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetMarkupTagHashCode_mB8A6C6A1ED3D704ADBEA0E90FCEF722AB826CD7A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___tagDefinition0, int32_t ___readIndex1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_ReplaceOpeningStyleTag_mFE4861A4A73DA7879121B8CFCEB051320E7C2B3A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** ___sourceText0, int32_t ___srcIndex1, int32_t* ___srcOffset2, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___charBuffer3, int32_t* ___writeIndex4, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ReplaceClosingStyleTag_m930CFBC820CF701CCF4A92E8CC798640FD9E0009 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** ___sourceText0, int32_t ___srcIndex1, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___charBuffer2, int32_t* ___writeIndex3, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetStyleHashCode_m834CA7ED28BF6377F7A42C654FAA748EB0D514D6 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** ___text0, int32_t ___index1, int32_t* ___closeIndex2, const RuntimeMethod* method) ;
inline int32_t TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* __this, const RuntimeMethod* method)
{
return (( int32_t (*) (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C*, const RuntimeMethod*))TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A_gshared)(__this, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* TMP_Style_get_styleClosingTagArray_m286697AF575989E08FA185934FCCA3CD54565A8B (TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TMP_TextUtilities_ToUpperASCIIFast_m0EFD2CE711167DCD6FAB7EEF3DFB371101A79ACB (uint32_t ___c0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar TMP_TextParsingUtilities_ToUpperASCIIFast_mB1C34D8B2251FE6792CFD9DEC9344201E459B545 (Il2CppChar ___c0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F Decimal_op_Explicit_m2B8355EC2618BDE4A6813C6826D9E3B996B9E22F (float ___value0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Min_m888083F74FF5655778F0403BB5E9608BEFDEA8CB_inline (int32_t ___a0, int32_t ___b1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F Decimal_op_Addition_m878AC5E15D13F205BCB6AE9747B2C0D950BD2EF7 (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___d10, Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___d21, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t Decimal_op_Explicit_m0E6416BBDAC3D0939FCF0279F793C6D574036B54 (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___value0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_AddIntegerToInternalTextBackingArray_m0C9B986C866F3CD9D1424E44F57B281EDAB7DE92 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, double ___number0, int32_t ___padding1, int32_t* ___writeIndex2, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F Decimal_op_Implicit_m8F9A38760D01B23E6DFF77EA760CCE5111F3656D (int64_t ___value0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F Decimal_op_Subtraction_mBDD5FAB14E0E9FA655A4C32B72C39E6BF947DF81 (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___d10, Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___d21, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Decimal_op_Inequality_mCFFC6B60AEDE8CFB2DEABD97FF0F2B79A31E2690 (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___d10, Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___d21, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Decimal__ctor_m6DDFD6E3A7A8CDEB1BADF8E09A8D8E1BDA9497A9 (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F* __this, int32_t ___value0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F Decimal_op_Multiply_mA4945210C6DDD59AB803A2B07BA948E8A1BFD2FC (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___d10, Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___d21, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Decimal_op_Equality_m4778C6A5F0E0FA5CBEFBBCB9E5A34BBE3D2D0BB5 (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___d10, Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F ___d21, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_CreateString_mFBC28D2E3EB87D497F7E702E4FFAD65F635E44DF (String_t* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___val0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, float ___x0, float ___y1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ParseInputText_m3B4CF13CC0BF8E8A2B3980BD191A3B2FA421E36C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetPreferredWidth_m51F52DCBCDF0AA45D5F6F1031D15560948E08C16 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___margin0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetPreferredHeight_m6DD3E52AA402B1D6DC3D18F8760E0B89436F97CF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___margin0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetTextInternal_mE5AAC38C055046B9EE3228640DAFA627C5BDF924 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Settings_t5875BC616C98A30032C6B733CF7FC90A0EE48062* TMP_Settings_get_instance_mFFEE513A89138F5FACD8CE35BF241C2D1F4A9BF4 (const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4_inline (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___v0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 TMP_Text_GetTextBounds_m26FEA0CD67904DA57ABE718926102EEFCD374BF1 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___onlyVisibleCharacters0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Text_GetRenderedValues_m758F7ECA29F67E1E7E782336B2CAD7B04EEB9222 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Text_GetRenderedValues_m08075C102D6F4332871ECF6D818664B6170B1374 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___onlyVisibleCharacters0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Dictionary_2_tCB5FEF8D6CEA1557D9B9BA25946AD6BF3E6C14D0* TMP_FontAsset_get_characterLookupTable_mEFAADDFAA6233DFEC3A0D8C163588B3C678451E9 (TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5 (int32_t* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9 (RuntimeObject* ___message0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MaterialReference__ctor_m022ED9858AAD1DCEC25CBC4C304797F4539D87E7 (MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B* __this, int32_t ___index0, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset1, TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___spriteAsset2, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material3, float ___padding4, const RuntimeMethod* method) ;
inline void TMP_TextProcessingStack_1_SetDefault_m7CE06332FBA28EFF7BD420B215587317648C1EB8 (TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9* __this, MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9*, MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B, const RuntimeMethod*))TMP_TextProcessingStack_1_SetDefault_m7CE06332FBA28EFF7BD420B215587317648C1EB8_gshared)(__this, ___item0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Mathf_NextPowerOfTwo_mA1CE7F3EEF9B0B07AB2D586C030ED236D578F485 (int32_t ___value0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FaceInfo_get_scale_mC475A572AD4956B47D8B9F8D90DC69BBBB102FCD (FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* __this, const RuntimeMethod* method) ;
inline void TMP_TextProcessingStack_1_SetDefault_mE117EC83B0E0DD13A62A2ACAE4FD90DDDE520C24 (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, float ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9*, float, const RuntimeMethod*))TMP_TextProcessingStack_1_SetDefault_mE117EC83B0E0DD13A62A2ACAE4FD90DDDE520C24_gshared)(__this, ___item0, method);
}
inline void TMP_TextProcessingStack_1_SetDefault_m698E3FC65D297F210EA10D014AE2D836708A420C (TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0* __this, int32_t ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0*, int32_t, const RuntimeMethod*))TMP_TextProcessingStack_1_SetDefault_m2C0441CC533208EC428B25D634157481DB03852E_gshared)(__this, ___item0, method);
}
inline void TMP_TextProcessingStack_1_Clear_m3763CBE15B699BDEAB58FD4D6FEA4BF708F9B60D (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9*, const RuntimeMethod*))TMP_TextProcessingStack_1_Clear_m3763CBE15B699BDEAB58FD4D6FEA4BF708F9B60D_gshared)(__this, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FaceInfo_get_lineHeight_m528B4A822181FCECF3D4FF1045DF288E5872AB9D (FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FaceInfo_get_ascentLine_m193755D649428EC24A7E433A1728F11DA7547ABD (FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FaceInfo_get_descentLine_m811A243C9B328B0C546BF9927A010A05DF172BD3 (FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterSubstitution__ctor_m5727A2342B980E68CA8CA895437F82280B5E4378 (CharacterSubstitution_t1F95CD37050627A0EFDC0F0F25FD04EA70015403* __this, int32_t ___index0, uint32_t ___unicode1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_ValidateHtmlTag_mCA56FCCE3DC46EF51927B96CD7F91B1097A0EEBA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* ___chars0, int32_t ___startIndex1, int32_t* ___endIndex2, const RuntimeMethod* method) ;
inline TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* Dictionary_2_get_Item_m43EA32FD1DAA3D907704A2F5B20845722C30849E (Dictionary_2_tCB5FEF8D6CEA1557D9B9BA25946AD6BF3E6C14D0* __this, uint32_t ___key0, const RuntimeMethod* method)
{
return (( TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* (*) (Dictionary_2_tCB5FEF8D6CEA1557D9B9BA25946AD6BF3E6C14D0*, uint32_t, const RuntimeMethod*))Dictionary_2_get_Item_m1ABC559AFCB634174C216DFF864168F9D0611B91_gshared)(__this, ___key0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Char_IsLower_m9DDB41367F97CFFE6C46A3B5EDE7D11180B5F1AE (Il2CppChar ___c0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar Char_ToUpper_m7DB51DD07EE52F4CA897807281880930F5CBD2D2 (Il2CppChar ___c0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Char_IsUpper_mF150C44B70F522A14B2A8DF71DE0ADE52F9A3392 (Il2CppChar ___c0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar Char_ToLower_m238489988C62CB10C7C7CAAEF8F3B2D1C5B5E056 (Il2CppChar ___c0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t2F39287A7FAAAD3D4A84C8C4EF6D748502C1DACC* TMP_SpriteAsset_get_spriteCharacterTable_m2F591ADE7DC8DE042B8A32AF84AC169C19CB9D2A (TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* __this, const RuntimeMethod* method) ;
inline TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* List_1_get_Item_m15153E553DF2FC3956A9EA60D995E6A6CD087CE3 (List_1_t2F39287A7FAAAD3D4A84C8C4EF6D748502C1DACC* __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* (*) (List_1_t2F39287A7FAAAD3D4A84C8C4EF6D748502C1DACC*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___index0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 TMP_SpriteAsset_get_faceInfo_m1530AA39D6792A0EEE0EAD23159893F418A7E3EB (TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_TextElement_get_scale_m23102716AD6E67BB03C2893983B105E8B425FE14 (TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* TMP_TextElement_get_glyph_mB86D5107DDF4ADB051309056E876FEAE843E3D07 (TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Glyph_get_scale_m3ED738CBB032247526DB38161E180759B2D06F29 (Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A Glyph_get_metrics_mB6E9D3D1899E35BA257638F6F58B7D260170B6FA (Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GlyphMetrics_get_height_mE0872B23CE1A20BF78DEACDBD53BAF789D84AD5C (GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Char_IsWhiteSpace_m02AEC6EA19513CAFC6882CFCA54C45794D2B5924 (Il2CppChar ___c0, const RuntimeMethod* method) ;
inline bool Dictionary_2_TryGetValue_mD85118F441AE91F71148EF036C683C6D893D3D74 (Dictionary_2_t64B29724AB3A3E4261D34B912BF8A6B0CD287142* __this, uint32_t ___key0, TMP_GlyphPairAdjustmentRecord_t6150C3DE547DDD860AB097843D36519D818D810F** ___value1, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t64B29724AB3A3E4261D34B912BF8A6B0CD287142*, uint32_t, TMP_GlyphPairAdjustmentRecord_t6150C3DE547DDD860AB097843D36519D818D810F**, const RuntimeMethod*))Dictionary_2_TryGetValue_mBBE3855923B29F8A7CDB21CF7DD7FCD84AABEB68_gshared)(__this, ___key0, ___value1, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1 TMP_GlyphValueRecord_op_Addition_m27CD190E35E404FAF3DC7283A76FC20650E55A73 (TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1 ___a0, TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1 ___b1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GlyphMetrics_get_width_m0F9F391E3A98984167E8001D4101BE1CE9354D13 (GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GlyphMetrics_get_horizontalBearingX_m9C39B5E6D27FF34B706649AE47EE9390B5D76D6F (GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A* __this, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline (float ___a0, float ___b1, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline (float ___a0, float ___b1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FaceInfo_get_capLine_m0D95B5D5CEC5CFB12091F5EB5965DE6E38588C88 (FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GlyphMetrics_get_horizontalAdvance_m110E66C340A19E672FB1C26DFB875AB6900AFFF1 (GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_RestoreWordWrappingState_mB126C83C447A92E11F6AC19C2BBBD923C74D8FCA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* ___state0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* ___state0, int32_t ___index1, int32_t ___count2, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FaceInfo_get_tabWidth_mC6D9F42C40EDD767DE22050E4FBE3878AC96B161 (FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_GlyphValueRecord_get_xAdvance_mA01138133A0841ADC49C3D0718B2268D9819CE4B (TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Settings_get_useModernHangulLineBreakingRules_m20EF8E9FBDF86C21A8E30F3B5B2DF997ABB3A060 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LineBreakingTable_t8F7C67DC8CF3D46115EB50409E5C0E32B5ADC531* TMP_Settings_get_linebreakingRules_m9128A20C31E5CBB0D06E0A1537E40617640FCBB2 (const RuntimeMethod* method) ;
inline bool Dictionary_2_ContainsKey_mFEF31529C09939D463552C900419ABCC2B05B354 (Dictionary_2_t760E9A9490B53715AE11CA76450386C19A39A0C8* __this, int32_t ___key0, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t760E9A9490B53715AE11CA76450386C19A39A0C8*, int32_t, const RuntimeMethod*))Dictionary_2_ContainsKey_mFEF31529C09939D463552C900419ABCC2B05B354_gshared)(__this, ___key0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D Rect_get_zero_m5341D8B63DEF1F4C308A685EEC8CFEA12A396C8D (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Extents__ctor_m2C44BA0B2EDAAB80829698A019D2BBF8DDFF630B (Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___min0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___max1, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___a0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___b1, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Division_m57A2DCD71E0CE7420851D705D1951F9238902AAB_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___a0, float ___d1, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___v0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Bounds__ctor_mAF7B238B9FBF90C495E5D7951760085A93119C5A_inline (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___center0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___size1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_maxVisibleCharacters_mF695995258B5013340B8C026B2A0FA643D5FD302 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___x0, float ___y1, float ___z2, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_AdjustLineOffset_m52F6B152C307D094A146CA506C23704DD425218D (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___startIndex0, int32_t ___endIndex1, float ___offset2, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ResizeLineExtents_mD9792BED7C93557CF2A93C604497729729CCBC66 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___size0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___c0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___a0, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___b1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F TMPro_ExtensionMethods_MinAlpha_mBDF86191325DE876306DFADE5EB6A27A5DB5F1CE (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___c10, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___c21, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D Glyph_get_glyphRect_m94E7C5FE682695CDC096248EF027079F33768EE5 (Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GlyphRect_get_x_m453EECC6C6F08602B1F74C5E1D8EE1163236A898 (GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GlyphRect_get_y_mE31390BB3185EEA82DD16EA41E208F6A0397E3EA (GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GlyphRect_get_height_m7F4D04452994E0D18762BB44352608E484DAAC1A (GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GlyphRect_get_width_mD291C7644BBF18D6A213427F6C9C28840F233F12 (GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___c10, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___c21, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_MeshInfo_ResizeMeshInfo_m13DF794141EBDD4446391BAF6FD469EEFE3DD6D1 (TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B* __this, int32_t ___size0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* __this, uint8_t ___r0, uint8_t ___g1, uint8_t ___b2, uint8_t ___a3, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_GetUnderlineSpecialCharacter_m52EA407A41AABE20FE8888C6E94BB70EF0E82CE1 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Settings_get_warningsDisabled_m2590555E7D849D05AF4B63DEA82407812DB37B22 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m23033D7E2F0F298BE465B7F3A63CDF40A4EB70EB (RuntimeObject* ___message0, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___context1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FaceInfo_get_underlineThickness_mC032F8C026994AF3FD49E6AB12E113F61EFA98E2 (FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* __this, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_FontAsset_get_atlasWidth_m45CB71477140814BBFF666E9179D0F9BFFA03EFC (TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_FontAsset_get_atlasHeight_m95F59523E66882079E1D2A4157DE5FF52C4892AC (TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___x0, float ___y1, float ___scale2, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Settings_get_autoSizeTextContainer_m975EB0FF2086BA79F214C099AF1839D4FA2F0DF3 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t* Object_GetType_mE10A8FC1E57F3DF29972CCBC026C2DC3942263B3 (RuntimeObject* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t* Type_GetTypeFromHandle_m6062B81682F79A4D6DF2640692EE6D9987858C57 (RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B ___handle0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Type_op_Equality_m99930A0E44E420A685FABA60E60BA1CC5FA0EBDC (Type_t* ___left0, Type_t* ___right1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 RectTransform_get_sizeDelta_m822A8493F2035677384F1540A2E9E5ACE63010BB (RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* __this, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector2_op_Equality_m6F2E069A50E787D131261E5CB25FC9E03F95B5E1_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___lhs0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rhs1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Settings_get_defaultTextMeshProTextContainerSize_m466E747B45873AD1DF7E06157B97E731B5AEE5DB (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RectTransform_set_sizeDelta_mC9A980EA6036E6725EF24CEDF3EE80A9B2B50EE5 (RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___value0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Settings_get_defaultTextMeshProUITextContainerSize_m0D4A8F331AA212AADCB5BA044E5C79B811ED70DF (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Settings_get_enableWordWrapping_m6768537460F6CD13F5A581282353B2B98EE22A1D (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Settings_get_enableKerning_mC1031F78F03B64FE3082EFFF3736C0D428A29E22 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Settings_get_enableExtraPadding_mDB4FE26B3547EA2BF5FFC8CE354680B4EC02CB42 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Settings_get_enableTintAllSprites_mD2803D776AE9A89D55E521D82C2DD0AB8135A120 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Settings_get_enableParseEscapeCharacters_mE6CB6DE4E034CA3CA08D0035A16923CC7EB847D2 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Settings_get_defaultFontSize_m0DD0FFB0811B5EA0DAF7C44BB1F3BA2B8F0C6F1C (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Settings_get_defaultTextAutoSizingMinRatio_m7DAE2F65CA41AF99FEF2AF1B0AF9F2AA0F3992B7 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Settings_get_defaultTextAutoSizingMaxRatio_m58977C845522D0083F422883C8158BBED78086AE (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Settings_get_enableRaycastTarget_mC7F0756A3563CCF4788AEA19355C221963BF2260 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Settings_get_isTextObjectScaleStatic_m2F89F247DDA607F93B26EB5B9A698C5C2A975D18 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Compatibility_ConvertTextAlignmentEnumValues_mE840105F8940EB3B458F11758D4FBB8E1C8EF775 (int32_t ___oldValue0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_GetEllipsisSpecialCharacter_mAB1E3B988E1169235AEC26DC0EC29B993FDF4735 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* TMP_FontAssetUtilities_GetCharacterFromFontAsset_m26EEEB3C26157C92CF623A246D6E92085E06CA26 (uint32_t ___unicode0, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___sourceFontAsset1, bool ___includeFallbacks2, int32_t ___fontStyle3, int32_t ___fontWeight4, bool* ___isAlternativeTypeface5, const RuntimeMethod* method) ;
inline int32_t List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_inline (List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* TMP_FontAssetUtilities_GetCharacterFromFontAssets_mF773865B6F097CDA5625615EA2CFC39DFB7A12D0 (uint32_t ___unicode0, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___sourceFontAsset1, List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* ___fontAssets2, bool ___includeFallbacks3, int32_t ___fontStyle4, int32_t ___fontWeight5, bool* ___isAlternativeTypeface6, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* TMP_Settings_get_fallbackFontAssets_mD671B9D809736E7DC84543568C25BEF9C0B7269D (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* TMP_Settings_get_defaultFontAsset_m08D5F2C60E2E313EFAE26C16934F08A499DDFC64 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpecialCharacter__ctor_m6EA478027143EA28D3A52D1E020B95B9286824FF (SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* __this, TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* ___character0, int32_t ___materialIndex1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B (String_t* ___str00, String_t* ___str11, String_t* ___str22, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_FontWeightPairU5BU5D_t0A3A5955F13FEB2F7329D81BA157110DB99F9F37* TMP_FontAsset_get_fontWeightTable_mC27EC0A27F82292FB24E3AB7B87421AEFD0869DD (TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Asset_get_instanceID_mD7D5D79979B77457C3A376955C316AC289BB3D1D (TMP_Asset_t135A047D4F5CBBA9CD356B762B55AB164122B969* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* TMP_FontAssetUtilities_GetSpriteCharacterFromSpriteAsset_m740B16719D09EF1F68B66DBE3D15265686D4DBB8 (uint32_t ___unicode0, TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___spriteAsset1, bool ___includeFallbacks2, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* TMP_Settings_get_defaultSpriteAsset_m1A6D796CB68107284294DAB40442F2CFFA26A672 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* TMP_Text_get_linkedTextComponent_m84DA92BFD208833ED4C1EC4C4F537F5D594EF4F0 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_firstVisibleCharacter_m343804C8FF610EB13CCB14E8D54C889BC356AD53 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_linkedTextComponent_m08B4CBAD470F918E2D2E19CE96B2443F38B76D93 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___value0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Il2CppChar ___hex0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_ConvertToFloat_m3A00B254D2DEC8796A64339BF2370E2FF0A76869 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___chars0, int32_t ___startIndex1, int32_t ___length2, int32_t* ___lastIndex3, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B TMP_Text_HexCharsToColor_mFF3D804C9D8FA7A297DE7D2FDD8ACAF56F3AE41F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___hexChars0, int32_t ___tagCount1, const RuntimeMethod* method) ;
inline void TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626 (TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* __this, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3*, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B, const RuntimeMethod*))TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_gshared)(__this, ___item0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TMP_FontStyleStack_Add_m86B65684B67DF2CA334037A30E9876C0F02D454A (TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* __this, int32_t ___style0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TMP_FontStyleStack_Remove_mF44A8D00AA01FCBED6B6FD0A43A8D77990D2A26E (TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* __this, int32_t ___style0, const RuntimeMethod* method) ;
inline int32_t TMP_TextProcessingStack_1_Peek_mC8569734890F2DED4A76435029774AE618C4B3B5 (TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4* __this, const RuntimeMethod* method)
{
return (( int32_t (*) (TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4*, const RuntimeMethod*))TMP_TextProcessingStack_1_Peek_mB90F5F7DC9DCA8AF8BC36C8CF1BA5C2D45C12369_gshared)(__this, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___chars0, int32_t ___startIndex1, int32_t ___length2, const RuntimeMethod* method) ;
inline void TMP_TextProcessingStack_1_Add_m57810DE15A45E439F6648C54DFE507C3E56AA72A (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* __this, int32_t ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C*, int32_t, const RuntimeMethod*))TMP_TextProcessingStack_1_Add_m57810DE15A45E439F6648C54DFE507C3E56AA72A_gshared)(__this, ___item0, method);
}
inline int32_t TMP_TextProcessingStack_1_Remove_m0353A4D9760AB41F66944B4BC0975E2EA8282C7A (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* __this, const RuntimeMethod* method)
{
return (( int32_t (*) (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C*, const RuntimeMethod*))TMP_TextProcessingStack_1_Remove_m0353A4D9760AB41F66944B4BC0975E2EA8282C7A_gshared)(__this, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B TMP_Text_HexCharsToColor_mAB24870B76767E96CBCE96AF48D78744FBAEA2E7 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___hexChars0, int32_t ___startIndex1, int32_t ___length2, const RuntimeMethod* method) ;
inline Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954 (TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* __this, const RuntimeMethod* method)
{
return (( Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B (*) (TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3*, const RuntimeMethod*))TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954_gshared)(__this, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 TMP_Offset_get_zero_m8D8E8D2E46EAB0DFFED647AC5EEB41A5B2AA2339 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetAttributeParameters_mA3AE2EA072B750B11D4FA5FB08F3026062B3CB5E (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___chars0, int32_t ___startIndex1, int32_t ___length2, SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C** ___parameters3, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Offset__ctor_mE88A176987DB6F468CA09553D74E86E1B48AA81C (TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6* __this, float ___left0, float ___right1, float ___top2, float ___bottom3, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 TMP_Offset_op_Multiply_mC618A5520464FC68B05E5B08985D3FA94204DF75 (TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 ___a0, float ___b1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HighlightState__ctor_m25791146FF94DD76C2FAAAF47C1735C01D9F47B2 (HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B* __this, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color0, TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 ___padding1, const RuntimeMethod* method) ;
inline void TMP_TextProcessingStack_1_Push_m044F03B5DB751956253506A126DF3382E86CBD9B (TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D* __this, HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D*, HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B, const RuntimeMethod*))TMP_TextProcessingStack_1_Push_m044F03B5DB751956253506A126DF3382E86CBD9B_gshared)(__this, ___item0, method);
}
inline HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B TMP_TextProcessingStack_1_Remove_mA98ACB867032B9BD34CB3B5717D2B9E3D6028652 (TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D* __this, const RuntimeMethod* method)
{
return (( HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B (*) (TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D*, const RuntimeMethod*))TMP_TextProcessingStack_1_Remove_mA98ACB867032B9BD34CB3B5717D2B9E3D6028652_gshared)(__this, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FaceInfo_get_subscriptSize_mF6264BFB215FDE6C94A45D2F8FC946ADFCDD2E31 (FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* __this, const RuntimeMethod* method) ;
inline void TMP_TextProcessingStack_1_Push_mA474FC826EA9F947DACE0C8050322C961ABE97FB (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, float ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9*, float, const RuntimeMethod*))TMP_TextProcessingStack_1_Push_mA474FC826EA9F947DACE0C8050322C961ABE97FB_gshared)(__this, ___item0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FaceInfo_get_subscriptOffset_mF1D3E68AC3D449CBC73AA0CBF5B8A187C6C5285A (FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* __this, const RuntimeMethod* method) ;
inline float TMP_TextProcessingStack_1_Pop_mBB6CFCE314680FC6801E9D68AF1974BCFD350CBF (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, const RuntimeMethod* method)
{
return (( float (*) (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9*, const RuntimeMethod*))TMP_TextProcessingStack_1_Pop_mBB6CFCE314680FC6801E9D68AF1974BCFD350CBF_gshared)(__this, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FaceInfo_get_superscriptSize_mC3ABE7C70559A8214294CDA598B17FD62BDC2EE0 (FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FaceInfo_get_superscriptOffset_m8D462DB86414D8507C7D1CC6881DA9EC896FB80A (FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* __this, const RuntimeMethod* method) ;
inline void TMP_TextProcessingStack_1_Add_mE1377C8125BB8D09F1F8133EC5C7B41757E592BA (TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4* __this, int32_t ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4*, int32_t, const RuntimeMethod*))TMP_TextProcessingStack_1_Add_mF48AC3CA56FD8EEEABCBEFE0FD634E55746BBAC8_gshared)(__this, ___item0, method);
}
inline int32_t TMP_TextProcessingStack_1_Remove_mB9D97F9A4BDE45ED0CA012B3EC5AB86E8747B06A (TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4* __this, const RuntimeMethod* method)
{
return (( int32_t (*) (TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4*, const RuntimeMethod*))TMP_TextProcessingStack_1_Remove_m02D4CCCE9ECA9EA6031971186BEC8481472EF1C8_gshared)(__this, method);
}
inline void TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, float ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9*, float, const RuntimeMethod*))TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE_gshared)(__this, ___item0, method);
}
inline float TMP_TextProcessingStack_1_Remove_m9E2E06D1B36F92004CA676136D0E3F0BDCD1630C (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, const RuntimeMethod* method)
{
return (( float (*) (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9*, const RuntimeMethod*))TMP_TextProcessingStack_1_Remove_m9E2E06D1B36F92004CA676136D0E3F0BDCD1630C_gshared)(__this, method);
}
inline void TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0 (TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9* __this, MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9*, MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B, const RuntimeMethod*))TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0_gshared)(__this, ___item0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MaterialReferenceManager_TryGetFontAsset_m2A3E5301004C96F262F336D554F64B1217D26231 (int32_t ___hashCode0, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160** ___fontAsset1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_CreateString_mB7B3AC2AF28010538650051A9000369B1CD6BAB6 (String_t* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___val0, int32_t ___startIndex1, int32_t ___length2, const RuntimeMethod* method) ;
inline TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* Func_3_Invoke_m36A5EFCA14CE1A166B116BAD920834A5E3C74223_inline (Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* __this, int32_t ___arg10, String_t* ___arg21, const RuntimeMethod* method)
{
return (( TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* (*) (Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C*, int32_t, String_t*, const RuntimeMethod*))Func_3_Invoke_mDBE7BF61E26769EA19ED04DF5E652E424B50486E_gshared_inline)(__this, ___arg10, ___arg21, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TMP_Settings_get_defaultFontAssetPath_m839245F25AC624824660B9A7C2A8B0D7F5FFCC99 (const RuntimeMethod* method) ;
inline TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m5F15FBF7AC2FCDC8C169ED260201B75AB8CB50F3 (String_t* ___path0, const RuntimeMethod* method)
{
return (( TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* (*) (String_t*, const RuntimeMethod*))Resources_Load_TisRuntimeObject_mD1AF6299B14F87ED1D1A6199A51480919F7C79D7_gshared)(___path0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MaterialReferenceManager_AddFontAsset_m6792FB2A583AFD91FF776D0D29737E723F38F039 (TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MaterialReference_AddMaterialReference_mB50C19EBDE894D9F7BF7281A40BE052ABABC69BF (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset1, MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2** ___materialReferences2, Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* ___materialReferenceIndexLookup3, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MaterialReferenceManager_TryGetMaterial_m24D3BA8401616B78412735D1E9206B77AB4A124E (int32_t ___hashCode0, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3** ___material1, const RuntimeMethod* method) ;
inline Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_mC909CC888641BC8E1E29C8AB1C790C637C9B390E (String_t* ___path0, const RuntimeMethod* method)
{
return (( Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* (*) (String_t*, const RuntimeMethod*))Resources_Load_TisRuntimeObject_mD1AF6299B14F87ED1D1A6199A51480919F7C79D7_gshared)(___path0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MaterialReferenceManager_AddFontMaterial_mE3C0E0ABEDE58AC212AFD4CFE7938F234C70BBE9 (int32_t ___hashCode0, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material1, const RuntimeMethod* method) ;
inline MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B TMP_TextProcessingStack_1_Remove_mB944EB7E1D1A02A96C48B1AA7EE7A2D7C232745D (TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9* __this, const RuntimeMethod* method)
{
return (( MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B (*) (TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9*, const RuntimeMethod*))TMP_TextProcessingStack_1_Remove_mB944EB7E1D1A02A96C48B1AA7EE7A2D7C232745D_gshared)(__this, method);
}
inline void TMP_TextInfo_Resize_TisTMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6_m8FFB7A047A39033B809EBE3DC8756EF04721A6B3 (TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E** ___array0, int32_t ___size1, const RuntimeMethod* method)
{
(( void (*) (TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E**, int32_t, const RuntimeMethod*))TMP_TextInfo_Resize_TisTMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6_m8FFB7A047A39033B809EBE3DC8756EF04721A6B3_gshared)(___array0, ___size1, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_LinkInfo_SetLinkID_m9E9A1B09A536609EC636A3F6D14498F70C6C487A (TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___text0, int32_t ___startIndex1, int32_t ___length2, const RuntimeMethod* method) ;
inline void TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514 (TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0* __this, int32_t ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0*, int32_t, const RuntimeMethod*))TMP_TextProcessingStack_1_Add_mF48AC3CA56FD8EEEABCBEFE0FD634E55746BBAC8_gshared)(__this, ___item0, method);
}
inline int32_t TMP_TextProcessingStack_1_Remove_m7EAFE41E986CC289AFE14769631B2E5BAEC446AF (TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0* __this, const RuntimeMethod* method)
{
return (( int32_t (*) (TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0*, const RuntimeMethod*))TMP_TextProcessingStack_1_Remove_m02D4CCCE9ECA9EA6031971186BEC8481472EF1C8_gshared)(__this, method);
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_red_mA2E53E7173FDC97E68E335049AB0FAAEE43A844D_inline (const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_blue_mF04A26CE61D6DA3C0D8B1C4720901B1028C7AB87_inline (const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_black_mB50217951591A045844C61E7FF31EEE3FEF16737_inline (const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_green_mEB001F2CD8C68C6BBAEF9101990B779D3AA2A6EF_inline (const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline (const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_yellow_m66637FA14383E8D74F24AE256B577CE1D55D469F_inline (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MaterialReferenceManager_TryGetColorGradientPreset_m874B43FD78065DFFD31E3A477AE686CD445504CE (int32_t ___hashCode0, TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB** ___gradientPreset1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TMP_Settings_get_defaultColorGradientPresetsPath_mBB00B879E09F5B4ABC9D92E1CDA90D1C11236798 (const RuntimeMethod* method) ;
inline TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* Resources_Load_TisTMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB_m7546617D59DD4AF34FA2D67F11F82C658194F5F8 (String_t* ___path0, const RuntimeMethod* method)
{
return (( TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* (*) (String_t*, const RuntimeMethod*))Resources_Load_TisRuntimeObject_mD1AF6299B14F87ED1D1A6199A51480919F7C79D7_gshared)(___path0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MaterialReferenceManager_AddColorGradientPreset_m3BDD6F313678612D54E151D7DF901F43319CBCB5 (int32_t ___hashCode0, TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* ___spriteAsset1, const RuntimeMethod* method) ;
inline void TMP_TextProcessingStack_1_Add_m7384E96876DE9397A2E5C59711743F69132E536E (TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C* __this, TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* ___item0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C*, TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB*, const RuntimeMethod*))TMP_TextProcessingStack_1_Add_m158D1491CC67B3837FFEB69712D557A7D4373660_gshared)(__this, ___item0, method);
}
inline TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* TMP_TextProcessingStack_1_Remove_m012CED006CD62BD452498A862676A1E775138717 (TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C* __this, const RuntimeMethod* method)
{
return (( TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* (*) (TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C*, const RuntimeMethod*))TMP_TextProcessingStack_1_Remove_mFC9A29A8894D63E524EBBFEDBBC607E090E40697_gshared)(__this, method);
}
inline TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* Resources_Load_TisTMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39_m7904B83E27E07EAAE6AFD7AD2270D77A6B2F210B (String_t* ___path0, const RuntimeMethod* method)
{
return (( TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* (*) (String_t*, const RuntimeMethod*))Resources_Load_TisRuntimeObject_mD1AF6299B14F87ED1D1A6199A51480919F7C79D7_gshared)(___path0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MaterialReferenceManager_TryGetSpriteAsset_m9B41FCA12C297EAD46D171500B95C037C75A855F (int32_t ___hashCode0, TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39** ___spriteAsset1, const RuntimeMethod* method) ;
inline TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* Func_3_Invoke_mF3662697FD5DD101C572638213BE85D28F686C4B_inline (Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* __this, int32_t ___arg10, String_t* ___arg21, const RuntimeMethod* method)
{
return (( TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* (*) (Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5*, int32_t, String_t*, const RuntimeMethod*))Func_3_Invoke_mDBE7BF61E26769EA19ED04DF5E652E424B50486E_gshared_inline)(__this, ___arg10, ___arg21, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TMP_Settings_get_defaultSpriteAssetPath_m0697504D0CD5728F61DE0E1DA9379B8E8CF62E11 (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MaterialReferenceManager_AddSpriteAsset_mD012F5C582F67AECA204F814452BBB3D1FB69E63 (int32_t ___hashCode0, TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___spriteAsset1, const RuntimeMethod* method) ;
inline int32_t List_1_get_Count_m98B2ED14D5EBBED4D53F00F785FC2B5FE87FE3F5_inline (List_1_t2F39287A7FAAAD3D4A84C8C4EF6D748502C1DACC* __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t2F39287A7FAAAD3D4A84C8C4EF6D748502C1DACC*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* TMP_SpriteAsset_SearchForSpriteByHashCode_m95F9A3A7C67245EF2C5E16F51F7CD627D005427D (TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___spriteAsset0, int32_t ___hashCode1, bool ___includeFallbacks2, int32_t* ___spriteIndex3, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* TMP_Text_get_spriteAnimator_m3DB8B24C845D9BE3C1E117F39DE45F202D7F9321 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_SpriteAnimator_DoSpriteAnimation_m02F535CA423940D067CABC1F1FE45745409510FC (TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* __this, int32_t ___currentCharacter0, TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___spriteAsset1, int32_t ___start2, int32_t ___end3, int32_t ___framerate4, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MaterialReference_AddMaterialReference_m10CD58333F42D11909FB7D396C51A4AE6707FE55 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___spriteAsset1, MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2** ___materialReferences2, Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* ___materialReferenceIndexLookup3, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m093934F71A9B351911EE46311674ED463B180006 (String_t* ___str00, String_t* ___str11, String_t* ___str22, String_t* ___str33, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB (RuntimeObject* ___message0, const RuntimeMethod* method) ;
inline int32_t TMP_TextProcessingStack_1_CurrentItem_mF7764B34297632B9645EBCA34E55AECCDE58D367 (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* __this, const RuntimeMethod* method)
{
return (( int32_t (*) (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C*, const RuntimeMethod*))TMP_TextProcessingStack_1_CurrentItem_mF7764B34297632B9645EBCA34E55AECCDE58D367_gshared)(__this, method);
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pos0, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___q1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___s2, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline (float ___x0, float ___y1, float ___z2, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline (const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexGradient__ctor_m9B59D99E8B67833BD6CC50F4704614744D271C3A (VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___color0, const RuntimeMethod* method) ;
inline void TMP_TextProcessingStack_1__ctor_m490E53F5247CD44A1D3AA446A2B67FF0C8478F42 (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, int32_t ___capacity0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9*, int32_t, const RuntimeMethod*))TMP_TextProcessingStack_1__ctor_m490E53F5247CD44A1D3AA446A2B67FF0C8478F42_gshared)(__this, ___capacity0, method);
}
inline void TMP_TextProcessingStack_1__ctor_m476BD28C0A88B4D608008587806134742627AC0A (TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4* __this, int32_t ___capacity0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4*, int32_t, const RuntimeMethod*))TMP_TextProcessingStack_1__ctor_m99B0BB883BA29BA17AA4B3CB0E15C680846132A4_gshared)(__this, ___capacity0, method);
}
inline void TMP_TextProcessingStack_1__ctor_mD9A97602F26B38649E5C756C1F60E3128FD594B7 (TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0* __this, HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658* ___stack0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0*, HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658*, const RuntimeMethod*))TMP_TextProcessingStack_1__ctor_m565CEDB51545030C8280E971A43083E34E64C546_gshared)(__this, ___stack0, method);
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* __this, float ___x0, float ___y1, float ___z2, float ___w3, const RuntimeMethod* method) ;
inline void Action_1__ctor_m9E2BE9EE243D0B58DB2BB48B267776F22CDD158A (Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1*, RuntimeObject*, intptr_t, const RuntimeMethod*))Action_1__ctor_m2E1DFA67718FC1A0B6E5DFEB78831FFE9C059EB4_gshared)(__this, ___object0, ___method1, method);
}
inline void TMP_TextProcessingStack_1__ctor_m67EF0A267B30BE09CF07E10EEBC69099A33C3706 (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* __this, SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___stack0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9*, SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*, const RuntimeMethod*))TMP_TextProcessingStack_1__ctor_m67EF0A267B30BE09CF07E10EEBC69099A33C3706_gshared)(__this, ___stack0, method);
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___r0, float ___g1, float ___b2, float ___a3, const RuntimeMethod* method) ;
inline void TMP_TextProcessingStack_1__ctor_mF51929F261282F2506327912A76AAA1DB96CC4A4 (TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* __this, Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* ___stack0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3*, Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259*, const RuntimeMethod*))TMP_TextProcessingStack_1__ctor_mF51929F261282F2506327912A76AAA1DB96CC4A4_gshared)(__this, ___stack0, method);
}
inline void TMP_TextProcessingStack_1__ctor_m805D9E903893D54322A7E7C30A076C6976CB67A7 (TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D* __this, HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622* ___stack0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D*, HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622*, const RuntimeMethod*))TMP_TextProcessingStack_1__ctor_m805D9E903893D54322A7E7C30A076C6976CB67A7_gshared)(__this, ___stack0, method);
}
inline void TMP_TextProcessingStack_1__ctor_m0B52E0D58591313105377840D688BC44FA89CF1C (TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C* __this, TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A* ___stack0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C*, TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A*, const RuntimeMethod*))TMP_TextProcessingStack_1__ctor_mFE39D066D3C4F7C9198D65490D68522FFA9423C8_gshared)(__this, ___stack0, method);
}
inline void TMP_TextProcessingStack_1__ctor_mB80A97ACD232E30BBAC0DF6D6E6F4398CE37E32A (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___stack0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C*, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*, const RuntimeMethod*))TMP_TextProcessingStack_1__ctor_mB80A97ACD232E30BBAC0DF6D6E6F4398CE37E32A_gshared)(__this, ___stack0, method);
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextBackingContainer__ctor_m28ABE283E7734CCAFCB78E5C71E817D495C1699D (TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* __this, int32_t ___size0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Decimal__ctor_mC089D0AF6A28E017DE6F2F0966D8EBEBFE2DAAF7 (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F* __this, int32_t ___lo0, int32_t ___mid1, int32_t ___hi2, bool ___isNegative3, uint8_t ___scale4, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MaskableGraphic__ctor_mD2E256F950AAAE0E2445971361B5C54D2066E4C2 (MaskableGraphic_tFC5B6BE351C90DE53744DF2A70940242774B361E* __this, const RuntimeMethod* method) ;
inline void Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* __this, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180*, const RuntimeMethod*))Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F_gshared)(__this, method);
}
inline void TMP_TextProcessingStack_1__ctor_mBD47E7ABC68BF701705427A3C1C40B77C0DBD1A9 (TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9* __this, MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* ___stack0, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9*, MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2*, const RuntimeMethod*))TMP_TextProcessingStack_1__ctor_mBD47E7ABC68BF701705427A3C1C40B77C0DBD1A9_gshared)(__this, ___stack0, method);
}
inline void TMP_TextProcessingStack_1__ctor_mEF356198B5589E4F781952A625BE5DF2D0CF222A (TMP_TextProcessingStack_1_t2DDA00FFC64AF6E3AFD475AB2086D16C34787E0F* __this, int32_t ___capacity0, int32_t ___rolloverSize1, const RuntimeMethod* method)
{
(( void (*) (TMP_TextProcessingStack_1_t2DDA00FFC64AF6E3AFD475AB2086D16C34787E0F*, int32_t, int32_t, const RuntimeMethod*))TMP_TextProcessingStack_1__ctor_mEF356198B5589E4F781952A625BE5DF2D0CF222A_gshared)(__this, ___capacity0, ___rolloverSize1, method);
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ProfilerMarker__ctor_mDD68B0A8B71E0301F592AF8891560150E55699C8_inline (ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD* __this, String_t* ___name0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 Color_op_Implicit_m9B3228DAFA8DC57A75DE00CBBF13ED4F1E7B01FF_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___c0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___value0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ProfilerUnsafeUtility_BeginSample_mB5106F4E7ECEF54906545665ED23928D14F5FCA7 (intptr_t ___markerPtr0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ProfilerUnsafeUtility_EndSample_mFDB4EFB160A9CB817D2F8ED21B88693616B27409 (intptr_t ___markerPtr0, const RuntimeMethod* method) ;
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, float ___d1, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___euler0, const RuntimeMethod* method) ;
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t ProfilerUnsafeUtility_CreateMarker_mC5E1AAB8CC1F0342065DF85BA3334445ED754E64 (String_t* ___name0, uint16_t ___categoryId1, uint16_t ___flags2, int32_t ___metadataCount3, const RuntimeMethod* method) ;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TMP_Text_get_text_mF8371DA9FE7C67218422F6A5B5F4BAB1219EB22F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
String_t* V_1 = NULL;
{
bool L_0 = __this->___m_IsTextBackingStringDirty_39;
V_0 = L_0;
bool L_1 = V_0;
if (!L_1)
{
goto IL_0014;
}
}
{
String_t* L_2;
L_2 = TMP_Text_InternalTextBackingArrayToString_m7E70067C4FF555AFF7D95718141ADA0794EF37B5(__this, NULL);
V_1 = L_2;
goto IL_001d;
}
IL_0014:
{
String_t* L_3 = __this->___m_text_38;
V_1 = L_3;
goto IL_001d;
}
IL_001d:
{
String_t* L_4 = V_1;
return L_4;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_text_m7802824EFC54A60A4FEF444FD34301663CF974EA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
int32_t G_B6_0 = 0;
{
bool L_0 = __this->___m_IsTextBackingStringDirty_39;
if (L_0)
{
goto IL_0035;
}
}
{
String_t* L_1 = __this->___m_text_38;
if (!L_1)
{
goto IL_0035;
}
}
{
String_t* L_2 = ___value0;
if (!L_2)
{
goto IL_0035;
}
}
{
String_t* L_3 = __this->___m_text_38;
NullCheck(L_3);
int32_t L_4;
L_4 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_3, NULL);
String_t* L_5 = ___value0;
NullCheck(L_5);
int32_t L_6;
L_6 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_5, NULL);
if ((!(((uint32_t)L_4) == ((uint32_t)L_6))))
{
goto IL_0035;
}
}
{
String_t* L_7 = __this->___m_text_38;
String_t* L_8 = ___value0;
bool L_9;
L_9 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_7, L_8, NULL);
G_B6_0 = ((int32_t)(L_9));
goto IL_0036;
}
IL_0035:
{
G_B6_0 = 0;
}
IL_0036:
{
V_0 = (bool)G_B6_0;
bool L_10 = V_0;
if (!L_10)
{
goto IL_003c;
}
}
{
goto IL_0066;
}
IL_003c:
{
__this->___m_IsTextBackingStringDirty_39 = (bool)0;
String_t* L_11 = ___value0;
__this->___m_text_38 = L_11;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_text_38), (void*)L_11);
__this->___m_inputSource_187 = 3;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_0066:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TMP_Text_get_textPreprocessor_m342C8D483950A64497716F34BCCA853A2D5D430C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
RuntimeObject* V_0 = NULL;
{
RuntimeObject* L_0 = __this->___m_TextPreprocessor_40;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
RuntimeObject* L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_textPreprocessor_mF26E0EFC2718F08112B9C4065EFB6C7D4322D56F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, RuntimeObject* ___value0, const RuntimeMethod* method)
{
{
RuntimeObject* L_0 = ___value0;
__this->___m_TextPreprocessor_40 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextPreprocessor_40), (void*)L_0);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_isRightToLeftText_m91867E4BBD159ACF669FF0103FB15194E5A35910 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isRightToLeft_41;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_isRightToLeftText_m92473AB03681DE06DCE0845AE43B23F13FEF5D25 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isRightToLeft_41;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
bool L_3 = ___value0;
__this->___m_isRightToLeft_41 = L_3;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* TMP_Text_get_font_m1F5E907B9181A54212FBD8123242583C1CA4BE2A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* V_0 = NULL;
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_0 = __this->___m_fontAsset_42;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_font_mC55E4A8C1C09595031384B35F2C2FB2FC3479E83 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_0 = __this->___m_fontAsset_42;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1 = ___value0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, L_1, NULL);
V_0 = L_2;
bool L_3 = V_0;
if (!L_3)
{
goto IL_0013;
}
}
{
goto IL_0036;
}
IL_0013:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_4 = ___value0;
__this->___m_fontAsset_42 = L_4;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_fontAsset_42), (void*)L_4);
VirtualActionInvoker0::Invoke(89, __this);
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_0036:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* TMP_Text_get_fontSharedMaterial_mF1F4B4A3379A9928CF2CD51835381B31C0976C82 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* V_0 = NULL;
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = __this->___m_sharedMaterial_45;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_fontSharedMaterial_m4C3E1FAD0780FF04D2998177B794C773EE3B0DD7 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = __this->___m_sharedMaterial_45;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1 = ___value0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, L_1, NULL);
V_0 = L_2;
bool L_3 = V_0;
if (!L_3)
{
goto IL_0013;
}
}
{
goto IL_0030;
}
IL_0013:
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_4 = ___value0;
VirtualActionInvoker1< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* >::Invoke(90, __this, L_4);
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(29, __this);
}
IL_0030:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* TMP_Text_get_fontSharedMaterials_m09C5F786FE99C75C954C548AFDED330C4785C4D3 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* V_0 = NULL;
{
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* L_0;
L_0 = VirtualFuncInvoker0< MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* >::Invoke(93, __this);
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_fontSharedMaterials_mE82D24FE08F46E5E59438F51938A6B99D74EE376 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* ___value0, const RuntimeMethod* method)
{
{
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* L_0 = ___value0;
VirtualActionInvoker1< MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* >::Invoke(94, __this, L_0);
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(29, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* TMP_Text_get_fontMaterial_m4EBEC9AF78B5B66C983A98F78948E753EE4DDFC6 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* V_0 = NULL;
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = __this->___m_sharedMaterial_45;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1;
L_1 = VirtualFuncInvoker1< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3*, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* >::Invoke(91, __this, L_0);
V_0 = L_1;
goto IL_0010;
}
IL_0010:
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_2 = V_0;
return L_2;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_fontMaterial_m091675AB7E417CD77F8C69B3AEE5B78BBCF59922 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B3_0 = 0;
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = __this->___m_sharedMaterial_45;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
if (!L_1)
{
goto IL_0024;
}
}
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_2 = __this->___m_sharedMaterial_45;
NullCheck(L_2);
int32_t L_3;
L_3 = Object_GetInstanceID_m554FF4073C9465F3835574CC084E68AAEEC6CC6A(L_2, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_4 = ___value0;
NullCheck(L_4);
int32_t L_5;
L_5 = Object_GetInstanceID_m554FF4073C9465F3835574CC084E68AAEEC6CC6A(L_4, NULL);
G_B3_0 = ((((int32_t)L_3) == ((int32_t)L_5))? 1 : 0);
goto IL_0025;
}
IL_0024:
{
G_B3_0 = 0;
}
IL_0025:
{
V_0 = (bool)G_B3_0;
bool L_6 = V_0;
if (!L_6)
{
goto IL_002b;
}
}
{
goto IL_0053;
}
IL_002b:
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_7 = ___value0;
__this->___m_sharedMaterial_45 = L_7;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_sharedMaterial_45), (void*)L_7);
float L_8;
L_8 = VirtualFuncInvoker0< float >::Invoke(103, __this);
__this->___m_padding_243 = L_8;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(29, __this);
}
IL_0053:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* TMP_Text_get_fontMaterials_m354B3F7CF4AB2B7E38C2610D8403D14744286A55 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* V_0 = NULL;
{
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* L_0 = __this->___m_fontSharedMaterials_51;
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* L_1;
L_1 = VirtualFuncInvoker1< MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D*, MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* >::Invoke(95, __this, L_0);
V_0 = L_1;
goto IL_0010;
}
IL_0010:
{
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* L_2 = V_0;
return L_2;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_fontMaterials_m0DC39367F86944E57BE16634A45225ACA97F461B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* ___value0, const RuntimeMethod* method)
{
{
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* L_0 = ___value0;
VirtualActionInvoker1< MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* >::Invoke(94, __this, L_0);
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(29, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F TMP_Text_get_color_m4A843DBD73462B4EE0F823039AE9F8499102D9B5 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0 = __this->___m_fontColor_56;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_color_m776196F566F4F8CD25263BB40CA2D3AE5F2D444B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0 = __this->___m_fontColor_56;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = ___value0;
bool L_2;
L_2 = Color_op_Equality_mB2BDC39B0B367BA15AA8DF22F8CB0D02D20BDC71_inline(L_0, L_1, NULL);
V_0 = L_2;
bool L_3 = V_0;
if (!L_3)
{
goto IL_0013;
}
}
{
goto IL_0028;
}
IL_0013:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_4 = ___value0;
__this->___m_fontColor_56 = L_4;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0028:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_alpha_mF6093A9BEAC44060DA2CC7A61097DB99A25E7DAE (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* L_0 = (&__this->___m_fontColor_56);
float L_1 = L_0->___a_3;
V_0 = L_1;
goto IL_000f;
}
IL_000f:
{
float L_2 = V_0;
return L_2;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_alpha_mD01D24A2E320F30E26BD42AEE8137F9C4F4EBB57 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* L_0 = (&__this->___m_fontColor_56);
float L_1 = L_0->___a_3;
float L_2 = ___value0;
V_0 = (bool)((((float)L_1) == ((float)L_2))? 1 : 0);
bool L_3 = V_0;
if (!L_3)
{
goto IL_0015;
}
}
{
goto IL_002f;
}
IL_0015:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* L_4 = (&__this->___m_fontColor_56);
float L_5 = ___value0;
L_4->___a_3 = L_5;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_002f:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_enableVertexGradient_mB5CFDE007B14BB0425CEACA8FE33C8B2B29769A5 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_enableVertexGradient_60;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_enableVertexGradient_m21A55C744B7BF817B6AA349FCB8C2AC54E8CCACA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_enableVertexGradient_60;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
bool L_3 = ___value0;
__this->___m_enableVertexGradient_60 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F TMP_Text_get_colorGradient_m29541E9BEF4511BEEB2B4951E5BF07DA01AC9105 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F V_0;
memset((&V_0), 0, sizeof(V_0));
{
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F L_0 = __this->___m_fontColorGradient_62;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_colorGradient_m372D6EEDBE955EC7F33895F57E760802937808C8 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F ___value0, const RuntimeMethod* method)
{
{
__this->___m_havePropertiesChanged_155 = (bool)1;
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F L_0 = ___value0;
__this->___m_fontColorGradient_62 = L_0;
VirtualActionInvoker0::Invoke(28, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* TMP_Text_get_colorGradientPreset_mEA5E8B98E88641BE9437222F33DDCCB1B05566B7 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* V_0 = NULL;
{
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_0 = __this->___m_fontColorGradientPreset_63;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_colorGradientPreset_m21DD271B3D1ADF6E81ED68922809F158612A7B46 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* ___value0, const RuntimeMethod* method)
{
{
__this->___m_havePropertiesChanged_155 = (bool)1;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_0 = ___value0;
__this->___m_fontColorGradientPreset_63 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_fontColorGradientPreset_63), (void*)L_0);
VirtualActionInvoker0::Invoke(28, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* TMP_Text_get_spriteAsset_m2D4DEEA11BF5B9DEBA1859A401A15C455529D07A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* V_0 = NULL;
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_0 = __this->___m_spriteAsset_64;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_spriteAsset_mAA6F8F2CD83E208C185A30367CF7E308B5A1F750 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* ___value0, const RuntimeMethod* method)
{
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_0 = ___value0;
__this->___m_spriteAsset_64 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_spriteAsset_64), (void*)L_0);
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_tintAllSprites_mFDB02B03D3513B536D47260FC9B5CCC8BB471C83 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_tintAllSprites_65;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_tintAllSprites_mFFCB8F9B1E8C23016C460BC26024DAEC7CD49D65 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_tintAllSprites_65;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
bool L_3 = ___value0;
__this->___m_tintAllSprites_65 = L_3;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* TMP_Text_get_styleSheet_m72E52DC4A12109C1D0C46F2CF89F4A0D439913DC (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* V_0 = NULL;
{
TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* L_0 = __this->___m_StyleSheet_68;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_styleSheet_mBADF3BE1110DBC043A75F42AD0C5FB8C245BC1BF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* ___value0, const RuntimeMethod* method)
{
{
TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* L_0 = ___value0;
__this->___m_StyleSheet_68 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_StyleSheet_68), (void*)L_0);
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* TMP_Text_get_textStyle_m18773DC7DEFAA035C8D86475294AD3C0DDB52603 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* V_1 = NULL;
{
int32_t L_0 = __this->___m_TextStyleHashCode_70;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_1;
L_1 = TMP_Text_GetStyle_m556317F676C8A404F2BEEB1EA28AA188229D5886(__this, L_0, NULL);
__this->___m_TextStyle_69 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextStyle_69), (void*)L_1);
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_2 = __this->___m_TextStyle_69;
V_0 = (bool)((((RuntimeObject*)(TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C*)L_2) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_3 = V_0;
if (!L_3)
{
goto IL_003e;
}
}
{
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_4;
L_4 = TMP_Style_get_NormalStyle_mB8B470F18522380C52B6E76D4B287F3D21009CC0(NULL);
__this->___m_TextStyle_69 = L_4;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextStyle_69), (void*)L_4);
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_5 = __this->___m_TextStyle_69;
NullCheck(L_5);
int32_t L_6;
L_6 = TMP_Style_get_hashCode_m19EC41583BBC799AC118324ED1A0405E26990E85(L_5, NULL);
__this->___m_TextStyleHashCode_70 = L_6;
}
IL_003e:
{
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_7 = __this->___m_TextStyle_69;
V_1 = L_7;
goto IL_0047;
}
IL_0047:
{
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_8 = V_1;
return L_8;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_textStyle_mBD9F0E7332606863C32DC78E1BD163E7858D9425 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* ___value0, const RuntimeMethod* method)
{
{
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_0 = ___value0;
__this->___m_TextStyle_69 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextStyle_69), (void*)L_0);
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_1 = __this->___m_TextStyle_69;
NullCheck(L_1);
int32_t L_2;
L_2 = TMP_Style_get_hashCode_m19EC41583BBC799AC118324ED1A0405E26990E85(L_1, NULL);
__this->___m_TextStyleHashCode_70 = L_2;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_overrideColorTags_mACA2CBC4B1D3033B30322B2366E1AA97AFB81E41 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_overrideHtmlColors_71;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_overrideColorTags_m9F9D83AA86AA7A310EA41F66A029F11100519CED (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_overrideHtmlColors_71;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
bool L_3 = ___value0;
__this->___m_overrideHtmlColors_71 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B TMP_Text_get_faceColor_mC6A763106D17F58C97965AFD5EE47646C813B4B8 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_1;
memset((&V_1), 0, sizeof(V_1));
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = __this->___m_sharedMaterial_45;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_001a;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_3 = __this->___m_faceColor_72;
V_1 = L_3;
goto IL_003e;
}
IL_001a:
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_4 = __this->___m_sharedMaterial_45;
il2cpp_codegen_runtime_class_init_inline(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
int32_t L_5 = ((ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_StaticFields*)il2cpp_codegen_static_fields_for(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var))->___ID_FaceColor_2;
NullCheck(L_4);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_6;
L_6 = Material_GetColor_mCCC62F29234C5D2D9B19EE2D7DA46A4573AFA765(L_4, L_5, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_7;
L_7 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_6, NULL);
__this->___m_faceColor_72 = L_7;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_8 = __this->___m_faceColor_72;
V_1 = L_8;
goto IL_003e;
}
IL_003e:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_9 = V_1;
return L_9;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_faceColor_m5E9FCC324958ABD25823193117B9BA5304043E51 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_0 = __this->___m_faceColor_72;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1 = ___value0;
bool L_2;
L_2 = TMPro_ExtensionMethods_Compare_m1838CE0635EC60A2288FA34D81634A7F808DE370(L_0, L_1, NULL);
V_0 = L_2;
bool L_3 = V_0;
if (!L_3)
{
goto IL_0013;
}
}
{
goto IL_0037;
}
IL_0013:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_4 = ___value0;
VirtualActionInvoker1< Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B >::Invoke(97, __this, L_4);
__this->___m_havePropertiesChanged_155 = (bool)1;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_5 = ___value0;
__this->___m_faceColor_72 = L_5;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(29, __this);
}
IL_0037:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B TMP_Text_get_outlineColor_mA443B0C207A8B6A5E2546A31F46A3106FB0573EF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_1;
memset((&V_1), 0, sizeof(V_1));
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = __this->___m_sharedMaterial_45;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_001a;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_3 = __this->___m_outlineColor_73;
V_1 = L_3;
goto IL_003e;
}
IL_001a:
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_4 = __this->___m_sharedMaterial_45;
il2cpp_codegen_runtime_class_init_inline(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
int32_t L_5 = ((ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_StaticFields*)il2cpp_codegen_static_fields_for(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var))->___ID_OutlineColor_17;
NullCheck(L_4);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_6;
L_6 = Material_GetColor_mCCC62F29234C5D2D9B19EE2D7DA46A4573AFA765(L_4, L_5, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_7;
L_7 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_6, NULL);
__this->___m_outlineColor_73 = L_7;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_8 = __this->___m_outlineColor_73;
V_1 = L_8;
goto IL_003e;
}
IL_003e:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_9 = V_1;
return L_9;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_outlineColor_mBEFF42BF9AB15BC7C1DA78489CB4F32A2270F7F0 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_0 = __this->___m_outlineColor_73;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1 = ___value0;
bool L_2;
L_2 = TMPro_ExtensionMethods_Compare_m1838CE0635EC60A2288FA34D81634A7F808DE370(L_0, L_1, NULL);
V_0 = L_2;
bool L_3 = V_0;
if (!L_3)
{
goto IL_0013;
}
}
{
goto IL_0030;
}
IL_0013:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_4 = ___value0;
VirtualActionInvoker1< Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B >::Invoke(98, __this, L_4);
__this->___m_havePropertiesChanged_155 = (bool)1;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_5 = ___value0;
__this->___m_outlineColor_73 = L_5;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0030:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_outlineWidth_mC94A3AD32458544743E07AE0A495A86214823C29 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
float V_1 = 0.0f;
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = __this->___m_sharedMaterial_45;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_001a;
}
}
{
float L_3 = __this->___m_outlineWidth_74;
V_1 = L_3;
goto IL_0039;
}
IL_001a:
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_4 = __this->___m_sharedMaterial_45;
il2cpp_codegen_runtime_class_init_inline(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
int32_t L_5 = ((ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_StaticFields*)il2cpp_codegen_static_fields_for(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var))->___ID_OutlineWidth_15;
NullCheck(L_4);
float L_6;
L_6 = Material_GetFloat_m52462F4AEDE20758BFB592B11DE83A79D2774932(L_4, L_5, NULL);
__this->___m_outlineWidth_74 = L_6;
float L_7 = __this->___m_outlineWidth_74;
V_1 = L_7;
goto IL_0039;
}
IL_0039:
{
float L_8 = V_1;
return L_8;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_outlineWidth_m33ADF665CB2D3DBD9FB3F70DE62979FD63ADD592 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
float L_0 = __this->___m_outlineWidth_74;
float L_1 = ___value0;
V_0 = (bool)((((float)L_0) == ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002d;
}
IL_0010:
{
float L_3 = ___value0;
VirtualActionInvoker1< float >::Invoke(99, __this, L_3);
__this->___m_havePropertiesChanged_155 = (bool)1;
float L_4 = ___value0;
__this->___m_outlineWidth_74 = L_4;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_002d:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_fontSize_m13A8365A56EA2B726EAD826B4A69C8918A528731 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_fontSize_75;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
bool V_1 = false;
{
float L_0 = __this->___m_fontSize_75;
float L_1 = ___value0;
V_0 = (bool)((((float)L_0) == ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0045;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
float L_3 = ___value0;
__this->___m_fontSize_75 = L_3;
bool L_4 = __this->___m_enableAutoSizing_82;
V_1 = (bool)((((int32_t)L_4) == ((int32_t)0))? 1 : 0);
bool L_5 = V_1;
if (!L_5)
{
goto IL_0037;
}
}
{
float L_6 = __this->___m_fontSize_75;
__this->___m_fontSizeBase_77 = L_6;
}
IL_0037:
{
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_0045:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_fontWeight_m9A7A4ED9ECA3A192B28E24E94D40D5B545D6118E (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_fontWeight_79;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_fontWeight_m4F7016B98AAA89004CFBEBBBE1C4E35B94EF0EE2 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_fontWeight_79;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
int32_t L_3 = ___value0;
__this->___m_fontWeight_79 = L_3;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_pixelsPerUnit_mBCEF0125AEB4F14A5BA5D179C3523FD382E45796 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26* V_0 = NULL;
bool V_1 = false;
float V_2 = 0.0f;
bool V_3 = false;
bool V_4 = false;
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 V_5;
memset((&V_5), 0, sizeof(V_5));
int32_t G_B8_0 = 0;
{
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26* L_0;
L_0 = Graphic_get_canvas_mEA2161DF3BD736541DE41F9B814C4860FEB76419(__this, NULL);
V_0 = L_0;
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26* L_1 = V_0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_1, NULL);
V_1 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
bool L_3 = V_1;
if (!L_3)
{
goto IL_0020;
}
}
{
V_2 = (1.0f);
goto IL_00a0;
}
IL_0020:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_4;
L_4 = TMP_Text_get_font_m1F5E907B9181A54212FBD8123242583C1CA4BE2A(__this, NULL);
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_5;
L_5 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_4, NULL);
V_3 = (bool)((((int32_t)L_5) == ((int32_t)0))? 1 : 0);
bool L_6 = V_3;
if (!L_6)
{
goto IL_003b;
}
}
{
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26* L_7 = V_0;
NullCheck(L_7);
float L_8;
L_8 = Canvas_get_scaleFactor_m6B8D694A68376EE5E13D9B0B0F037E2E90C99921(L_7, NULL);
V_2 = L_8;
goto IL_00a0;
}
IL_003b:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_9 = __this->___m_currentFontAsset_43;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_10;
L_10 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_9, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
if (L_10)
{
goto IL_0072;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_11 = __this->___m_currentFontAsset_43;
NullCheck(L_11);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_12;
L_12 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_11, NULL);
V_5 = L_12;
int32_t L_13;
L_13 = FaceInfo_get_pointSize_m7EF7429A4725AB715931A220F6BB498C3D6BF7CB((&V_5), NULL);
if ((((int32_t)L_13) <= ((int32_t)0)))
{
goto IL_0072;
}
}
{
float L_14 = __this->___m_fontSize_75;
G_B8_0 = ((((int32_t)((!(((float)L_14) <= ((float)(0.0f))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0073;
}
IL_0072:
{
G_B8_0 = 1;
}
IL_0073:
{
V_4 = (bool)G_B8_0;
bool L_15 = V_4;
if (!L_15)
{
goto IL_0081;
}
}
{
V_2 = (1.0f);
goto IL_00a0;
}
IL_0081:
{
float L_16 = __this->___m_fontSize_75;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_17 = __this->___m_currentFontAsset_43;
NullCheck(L_17);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_18;
L_18 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_17, NULL);
V_5 = L_18;
int32_t L_19;
L_19 = FaceInfo_get_pointSize_m7EF7429A4725AB715931A220F6BB498C3D6BF7CB((&V_5), NULL);
V_2 = ((float)(L_16/((float)L_19)));
goto IL_00a0;
}
IL_00a0:
{
float L_20 = V_2;
return L_20;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_enableAutoSizing_m0A101957A4E1D156437E454DF813ACE3714F0FE7 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_enableAutoSizing_82;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_enableAutoSizing_mDD34BC7AA735EEBEB916FF5C9791B1502F65FBCA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_enableAutoSizing_82;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
bool L_3 = ___value0;
__this->___m_enableAutoSizing_82 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_fontSizeMin_m5F97E2EFFE86CB4BFFFC31E167E1E577134EF05D (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_fontSizeMin_88;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_fontSizeMin_mEAF970BB9CA053DF953AF83E638EA0F1D885358F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
float L_0 = __this->___m_fontSizeMin_88;
float L_1 = ___value0;
V_0 = (bool)((((float)L_0) == ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
float L_3 = ___value0;
__this->___m_fontSizeMin_88 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_fontSizeMax_m8FAB0C39D22B722F6AA6CF15E6C0636715D64BD4 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_fontSizeMax_89;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_fontSizeMax_mC84B7090F5CE69BA63556A71FD63ABD67C911750 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
float L_0 = __this->___m_fontSizeMax_89;
float L_1 = ___value0;
V_0 = (bool)((((float)L_0) == ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
float L_3 = ___value0;
__this->___m_fontSizeMax_89 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_fontStyle_mC34CC5EBEDD43CE93BA911CCC4D33F9697838586 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_fontStyle_90;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_fontStyle_m61931944B2E922D50087312D80F8685A2F29EBF8 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_fontStyle_90;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
int32_t L_3 = ___value0;
__this->___m_fontStyle_90 = L_3;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_isUsingBold_mA0F9BE071B0F9DB995BC04D1CD409CA5C5AF6CF0 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isUsingBold_93;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_horizontalAlignment_mB33E135CD810BE68FA3E29D57D360575DE18C4CA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_HorizontalAlignment_94;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_horizontalAlignment_m5621041CDB60BAD5BAB18AE01701ADA2FD2231B2 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_HorizontalAlignment_94;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
int32_t L_3 = ___value0;
__this->___m_HorizontalAlignment_94 = L_3;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_verticalAlignment_m83109ED3E925A505F5E9E9142B07829A56CCB54A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_VerticalAlignment_95;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_verticalAlignment_mA79C8E375EEC0B960D517D2D8ED217564ABBFB82 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_VerticalAlignment_95;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
int32_t L_3 = ___value0;
__this->___m_VerticalAlignment_95 = L_3;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_alignment_m52C559D8E496889812623C56CD8EA056FD92D565 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_HorizontalAlignment_94;
int32_t L_1 = __this->___m_VerticalAlignment_95;
V_0 = ((int32_t)((int32_t)L_0|(int32_t)L_1));
goto IL_0011;
}
IL_0011:
{
int32_t L_2 = V_0;
return L_2;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
bool V_2 = false;
int32_t G_B3_0 = 0;
{
int32_t L_0 = ___value0;
V_0 = ((int32_t)((int32_t)L_0&((int32_t)255)));
int32_t L_1 = ___value0;
V_1 = ((int32_t)((int32_t)L_1&((int32_t)65280)));
int32_t L_2 = __this->___m_HorizontalAlignment_94;
int32_t L_3 = V_0;
if ((!(((uint32_t)L_2) == ((uint32_t)L_3))))
{
goto IL_0025;
}
}
{
int32_t L_4 = __this->___m_VerticalAlignment_95;
int32_t L_5 = V_1;
G_B3_0 = ((((int32_t)L_4) == ((int32_t)L_5))? 1 : 0);
goto IL_0026;
}
IL_0025:
{
G_B3_0 = 0;
}
IL_0026:
{
V_2 = (bool)G_B3_0;
bool L_6 = V_2;
if (!L_6)
{
goto IL_002c;
}
}
{
goto IL_0048;
}
IL_002c:
{
int32_t L_7 = V_0;
__this->___m_HorizontalAlignment_94 = L_7;
int32_t L_8 = V_1;
__this->___m_VerticalAlignment_95 = L_8;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0048:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_characterSpacing_m48A3B73EFBF47B5227D2BB4816FCFF628254C8FB (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_characterSpacing_100;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_characterSpacing_mDCD34D244A502CA21CEB817E1F4CAC5BC6CCBA63 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
float L_0 = __this->___m_characterSpacing_100;
float L_1 = ___value0;
V_0 = (bool)((((float)L_0) == ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
float L_3 = ___value0;
__this->___m_characterSpacing_100 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_wordSpacing_mF3DF1445C78E06195904FCF0293E63654C527D33 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_wordSpacing_103;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_wordSpacing_m319C51E318DBC91F236F3CC65ED24787903F7E1E (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
float L_0 = __this->___m_wordSpacing_103;
float L_1 = ___value0;
V_0 = (bool)((((float)L_0) == ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
float L_3 = ___value0;
__this->___m_wordSpacing_103 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_lineSpacing_m7481D705EAD920B8D143D19A270D44CDABDAA251 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_lineSpacing_104;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_lineSpacing_m1BA54B315F7472AE0E7B721CA7481016643591A7 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
float L_0 = __this->___m_lineSpacing_104;
float L_1 = ___value0;
V_0 = (bool)((((float)L_0) == ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
float L_3 = ___value0;
__this->___m_lineSpacing_104 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_lineSpacingAdjustment_m3858BA838BBFBA60A0A1DDCB195075C6620CF637 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_lineSpacingMax_108;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_lineSpacingAdjustment_mAC9A57D852EBAD8DD53ED2F1DE316C0DA52659FB (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
float L_0 = __this->___m_lineSpacingMax_108;
float L_1 = ___value0;
V_0 = (bool)((((float)L_0) == ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
float L_3 = ___value0;
__this->___m_lineSpacingMax_108 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_paragraphSpacing_mCCBC792CAE59958E92EB04B8E636AA2066534713 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_paragraphSpacing_109;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_paragraphSpacing_m69921E35B44DE397FE604590913CAFB7DBFBAF30 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
float L_0 = __this->___m_paragraphSpacing_109;
float L_1 = ___value0;
V_0 = (bool)((((float)L_0) == ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
float L_3 = ___value0;
__this->___m_paragraphSpacing_109 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_characterWidthAdjustment_mE879BF9A6273376AEE54BE88745ABE7944DBF26A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_charWidthMaxAdj_110;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_characterWidthAdjustment_m11B7CC28C0A7FFC6434DB671C635691B529071BE (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
float L_0 = __this->___m_charWidthMaxAdj_110;
float L_1 = ___value0;
V_0 = (bool)((((float)L_0) == ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
float L_3 = ___value0;
__this->___m_charWidthMaxAdj_110 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_enableWordWrapping_mF228EF12091EF9FB53E44B6B0278B610E350E551 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_enableWordWrapping_112;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_enableWordWrapping_mFAEE849315B4723F9C86C127B1A59EF50BE1C12F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_enableWordWrapping_112;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
bool L_3 = ___value0;
__this->___m_enableWordWrapping_112 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_wordWrappingRatios_m3316BC010D7B02829CE0B86868B01419C81ED072 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_wordWrappingRatios_116;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_wordWrappingRatios_m83A82AE875C4CD836D5802A1C051AF07CA2A0D85 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
float L_0 = __this->___m_wordWrappingRatios_116;
float L_1 = ___value0;
V_0 = (bool)((((float)L_0) == ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
float L_3 = ___value0;
__this->___m_wordWrappingRatios_116 = L_3;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_overflowMode_m494E5C01E450AF8F4F344856D289D0FDEB8DDCB4 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_overflowMode_117;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_overflowMode_mB8911BA07CEE0AC1E4E108B5EB79B230F90E96A1 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_overflowMode_117;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
int32_t L_3 = ___value0;
__this->___m_overflowMode_117 = L_3;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_isTextOverflowing_mF29482F663A6195FF48628DF3B6F5ACAEF8538D0 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
bool V_1 = false;
{
int32_t L_0 = __this->___m_firstOverflowCharacterIndex_118;
V_0 = (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)(-1)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0015;
}
}
{
V_1 = (bool)1;
goto IL_0019;
}
IL_0015:
{
V_1 = (bool)0;
goto IL_0019;
}
IL_0019:
{
bool L_2 = V_1;
return L_2;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_firstOverflowCharacterIndex_mB9AEEBC749FBDEA2E73023CBA83FA2BE72D08480 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_firstOverflowCharacterIndex_118;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* TMP_Text_get_linkedTextComponent_m84DA92BFD208833ED4C1EC4C4F537F5D594EF4F0 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* V_0 = NULL;
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_0 = __this->___m_linkedTextComponent_119;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_linkedTextComponent_m08B4CBAD470F918E2D2E19CE96B2443F38B76D93 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_0 = ___value0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0024;
}
}
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_3 = __this->___m_linkedTextComponent_119;
TMP_Text_ReleaseLinkedTextComponent_mBFBB0BB0702503E5492FE5CDC94164363A139696(__this, L_3, NULL);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_4 = ___value0;
__this->___m_linkedTextComponent_119 = L_4;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_linkedTextComponent_119), (void*)L_4);
goto IL_0054;
}
IL_0024:
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_5 = ___value0;
bool L_6;
L_6 = TMP_Text_IsSelfOrLinkedAncestor_m81351987CC1F547B1E7A0EDE1109F5EF596A8F76(__this, L_5, NULL);
V_1 = L_6;
bool L_7 = V_1;
if (!L_7)
{
goto IL_0032;
}
}
{
goto IL_0069;
}
IL_0032:
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_8 = __this->___m_linkedTextComponent_119;
TMP_Text_ReleaseLinkedTextComponent_mBFBB0BB0702503E5492FE5CDC94164363A139696(__this, L_8, NULL);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_9 = ___value0;
__this->___m_linkedTextComponent_119 = L_9;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_linkedTextComponent_119), (void*)L_9);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_10 = __this->___m_linkedTextComponent_119;
NullCheck(L_10);
L_10->___parentLinkedComponent_120 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_10->___parentLinkedComponent_120), (void*)__this);
}
IL_0054:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_0069:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_isTextTruncated_mCB152B5BD9B3FFB994F6B89E2ED89A3602A750F3 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isTextTruncated_121;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_enableKerning_mA8CA8FB9322358B72F0F7C49954AE3C0E618DDDD (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_enableKerning_122;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_enableKerning_m681685E06B8789F5F2B7043EBEA561AAE48E82BD (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_enableKerning_122;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
bool L_3 = ___value0;
__this->___m_enableKerning_122 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_extraPadding_m84294178A4E3BFD708FC746DB98CB0A64FBC35AA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_enableExtraPadding_124;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_extraPadding_m26595B78EDE43EFBCCBF7D5E23932ADCB983EF32 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_enableExtraPadding_124;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
bool L_3 = ___value0;
__this->___m_enableExtraPadding_124 = L_3;
VirtualActionInvoker0::Invoke(111, __this);
VirtualActionInvoker0::Invoke(28, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_richText_m630DE7C1ABC507556E716428264A793423ACAB27 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isRichText_126;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_richText_mAB3D04F620E13F02117B34BBA2EF7BD30AAE6F0F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isRichText_126;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
bool L_3 = ___value0;
__this->___m_isRichText_126 = L_3;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_parseCtrlCharacters_mB10A3CBD2DEFB7BB15BC6330951DCDAB814D2584 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_parseCtrlCharacters_127;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_parseCtrlCharacters_mE733B4A0271EEFA977C39E7F86DDDF73C52D1976 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_parseCtrlCharacters_127;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
bool L_3 = ___value0;
__this->___m_parseCtrlCharacters_127 = L_3;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_isOverlay_m1A9199A9C2FBB09BEAA0B0B2E3D41CDF8A3B708B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isOverlay_128;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_isOverlay_m0DA2AC113AE402CA25097641AD38D0822C6D5561 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isOverlay_128;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_002c;
}
IL_0010:
{
bool L_3 = ___value0;
__this->___m_isOverlay_128 = L_3;
VirtualActionInvoker0::Invoke(100, __this);
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_002c:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_isOrthographic_mBC78A70B2233363411D9D918346DFE19DF3CF72B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isOrthographic_129;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_isOrthographic_mF58B9C6B492D4FD1BA0AB339E4B91F0A1F644C18 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isOrthographic_129;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
bool L_3 = ___value0;
__this->___m_isOrthographic_129 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_enableCulling_m233860FA65153E4C5C3FE3E78B835D4230FC45B0 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isCullingEnabled_130;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_enableCulling_m3CDE2F50BF96E110427D2C1B3505436D87576102 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isCullingEnabled_130;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
bool L_3 = ___value0;
__this->___m_isCullingEnabled_130 = L_3;
VirtualActionInvoker0::Invoke(101, __this);
__this->___m_havePropertiesChanged_155 = (bool)1;
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_ignoreVisibility_m479580B3550B3652B3E4E889B8E62902633C7477 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_ignoreCulling_133;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_ignoreVisibility_mB06EE9EA50439B339824FDF4B52CAF423AC1209D (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_ignoreCulling_133;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_001e;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
bool L_3 = ___value0;
__this->___m_ignoreCulling_133 = L_3;
}
IL_001e:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_horizontalMapping_mDD4C7F3FF8D4619EA539A964636EC841FCFE7873 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_horizontalMapping_134;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_horizontalMapping_m26A114EFF3D3143214F753521B4DCB2971C19C84 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_horizontalMapping_134;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
int32_t L_3 = ___value0;
__this->___m_horizontalMapping_134 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_verticalMapping_mCD5A83DF6CAA818E89F483F11B6748538D7E9C35 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_verticalMapping_135;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_verticalMapping_mBF1DBAC92E4E6BE48F39275FAFF5F8106FABD317 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_verticalMapping_135;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
int32_t L_3 = ___value0;
__this->___m_verticalMapping_135 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_mappingUvLineOffset_m296EF64BABC2BA1A47BD7309B10027E51BB37394 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_uvLineOffset_136;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_mappingUvLineOffset_m963D80134C47160C7896A7C86FFF3C4B3CF51E73 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
float L_0 = __this->___m_uvLineOffset_136;
float L_1 = ___value0;
V_0 = (bool)((((float)L_0) == ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
float L_3 = ___value0;
__this->___m_uvLineOffset_136 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_renderMode_mE67A34CDA63B22321E3C511078F9CC42B19EEC8C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_renderMode_137;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_renderMode_m091533DEE7FD20A61249DC52C786ED4FFE5A5C2A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_renderMode_137;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_001e;
}
IL_0010:
{
int32_t L_3 = ___value0;
__this->___m_renderMode_137 = L_3;
__this->___m_havePropertiesChanged_155 = (bool)1;
}
IL_001e:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_geometrySortingOrder_m7A757613E064B108D3598B3953AB846E3B63B756 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_geometrySortingOrder_138;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_geometrySortingOrder_mFE993584D0FDB12A43F0F1907BD1FFAF240E0D95 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->___m_geometrySortingOrder_138 = L_0;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_isTextObjectScaleStatic_mBAC6CC2ACE413148E868A14281629B9C72851940 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_IsTextObjectScaleStatic_139;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_isTextObjectScaleStatic_m8436FC38400ABE08F513770AF9C8CC6743DBE092 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_UpdateManager_tE9BFD4F61F3B94F860D7D3A6436162DA893BA2E2_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
bool L_0 = ___value0;
__this->___m_IsTextObjectScaleStatic_139 = L_0;
bool L_1 = __this->___m_IsTextObjectScaleStatic_139;
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_001b;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_UpdateManager_tE9BFD4F61F3B94F860D7D3A6436162DA893BA2E2_il2cpp_TypeInfo_var);
TMP_UpdateManager_UnRegisterTextObjectForUpdate_mEFBA4B82356AAFD89692D3A3DA55B760977A8D40(__this, NULL);
goto IL_0022;
}
IL_001b:
{
il2cpp_codegen_runtime_class_init_inline(TMP_UpdateManager_tE9BFD4F61F3B94F860D7D3A6436162DA893BA2E2_il2cpp_TypeInfo_var);
TMP_UpdateManager_RegisterTextObjectForUpdate_m18247DEF67E359156574B001461A8995D6CD027D(__this, NULL);
}
IL_0022:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_vertexBufferAutoSizeReduction_m304AA345FEF2D0D542E2B1F2CB9AB51464BFDB91 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_VertexBufferAutoSizeReduction_140;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_vertexBufferAutoSizeReduction_m188984707109669597440E6F250B124D6FB66270 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
{
bool L_0 = ___value0;
__this->___m_VertexBufferAutoSizeReduction_140 = L_0;
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_firstVisibleCharacter_mD2CEE9A9803C530DA337B22BD994B9CEBE15AE63 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_firstVisibleCharacter_141;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_firstVisibleCharacter_m343804C8FF610EB13CCB14E8D54C889BC356AD53 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_firstVisibleCharacter_141;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
int32_t L_3 = ___value0;
__this->___m_firstVisibleCharacter_141 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_maxVisibleCharacters_mF695995258B5013340B8C026B2A0FA643D5FD302 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_maxVisibleCharacters_142;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_maxVisibleCharacters_mEDD8DCB11D204F3FC10BFAC49BF6E8E09548358A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_maxVisibleCharacters_142;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
int32_t L_3 = ___value0;
__this->___m_maxVisibleCharacters_142 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_maxVisibleWords_mD9E44CE8FBCB6F7182716E61EB435B61048155B9 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_maxVisibleWords_143;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_maxVisibleWords_mE2EDC75AA5E4795233F753643202868E4D3226B9 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_maxVisibleWords_143;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
int32_t L_3 = ___value0;
__this->___m_maxVisibleWords_143 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_maxVisibleLines_m9E8FB188E50DCF321793C7E75B7F90E2142AC52B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_maxVisibleLines_144;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_maxVisibleLines_m55D236A0DA8C5A10C793663674FA3A44F61DF861 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_maxVisibleLines_144;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
int32_t L_3 = ___value0;
__this->___m_maxVisibleLines_144 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_useMaxVisibleDescender_m3A85730B4F5723C8B7884B89FB70EE0A6888165B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_useMaxVisibleDescender_145;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_useMaxVisibleDescender_mBFE9133E5EEF987942919D4FE369CB03A0EBC559 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_useMaxVisibleDescender_145;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
bool L_3 = ___value0;
__this->___m_useMaxVisibleDescender_145 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_pageToDisplay_mAA3CCC7BD6CA9430558F3409E05B6E754D82C730 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_pageToDisplay_146;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_pageToDisplay_mBD985B613FCEC04266FDA43E916B19DD505D7469 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
int32_t L_0 = __this->___m_pageToDisplay_146;
int32_t L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0025;
}
IL_0010:
{
__this->___m_havePropertiesChanged_155 = (bool)1;
int32_t L_3 = ___value0;
__this->___m_pageToDisplay_146 = L_3;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0025:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 TMP_Text_get_margin_mB8102487C6CFA509555D3A892C899E0A1E86CBCE (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_0 = __this->___m_margin_148;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_margin_mE431DCEED182B2979246E04233F943E8D3B82D5D (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_0 = __this->___m_margin_148;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_1 = ___value0;
bool L_2;
L_2 = Vector4_op_Equality_mCEA0E5F229F4AE8C55152F7A8F84345F24F52DC6_inline(L_0, L_1, NULL);
V_0 = L_2;
bool L_3 = V_0;
if (!L_3)
{
goto IL_0013;
}
}
{
goto IL_002f;
}
IL_0013:
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_4 = ___value0;
__this->___m_margin_148 = L_4;
VirtualActionInvoker0::Invoke(119, __this);
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_002f:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* V_0 = NULL;
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_0 = __this->___m_textInfo_154;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_havePropertiesChanged_m42ECC7D1CA0DF6E59ACF761EB20635E81FCB8EFF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_havePropertiesChanged_155;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_havePropertiesChanged_mA38D7BC9E260BF29450738B827F2220A05662B31 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_havePropertiesChanged_155;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_001e;
}
IL_0010:
{
bool L_3 = ___value0;
__this->___m_havePropertiesChanged_155 = L_3;
VirtualActionInvoker0::Invoke(26, __this);
}
IL_001e:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_isUsingLegacyAnimationComponent_mC52DDE08FAB3DA14C5BDDAF7533A8465B30CCE7A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isUsingLegacyAnimationComponent_156;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_isUsingLegacyAnimationComponent_mC3A3CB0EBBE9A4AF0106EDC9EDB7DC1D0AD62170 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
{
bool L_0 = ___value0;
__this->___m_isUsingLegacyAnimationComponent_156 = L_0;
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* TMP_Text_get_transform_m6BD41E08BFCFCE722DFCE4627626AD60CA99CCA8 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisTransform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_m60E86366B3E431D4C4A549CF4FE5951087686F7F_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* V_1 = NULL;
{
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_0 = __this->___m_transform_157;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_001d;
}
}
{
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_3;
L_3 = Component_GetComponent_TisTransform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_m60E86366B3E431D4C4A549CF4FE5951087686F7F(__this, Component_GetComponent_TisTransform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1_m60E86366B3E431D4C4A549CF4FE5951087686F7F_RuntimeMethod_var);
__this->___m_transform_157 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_transform_157), (void*)L_3);
}
IL_001d:
{
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_4 = __this->___m_transform_157;
V_1 = L_4;
goto IL_0026;
}
IL_0026:
{
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_5 = V_1;
return L_5;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m0640480E7E38BB88B0D1F6AD59E697C8EE6AAFA4_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* V_1 = NULL;
{
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* L_0 = __this->___m_rectTransform_158;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_001d;
}
}
{
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* L_3;
L_3 = Component_GetComponent_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m0640480E7E38BB88B0D1F6AD59E697C8EE6AAFA4(__this, Component_GetComponent_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m0640480E7E38BB88B0D1F6AD59E697C8EE6AAFA4_RuntimeMethod_var);
__this->___m_rectTransform_158 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_rectTransform_158), (void*)L_3);
}
IL_001d:
{
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* L_4 = __this->___m_rectTransform_158;
V_1 = L_4;
goto IL_0026;
}
IL_0026:
{
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* L_5 = V_1;
return L_5;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_autoSizeTextContainer_mF7DEF97EAB3EEE86558E5A173264DA46068F7E13 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->___U3CautoSizeTextContainerU3Ek__BackingField_161;
return L_0;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_autoSizeTextContainer_m47F5010FC3B3496C58017BC5B21E51FF8BD0D448 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
{
bool L_0 = ___value0;
__this->___U3CautoSizeTextContainerU3Ek__BackingField_161 = L_0;
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TMP_Text_get_mesh_m7B90E1F477480ADB825851B54F898CC39B6DF376 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_0 = NULL;
{
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = __this->___m_mesh_163;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_get_isVolumetricText_m176FAF1E14C8054B274E7972EA02D84D3EB4E074 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isVolumetricText_164;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
bool L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_isVolumetricText_mE827C3B8F33DB163A48F2A314A66D02274372B9B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
bool L_0 = __this->___m_isVolumetricText_164;
bool L_1 = ___value0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
goto IL_0032;
}
IL_0010:
{
bool L_3 = ___value0;
__this->___m_havePropertiesChanged_155 = L_3;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_4 = __this->___m_textInfo_154;
bool L_5 = ___value0;
NullCheck(L_4);
TMP_TextInfo_ResetVertexLayout_mDD6C8111384A819DDD015F66567A69C97C4F74E2(L_4, L_5, NULL);
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
}
IL_0032:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 TMP_Text_get_bounds_mAEE407DE6CA2E1D1180868C03A3F0A3B6E455189 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_1;
memset((&V_1), 0, sizeof(V_1));
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_2;
memset((&V_2), 0, sizeof(V_2));
{
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = __this->___m_mesh_163;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3));
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_3 = V_1;
V_2 = L_3;
goto IL_0026;
}
IL_001d:
{
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_4;
L_4 = VirtualFuncInvoker0< Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 >::Invoke(116, __this);
V_2 = L_4;
goto IL_0026;
}
IL_0026:
{
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_5 = V_2;
return L_5;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 TMP_Text_get_textBounds_m0D3E180B72130830D1C16BC7E5097AF2958E2740 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
bool V_0 = false;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_1;
memset((&V_1), 0, sizeof(V_1));
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_2;
memset((&V_2), 0, sizeof(V_2));
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_0 = __this->___m_textInfo_154;
V_0 = (bool)((((RuntimeObject*)(TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D*)L_0) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_001a;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3));
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_2 = V_1;
V_2 = L_2;
goto IL_0023;
}
IL_001a:
{
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_3;
L_3 = TMP_Text_GetTextBounds_m9B8ADDB3EE48C956CF9D61DA303B21D5EA32081A(__this, NULL);
V_2 = L_3;
goto IL_0023;
}
IL_0023:
{
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_4 = V_2;
return L_4;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_add_OnFontAssetRequest_m5CF2F09BB8B2E7E1F11488B48FDF3CEF23CEEA84 (Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* V_0 = NULL;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* V_1 = NULL;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* V_2 = NULL;
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_0 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___OnFontAssetRequest_165;
V_0 = L_0;
}
IL_0006:
{
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_1 = V_0;
V_1 = L_1;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_2 = V_1;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_3 = ___value0;
Delegate_t* L_4;
L_4 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_2, L_3, NULL);
V_2 = ((Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C*)Castclass((RuntimeObject*)L_4, Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C_il2cpp_TypeInfo_var));
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_5 = V_2;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_6 = V_1;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_7;
L_7 = InterlockedCompareExchangeImpl<Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C*>((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___OnFontAssetRequest_165), L_5, L_6);
V_0 = L_7;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_8 = V_0;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_9 = V_1;
if ((!(((RuntimeObject*)(Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C*)L_8) == ((RuntimeObject*)(Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C*)L_9))))
{
goto IL_0006;
}
}
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_remove_OnFontAssetRequest_m6B616134E9114F5ADC8034A7B2E38D41488A8BF9 (Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* V_0 = NULL;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* V_1 = NULL;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* V_2 = NULL;
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_0 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___OnFontAssetRequest_165;
V_0 = L_0;
}
IL_0006:
{
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_1 = V_0;
V_1 = L_1;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_2 = V_1;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_3 = ___value0;
Delegate_t* L_4;
L_4 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_2, L_3, NULL);
V_2 = ((Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C*)Castclass((RuntimeObject*)L_4, Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C_il2cpp_TypeInfo_var));
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_5 = V_2;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_6 = V_1;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_7;
L_7 = InterlockedCompareExchangeImpl<Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C*>((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___OnFontAssetRequest_165), L_5, L_6);
V_0 = L_7;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_8 = V_0;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_9 = V_1;
if ((!(((RuntimeObject*)(Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C*)L_8) == ((RuntimeObject*)(Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C*)L_9))))
{
goto IL_0006;
}
}
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_add_OnSpriteAssetRequest_m676ECA34B7C6E92AFF2A20AFC1A9AE2DE60CEA2F (Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* V_0 = NULL;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* V_1 = NULL;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* V_2 = NULL;
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_0 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___OnSpriteAssetRequest_166;
V_0 = L_0;
}
IL_0006:
{
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_1 = V_0;
V_1 = L_1;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_2 = V_1;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_3 = ___value0;
Delegate_t* L_4;
L_4 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_2, L_3, NULL);
V_2 = ((Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5*)Castclass((RuntimeObject*)L_4, Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5_il2cpp_TypeInfo_var));
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_5 = V_2;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_6 = V_1;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_7;
L_7 = InterlockedCompareExchangeImpl<Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5*>((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___OnSpriteAssetRequest_166), L_5, L_6);
V_0 = L_7;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_8 = V_0;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_9 = V_1;
if ((!(((RuntimeObject*)(Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5*)L_8) == ((RuntimeObject*)(Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5*)L_9))))
{
goto IL_0006;
}
}
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_remove_OnSpriteAssetRequest_mDA9E1F66F082FC479A3EF7D8E530317B38563870 (Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* V_0 = NULL;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* V_1 = NULL;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* V_2 = NULL;
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_0 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___OnSpriteAssetRequest_166;
V_0 = L_0;
}
IL_0006:
{
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_1 = V_0;
V_1 = L_1;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_2 = V_1;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_3 = ___value0;
Delegate_t* L_4;
L_4 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_2, L_3, NULL);
V_2 = ((Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5*)Castclass((RuntimeObject*)L_4, Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5_il2cpp_TypeInfo_var));
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_5 = V_2;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_6 = V_1;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_7;
L_7 = InterlockedCompareExchangeImpl<Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5*>((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___OnSpriteAssetRequest_166), L_5, L_6);
V_0 = L_7;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_8 = V_0;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_9 = V_1;
if ((!(((RuntimeObject*)(Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5*)L_8) == ((RuntimeObject*)(Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5*)L_9))))
{
goto IL_0006;
}
}
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_add_OnPreRenderText_m52F3DEA8A022AFA077BB776BB59734B1C9D5D9CA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* V_0 = NULL;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* V_1 = NULL;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* V_2 = NULL;
{
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_0 = __this->___OnPreRenderText_167;
V_0 = L_0;
}
IL_0007:
{
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_1 = V_0;
V_1 = L_1;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_2 = V_1;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_3 = ___value0;
Delegate_t* L_4;
L_4 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_2, L_3, NULL);
V_2 = ((Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1*)Castclass((RuntimeObject*)L_4, Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1_il2cpp_TypeInfo_var));
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1** L_5 = (&__this->___OnPreRenderText_167);
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_6 = V_2;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_7 = V_1;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_8;
L_8 = InterlockedCompareExchangeImpl<Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1*>(L_5, L_6, L_7);
V_0 = L_8;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_9 = V_0;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_10 = V_1;
if ((!(((RuntimeObject*)(Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1*)L_9) == ((RuntimeObject*)(Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1*)L_10))))
{
goto IL_0007;
}
}
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_remove_OnPreRenderText_mB46FBE276D13CB41194906F9FF92EDE25D7641BA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* V_0 = NULL;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* V_1 = NULL;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* V_2 = NULL;
{
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_0 = __this->___OnPreRenderText_167;
V_0 = L_0;
}
IL_0007:
{
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_1 = V_0;
V_1 = L_1;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_2 = V_1;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_3 = ___value0;
Delegate_t* L_4;
L_4 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_2, L_3, NULL);
V_2 = ((Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1*)Castclass((RuntimeObject*)L_4, Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1_il2cpp_TypeInfo_var));
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1** L_5 = (&__this->___OnPreRenderText_167);
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_6 = V_2;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_7 = V_1;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_8;
L_8 = InterlockedCompareExchangeImpl<Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1*>(L_5, L_6, L_7);
V_0 = L_8;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_9 = V_0;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_10 = V_1;
if ((!(((RuntimeObject*)(Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1*)L_9) == ((RuntimeObject*)(Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1*)L_10))))
{
goto IL_0007;
}
}
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* TMP_Text_get_spriteAnimator_m3DB8B24C845D9BE3C1E117F39DE45F202D7F9321 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisTMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4_mE172CE27F16AA0850E9A2EC698627142A829F7CC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4_m172B07FA426C5BF7CCB660139D956232A762DC1B_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* V_2 = NULL;
{
TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* L_0 = __this->___m_spriteAnimator_168;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0040;
}
}
{
TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* L_3;
L_3 = Component_GetComponent_TisTMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4_mE172CE27F16AA0850E9A2EC698627142A829F7CC(__this, Component_GetComponent_TisTMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4_mE172CE27F16AA0850E9A2EC698627142A829F7CC_RuntimeMethod_var);
__this->___m_spriteAnimator_168 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_spriteAnimator_168), (void*)L_3);
TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* L_4 = __this->___m_spriteAnimator_168;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_5;
L_5 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_4, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_1 = L_5;
bool L_6 = V_1;
if (!L_6)
{
goto IL_003f;
}
}
{
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_7;
L_7 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
NullCheck(L_7);
TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* L_8;
L_8 = GameObject_AddComponent_TisTMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4_m172B07FA426C5BF7CCB660139D956232A762DC1B(L_7, GameObject_AddComponent_TisTMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4_m172B07FA426C5BF7CCB660139D956232A762DC1B_RuntimeMethod_var);
__this->___m_spriteAnimator_168 = L_8;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_spriteAnimator_168), (void*)L_8);
}
IL_003f:
{
}
IL_0040:
{
TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* L_9 = __this->___m_spriteAnimator_168;
V_2 = L_9;
goto IL_0049;
}
IL_0049:
{
TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* L_10 = V_2;
return L_10;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_flexibleHeight_m810BADBB953332F1112BEDA609F0D2D899E75347 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_flexibleHeight_169;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_flexibleWidth_mAE1FB54D0F3EB910F566B87871BB7CCE5B3250D7 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_flexibleWidth_170;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_minWidth_m6FDD2AE333AC038F0ADB47FE30AF428A44160B03 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_minWidth_171;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_minHeight_m54FCFDDB577882C173B9677008A2B97E92533AC7 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_minHeight_172;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_maxWidth_mA2913A569850C5B0186FFC02EBD9B17D7E4123D9 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_maxWidth_173;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_maxHeight_m5673CE516B95A7268D1DD29CB14F26EB443688C2 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___m_maxHeight_174;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A* TMP_Text_get_layoutElement_m6D5276FEE925F3E8CA6DD4C554F8BE1A88A5E6E6 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisLayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A_mBEDAB0EBAEF4ADA5377B97FC2318DE8020F2D639_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A* V_1 = NULL;
{
LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A* L_0 = __this->___m_LayoutElement_175;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_001f;
}
}
{
LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A* L_3;
L_3 = Component_GetComponent_TisLayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A_mBEDAB0EBAEF4ADA5377B97FC2318DE8020F2D639(__this, Component_GetComponent_TisLayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A_mBEDAB0EBAEF4ADA5377B97FC2318DE8020F2D639_RuntimeMethod_var);
__this->___m_LayoutElement_175 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_LayoutElement_175), (void*)L_3);
}
IL_001f:
{
LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A* L_4 = __this->___m_LayoutElement_175;
V_1 = L_4;
goto IL_0028;
}
IL_0028:
{
LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A* L_5 = V_1;
return L_5;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_preferredWidth_mE30D1F5B8573BD0A558054D004A53DE868BD208A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0;
L_0 = TMP_Text_GetPreferredWidth_m0478A5C6B1B1C3A4A64C5BF89401B2A33A192F5C(__this, NULL);
__this->___m_preferredWidth_176 = L_0;
float L_1 = __this->___m_preferredWidth_176;
V_0 = L_1;
goto IL_0016;
}
IL_0016:
{
float L_2 = V_0;
return L_2;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_preferredHeight_m4F28E8FB388AFF1DC052F5F982DB2F959598B004 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0;
L_0 = TMP_Text_GetPreferredHeight_mD8B87C32069B477E010E30D33CB616854CE708B4(__this, NULL);
__this->___m_preferredHeight_179 = L_0;
float L_1 = __this->___m_preferredHeight_179;
V_0 = L_1;
goto IL_0016;
}
IL_0016:
{
float L_2 = V_0;
return L_2;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_renderedWidth_m61F93CE4B988DBCF6332EE731223AF0F72471146 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0;
L_0 = TMP_Text_GetRenderedWidth_mCCCE790E25FD4C17B55DBE153663D8024B458EDF(__this, NULL);
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_get_renderedHeight_mD905DB93B2634BB5EE481C1F71D2CAFCEF5C738D (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0;
L_0 = TMP_Text_GetRenderedHeight_m7BEF1FB09209779C3D70185491FBC6E90A71214C(__this, NULL);
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
float L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_get_layoutPriority_m6D8DF0CCD8515FFCFA3B74F7946B32072B8EC596 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->___m_layoutPriority_183;
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
int32_t L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_LoadFontAsset_m3E175C3A91E04695300603D04F10E6432C1D870C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetSharedMaterial_m2BC9A6E29786D4221CA8086F199B54691DAF0569 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___mat0, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* TMP_Text_GetMaterial_mF58308E4AA9C3F7448FF976710B9206C066C5406 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___mat0, const RuntimeMethod* method)
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* V_0 = NULL;
{
V_0 = (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3*)NULL;
goto IL_0005;
}
IL_0005:
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = V_0;
return L_0;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetFontBaseMaterial_m6E38354D0E49FAE5EBD408A22F92236C1D68E33F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___mat0, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* TMP_Text_GetSharedMaterials_m5C748AC07C4282734F6D4C553769BFE3B63F21B5 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* V_0 = NULL;
{
V_0 = (MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D*)NULL;
goto IL_0005;
}
IL_0005:
{
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* L_0 = V_0;
return L_0;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetSharedMaterials_m3D152FA115539A0362D44135EE48BCAAFB56F2D6 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* ___materials0, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* TMP_Text_GetMaterials_mA3F8E1546BE9C5D84DC349A8B1739DB1D16F0679 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* ___mats0, const RuntimeMethod* method)
{
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* V_0 = NULL;
{
V_0 = (MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D*)NULL;
goto IL_0005;
}
IL_0005:
{
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* L_0 = V_0;
return L_0;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* TMP_Text_CreateMaterialInstance_m201B4389FB351E5316ACA573F4593EA5F44D1D0A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___source0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA7D55861F3D2688D8F40C14691D660661CBD2B27);
s_Il2CppMethodInitialized = true;
}
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* V_0 = NULL;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* V_1 = NULL;
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = ___source0;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1 = (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3*)il2cpp_codegen_object_new(Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var);
Material__ctor_mFCC42FB90257F1E8F7516A8640A79C465A39961C(L_1, L_0, NULL);
V_0 = L_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_2 = V_0;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = ___source0;
NullCheck(L_3);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_4;
L_4 = Material_get_shaderKeywords_m11982F09EED6BB0A892342E1A72AEA470C44B105(L_3, NULL);
NullCheck(L_2);
Material_set_shaderKeywords_mD650CF82B2DBB75F001E373E2E1ACA30876F3AB8(L_2, L_4, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_5 = V_0;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_6 = L_5;
NullCheck(L_6);
String_t* L_7;
L_7 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_6, NULL);
String_t* L_8;
L_8 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_7, _stringLiteralA7D55861F3D2688D8F40C14691D660661CBD2B27, NULL);
NullCheck(L_6);
Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47(L_6, L_8, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_9 = V_0;
V_1 = L_9;
goto IL_0030;
}
IL_0030:
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_10 = V_1;
return L_10;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetVertexColorGradient_m35E9AB171BCC614A2989143F329C96BD3E914151 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* ___gradient0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_0 = ___gradient0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_000e;
}
}
{
goto IL_0059;
}
IL_000e:
{
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* L_3 = (&__this->___m_fontColorGradient_62);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_4 = ___gradient0;
NullCheck(L_4);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_5 = L_4->___bottomLeft_7;
L_3->___bottomLeft_2 = L_5;
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* L_6 = (&__this->___m_fontColorGradient_62);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_7 = ___gradient0;
NullCheck(L_7);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_8 = L_7->___bottomRight_8;
L_6->___bottomRight_3 = L_8;
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* L_9 = (&__this->___m_fontColorGradient_62);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_10 = ___gradient0;
NullCheck(L_10);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_11 = L_10->___topLeft_5;
L_9->___topLeft_0 = L_11;
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* L_12 = (&__this->___m_fontColorGradient_62);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_13 = ___gradient0;
NullCheck(L_13);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_14 = L_13->___topRight_6;
L_12->___topRight_1 = L_14;
VirtualActionInvoker0::Invoke(28, __this);
}
IL_0059:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetTextSortingOrder_m5E42564CFECE090388DE121858E94CC8903F4402 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___order0, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetTextSortingOrder_m17CA540342EAA44144E32829D672161E6C6F425B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___order0, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetFaceColor_m865370BB950DE1BE4111341536AE062C046E5FDC (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color0, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetOutlineColor_m22F952AFBAE8CE4564B02F573BEB9FDC30705555 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color0, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetOutlineThickness_m2CBC33AAA504B07B48DFE771986230C772FE605C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___thickness0, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetShaderDepth_mB508746026A248495C693EC1039E3A562D8A704E (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetCulling_mEC62FDEFC0E222313165637A26D700C29DAE389D (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_UpdateCulling_mFB9FD3AF46C9222182056C808198BEDB8810C82F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetPaddingForMaterial_m381ACEBE9696389001F7853D821FECC4E83A2111 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
float V_1 = 0.0f;
{
il2cpp_codegen_runtime_class_init_inline(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
ShaderUtilities_GetShaderPropertyIDs_m3EE2D3D2A31C57AE418FCC0782D0CC9D2FBD0A65(NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = __this->___m_sharedMaterial_45;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_001f;
}
}
{
V_1 = (0.0f);
goto IL_006c;
}
IL_001f:
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = __this->___m_sharedMaterial_45;
bool L_4 = __this->___m_enableExtraPadding_124;
bool L_5 = __this->___m_isUsingBold_93;
il2cpp_codegen_runtime_class_init_inline(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
float L_6;
L_6 = ShaderUtilities_GetPadding_mACB25967DE353794970CEC89362214C3F65341FA(L_3, L_4, L_5, NULL);
__this->___m_padding_243 = L_6;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_7 = __this->___m_sharedMaterial_45;
bool L_8;
L_8 = ShaderUtilities_IsMaskingEnabled_mC2C8788713E32E1ECB8D2ED17F5FE3335F4FA723(L_7, NULL);
__this->___m_isMaskingEnabled_131 = L_8;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_9 = __this->___m_sharedMaterial_45;
int32_t L_10 = ((ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_StaticFields*)il2cpp_codegen_static_fields_for(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var))->___ID_WeightNormal_12;
NullCheck(L_9);
bool L_11;
L_11 = Material_HasProperty_m52E2D3BC3049B8B228149E023CD73C34B05A5222(L_9, L_10, NULL);
__this->___m_isSDFShader_44 = L_11;
float L_12 = __this->___m_padding_243;
V_1 = L_12;
goto IL_006c;
}
IL_006c:
{
float L_13 = V_1;
return L_13;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetPaddingForMaterial_m5FB68F03D16813FCFC20F70ACC50DBAFEB420196 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___mat0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
float V_1 = 0.0f;
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = ___mat0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0014;
}
}
{
V_1 = (0.0f);
goto IL_0057;
}
IL_0014:
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = ___mat0;
bool L_4 = __this->___m_enableExtraPadding_124;
bool L_5 = __this->___m_isUsingBold_93;
il2cpp_codegen_runtime_class_init_inline(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
float L_6;
L_6 = ShaderUtilities_GetPadding_mACB25967DE353794970CEC89362214C3F65341FA(L_3, L_4, L_5, NULL);
__this->___m_padding_243 = L_6;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_7 = __this->___m_sharedMaterial_45;
bool L_8;
L_8 = ShaderUtilities_IsMaskingEnabled_mC2C8788713E32E1ECB8D2ED17F5FE3335F4FA723(L_7, NULL);
__this->___m_isMaskingEnabled_131 = L_8;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_9 = ___mat0;
int32_t L_10 = ((ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_StaticFields*)il2cpp_codegen_static_fields_for(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var))->___ID_WeightNormal_12;
NullCheck(L_9);
bool L_11;
L_11 = Material_HasProperty_m52E2D3BC3049B8B228149E023CD73C34B05A5222(L_9, L_10, NULL);
__this->___m_isSDFShader_44 = L_11;
float L_12 = __this->___m_padding_243;
V_1 = L_12;
goto IL_0057;
}
IL_0057:
{
float L_13 = V_1;
return L_13;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* TMP_Text_GetTextContainerLocalCorners_m588C57396E94A4BD6B1311542E985E6587665845 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_0 = NULL;
{
V_0 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)NULL;
goto IL_0005;
}
IL_0005:
{
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_0 = V_0;
return L_0;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ForceMeshUpdate_mFEB0D607572734B168FCD4954BB2F32F9CE0AE7E (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___ignoreActiveState0, bool ___forceTextReparsing1, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_UpdateGeometry_m2FA2F775454629B5ED0CF4B8E089D48B8B1A31DA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___mesh0, int32_t ___index1, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_UpdateVertexData_m2E77B6DA477425BFDA2661C6BD71E65E42CA3A98 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___flags0, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_UpdateVertexData_m79089A6FF3818129609C9ACF34D79232FA4C5493 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetVertices_mB1F51FB2B5247428AB1A302488BAFDCED686C0C1 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___vertices0, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_UpdateMeshPadding_m1B9F1E66E3B3E3C305567E412328865A083CD430 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_CrossFadeColor_mAB054E0720A156FC584B2D71878F6C24160FC07C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___targetColor0, float ___duration1, bool ___ignoreTimeScale2, bool ___useAlpha3, const RuntimeMethod* method)
{
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0 = ___targetColor0;
float L_1 = ___duration1;
bool L_2 = ___ignoreTimeScale2;
bool L_3 = ___useAlpha3;
Graphic_CrossFadeColor_m6BF11EA2B9F62DF8D9421292EF974D7D548829C5(__this, L_0, L_1, L_2, L_3, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_4 = ___targetColor0;
float L_5 = ___duration1;
bool L_6 = ___ignoreTimeScale2;
bool L_7 = ___useAlpha3;
VirtualActionInvoker4< Color_tD001788D726C3A7F1379BEED0260B9591F440C1F, float, bool, bool >::Invoke(112, __this, L_4, L_5, L_6, L_7);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_CrossFadeAlpha_mF4C9347458127DBC88C015AF4872486B7AB2E86E (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___alpha0, float ___duration1, bool ___ignoreTimeScale2, const RuntimeMethod* method)
{
{
float L_0 = ___alpha0;
float L_1 = ___duration1;
bool L_2 = ___ignoreTimeScale2;
Graphic_CrossFadeAlpha_mB3D045B48E9DDE6CE23F4368B875F1307765B192(__this, L_0, L_1, L_2, NULL);
float L_3 = ___alpha0;
float L_4 = ___duration1;
bool L_5 = ___ignoreTimeScale2;
VirtualActionInvoker3< float, float, bool >::Invoke(113, __this, L_3, L_4, L_5);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_InternalCrossFadeColor_m217E640043CBDE6D81B948B138D5C9AB9B33CF71 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___targetColor0, float ___duration1, bool ___ignoreTimeScale2, bool ___useAlpha3, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_InternalCrossFadeAlpha_m2E502349E3F0991FFA5D6D19FC6E14E3E9F89B53 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___alpha0, float ___duration1, bool ___ignoreTimeScale2, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ParseInputText_m3B4CF13CC0BF8E8A2B3980BD191A3B2FA421E36C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITextPreprocessor_tDBB49C8B68D7B80E8D233B9D9666C43981EFAAB9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B4_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B3_0 = NULL;
String_t* G_B5_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B5_1 = NULL;
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
ProfilerMarker_Begin_mD07DB736ADA7D8BAF9D969CC7F3C55848A218C6E_inline((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_ParseTextMarker_256), NULL);
int32_t L_0 = __this->___m_inputSource_187;
V_1 = L_0;
int32_t L_1 = V_1;
V_0 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_002d;
}
case 1:
{
goto IL_005e;
}
case 2:
{
goto IL_0060;
}
case 3:
{
goto IL_002d;
}
}
}
{
goto IL_0062;
}
IL_002d:
{
RuntimeObject* L_3 = __this->___m_TextPreprocessor_40;
if (!L_3)
{
G_B4_0 = __this;
goto IL_0049;
}
G_B3_0 = __this;
}
{
RuntimeObject* L_4 = __this->___m_TextPreprocessor_40;
String_t* L_5 = __this->___m_text_38;
NullCheck(L_4);
String_t* L_6;
L_6 = InterfaceFuncInvoker1< String_t*, String_t* >::Invoke(0, ITextPreprocessor_tDBB49C8B68D7B80E8D233B9D9666C43981EFAAB9_il2cpp_TypeInfo_var, L_4, L_5);
G_B5_0 = L_6;
G_B5_1 = G_B3_0;
goto IL_004f;
}
IL_0049:
{
String_t* L_7 = __this->___m_text_38;
G_B5_0 = L_7;
G_B5_1 = G_B4_0;
}
IL_004f:
{
NullCheck(G_B5_1);
TMP_Text_PopulateTextBackingArray_mFD376BD29DBC5157116653E031FA2BB8AD85CB8B(G_B5_1, G_B5_0, NULL);
TMP_Text_PopulateTextProcessingArray_m2D1F8D3CAE8F1F29242547BCCC91D1226FA9A6F0(__this, NULL);
goto IL_0062;
}
IL_005e:
{
goto IL_0062;
}
IL_0060:
{
goto IL_0062;
}
IL_0062:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_8 = __this->___m_TextProcessingArray_199;
int32_t L_9;
L_9 = VirtualFuncInvoker1< int32_t, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* >::Invoke(114, __this, L_8);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
ProfilerMarker_End_m025AE3EF0F96F6DADC53489A53FC6EE65073DE60_inline((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_ParseTextMarker_256), NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_PopulateTextBackingArray_mFD376BD29DBC5157116653E031FA2BB8AD85CB8B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B3_0 = 0;
{
String_t* L_0 = ___sourceText0;
if (!L_0)
{
goto IL_000c;
}
}
{
String_t* L_1 = ___sourceText0;
NullCheck(L_1);
int32_t L_2;
L_2 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_1, NULL);
G_B3_0 = L_2;
goto IL_000d;
}
IL_000c:
{
G_B3_0 = 0;
}
IL_000d:
{
V_0 = G_B3_0;
String_t* L_3 = ___sourceText0;
int32_t L_4 = V_0;
TMP_Text_PopulateTextBackingArray_mDAFAFBA1D6EF883BBA870BEC34F4AFC52A8D4799(__this, L_3, 0, L_4, NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_PopulateTextBackingArray_mDAFAFBA1D6EF883BBA870BEC34F4AFC52A8D4799 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
int32_t G_B4_0 = 0;
int32_t G_B4_1 = 0;
int32_t G_B3_0 = 0;
int32_t G_B3_1 = 0;
int32_t G_B5_0 = 0;
int32_t G_B5_1 = 0;
int32_t G_B5_2 = 0;
{
V_1 = 0;
String_t* L_0 = ___sourceText0;
V_3 = (bool)((((RuntimeObject*)(String_t*)L_0) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_1 = V_3;
if (!L_1)
{
goto IL_0014;
}
}
{
V_0 = 0;
___length2 = 0;
goto IL_0043;
}
IL_0014:
{
int32_t L_2 = ___start1;
String_t* L_3 = ___sourceText0;
NullCheck(L_3);
int32_t L_4;
L_4 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_3, NULL);
int32_t L_5;
L_5 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(L_2, 0, L_4, NULL);
V_0 = L_5;
int32_t L_6 = ___length2;
int32_t L_7 = ___start1;
int32_t L_8 = ___length2;
String_t* L_9 = ___sourceText0;
NullCheck(L_9);
int32_t L_10;
L_10 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_9, NULL);
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_7, L_8))) < ((int32_t)L_10)))
{
G_B4_0 = 0;
G_B4_1 = L_6;
goto IL_003a;
}
G_B3_0 = 0;
G_B3_1 = L_6;
}
{
String_t* L_11 = ___sourceText0;
NullCheck(L_11);
int32_t L_12;
L_12 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_11, NULL);
int32_t L_13 = ___start1;
G_B5_0 = ((int32_t)il2cpp_codegen_subtract(L_12, L_13));
G_B5_1 = G_B3_0;
G_B5_2 = G_B3_1;
goto IL_003b;
}
IL_003a:
{
int32_t L_14 = ___length2;
G_B5_0 = L_14;
G_B5_1 = G_B4_0;
G_B5_2 = G_B4_1;
}
IL_003b:
{
int32_t L_15;
L_15 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(G_B5_2, G_B5_1, G_B5_0, NULL);
___length2 = L_15;
}
IL_0043:
{
int32_t L_16 = ___length2;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_17 = (&__this->___m_TextBackingArray_259);
int32_t L_18;
L_18 = TextBackingContainer_get_Capacity_m314198D61452DF6CAB895C2BF8D1C0829C579F9C(L_17, NULL);
V_4 = (bool)((((int32_t)((((int32_t)L_16) < ((int32_t)L_18))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_19 = V_4;
if (!L_19)
{
goto IL_0067;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_20 = (&__this->___m_TextBackingArray_259);
int32_t L_21 = ___length2;
TextBackingContainer_Resize_m669CEE085664D77F581761A5888EEF20E095F752(L_20, L_21, NULL);
}
IL_0067:
{
int32_t L_22 = V_0;
int32_t L_23 = ___length2;
V_2 = ((int32_t)il2cpp_codegen_add(L_22, L_23));
goto IL_008b;
}
IL_006d:
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_24 = (&__this->___m_TextBackingArray_259);
int32_t L_25 = V_1;
String_t* L_26 = ___sourceText0;
int32_t L_27 = V_0;
NullCheck(L_26);
Il2CppChar L_28;
L_28 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_26, L_27, NULL);
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_24, L_25, L_28, NULL);
int32_t L_29 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_29, 1));
int32_t L_30 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_30, 1));
}
IL_008b:
{
int32_t L_31 = V_0;
int32_t L_32 = V_2;
V_5 = (bool)((((int32_t)L_31) < ((int32_t)L_32))? 1 : 0);
bool L_33 = V_5;
if (L_33)
{
goto IL_006d;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_34 = (&__this->___m_TextBackingArray_259);
int32_t L_35 = V_1;
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_34, L_35, 0, NULL);
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_36 = (&__this->___m_TextBackingArray_259);
int32_t L_37 = V_1;
TextBackingContainer_set_Count_m3833989ADDB6C436DFB7A8979080FF5F2A411F19(L_36, L_37, NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_PopulateTextBackingArray_m2DD1214AFFFF0214596222BCC5B759D0F8D48557 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, StringBuilder_t* ___sourceText0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
int32_t G_B4_0 = 0;
int32_t G_B4_1 = 0;
int32_t G_B3_0 = 0;
int32_t G_B3_1 = 0;
int32_t G_B5_0 = 0;
int32_t G_B5_1 = 0;
int32_t G_B5_2 = 0;
{
V_1 = 0;
StringBuilder_t* L_0 = ___sourceText0;
V_3 = (bool)((((RuntimeObject*)(StringBuilder_t*)L_0) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_1 = V_3;
if (!L_1)
{
goto IL_0014;
}
}
{
V_0 = 0;
___length2 = 0;
goto IL_0043;
}
IL_0014:
{
int32_t L_2 = ___start1;
StringBuilder_t* L_3 = ___sourceText0;
NullCheck(L_3);
int32_t L_4;
L_4 = StringBuilder_get_Length_mDEA041E7357C68CC3B5885276BB403676DAAE0D8(L_3, NULL);
int32_t L_5;
L_5 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(L_2, 0, L_4, NULL);
V_0 = L_5;
int32_t L_6 = ___length2;
int32_t L_7 = ___start1;
int32_t L_8 = ___length2;
StringBuilder_t* L_9 = ___sourceText0;
NullCheck(L_9);
int32_t L_10;
L_10 = StringBuilder_get_Length_mDEA041E7357C68CC3B5885276BB403676DAAE0D8(L_9, NULL);
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_7, L_8))) < ((int32_t)L_10)))
{
G_B4_0 = 0;
G_B4_1 = L_6;
goto IL_003a;
}
G_B3_0 = 0;
G_B3_1 = L_6;
}
{
StringBuilder_t* L_11 = ___sourceText0;
NullCheck(L_11);
int32_t L_12;
L_12 = StringBuilder_get_Length_mDEA041E7357C68CC3B5885276BB403676DAAE0D8(L_11, NULL);
int32_t L_13 = ___start1;
G_B5_0 = ((int32_t)il2cpp_codegen_subtract(L_12, L_13));
G_B5_1 = G_B3_0;
G_B5_2 = G_B3_1;
goto IL_003b;
}
IL_003a:
{
int32_t L_14 = ___length2;
G_B5_0 = L_14;
G_B5_1 = G_B4_0;
G_B5_2 = G_B4_1;
}
IL_003b:
{
int32_t L_15;
L_15 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(G_B5_2, G_B5_1, G_B5_0, NULL);
___length2 = L_15;
}
IL_0043:
{
int32_t L_16 = ___length2;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_17 = (&__this->___m_TextBackingArray_259);
int32_t L_18;
L_18 = TextBackingContainer_get_Capacity_m314198D61452DF6CAB895C2BF8D1C0829C579F9C(L_17, NULL);
V_4 = (bool)((((int32_t)((((int32_t)L_16) < ((int32_t)L_18))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_19 = V_4;
if (!L_19)
{
goto IL_0067;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_20 = (&__this->___m_TextBackingArray_259);
int32_t L_21 = ___length2;
TextBackingContainer_Resize_m669CEE085664D77F581761A5888EEF20E095F752(L_20, L_21, NULL);
}
IL_0067:
{
int32_t L_22 = V_0;
int32_t L_23 = ___length2;
V_2 = ((int32_t)il2cpp_codegen_add(L_22, L_23));
goto IL_008b;
}
IL_006d:
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_24 = (&__this->___m_TextBackingArray_259);
int32_t L_25 = V_1;
StringBuilder_t* L_26 = ___sourceText0;
int32_t L_27 = V_0;
NullCheck(L_26);
Il2CppChar L_28;
L_28 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_26, L_27, NULL);
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_24, L_25, L_28, NULL);
int32_t L_29 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_29, 1));
int32_t L_30 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_30, 1));
}
IL_008b:
{
int32_t L_31 = V_0;
int32_t L_32 = V_2;
V_5 = (bool)((((int32_t)L_31) < ((int32_t)L_32))? 1 : 0);
bool L_33 = V_5;
if (L_33)
{
goto IL_006d;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_34 = (&__this->___m_TextBackingArray_259);
int32_t L_35 = V_1;
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_34, L_35, 0, NULL);
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_36 = (&__this->___m_TextBackingArray_259);
int32_t L_37 = V_1;
TextBackingContainer_set_Count_m3833989ADDB6C436DFB7A8979080FF5F2A411F19(L_36, L_37, NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_PopulateTextBackingArray_mF50056377989BB902E9ECB7B8607BD5CAE2B9EC8 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___sourceText0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
int32_t G_B4_0 = 0;
int32_t G_B4_1 = 0;
int32_t G_B3_0 = 0;
int32_t G_B3_1 = 0;
int32_t G_B5_0 = 0;
int32_t G_B5_1 = 0;
int32_t G_B5_2 = 0;
{
V_1 = 0;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_0 = ___sourceText0;
V_3 = (bool)((((RuntimeObject*)(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)L_0) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_1 = V_3;
if (!L_1)
{
goto IL_0014;
}
}
{
V_0 = 0;
___length2 = 0;
goto IL_003a;
}
IL_0014:
{
int32_t L_2 = ___start1;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_3 = ___sourceText0;
NullCheck(L_3);
int32_t L_4;
L_4 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(L_2, 0, ((int32_t)(((RuntimeArray*)L_3)->max_length)), NULL);
V_0 = L_4;
int32_t L_5 = ___length2;
int32_t L_6 = ___start1;
int32_t L_7 = ___length2;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_8 = ___sourceText0;
NullCheck(L_8);
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_6, L_7))) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
{
G_B4_0 = 0;
G_B4_1 = L_5;
goto IL_0031;
}
G_B3_0 = 0;
G_B3_1 = L_5;
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_9 = ___sourceText0;
NullCheck(L_9);
int32_t L_10 = ___start1;
G_B5_0 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_9)->max_length)), L_10));
G_B5_1 = G_B3_0;
G_B5_2 = G_B3_1;
goto IL_0032;
}
IL_0031:
{
int32_t L_11 = ___length2;
G_B5_0 = L_11;
G_B5_1 = G_B4_0;
G_B5_2 = G_B4_1;
}
IL_0032:
{
int32_t L_12;
L_12 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(G_B5_2, G_B5_1, G_B5_0, NULL);
___length2 = L_12;
}
IL_003a:
{
int32_t L_13 = ___length2;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_14 = (&__this->___m_TextBackingArray_259);
int32_t L_15;
L_15 = TextBackingContainer_get_Capacity_m314198D61452DF6CAB895C2BF8D1C0829C579F9C(L_14, NULL);
V_4 = (bool)((((int32_t)((((int32_t)L_13) < ((int32_t)L_15))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_16 = V_4;
if (!L_16)
{
goto IL_005e;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_17 = (&__this->___m_TextBackingArray_259);
int32_t L_18 = ___length2;
TextBackingContainer_Resize_m669CEE085664D77F581761A5888EEF20E095F752(L_17, L_18, NULL);
}
IL_005e:
{
int32_t L_19 = V_0;
int32_t L_20 = ___length2;
V_2 = ((int32_t)il2cpp_codegen_add(L_19, L_20));
goto IL_007e;
}
IL_0064:
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_21 = (&__this->___m_TextBackingArray_259);
int32_t L_22 = V_1;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_23 = ___sourceText0;
int32_t L_24 = V_0;
NullCheck(L_23);
int32_t L_25 = L_24;
uint16_t L_26 = (uint16_t)(L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_21, L_22, L_26, NULL);
int32_t L_27 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_27, 1));
int32_t L_28 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_28, 1));
}
IL_007e:
{
int32_t L_29 = V_0;
int32_t L_30 = V_2;
V_5 = (bool)((((int32_t)L_29) < ((int32_t)L_30))? 1 : 0);
bool L_31 = V_5;
if (L_31)
{
goto IL_0064;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_32 = (&__this->___m_TextBackingArray_259);
int32_t L_33 = V_1;
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_32, L_33, 0, NULL);
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_34 = (&__this->___m_TextBackingArray_259);
int32_t L_35 = V_1;
TextBackingContainer_set_Count_m3833989ADDB6C436DFB7A8979080FF5F2A411F19(L_34, L_35, NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_PopulateTextProcessingArray_m2D1F8D3CAE8F1F29242547BCCC91D1226FA9A6F0 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextParsingUtilities_tF6AF6ED06ADFB8C71F4C1D713D677D821A1AB6FA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_SetDefault_m046571FFD5160F1760BCD9F5AF64A32EA75616E9_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_mF109948338BF79C7D60372B34ABBC90F8AA038FF_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
bool V_3 = false;
bool V_4 = false;
uint32_t V_5 = 0;
bool V_6 = false;
bool V_7 = false;
uint32_t V_8 = 0;
uint32_t V_9 = 0;
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;
bool V_22 = false;
bool V_23 = false;
bool V_24 = false;
bool V_25 = false;
bool V_26 = false;
bool V_27 = false;
int32_t V_28 = 0;
int32_t V_29 = 0;
int32_t V_30 = 0;
int32_t V_31 = 0;
int32_t V_32 = 0;
int32_t V_33 = 0;
bool V_34 = false;
bool V_35 = false;
bool V_36 = false;
bool V_37 = false;
bool V_38 = false;
bool V_39 = false;
bool V_40 = false;
bool V_41 = false;
bool V_42 = false;
bool V_43 = false;
int32_t G_B11_0 = 0;
int32_t G_B62_0 = 0;
int32_t G_B69_0 = 0;
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_0 = (&__this->___m_TextBackingArray_259);
int32_t L_1;
L_1 = TextBackingContainer_get_Count_mA4E440D40E9EECB361CE4697B11F9B017B19E0C1(L_0, NULL);
V_0 = L_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_2 = __this->___m_TextProcessingArray_199;
NullCheck(L_2);
int32_t L_3 = V_0;
V_3 = (bool)((((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length))) < ((int32_t)L_3))? 1 : 0);
bool L_4 = V_3;
if (!L_4)
{
goto IL_002a;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_5 = (&__this->___m_TextProcessingArray_199);
int32_t L_6 = V_0;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_mF109948338BF79C7D60372B34ABBC90F8AA038FF(__this, L_5, L_6, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_mF109948338BF79C7D60372B34ABBC90F8AA038FF_RuntimeMethod_var);
}
IL_002a:
{
TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2* L_7 = __this->___m_TextStyleStacks_238;
TMP_TextProcessingStack_1_SetDefault_m046571FFD5160F1760BCD9F5AF64A32EA75616E9(L_7, 0, TMP_TextProcessingStack_1_SetDefault_m046571FFD5160F1760BCD9F5AF64A32EA75616E9_RuntimeMethod_var);
__this->___m_TextStyleStackDepth_239 = 0;
V_1 = 0;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_8;
L_8 = TMP_Text_get_textStyle_m18773DC7DEFAA035C8D86475294AD3C0DDB52603(__this, NULL);
NullCheck(L_8);
int32_t L_9;
L_9 = TMP_Style_get_hashCode_m19EC41583BBC799AC118324ED1A0405E26990E85(L_8, NULL);
V_4 = (bool)((((int32_t)((((int32_t)L_9) == ((int32_t)((int32_t)-1183493901)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_10 = V_4;
if (!L_10)
{
goto IL_0071;
}
}
{
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_11 = __this->___m_TextStyle_69;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_12 = (&__this->___m_TextProcessingArray_199);
bool L_13;
L_13 = TMP_Text_InsertOpeningStyleTag_m7194E079B8619F42CF27B3AB2A9B0A9FE2AB14BC(__this, L_11, 0, L_12, (&V_1), NULL);
}
IL_0071:
{
V_2 = 0;
goto IL_0866;
}
IL_0078:
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_14 = (&__this->___m_TextBackingArray_259);
int32_t L_15 = V_2;
uint32_t L_16;
L_16 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_14, L_15, NULL);
V_5 = L_16;
uint32_t L_17 = V_5;
V_6 = (bool)((((int32_t)L_17) == ((int32_t)0))? 1 : 0);
bool L_18 = V_6;
if (!L_18)
{
goto IL_0097;
}
}
{
goto IL_0873;
}
IL_0097:
{
int32_t L_19 = __this->___m_inputSource_187;
if (L_19)
{
goto IL_00ad;
}
}
{
uint32_t L_20 = V_5;
if ((!(((uint32_t)L_20) == ((uint32_t)((int32_t)92)))))
{
goto IL_00ad;
}
}
{
int32_t L_21 = V_2;
int32_t L_22 = V_0;
G_B11_0 = ((((int32_t)L_21) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_22, 1))))? 1 : 0);
goto IL_00ae;
}
IL_00ad:
{
G_B11_0 = 0;
}
IL_00ae:
{
V_7 = (bool)G_B11_0;
bool L_23 = V_7;
if (!L_23)
{
goto IL_04ce;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_24 = (&__this->___m_TextBackingArray_259);
int32_t L_25 = V_2;
uint32_t L_26;
L_26 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_24, ((int32_t)il2cpp_codegen_add(L_25, 1)), NULL);
V_9 = L_26;
uint32_t L_27 = V_9;
V_8 = L_27;
uint32_t L_28 = V_8;
if ((((int32_t)L_28) == ((int32_t)((int32_t)85))))
{
goto IL_044c;
}
}
{
goto IL_00d7;
}
IL_00d7:
{
uint32_t L_29 = V_8;
if ((((int32_t)L_29) == ((int32_t)((int32_t)92))))
{
goto IL_0112;
}
}
{
goto IL_00df;
}
IL_00df:
{
uint32_t L_30 = V_8;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_30, ((int32_t)110))))
{
case 0:
{
goto IL_01f3;
}
case 1:
{
goto IL_04cd;
}
case 2:
{
goto IL_04cd;
}
case 3:
{
goto IL_04cd;
}
case 4:
{
goto IL_0269;
}
case 5:
{
goto IL_04cd;
}
case 6:
{
goto IL_02df;
}
case 7:
{
goto IL_03cb;
}
case 8:
{
goto IL_0355;
}
}
}
{
goto IL_04cd;
}
IL_0112:
{
bool L_31 = __this->___m_parseCtrlCharacters_127;
V_10 = (bool)((((int32_t)L_31) == ((int32_t)0))? 1 : 0);
bool L_32 = V_10;
if (!L_32)
{
goto IL_0126;
}
}
{
goto IL_04cd;
}
IL_0126:
{
int32_t L_33 = V_0;
int32_t L_34 = V_2;
V_11 = (bool)((((int32_t)((((int32_t)L_33) > ((int32_t)((int32_t)il2cpp_codegen_add(L_34, 2))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_35 = V_11;
if (!L_35)
{
goto IL_013a;
}
}
{
goto IL_04cd;
}
IL_013a:
{
int32_t L_36 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_37 = __this->___m_TextProcessingArray_199;
NullCheck(L_37);
V_12 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_36, 2))) > ((int32_t)((int32_t)(((RuntimeArray*)L_37)->max_length))))? 1 : 0);
bool L_38 = V_12;
if (!L_38)
{
goto IL_015a;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_39 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_39, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_015a:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_40 = __this->___m_TextProcessingArray_199;
int32_t L_41 = V_1;
NullCheck(L_40);
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_42 = (&__this->___m_TextBackingArray_259);
int32_t L_43 = V_2;
uint32_t L_44;
L_44 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_42, ((int32_t)il2cpp_codegen_add(L_43, 1)), NULL);
((L_40)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_41)))->___unicode_0 = L_44;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_45 = __this->___m_TextProcessingArray_199;
int32_t L_46 = V_1;
NullCheck(L_45);
int32_t L_47 = V_2;
((L_45)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_46)))->___stringIndex_1 = L_47;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_48 = __this->___m_TextProcessingArray_199;
int32_t L_49 = V_1;
NullCheck(L_48);
((L_48)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_49)))->___length_2 = 1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_50 = __this->___m_TextProcessingArray_199;
int32_t L_51 = V_1;
NullCheck(L_50);
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_52 = (&__this->___m_TextBackingArray_259);
int32_t L_53 = V_2;
uint32_t L_54;
L_54 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_52, ((int32_t)il2cpp_codegen_add(L_53, 2)), NULL);
((L_50)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_51, 1)))))->___unicode_0 = L_54;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_55 = __this->___m_TextProcessingArray_199;
int32_t L_56 = V_1;
NullCheck(L_55);
int32_t L_57 = V_2;
((L_55)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_56, 1)))))->___stringIndex_1 = L_57;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_58 = __this->___m_TextProcessingArray_199;
int32_t L_59 = V_1;
NullCheck(L_58);
((L_58)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_59, 1)))))->___length_2 = 1;
int32_t L_60 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_60, 2));
int32_t L_61 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_61, 2));
goto IL_0862;
}
IL_01f3:
{
bool L_62 = __this->___m_parseCtrlCharacters_127;
V_13 = (bool)((((int32_t)L_62) == ((int32_t)0))? 1 : 0);
bool L_63 = V_13;
if (!L_63)
{
goto IL_0207;
}
}
{
goto IL_04cd;
}
IL_0207:
{
int32_t L_64 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_65 = __this->___m_TextProcessingArray_199;
NullCheck(L_65);
V_14 = (bool)((((int32_t)L_64) == ((int32_t)((int32_t)(((RuntimeArray*)L_65)->max_length))))? 1 : 0);
bool L_66 = V_14;
if (!L_66)
{
goto IL_0225;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_67 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_67, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0225:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_68 = __this->___m_TextProcessingArray_199;
int32_t L_69 = V_1;
NullCheck(L_68);
((L_68)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_69)))->___unicode_0 = ((int32_t)10);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_70 = __this->___m_TextProcessingArray_199;
int32_t L_71 = V_1;
NullCheck(L_70);
int32_t L_72 = V_2;
((L_70)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_71)))->___stringIndex_1 = L_72;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_73 = __this->___m_TextProcessingArray_199;
int32_t L_74 = V_1;
NullCheck(L_73);
((L_73)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_74)))->___length_2 = 1;
int32_t L_75 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_75, 1));
int32_t L_76 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_76, 1));
goto IL_0862;
}
IL_0269:
{
bool L_77 = __this->___m_parseCtrlCharacters_127;
V_15 = (bool)((((int32_t)L_77) == ((int32_t)0))? 1 : 0);
bool L_78 = V_15;
if (!L_78)
{
goto IL_027d;
}
}
{
goto IL_04cd;
}
IL_027d:
{
int32_t L_79 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_80 = __this->___m_TextProcessingArray_199;
NullCheck(L_80);
V_16 = (bool)((((int32_t)L_79) == ((int32_t)((int32_t)(((RuntimeArray*)L_80)->max_length))))? 1 : 0);
bool L_81 = V_16;
if (!L_81)
{
goto IL_029b;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_82 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_82, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_029b:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_83 = __this->___m_TextProcessingArray_199;
int32_t L_84 = V_1;
NullCheck(L_83);
((L_83)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_84)))->___unicode_0 = ((int32_t)13);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_85 = __this->___m_TextProcessingArray_199;
int32_t L_86 = V_1;
NullCheck(L_85);
int32_t L_87 = V_2;
((L_85)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_86)))->___stringIndex_1 = L_87;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_88 = __this->___m_TextProcessingArray_199;
int32_t L_89 = V_1;
NullCheck(L_88);
((L_88)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_89)))->___length_2 = 1;
int32_t L_90 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_90, 1));
int32_t L_91 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_91, 1));
goto IL_0862;
}
IL_02df:
{
bool L_92 = __this->___m_parseCtrlCharacters_127;
V_17 = (bool)((((int32_t)L_92) == ((int32_t)0))? 1 : 0);
bool L_93 = V_17;
if (!L_93)
{
goto IL_02f3;
}
}
{
goto IL_04cd;
}
IL_02f3:
{
int32_t L_94 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_95 = __this->___m_TextProcessingArray_199;
NullCheck(L_95);
V_18 = (bool)((((int32_t)L_94) == ((int32_t)((int32_t)(((RuntimeArray*)L_95)->max_length))))? 1 : 0);
bool L_96 = V_18;
if (!L_96)
{
goto IL_0311;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_97 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_97, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0311:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_98 = __this->___m_TextProcessingArray_199;
int32_t L_99 = V_1;
NullCheck(L_98);
((L_98)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_99)))->___unicode_0 = ((int32_t)9);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_100 = __this->___m_TextProcessingArray_199;
int32_t L_101 = V_1;
NullCheck(L_100);
int32_t L_102 = V_2;
((L_100)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_101)))->___stringIndex_1 = L_102;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_103 = __this->___m_TextProcessingArray_199;
int32_t L_104 = V_1;
NullCheck(L_103);
((L_103)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_104)))->___length_2 = 1;
int32_t L_105 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_105, 1));
int32_t L_106 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_106, 1));
goto IL_0862;
}
IL_0355:
{
bool L_107 = __this->___m_parseCtrlCharacters_127;
V_19 = (bool)((((int32_t)L_107) == ((int32_t)0))? 1 : 0);
bool L_108 = V_19;
if (!L_108)
{
goto IL_0369;
}
}
{
goto IL_04cd;
}
IL_0369:
{
int32_t L_109 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_110 = __this->___m_TextProcessingArray_199;
NullCheck(L_110);
V_20 = (bool)((((int32_t)L_109) == ((int32_t)((int32_t)(((RuntimeArray*)L_110)->max_length))))? 1 : 0);
bool L_111 = V_20;
if (!L_111)
{
goto IL_0387;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_112 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_112, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0387:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_113 = __this->___m_TextProcessingArray_199;
int32_t L_114 = V_1;
NullCheck(L_113);
((L_113)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_114)))->___unicode_0 = ((int32_t)11);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_115 = __this->___m_TextProcessingArray_199;
int32_t L_116 = V_1;
NullCheck(L_115);
int32_t L_117 = V_2;
((L_115)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_116)))->___stringIndex_1 = L_117;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_118 = __this->___m_TextProcessingArray_199;
int32_t L_119 = V_1;
NullCheck(L_118);
((L_118)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_119)))->___length_2 = 1;
int32_t L_120 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_120, 1));
int32_t L_121 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_121, 1));
goto IL_0862;
}
IL_03cb:
{
int32_t L_122 = V_0;
int32_t L_123 = V_2;
V_21 = (bool)((((int32_t)L_122) > ((int32_t)((int32_t)il2cpp_codegen_add(L_123, 5))))? 1 : 0);
bool L_124 = V_21;
if (!L_124)
{
goto IL_0447;
}
}
{
int32_t L_125 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_126 = __this->___m_TextProcessingArray_199;
NullCheck(L_126);
V_22 = (bool)((((int32_t)L_125) == ((int32_t)((int32_t)(((RuntimeArray*)L_126)->max_length))))? 1 : 0);
bool L_127 = V_22;
if (!L_127)
{
goto IL_03f6;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_128 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_128, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_03f6:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_129 = __this->___m_TextProcessingArray_199;
int32_t L_130 = V_1;
NullCheck(L_129);
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361 L_131 = __this->___m_TextBackingArray_259;
int32_t L_132 = V_2;
int32_t L_133;
L_133 = TMP_Text_GetUTF16_m6B311F8F9A6775761D65E56B3A14D4300694018C(__this, L_131, ((int32_t)il2cpp_codegen_add(L_132, 2)), NULL);
((L_129)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_130)))->___unicode_0 = L_133;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_134 = __this->___m_TextProcessingArray_199;
int32_t L_135 = V_1;
NullCheck(L_134);
int32_t L_136 = V_2;
((L_134)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_135)))->___stringIndex_1 = L_136;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_137 = __this->___m_TextProcessingArray_199;
int32_t L_138 = V_1;
NullCheck(L_137);
((L_137)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_138)))->___length_2 = 6;
int32_t L_139 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_139, 5));
int32_t L_140 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_140, 1));
goto IL_0862;
}
IL_0447:
{
goto IL_04cd;
}
IL_044c:
{
int32_t L_141 = V_0;
int32_t L_142 = V_2;
V_23 = (bool)((((int32_t)L_141) > ((int32_t)((int32_t)il2cpp_codegen_add(L_142, ((int32_t)9)))))? 1 : 0);
bool L_143 = V_23;
if (!L_143)
{
goto IL_04cb;
}
}
{
int32_t L_144 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_145 = __this->___m_TextProcessingArray_199;
NullCheck(L_145);
V_24 = (bool)((((int32_t)L_144) == ((int32_t)((int32_t)(((RuntimeArray*)L_145)->max_length))))? 1 : 0);
bool L_146 = V_24;
if (!L_146)
{
goto IL_0478;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_147 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_147, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0478:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_148 = __this->___m_TextProcessingArray_199;
int32_t L_149 = V_1;
NullCheck(L_148);
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361 L_150 = __this->___m_TextBackingArray_259;
int32_t L_151 = V_2;
int32_t L_152;
L_152 = TMP_Text_GetUTF32_m8969A7CF25219B3D95051380B0BF81E36515FA8B(__this, L_150, ((int32_t)il2cpp_codegen_add(L_151, 2)), NULL);
((L_148)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_149)))->___unicode_0 = L_152;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_153 = __this->___m_TextProcessingArray_199;
int32_t L_154 = V_1;
NullCheck(L_153);
int32_t L_155 = V_2;
((L_153)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_154)))->___stringIndex_1 = L_155;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_156 = __this->___m_TextProcessingArray_199;
int32_t L_157 = V_1;
NullCheck(L_156);
((L_156)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_157)))->___length_2 = ((int32_t)10);
int32_t L_158 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_158, ((int32_t)9)));
int32_t L_159 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_159, 1));
goto IL_0862;
}
IL_04cb:
{
goto IL_04cd;
}
IL_04cd:
{
}
IL_04ce:
{
uint32_t L_160 = V_5;
if ((!(((uint32_t)L_160) >= ((uint32_t)((int32_t)55296)))))
{
goto IL_0515;
}
}
{
uint32_t L_161 = V_5;
if ((!(((uint32_t)L_161) <= ((uint32_t)((int32_t)56319)))))
{
goto IL_0515;
}
}
{
int32_t L_162 = V_0;
int32_t L_163 = V_2;
if ((((int32_t)L_162) <= ((int32_t)((int32_t)il2cpp_codegen_add(L_163, 1)))))
{
goto IL_0515;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_164 = (&__this->___m_TextBackingArray_259);
int32_t L_165 = V_2;
uint32_t L_166;
L_166 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_164, ((int32_t)il2cpp_codegen_add(L_165, 1)), NULL);
if ((!(((uint32_t)L_166) >= ((uint32_t)((int32_t)56320)))))
{
goto IL_0515;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_167 = (&__this->___m_TextBackingArray_259);
int32_t L_168 = V_2;
uint32_t L_169;
L_169 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_167, ((int32_t)il2cpp_codegen_add(L_168, 1)), NULL);
G_B62_0 = ((((int32_t)((!(((uint32_t)L_169) <= ((uint32_t)((int32_t)57343))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0516;
}
IL_0515:
{
G_B62_0 = 0;
}
IL_0516:
{
V_25 = (bool)G_B62_0;
bool L_170 = V_25;
if (!L_170)
{
goto IL_0592;
}
}
{
int32_t L_171 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_172 = __this->___m_TextProcessingArray_199;
NullCheck(L_172);
V_26 = (bool)((((int32_t)L_171) == ((int32_t)((int32_t)(((RuntimeArray*)L_172)->max_length))))? 1 : 0);
bool L_173 = V_26;
if (!L_173)
{
goto IL_053b;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_174 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_174, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_053b:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_175 = __this->___m_TextProcessingArray_199;
int32_t L_176 = V_1;
NullCheck(L_175);
uint32_t L_177 = V_5;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_178 = (&__this->___m_TextBackingArray_259);
int32_t L_179 = V_2;
uint32_t L_180;
L_180 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_178, ((int32_t)il2cpp_codegen_add(L_179, 1)), NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_TextParsingUtilities_tF6AF6ED06ADFB8C71F4C1D713D677D821A1AB6FA_il2cpp_TypeInfo_var);
uint32_t L_181;
L_181 = TMP_TextParsingUtilities_ConvertToUTF32_m867CF53D1EEA890D5BF53B3D328398D60895E04B(L_177, L_180, NULL);
((L_175)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_176)))->___unicode_0 = L_181;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_182 = __this->___m_TextProcessingArray_199;
int32_t L_183 = V_1;
NullCheck(L_182);
int32_t L_184 = V_2;
((L_182)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_183)))->___stringIndex_1 = L_184;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_185 = __this->___m_TextProcessingArray_199;
int32_t L_186 = V_1;
NullCheck(L_185);
((L_185)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_186)))->___length_2 = 2;
int32_t L_187 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_187, 1));
int32_t L_188 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_188, 1));
goto IL_0862;
}
IL_0592:
{
uint32_t L_189 = V_5;
if ((!(((uint32_t)L_189) == ((uint32_t)((int32_t)60)))))
{
goto IL_05a0;
}
}
{
bool L_190 = __this->___m_isRichText_126;
G_B69_0 = ((int32_t)(L_190));
goto IL_05a1;
}
IL_05a0:
{
G_B69_0 = 0;
}
IL_05a1:
{
V_27 = (bool)G_B69_0;
bool L_191 = V_27;
if (!L_191)
{
goto IL_0808;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361 L_192 = __this->___m_TextBackingArray_259;
int32_t L_193 = V_2;
int32_t L_194;
L_194 = TMP_Text_GetMarkupTagHashCode_mF2C6D3C0D954B1B17F584758FFACAAFA270B37BA(__this, L_192, ((int32_t)il2cpp_codegen_add(L_193, 1)), NULL);
V_28 = L_194;
int32_t L_195 = V_28;
V_33 = L_195;
int32_t L_196 = V_33;
V_32 = L_196;
int32_t L_197 = V_32;
if ((((int32_t)L_197) > ((int32_t)((int32_t)2869039))))
{
goto IL_05e9;
}
}
{
int32_t L_198 = V_32;
if ((((int32_t)L_198) == ((int32_t)((int32_t)2256))))
{
goto IL_0616;
}
}
{
goto IL_05d8;
}
IL_05d8:
{
int32_t L_199 = V_32;
if ((((int32_t)L_199) == ((int32_t)((int32_t)2869039))))
{
goto IL_0678;
}
}
{
goto IL_0807;
}
IL_05e9:
{
int32_t L_200 = V_32;
if ((((int32_t)L_200) == ((int32_t)((int32_t)3288238))))
{
goto IL_06dd;
}
}
{
goto IL_05f7;
}
IL_05f7:
{
int32_t L_201 = V_32;
if ((((int32_t)L_201) == ((int32_t)((int32_t)100252951))))
{
goto IL_0742;
}
}
{
goto IL_0605;
}
IL_0605:
{
int32_t L_202 = V_32;
if ((((int32_t)L_202) == ((int32_t)((int32_t)1927738392))))
{
goto IL_07ad;
}
}
{
goto IL_0807;
}
IL_0616:
{
int32_t L_203 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_204 = __this->___m_TextProcessingArray_199;
NullCheck(L_204);
V_34 = (bool)((((int32_t)L_203) == ((int32_t)((int32_t)(((RuntimeArray*)L_204)->max_length))))? 1 : 0);
bool L_205 = V_34;
if (!L_205)
{
goto IL_0634;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_206 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_206, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0634:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_207 = __this->___m_TextProcessingArray_199;
int32_t L_208 = V_1;
NullCheck(L_207);
((L_207)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_208)))->___unicode_0 = ((int32_t)10);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_209 = __this->___m_TextProcessingArray_199;
int32_t L_210 = V_1;
NullCheck(L_209);
int32_t L_211 = V_2;
((L_209)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_210)))->___stringIndex_1 = L_211;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_212 = __this->___m_TextProcessingArray_199;
int32_t L_213 = V_1;
NullCheck(L_212);
((L_212)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_213)))->___length_2 = 4;
int32_t L_214 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_214, 1));
int32_t L_215 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_215, 3));
goto IL_0862;
}
IL_0678:
{
int32_t L_216 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_217 = __this->___m_TextProcessingArray_199;
NullCheck(L_217);
V_35 = (bool)((((int32_t)L_216) == ((int32_t)((int32_t)(((RuntimeArray*)L_217)->max_length))))? 1 : 0);
bool L_218 = V_35;
if (!L_218)
{
goto IL_0696;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_219 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_219, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0696:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_220 = __this->___m_TextProcessingArray_199;
int32_t L_221 = V_1;
NullCheck(L_220);
((L_220)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_221)))->___unicode_0 = ((int32_t)160);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_222 = __this->___m_TextProcessingArray_199;
int32_t L_223 = V_1;
NullCheck(L_222);
int32_t L_224 = V_2;
((L_222)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_223)))->___stringIndex_1 = L_224;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_225 = __this->___m_TextProcessingArray_199;
int32_t L_226 = V_1;
NullCheck(L_225);
((L_225)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_226)))->___length_2 = 6;
int32_t L_227 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_227, 1));
int32_t L_228 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_228, 5));
goto IL_0862;
}
IL_06dd:
{
int32_t L_229 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_230 = __this->___m_TextProcessingArray_199;
NullCheck(L_230);
V_36 = (bool)((((int32_t)L_229) == ((int32_t)((int32_t)(((RuntimeArray*)L_230)->max_length))))? 1 : 0);
bool L_231 = V_36;
if (!L_231)
{
goto IL_06fb;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_232 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_232, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_06fb:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_233 = __this->___m_TextProcessingArray_199;
int32_t L_234 = V_1;
NullCheck(L_233);
((L_233)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_234)))->___unicode_0 = ((int32_t)8203);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_235 = __this->___m_TextProcessingArray_199;
int32_t L_236 = V_1;
NullCheck(L_235);
int32_t L_237 = V_2;
((L_235)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_236)))->___stringIndex_1 = L_237;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_238 = __this->___m_TextProcessingArray_199;
int32_t L_239 = V_1;
NullCheck(L_238);
((L_238)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_239)))->___length_2 = 6;
int32_t L_240 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_240, 1));
int32_t L_241 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_241, 5));
goto IL_0862;
}
IL_0742:
{
int32_t L_242 = V_1;
V_29 = L_242;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_243 = (&__this->___m_TextBackingArray_259);
int32_t L_244 = V_2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_245 = (&__this->___m_TextProcessingArray_199);
bool L_246;
L_246 = TMP_Text_ReplaceOpeningStyleTag_m140CE17F312BBDE9A6F429F6976A6EAF22FBF7F7(__this, L_243, L_244, (&V_30), L_245, (&V_1), NULL);
V_37 = L_246;
bool L_247 = V_37;
if (!L_247)
{
goto IL_07ab;
}
}
{
goto IL_0798;
}
IL_0765:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_248 = __this->___m_TextProcessingArray_199;
int32_t L_249 = V_29;
NullCheck(L_248);
int32_t L_250 = V_2;
((L_248)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_249)))->___stringIndex_1 = L_250;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_251 = __this->___m_TextProcessingArray_199;
int32_t L_252 = V_29;
NullCheck(L_251);
int32_t L_253 = V_30;
int32_t L_254 = V_2;
((L_251)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_252)))->___length_2 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_253, L_254)), 1));
int32_t L_255 = V_29;
V_29 = ((int32_t)il2cpp_codegen_add(L_255, 1));
}
IL_0798:
{
int32_t L_256 = V_29;
int32_t L_257 = V_1;
V_38 = (bool)((((int32_t)L_256) < ((int32_t)L_257))? 1 : 0);
bool L_258 = V_38;
if (L_258)
{
goto IL_0765;
}
}
{
int32_t L_259 = V_30;
V_2 = L_259;
goto IL_0862;
}
IL_07ab:
{
goto IL_0807;
}
IL_07ad:
{
int32_t L_260 = V_1;
V_31 = L_260;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_261 = (&__this->___m_TextBackingArray_259);
int32_t L_262 = V_2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_263 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ReplaceClosingStyleTag_m8F0A4C880ED8811B94472B9A122FEE3DF1CEA06C(__this, L_261, L_262, L_263, (&V_1), NULL);
goto IL_07f6;
}
IL_07c8:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_264 = __this->___m_TextProcessingArray_199;
int32_t L_265 = V_31;
NullCheck(L_264);
int32_t L_266 = V_2;
((L_264)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_265)))->___stringIndex_1 = L_266;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_267 = __this->___m_TextProcessingArray_199;
int32_t L_268 = V_31;
NullCheck(L_267);
((L_267)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_268)))->___length_2 = 8;
int32_t L_269 = V_31;
V_31 = ((int32_t)il2cpp_codegen_add(L_269, 1));
}
IL_07f6:
{
int32_t L_270 = V_31;
int32_t L_271 = V_1;
V_39 = (bool)((((int32_t)L_270) < ((int32_t)L_271))? 1 : 0);
bool L_272 = V_39;
if (L_272)
{
goto IL_07c8;
}
}
{
int32_t L_273 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_273, 7));
goto IL_0862;
}
IL_0807:
{
}
IL_0808:
{
int32_t L_274 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_275 = __this->___m_TextProcessingArray_199;
NullCheck(L_275);
V_40 = (bool)((((int32_t)L_274) == ((int32_t)((int32_t)(((RuntimeArray*)L_275)->max_length))))? 1 : 0);
bool L_276 = V_40;
if (!L_276)
{
goto IL_0826;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_277 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_277, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0826:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_278 = __this->___m_TextProcessingArray_199;
int32_t L_279 = V_1;
NullCheck(L_278);
uint32_t L_280 = V_5;
((L_278)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_279)))->___unicode_0 = L_280;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_281 = __this->___m_TextProcessingArray_199;
int32_t L_282 = V_1;
NullCheck(L_281);
int32_t L_283 = V_2;
((L_281)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_282)))->___stringIndex_1 = L_283;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_284 = __this->___m_TextProcessingArray_199;
int32_t L_285 = V_1;
NullCheck(L_284);
((L_284)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_285)))->___length_2 = 1;
int32_t L_286 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_286, 1));
}
IL_0862:
{
int32_t L_287 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_287, 1));
}
IL_0866:
{
int32_t L_288 = V_2;
int32_t L_289 = V_0;
V_41 = (bool)((((int32_t)L_288) < ((int32_t)L_289))? 1 : 0);
bool L_290 = V_41;
if (L_290)
{
goto IL_0078;
}
}
IL_0873:
{
__this->___m_TextStyleStackDepth_239 = 0;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_291;
L_291 = TMP_Text_get_textStyle_m18773DC7DEFAA035C8D86475294AD3C0DDB52603(__this, NULL);
NullCheck(L_291);
int32_t L_292;
L_292 = TMP_Style_get_hashCode_m19EC41583BBC799AC118324ED1A0405E26990E85(L_291, NULL);
V_42 = (bool)((((int32_t)((((int32_t)L_292) == ((int32_t)((int32_t)-1183493901)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_293 = V_42;
if (!L_293)
{
goto IL_08a4;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_294 = (&__this->___m_TextProcessingArray_199);
TMP_Text_InsertClosingStyleTag_m6AA7BC638D9F53B831DB2702256CFBFC25EA19AA(__this, L_294, (&V_1), NULL);
}
IL_08a4:
{
int32_t L_295 = V_1;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_296 = __this->___m_TextProcessingArray_199;
NullCheck(L_296);
V_43 = (bool)((((int32_t)L_295) == ((int32_t)((int32_t)(((RuntimeArray*)L_296)->max_length))))? 1 : 0);
bool L_297 = V_43;
if (!L_297)
{
goto IL_08c2;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_298 = (&__this->___m_TextProcessingArray_199);
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_298, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_08c2:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_299 = __this->___m_TextProcessingArray_199;
int32_t L_300 = V_1;
NullCheck(L_299);
((L_299)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_300)))->___unicode_0 = 0;
int32_t L_301 = V_1;
__this->___m_InternalTextProcessingArraySize_200 = L_301;
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetTextInternal_mE5AAC38C055046B9EE3228640DAFA627C5BDF924 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t G_B3_0 = 0;
{
String_t* L_0 = ___sourceText0;
if (!L_0)
{
goto IL_000c;
}
}
{
String_t* L_1 = ___sourceText0;
NullCheck(L_1);
int32_t L_2;
L_2 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_1, NULL);
G_B3_0 = L_2;
goto IL_000d;
}
IL_000c:
{
G_B3_0 = 0;
}
IL_000d:
{
V_0 = G_B3_0;
String_t* L_3 = ___sourceText0;
int32_t L_4 = V_0;
TMP_Text_PopulateTextBackingArray_mDAFAFBA1D6EF883BBA870BEC34F4AFC52A8D4799(__this, L_3, 0, L_4, NULL);
int32_t L_5 = __this->___m_inputSource_187;
V_1 = L_5;
__this->___m_inputSource_187 = 3;
TMP_Text_PopulateTextProcessingArray_m2D1F8D3CAE8F1F29242547BCCC91D1226FA9A6F0(__this, NULL);
int32_t L_6 = V_1;
__this->___m_inputSource_187 = L_6;
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_m848189C290727009A95A00E432B66DFB2F2C3454 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, bool ___syncTextInputBox1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B3_0 = 0;
{
String_t* L_0 = ___sourceText0;
if (!L_0)
{
goto IL_000c;
}
}
{
String_t* L_1 = ___sourceText0;
NullCheck(L_1);
int32_t L_2;
L_2 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_1, NULL);
G_B3_0 = L_2;
goto IL_000d;
}
IL_000c:
{
G_B3_0 = 0;
}
IL_000d:
{
V_0 = G_B3_0;
String_t* L_3 = ___sourceText0;
int32_t L_4 = V_0;
TMP_Text_PopulateTextBackingArray_mDAFAFBA1D6EF883BBA870BEC34F4AFC52A8D4799(__this, L_3, 0, L_4, NULL);
String_t* L_5 = ___sourceText0;
__this->___m_text_38 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_text_38), (void*)L_5);
__this->___m_inputSource_187 = 3;
TMP_Text_PopulateTextProcessingArray_m2D1F8D3CAE8F1F29242547BCCC91D1226FA9A6F0(__this, NULL);
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_mC6973FFC60DB6A96B0C4253CD2FD9D0789ECC533 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, float ___arg01, const RuntimeMethod* method)
{
{
String_t* L_0 = ___sourceText0;
float L_1 = ___arg01;
TMP_Text_SetText_m5093EBC3B7161E3775B6A6EA2F3E7C4FAA55814B(__this, L_0, L_1, (0.0f), (0.0f), (0.0f), (0.0f), (0.0f), (0.0f), (0.0f), NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_m033947AEEEBDA12707E4B0535B4CCD7EB28B5F31 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, float ___arg01, float ___arg12, const RuntimeMethod* method)
{
{
String_t* L_0 = ___sourceText0;
float L_1 = ___arg01;
float L_2 = ___arg12;
TMP_Text_SetText_m5093EBC3B7161E3775B6A6EA2F3E7C4FAA55814B(__this, L_0, L_1, L_2, (0.0f), (0.0f), (0.0f), (0.0f), (0.0f), (0.0f), NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_m91C93245F1F0BD149D7E81A870B1E156EBB50DD7 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, float ___arg01, float ___arg12, float ___arg23, const RuntimeMethod* method)
{
{
String_t* L_0 = ___sourceText0;
float L_1 = ___arg01;
float L_2 = ___arg12;
float L_3 = ___arg23;
TMP_Text_SetText_m5093EBC3B7161E3775B6A6EA2F3E7C4FAA55814B(__this, L_0, L_1, L_2, L_3, (0.0f), (0.0f), (0.0f), (0.0f), (0.0f), NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_mA55E85AB5C2C2ECC55F91825828DD3CCF2173E80 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, float ___arg01, float ___arg12, float ___arg23, float ___arg34, const RuntimeMethod* method)
{
{
String_t* L_0 = ___sourceText0;
float L_1 = ___arg01;
float L_2 = ___arg12;
float L_3 = ___arg23;
float L_4 = ___arg34;
TMP_Text_SetText_m5093EBC3B7161E3775B6A6EA2F3E7C4FAA55814B(__this, L_0, L_1, L_2, L_3, L_4, (0.0f), (0.0f), (0.0f), (0.0f), NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_m8F8C230992A14AC54379698221FA40B5AD0250E3 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, float ___arg01, float ___arg12, float ___arg23, float ___arg34, float ___arg45, const RuntimeMethod* method)
{
{
String_t* L_0 = ___sourceText0;
float L_1 = ___arg01;
float L_2 = ___arg12;
float L_3 = ___arg23;
float L_4 = ___arg34;
float L_5 = ___arg45;
TMP_Text_SetText_m5093EBC3B7161E3775B6A6EA2F3E7C4FAA55814B(__this, L_0, L_1, L_2, L_3, L_4, L_5, (0.0f), (0.0f), (0.0f), NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_m888964CBEFDBE9D7788D25D8EA11D832B52CC739 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, float ___arg01, float ___arg12, float ___arg23, float ___arg34, float ___arg45, float ___arg56, const RuntimeMethod* method)
{
{
String_t* L_0 = ___sourceText0;
float L_1 = ___arg01;
float L_2 = ___arg12;
float L_3 = ___arg23;
float L_4 = ___arg34;
float L_5 = ___arg45;
float L_6 = ___arg56;
TMP_Text_SetText_m5093EBC3B7161E3775B6A6EA2F3E7C4FAA55814B(__this, L_0, L_1, L_2, L_3, L_4, L_5, L_6, (0.0f), (0.0f), NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_m8AF09C554904D1C1B0004879BA3A9F1C585CB41B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, float ___arg01, float ___arg12, float ___arg23, float ___arg34, float ___arg45, float ___arg56, float ___arg67, const RuntimeMethod* method)
{
{
String_t* L_0 = ___sourceText0;
float L_1 = ___arg01;
float L_2 = ___arg12;
float L_3 = ___arg23;
float L_4 = ___arg34;
float L_5 = ___arg45;
float L_6 = ___arg56;
float L_7 = ___arg67;
TMP_Text_SetText_m5093EBC3B7161E3775B6A6EA2F3E7C4FAA55814B(__this, L_0, L_1, L_2, L_3, L_4, L_5, L_6, L_7, (0.0f), NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_m5093EBC3B7161E3775B6A6EA2F3E7C4FAA55814B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___sourceText0, float ___arg01, float ___arg12, float ___arg23, float ___arg34, float ___arg45, float ___arg56, float ___arg67, float ___arg78, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
Il2CppChar V_6 = 0x0;
bool V_7 = false;
bool V_8 = false;
int32_t V_9 = 0;
int32_t V_10 = 0;
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;
bool V_22 = false;
int32_t G_B19_0 = 0;
int32_t G_B36_0 = 0;
{
V_0 = 0;
V_1 = 0;
V_2 = 0;
V_3 = 0;
V_4 = 0;
V_5 = 0;
goto IL_01e7;
}
IL_0014:
{
String_t* L_0 = ___sourceText0;
int32_t L_1 = V_4;
NullCheck(L_0);
Il2CppChar L_2;
L_2 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_0, L_1, NULL);
V_6 = L_2;
Il2CppChar L_3 = V_6;
V_7 = (bool)((((int32_t)L_3) == ((int32_t)((int32_t)123)))? 1 : 0);
bool L_4 = V_7;
if (!L_4)
{
goto IL_0033;
}
}
{
V_3 = 1;
goto IL_01e1;
}
IL_0033:
{
Il2CppChar L_5 = V_6;
V_8 = (bool)((((int32_t)L_5) == ((int32_t)((int32_t)125)))? 1 : 0);
bool L_6 = V_8;
if (!L_6)
{
goto IL_00f6;
}
}
{
int32_t L_7 = V_0;
V_10 = L_7;
int32_t L_8 = V_10;
V_9 = L_8;
int32_t L_9 = V_9;
switch (L_9)
{
case 0:
{
goto IL_0073;
}
case 1:
{
goto IL_0081;
}
case 2:
{
goto IL_008f;
}
case 3:
{
goto IL_009e;
}
case 4:
{
goto IL_00ad;
}
case 5:
{
goto IL_00bc;
}
case 6:
{
goto IL_00cb;
}
case 7:
{
goto IL_00da;
}
}
}
{
goto IL_00e9;
}
IL_0073:
{
float L_10 = ___arg01;
int32_t L_11 = V_1;
int32_t L_12 = V_2;
TMP_Text_AddFloatToInternalTextBackingArray_m91003C38D80CE33F40B45FB30E6B90F2EC2B78AB(__this, L_10, L_11, L_12, (&V_5), NULL);
goto IL_00e9;
}
IL_0081:
{
float L_13 = ___arg12;
int32_t L_14 = V_1;
int32_t L_15 = V_2;
TMP_Text_AddFloatToInternalTextBackingArray_m91003C38D80CE33F40B45FB30E6B90F2EC2B78AB(__this, L_13, L_14, L_15, (&V_5), NULL);
goto IL_00e9;
}
IL_008f:
{
float L_16 = ___arg23;
int32_t L_17 = V_1;
int32_t L_18 = V_2;
TMP_Text_AddFloatToInternalTextBackingArray_m91003C38D80CE33F40B45FB30E6B90F2EC2B78AB(__this, L_16, L_17, L_18, (&V_5), NULL);
goto IL_00e9;
}
IL_009e:
{
float L_19 = ___arg34;
int32_t L_20 = V_1;
int32_t L_21 = V_2;
TMP_Text_AddFloatToInternalTextBackingArray_m91003C38D80CE33F40B45FB30E6B90F2EC2B78AB(__this, L_19, L_20, L_21, (&V_5), NULL);
goto IL_00e9;
}
IL_00ad:
{
float L_22 = ___arg45;
int32_t L_23 = V_1;
int32_t L_24 = V_2;
TMP_Text_AddFloatToInternalTextBackingArray_m91003C38D80CE33F40B45FB30E6B90F2EC2B78AB(__this, L_22, L_23, L_24, (&V_5), NULL);
goto IL_00e9;
}
IL_00bc:
{
float L_25 = ___arg56;
int32_t L_26 = V_1;
int32_t L_27 = V_2;
TMP_Text_AddFloatToInternalTextBackingArray_m91003C38D80CE33F40B45FB30E6B90F2EC2B78AB(__this, L_25, L_26, L_27, (&V_5), NULL);
goto IL_00e9;
}
IL_00cb:
{
float L_28 = ___arg67;
int32_t L_29 = V_1;
int32_t L_30 = V_2;
TMP_Text_AddFloatToInternalTextBackingArray_m91003C38D80CE33F40B45FB30E6B90F2EC2B78AB(__this, L_28, L_29, L_30, (&V_5), NULL);
goto IL_00e9;
}
IL_00da:
{
float L_31 = ___arg78;
int32_t L_32 = V_1;
int32_t L_33 = V_2;
TMP_Text_AddFloatToInternalTextBackingArray_m91003C38D80CE33F40B45FB30E6B90F2EC2B78AB(__this, L_31, L_32, L_33, (&V_5), NULL);
goto IL_00e9;
}
IL_00e9:
{
V_0 = 0;
V_3 = 0;
V_1 = 0;
V_2 = 0;
goto IL_01e1;
}
IL_00f6:
{
int32_t L_34 = V_3;
V_11 = (bool)((((int32_t)L_34) == ((int32_t)1))? 1 : 0);
bool L_35 = V_11;
if (!L_35)
{
goto IL_0128;
}
}
{
Il2CppChar L_36 = V_6;
if ((((int32_t)L_36) < ((int32_t)((int32_t)48))))
{
goto IL_0112;
}
}
{
Il2CppChar L_37 = V_6;
G_B19_0 = ((((int32_t)((((int32_t)L_37) > ((int32_t)((int32_t)56)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0113;
}
IL_0112:
{
G_B19_0 = 0;
}
IL_0113:
{
V_12 = (bool)G_B19_0;
bool L_38 = V_12;
if (!L_38)
{
goto IL_0127;
}
}
{
Il2CppChar L_39 = V_6;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_39, ((int32_t)48)));
V_3 = 2;
goto IL_01e1;
}
IL_0127:
{
}
IL_0128:
{
int32_t L_40 = V_3;
V_13 = (bool)((((int32_t)L_40) == ((int32_t)2))? 1 : 0);
bool L_41 = V_13;
if (!L_41)
{
goto IL_01ab;
}
}
{
Il2CppChar L_42 = V_6;
V_14 = (bool)((((int32_t)L_42) == ((int32_t)((int32_t)58)))? 1 : 0);
bool L_43 = V_14;
if (!L_43)
{
goto IL_0144;
}
}
{
goto IL_01e1;
}
IL_0144:
{
Il2CppChar L_44 = V_6;
V_15 = (bool)((((int32_t)L_44) == ((int32_t)((int32_t)46)))? 1 : 0);
bool L_45 = V_15;
if (!L_45)
{
goto IL_0158;
}
}
{
V_3 = 3;
goto IL_01e1;
}
IL_0158:
{
Il2CppChar L_46 = V_6;
V_16 = (bool)((((int32_t)L_46) == ((int32_t)((int32_t)35)))? 1 : 0);
bool L_47 = V_16;
if (!L_47)
{
goto IL_0167;
}
}
{
goto IL_01e1;
}
IL_0167:
{
Il2CppChar L_48 = V_6;
V_17 = (bool)((((int32_t)L_48) == ((int32_t)((int32_t)48)))? 1 : 0);
bool L_49 = V_17;
if (!L_49)
{
goto IL_017a;
}
}
{
int32_t L_50 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_50, 1));
goto IL_01e1;
}
IL_017a:
{
Il2CppChar L_51 = V_6;
V_18 = (bool)((((int32_t)L_51) == ((int32_t)((int32_t)44)))? 1 : 0);
bool L_52 = V_18;
if (!L_52)
{
goto IL_0189;
}
}
{
goto IL_01e1;
}
IL_0189:
{
Il2CppChar L_53 = V_6;
if ((((int32_t)L_53) < ((int32_t)((int32_t)49))))
{
goto IL_019a;
}
}
{
Il2CppChar L_54 = V_6;
G_B36_0 = ((((int32_t)((((int32_t)L_54) > ((int32_t)((int32_t)57)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_019b;
}
IL_019a:
{
G_B36_0 = 0;
}
IL_019b:
{
V_19 = (bool)G_B36_0;
bool L_55 = V_19;
if (!L_55)
{
goto IL_01aa;
}
}
{
Il2CppChar L_56 = V_6;
V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_56, ((int32_t)48)));
goto IL_01e1;
}
IL_01aa:
{
}
IL_01ab:
{
int32_t L_57 = V_3;
V_20 = (bool)((((int32_t)L_57) == ((int32_t)3))? 1 : 0);
bool L_58 = V_20;
if (!L_58)
{
goto IL_01ca;
}
}
{
Il2CppChar L_59 = V_6;
V_21 = (bool)((((int32_t)L_59) == ((int32_t)((int32_t)48)))? 1 : 0);
bool L_60 = V_21;
if (!L_60)
{
goto IL_01c9;
}
}
{
int32_t L_61 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_61, 1));
goto IL_01e1;
}
IL_01c9:
{
}
IL_01ca:
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_62 = (&__this->___m_TextBackingArray_259);
int32_t L_63 = V_5;
Il2CppChar L_64 = V_6;
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_62, L_63, L_64, NULL);
int32_t L_65 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_65, 1));
}
IL_01e1:
{
int32_t L_66 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_66, 1));
}
IL_01e7:
{
int32_t L_67 = V_4;
String_t* L_68 = ___sourceText0;
NullCheck(L_68);
int32_t L_69;
L_69 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_68, NULL);
V_22 = (bool)((((int32_t)L_67) < ((int32_t)L_69))? 1 : 0);
bool L_70 = V_22;
if (L_70)
{
goto IL_0014;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_71 = (&__this->___m_TextBackingArray_259);
int32_t L_72 = V_5;
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_71, L_72, 0, NULL);
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_73 = (&__this->___m_TextBackingArray_259);
int32_t L_74 = V_5;
TextBackingContainer_set_Count_m3833989ADDB6C436DFB7A8979080FF5F2A411F19(L_73, L_74, NULL);
__this->___m_IsTextBackingStringDirty_39 = (bool)1;
__this->___m_inputSource_187 = 1;
TMP_Text_PopulateTextProcessingArray_m2D1F8D3CAE8F1F29242547BCCC91D1226FA9A6F0(__this, NULL);
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_m229965F9267D1A1D825FF32828DDC9528A40F015 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, StringBuilder_t* ___sourceText0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B3_0 = 0;
{
StringBuilder_t* L_0 = ___sourceText0;
if (!L_0)
{
goto IL_000c;
}
}
{
StringBuilder_t* L_1 = ___sourceText0;
NullCheck(L_1);
int32_t L_2;
L_2 = StringBuilder_get_Length_mDEA041E7357C68CC3B5885276BB403676DAAE0D8(L_1, NULL);
G_B3_0 = L_2;
goto IL_000d;
}
IL_000c:
{
G_B3_0 = 0;
}
IL_000d:
{
V_0 = G_B3_0;
StringBuilder_t* L_3 = ___sourceText0;
int32_t L_4 = V_0;
TMP_Text_SetText_mEFBC8BA593BB9B7A6F58BE8A1EF74F83E7B4CFF1(__this, L_3, 0, L_4, NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_mEFBC8BA593BB9B7A6F58BE8A1EF74F83E7B4CFF1 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, StringBuilder_t* ___sourceText0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method)
{
{
StringBuilder_t* L_0 = ___sourceText0;
int32_t L_1 = ___start1;
int32_t L_2 = ___length2;
TMP_Text_PopulateTextBackingArray_m2DD1214AFFFF0214596222BCC5B759D0F8D48557(__this, L_0, L_1, L_2, NULL);
__this->___m_IsTextBackingStringDirty_39 = (bool)1;
__this->___m_inputSource_187 = 2;
TMP_Text_PopulateTextProcessingArray_m2D1F8D3CAE8F1F29242547BCCC91D1226FA9A6F0(__this, NULL);
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_m060E57CFB07010482FBDD53A653F0A61A4CDDE74 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___sourceText0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B3_0 = 0;
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_0 = ___sourceText0;
if (!L_0)
{
goto IL_0009;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1 = ___sourceText0;
NullCheck(L_1);
G_B3_0 = ((int32_t)(((RuntimeArray*)L_1)->max_length));
goto IL_000a;
}
IL_0009:
{
G_B3_0 = 0;
}
IL_000a:
{
V_0 = G_B3_0;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_2 = ___sourceText0;
int32_t L_3 = V_0;
TMP_Text_SetCharArray_mA6EC91F806E7B7B4BAF34317531083DEC6AAFD70(__this, L_2, 0, L_3, NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_mCF423F9A56990664E9711E71AEFB464987179AFF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___sourceText0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method)
{
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_0 = ___sourceText0;
int32_t L_1 = ___start1;
int32_t L_2 = ___length2;
TMP_Text_SetCharArray_mA6EC91F806E7B7B4BAF34317531083DEC6AAFD70(__this, L_0, L_1, L_2, NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetCharArray_mCCBCFF7608CA622F9A7E15E027662DB8561583B5 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___sourceText0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B3_0 = 0;
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_0 = ___sourceText0;
if (!L_0)
{
goto IL_0009;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1 = ___sourceText0;
NullCheck(L_1);
G_B3_0 = ((int32_t)(((RuntimeArray*)L_1)->max_length));
goto IL_000a;
}
IL_0009:
{
G_B3_0 = 0;
}
IL_000a:
{
V_0 = G_B3_0;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_2 = ___sourceText0;
int32_t L_3 = V_0;
TMP_Text_SetCharArray_mA6EC91F806E7B7B4BAF34317531083DEC6AAFD70(__this, L_2, 0, L_3, NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetCharArray_mA6EC91F806E7B7B4BAF34317531083DEC6AAFD70 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___sourceText0, int32_t ___start1, int32_t ___length2, const RuntimeMethod* method)
{
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_0 = ___sourceText0;
int32_t L_1 = ___start1;
int32_t L_2 = ___length2;
TMP_Text_PopulateTextBackingArray_mF50056377989BB902E9ECB7B8607BD5CAE2B9EC8(__this, L_0, L_1, L_2, NULL);
__this->___m_IsTextBackingStringDirty_39 = (bool)1;
__this->___m_inputSource_187 = 2;
TMP_Text_PopulateTextProcessingArray_m2D1F8D3CAE8F1F29242547BCCC91D1226FA9A6F0(__this, NULL);
__this->___m_havePropertiesChanged_155 = (bool)1;
VirtualActionInvoker0::Invoke(28, __this);
VirtualActionInvoker0::Invoke(27, __this);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* TMP_Text_GetStyle_m556317F676C8A404F2BEEB1EA28AA188229D5886 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___hashCode0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* V_3 = NULL;
bool V_4 = false;
{
V_0 = (TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C*)NULL;
TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* L_0 = __this->___m_StyleSheet_68;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_1 = L_1;
bool L_2 = V_1;
if (!L_2)
{
goto IL_002e;
}
}
{
TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* L_3 = __this->___m_StyleSheet_68;
int32_t L_4 = ___hashCode0;
NullCheck(L_3);
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_5;
L_5 = TMP_StyleSheet_GetStyle_m1A066C8EB0E74AE5D84DEC570BFE301D45FAE078(L_3, L_4, NULL);
V_0 = L_5;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_6 = V_0;
V_2 = (bool)((!(((RuntimeObject*)(TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C*)L_6) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_7 = V_2;
if (!L_7)
{
goto IL_002d;
}
}
{
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_8 = V_0;
V_3 = L_8;
goto IL_004f;
}
IL_002d:
{
}
IL_002e:
{
TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* L_9;
L_9 = TMP_Settings_get_defaultStyleSheet_m348327B30DA1E60CAFBD929D9724E4FECAD23AE4(NULL);
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_10;
L_10 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_9, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_4 = L_10;
bool L_11 = V_4;
if (!L_11)
{
goto IL_004b;
}
}
{
TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859* L_12;
L_12 = TMP_Settings_get_defaultStyleSheet_m348327B30DA1E60CAFBD929D9724E4FECAD23AE4(NULL);
int32_t L_13 = ___hashCode0;
NullCheck(L_12);
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_14;
L_14 = TMP_StyleSheet_GetStyle_m1A066C8EB0E74AE5D84DEC570BFE301D45FAE078(L_12, L_13, NULL);
V_0 = L_14;
}
IL_004b:
{
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_15 = V_0;
V_3 = L_15;
goto IL_004f;
}
IL_004f:
{
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_16 = V_3;
return L_16;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_ReplaceOpeningStyleTag_m140CE17F312BBDE9A6F429F6976A6EAF22FBF7F7 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* ___sourceText0, int32_t ___srcIndex1, int32_t* ___srcOffset2, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___charBuffer3, int32_t* ___writeIndex4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* V_1 = NULL;
int32_t V_2 = 0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_3 = NULL;
bool V_4 = false;
bool V_5 = false;
int32_t V_6 = 0;
int32_t V_7 = 0;
bool V_8 = false;
int32_t V_9 = 0;
int32_t V_10 = 0;
bool V_11 = false;
bool V_12 = false;
bool V_13 = false;
int32_t V_14 = 0;
int32_t V_15 = 0;
int32_t V_16 = 0;
int32_t V_17 = 0;
bool V_18 = false;
bool V_19 = false;
bool V_20 = false;
bool V_21 = false;
bool V_22 = false;
bool V_23 = false;
int32_t G_B3_0 = 0;
int32_t G_B9_0 = 0;
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_0 = ___sourceText0;
int32_t L_1 = ___srcIndex1;
int32_t* L_2 = ___srcOffset2;
int32_t L_3;
L_3 = TMP_Text_GetStyleHashCode_mB54D3FEFFCA8A40441A169AD140C1531A788C92F(__this, L_0, ((int32_t)il2cpp_codegen_add(L_1, 7)), L_2, NULL);
V_0 = L_3;
int32_t L_4 = V_0;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_5;
L_5 = TMP_Text_GetStyle_m556317F676C8A404F2BEEB1EA28AA188229D5886(__this, L_4, NULL);
V_1 = L_5;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_6 = V_1;
if (!L_6)
{
goto IL_001f;
}
}
{
int32_t* L_7 = ___srcOffset2;
int32_t L_8 = *((int32_t*)L_7);
G_B3_0 = ((((int32_t)L_8) == ((int32_t)0))? 1 : 0);
goto IL_0020;
}
IL_001f:
{
G_B3_0 = 1;
}
IL_0020:
{
V_4 = (bool)G_B3_0;
bool L_9 = V_4;
if (!L_9)
{
goto IL_002e;
}
}
{
V_5 = (bool)0;
goto IL_0301;
}
IL_002e:
{
int32_t L_10 = __this->___m_TextStyleStackDepth_239;
__this->___m_TextStyleStackDepth_239 = ((int32_t)il2cpp_codegen_add(L_10, 1));
TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2* L_11 = __this->___m_TextStyleStacks_238;
int32_t L_12 = __this->___m_TextStyleStackDepth_239;
NullCheck(L_11);
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_13 = V_1;
NullCheck(L_13);
int32_t L_14;
L_14 = TMP_Style_get_hashCode_m19EC41583BBC799AC118324ED1A0405E26990E85(L_13, NULL);
TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1(((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_12))), L_14, TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1_RuntimeMethod_var);
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_15 = V_1;
NullCheck(L_15);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_16;
L_16 = TMP_Style_get_styleOpeningTagArray_mB7640D4E0C5A8EF7E1C46AFEFC98909A642ACCC7(L_15, NULL);
NullCheck(L_16);
V_2 = ((int32_t)(((RuntimeArray*)L_16)->max_length));
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_17 = V_1;
NullCheck(L_17);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_18;
L_18 = TMP_Style_get_styleOpeningTagArray_mB7640D4E0C5A8EF7E1C46AFEFC98909A642ACCC7(L_17, NULL);
V_3 = L_18;
V_6 = 0;
goto IL_02e0;
}
IL_0071:
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_19 = V_3;
int32_t L_20 = V_6;
NullCheck(L_19);
int32_t L_21 = L_20;
int32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
V_7 = L_22;
int32_t L_23 = V_7;
if ((!(((uint32_t)L_23) == ((uint32_t)((int32_t)92)))))
{
goto IL_0087;
}
}
{
int32_t L_24 = V_6;
int32_t L_25 = V_2;
G_B9_0 = ((((int32_t)((int32_t)il2cpp_codegen_add(L_24, 1))) < ((int32_t)L_25))? 1 : 0);
goto IL_0088;
}
IL_0087:
{
G_B9_0 = 0;
}
IL_0088:
{
V_8 = (bool)G_B9_0;
bool L_26 = V_8;
if (!L_26)
{
goto IL_013e;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_27 = V_3;
int32_t L_28 = V_6;
NullCheck(L_27);
int32_t L_29 = ((int32_t)il2cpp_codegen_add(L_28, 1));
int32_t L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
V_10 = L_30;
int32_t L_31 = V_10;
V_9 = L_31;
int32_t L_32 = V_9;
if ((((int32_t)L_32) > ((int32_t)((int32_t)92))))
{
goto IL_00b7;
}
}
{
int32_t L_33 = V_9;
if ((((int32_t)L_33) == ((int32_t)((int32_t)85))))
{
goto IL_0117;
}
}
{
goto IL_00ac;
}
IL_00ac:
{
int32_t L_34 = V_9;
if ((((int32_t)L_34) == ((int32_t)((int32_t)92))))
{
goto IL_00db;
}
}
{
goto IL_013d;
}
IL_00b7:
{
int32_t L_35 = V_9;
if ((((int32_t)L_35) == ((int32_t)((int32_t)110))))
{
goto IL_00e3;
}
}
{
goto IL_00bf;
}
IL_00bf:
{
int32_t L_36 = V_9;
switch (((int32_t)il2cpp_codegen_subtract(L_36, ((int32_t)114))))
{
case 0:
{
goto IL_00ef;
}
case 1:
{
goto IL_013d;
}
case 2:
{
goto IL_00f1;
}
case 3:
{
goto IL_00f3;
}
}
}
{
goto IL_013d;
}
IL_00db:
{
int32_t L_37 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_37, 1));
goto IL_013d;
}
IL_00e3:
{
V_7 = ((int32_t)10);
int32_t L_38 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_38, 1));
goto IL_013d;
}
IL_00ef:
{
goto IL_013d;
}
IL_00f1:
{
goto IL_013d;
}
IL_00f3:
{
int32_t L_39 = V_6;
int32_t L_40 = V_2;
V_11 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_39, 5))) < ((int32_t)L_40))? 1 : 0);
bool L_41 = V_11;
if (!L_41)
{
goto IL_0115;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_42 = V_3;
int32_t L_43 = V_6;
int32_t L_44;
L_44 = TMP_Text_GetUTF16_m5DCD9865CEC393DE526550744D2F17448FFFB031(__this, L_42, ((int32_t)il2cpp_codegen_add(L_43, 2)), NULL);
V_7 = L_44;
int32_t L_45 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_45, 5));
}
IL_0115:
{
goto IL_013d;
}
IL_0117:
{
int32_t L_46 = V_6;
int32_t L_47 = V_2;
V_12 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_46, ((int32_t)9)))) < ((int32_t)L_47))? 1 : 0);
bool L_48 = V_12;
if (!L_48)
{
goto IL_013b;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_49 = V_3;
int32_t L_50 = V_6;
int32_t L_51;
L_51 = TMP_Text_GetUTF32_m5417B3BA725A8B5C3EAD1AB1C8704DCAA7D8112E(__this, L_49, ((int32_t)il2cpp_codegen_add(L_50, 2)), NULL);
V_7 = L_51;
int32_t L_52 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_52, ((int32_t)9)));
}
IL_013b:
{
goto IL_013d;
}
IL_013d:
{
}
IL_013e:
{
int32_t L_53 = V_7;
V_13 = (bool)((((int32_t)L_53) == ((int32_t)((int32_t)60)))? 1 : 0);
bool L_54 = V_13;
if (!L_54)
{
goto IL_02a6;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_55 = V_3;
int32_t L_56 = V_6;
int32_t L_57;
L_57 = TMP_Text_GetMarkupTagHashCode_mB8A6C6A1ED3D704ADBEA0E90FCEF722AB826CD7A(__this, L_55, ((int32_t)il2cpp_codegen_add(L_56, 1)), NULL);
V_14 = L_57;
int32_t L_58 = V_14;
V_17 = L_58;
int32_t L_59 = V_17;
V_16 = L_59;
int32_t L_60 = V_16;
if ((((int32_t)L_60) > ((int32_t)((int32_t)2869039))))
{
goto IL_0185;
}
}
{
int32_t L_61 = V_16;
if ((((int32_t)L_61) == ((int32_t)((int32_t)2256))))
{
goto IL_01b2;
}
}
{
goto IL_0177;
}
IL_0177:
{
int32_t L_62 = V_16;
if ((((int32_t)L_62) == ((int32_t)((int32_t)2869039))))
{
goto IL_01f0;
}
}
{
goto IL_02a5;
}
IL_0185:
{
int32_t L_63 = V_16;
if ((((int32_t)L_63) == ((int32_t)((int32_t)3288238))))
{
goto IL_0231;
}
}
{
goto IL_0193;
}
IL_0193:
{
int32_t L_64 = V_16;
if ((((int32_t)L_64) == ((int32_t)((int32_t)100252951))))
{
goto IL_026f;
}
}
{
goto IL_01a1;
}
IL_01a1:
{
int32_t L_65 = V_16;
if ((((int32_t)L_65) == ((int32_t)((int32_t)1927738392))))
{
goto IL_028e;
}
}
{
goto IL_02a5;
}
IL_01b2:
{
int32_t* L_66 = ___writeIndex4;
int32_t L_67 = *((int32_t*)L_66);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_68 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_69 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_68);
NullCheck(L_69);
V_18 = (bool)((((int32_t)L_67) == ((int32_t)((int32_t)(((RuntimeArray*)L_69)->max_length))))? 1 : 0);
bool L_70 = V_18;
if (!L_70)
{
goto IL_01cb;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_71 = ___charBuffer3;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_71, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_01cb:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_72 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_73 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_72);
int32_t* L_74 = ___writeIndex4;
int32_t L_75 = *((int32_t*)L_74);
NullCheck(L_73);
((L_73)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_75)))->___unicode_0 = ((int32_t)10);
int32_t* L_76 = ___writeIndex4;
int32_t* L_77 = ___writeIndex4;
int32_t L_78 = *((int32_t*)L_77);
*((int32_t*)L_76) = (int32_t)((int32_t)il2cpp_codegen_add(L_78, 1));
int32_t L_79 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_79, 3));
goto IL_02da;
}
IL_01f0:
{
int32_t* L_80 = ___writeIndex4;
int32_t L_81 = *((int32_t*)L_80);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_82 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_83 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_82);
NullCheck(L_83);
V_19 = (bool)((((int32_t)L_81) == ((int32_t)((int32_t)(((RuntimeArray*)L_83)->max_length))))? 1 : 0);
bool L_84 = V_19;
if (!L_84)
{
goto IL_0209;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_85 = ___charBuffer3;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_85, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0209:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_86 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_87 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_86);
int32_t* L_88 = ___writeIndex4;
int32_t L_89 = *((int32_t*)L_88);
NullCheck(L_87);
((L_87)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_89)))->___unicode_0 = ((int32_t)160);
int32_t* L_90 = ___writeIndex4;
int32_t* L_91 = ___writeIndex4;
int32_t L_92 = *((int32_t*)L_91);
*((int32_t*)L_90) = (int32_t)((int32_t)il2cpp_codegen_add(L_92, 1));
int32_t L_93 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_93, 5));
goto IL_02da;
}
IL_0231:
{
int32_t* L_94 = ___writeIndex4;
int32_t L_95 = *((int32_t*)L_94);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_96 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_97 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_96);
NullCheck(L_97);
V_20 = (bool)((((int32_t)L_95) == ((int32_t)((int32_t)(((RuntimeArray*)L_97)->max_length))))? 1 : 0);
bool L_98 = V_20;
if (!L_98)
{
goto IL_024a;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_99 = ___charBuffer3;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_99, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_024a:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_100 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_101 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_100);
int32_t* L_102 = ___writeIndex4;
int32_t L_103 = *((int32_t*)L_102);
NullCheck(L_101);
((L_101)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_103)))->___unicode_0 = ((int32_t)8203);
int32_t* L_104 = ___writeIndex4;
int32_t* L_105 = ___writeIndex4;
int32_t L_106 = *((int32_t*)L_105);
*((int32_t*)L_104) = (int32_t)((int32_t)il2cpp_codegen_add(L_106, 1));
int32_t L_107 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_107, 5));
goto IL_02da;
}
IL_026f:
{
int32_t L_108 = V_6;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_109 = ___charBuffer3;
int32_t* L_110 = ___writeIndex4;
bool L_111;
L_111 = TMP_Text_ReplaceOpeningStyleTag_mFE4861A4A73DA7879121B8CFCEB051320E7C2B3A(__this, (&V_3), L_108, (&V_15), L_109, L_110, NULL);
V_21 = L_111;
bool L_112 = V_21;
if (!L_112)
{
goto IL_028c;
}
}
{
int32_t L_113 = V_15;
V_6 = L_113;
goto IL_02da;
}
IL_028c:
{
goto IL_02a5;
}
IL_028e:
{
int32_t L_114 = V_6;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_115 = ___charBuffer3;
int32_t* L_116 = ___writeIndex4;
TMP_Text_ReplaceClosingStyleTag_m930CFBC820CF701CCF4A92E8CC798640FD9E0009(__this, (&V_3), L_114, L_115, L_116, NULL);
int32_t L_117 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_117, 7));
goto IL_02da;
}
IL_02a5:
{
}
IL_02a6:
{
int32_t* L_118 = ___writeIndex4;
int32_t L_119 = *((int32_t*)L_118);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_120 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_121 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_120);
NullCheck(L_121);
V_22 = (bool)((((int32_t)L_119) == ((int32_t)((int32_t)(((RuntimeArray*)L_121)->max_length))))? 1 : 0);
bool L_122 = V_22;
if (!L_122)
{
goto IL_02bf;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_123 = ___charBuffer3;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_123, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_02bf:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_124 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_125 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_124);
int32_t* L_126 = ___writeIndex4;
int32_t L_127 = *((int32_t*)L_126);
NullCheck(L_125);
int32_t L_128 = V_7;
((L_125)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_127)))->___unicode_0 = L_128;
int32_t* L_129 = ___writeIndex4;
int32_t* L_130 = ___writeIndex4;
int32_t L_131 = *((int32_t*)L_130);
*((int32_t*)L_129) = (int32_t)((int32_t)il2cpp_codegen_add(L_131, 1));
}
IL_02da:
{
int32_t L_132 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_132, 1));
}
IL_02e0:
{
int32_t L_133 = V_6;
int32_t L_134 = V_2;
V_23 = (bool)((((int32_t)L_133) < ((int32_t)L_134))? 1 : 0);
bool L_135 = V_23;
if (L_135)
{
goto IL_0071;
}
}
{
int32_t L_136 = __this->___m_TextStyleStackDepth_239;
__this->___m_TextStyleStackDepth_239 = ((int32_t)il2cpp_codegen_subtract(L_136, 1));
V_5 = (bool)1;
goto IL_0301;
}
IL_0301:
{
bool L_137 = V_5;
return L_137;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_ReplaceOpeningStyleTag_mFE4861A4A73DA7879121B8CFCEB051320E7C2B3A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** ___sourceText0, int32_t ___srcIndex1, int32_t* ___srcOffset2, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___charBuffer3, int32_t* ___writeIndex4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* V_1 = NULL;
int32_t V_2 = 0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_3 = NULL;
bool V_4 = false;
bool V_5 = false;
int32_t V_6 = 0;
int32_t V_7 = 0;
bool V_8 = false;
int32_t V_9 = 0;
int32_t V_10 = 0;
bool V_11 = false;
bool V_12 = false;
bool V_13 = false;
int32_t V_14 = 0;
int32_t V_15 = 0;
int32_t V_16 = 0;
int32_t V_17 = 0;
bool V_18 = false;
bool V_19 = false;
bool V_20 = false;
bool V_21 = false;
bool V_22 = false;
bool V_23 = false;
int32_t G_B3_0 = 0;
int32_t G_B9_0 = 0;
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** L_0 = ___sourceText0;
int32_t L_1 = ___srcIndex1;
int32_t* L_2 = ___srcOffset2;
int32_t L_3;
L_3 = TMP_Text_GetStyleHashCode_m834CA7ED28BF6377F7A42C654FAA748EB0D514D6(__this, L_0, ((int32_t)il2cpp_codegen_add(L_1, 7)), L_2, NULL);
V_0 = L_3;
int32_t L_4 = V_0;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_5;
L_5 = TMP_Text_GetStyle_m556317F676C8A404F2BEEB1EA28AA188229D5886(__this, L_4, NULL);
V_1 = L_5;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_6 = V_1;
if (!L_6)
{
goto IL_001f;
}
}
{
int32_t* L_7 = ___srcOffset2;
int32_t L_8 = *((int32_t*)L_7);
G_B3_0 = ((((int32_t)L_8) == ((int32_t)0))? 1 : 0);
goto IL_0020;
}
IL_001f:
{
G_B3_0 = 1;
}
IL_0020:
{
V_4 = (bool)G_B3_0;
bool L_9 = V_4;
if (!L_9)
{
goto IL_002e;
}
}
{
V_5 = (bool)0;
goto IL_0301;
}
IL_002e:
{
int32_t L_10 = __this->___m_TextStyleStackDepth_239;
__this->___m_TextStyleStackDepth_239 = ((int32_t)il2cpp_codegen_add(L_10, 1));
TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2* L_11 = __this->___m_TextStyleStacks_238;
int32_t L_12 = __this->___m_TextStyleStackDepth_239;
NullCheck(L_11);
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_13 = V_1;
NullCheck(L_13);
int32_t L_14;
L_14 = TMP_Style_get_hashCode_m19EC41583BBC799AC118324ED1A0405E26990E85(L_13, NULL);
TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1(((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_12))), L_14, TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1_RuntimeMethod_var);
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_15 = V_1;
NullCheck(L_15);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_16;
L_16 = TMP_Style_get_styleOpeningTagArray_mB7640D4E0C5A8EF7E1C46AFEFC98909A642ACCC7(L_15, NULL);
NullCheck(L_16);
V_2 = ((int32_t)(((RuntimeArray*)L_16)->max_length));
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_17 = V_1;
NullCheck(L_17);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_18;
L_18 = TMP_Style_get_styleOpeningTagArray_mB7640D4E0C5A8EF7E1C46AFEFC98909A642ACCC7(L_17, NULL);
V_3 = L_18;
V_6 = 0;
goto IL_02e0;
}
IL_0071:
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_19 = V_3;
int32_t L_20 = V_6;
NullCheck(L_19);
int32_t L_21 = L_20;
int32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
V_7 = L_22;
int32_t L_23 = V_7;
if ((!(((uint32_t)L_23) == ((uint32_t)((int32_t)92)))))
{
goto IL_0087;
}
}
{
int32_t L_24 = V_6;
int32_t L_25 = V_2;
G_B9_0 = ((((int32_t)((int32_t)il2cpp_codegen_add(L_24, 1))) < ((int32_t)L_25))? 1 : 0);
goto IL_0088;
}
IL_0087:
{
G_B9_0 = 0;
}
IL_0088:
{
V_8 = (bool)G_B9_0;
bool L_26 = V_8;
if (!L_26)
{
goto IL_013e;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_27 = V_3;
int32_t L_28 = V_6;
NullCheck(L_27);
int32_t L_29 = ((int32_t)il2cpp_codegen_add(L_28, 1));
int32_t L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
V_10 = L_30;
int32_t L_31 = V_10;
V_9 = L_31;
int32_t L_32 = V_9;
if ((((int32_t)L_32) > ((int32_t)((int32_t)92))))
{
goto IL_00b7;
}
}
{
int32_t L_33 = V_9;
if ((((int32_t)L_33) == ((int32_t)((int32_t)85))))
{
goto IL_0117;
}
}
{
goto IL_00ac;
}
IL_00ac:
{
int32_t L_34 = V_9;
if ((((int32_t)L_34) == ((int32_t)((int32_t)92))))
{
goto IL_00db;
}
}
{
goto IL_013d;
}
IL_00b7:
{
int32_t L_35 = V_9;
if ((((int32_t)L_35) == ((int32_t)((int32_t)110))))
{
goto IL_00e3;
}
}
{
goto IL_00bf;
}
IL_00bf:
{
int32_t L_36 = V_9;
switch (((int32_t)il2cpp_codegen_subtract(L_36, ((int32_t)114))))
{
case 0:
{
goto IL_00ef;
}
case 1:
{
goto IL_013d;
}
case 2:
{
goto IL_00f1;
}
case 3:
{
goto IL_00f3;
}
}
}
{
goto IL_013d;
}
IL_00db:
{
int32_t L_37 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_37, 1));
goto IL_013d;
}
IL_00e3:
{
V_7 = ((int32_t)10);
int32_t L_38 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_38, 1));
goto IL_013d;
}
IL_00ef:
{
goto IL_013d;
}
IL_00f1:
{
goto IL_013d;
}
IL_00f3:
{
int32_t L_39 = V_6;
int32_t L_40 = V_2;
V_11 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_39, 5))) < ((int32_t)L_40))? 1 : 0);
bool L_41 = V_11;
if (!L_41)
{
goto IL_0115;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_42 = V_3;
int32_t L_43 = V_6;
int32_t L_44;
L_44 = TMP_Text_GetUTF16_m5DCD9865CEC393DE526550744D2F17448FFFB031(__this, L_42, ((int32_t)il2cpp_codegen_add(L_43, 2)), NULL);
V_7 = L_44;
int32_t L_45 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_45, 5));
}
IL_0115:
{
goto IL_013d;
}
IL_0117:
{
int32_t L_46 = V_6;
int32_t L_47 = V_2;
V_12 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_46, ((int32_t)9)))) < ((int32_t)L_47))? 1 : 0);
bool L_48 = V_12;
if (!L_48)
{
goto IL_013b;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_49 = V_3;
int32_t L_50 = V_6;
int32_t L_51;
L_51 = TMP_Text_GetUTF32_m5417B3BA725A8B5C3EAD1AB1C8704DCAA7D8112E(__this, L_49, ((int32_t)il2cpp_codegen_add(L_50, 2)), NULL);
V_7 = L_51;
int32_t L_52 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_52, ((int32_t)9)));
}
IL_013b:
{
goto IL_013d;
}
IL_013d:
{
}
IL_013e:
{
int32_t L_53 = V_7;
V_13 = (bool)((((int32_t)L_53) == ((int32_t)((int32_t)60)))? 1 : 0);
bool L_54 = V_13;
if (!L_54)
{
goto IL_02a6;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_55 = V_3;
int32_t L_56 = V_6;
int32_t L_57;
L_57 = TMP_Text_GetMarkupTagHashCode_mB8A6C6A1ED3D704ADBEA0E90FCEF722AB826CD7A(__this, L_55, ((int32_t)il2cpp_codegen_add(L_56, 1)), NULL);
V_14 = L_57;
int32_t L_58 = V_14;
V_17 = L_58;
int32_t L_59 = V_17;
V_16 = L_59;
int32_t L_60 = V_16;
if ((((int32_t)L_60) > ((int32_t)((int32_t)2869039))))
{
goto IL_0185;
}
}
{
int32_t L_61 = V_16;
if ((((int32_t)L_61) == ((int32_t)((int32_t)2256))))
{
goto IL_01b2;
}
}
{
goto IL_0177;
}
IL_0177:
{
int32_t L_62 = V_16;
if ((((int32_t)L_62) == ((int32_t)((int32_t)2869039))))
{
goto IL_01f0;
}
}
{
goto IL_02a5;
}
IL_0185:
{
int32_t L_63 = V_16;
if ((((int32_t)L_63) == ((int32_t)((int32_t)3288238))))
{
goto IL_0231;
}
}
{
goto IL_0193;
}
IL_0193:
{
int32_t L_64 = V_16;
if ((((int32_t)L_64) == ((int32_t)((int32_t)100252951))))
{
goto IL_026f;
}
}
{
goto IL_01a1;
}
IL_01a1:
{
int32_t L_65 = V_16;
if ((((int32_t)L_65) == ((int32_t)((int32_t)1927738392))))
{
goto IL_028e;
}
}
{
goto IL_02a5;
}
IL_01b2:
{
int32_t* L_66 = ___writeIndex4;
int32_t L_67 = *((int32_t*)L_66);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_68 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_69 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_68);
NullCheck(L_69);
V_18 = (bool)((((int32_t)L_67) == ((int32_t)((int32_t)(((RuntimeArray*)L_69)->max_length))))? 1 : 0);
bool L_70 = V_18;
if (!L_70)
{
goto IL_01cb;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_71 = ___charBuffer3;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_71, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_01cb:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_72 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_73 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_72);
int32_t* L_74 = ___writeIndex4;
int32_t L_75 = *((int32_t*)L_74);
NullCheck(L_73);
((L_73)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_75)))->___unicode_0 = ((int32_t)10);
int32_t* L_76 = ___writeIndex4;
int32_t* L_77 = ___writeIndex4;
int32_t L_78 = *((int32_t*)L_77);
*((int32_t*)L_76) = (int32_t)((int32_t)il2cpp_codegen_add(L_78, 1));
int32_t L_79 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_79, 3));
goto IL_02da;
}
IL_01f0:
{
int32_t* L_80 = ___writeIndex4;
int32_t L_81 = *((int32_t*)L_80);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_82 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_83 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_82);
NullCheck(L_83);
V_19 = (bool)((((int32_t)L_81) == ((int32_t)((int32_t)(((RuntimeArray*)L_83)->max_length))))? 1 : 0);
bool L_84 = V_19;
if (!L_84)
{
goto IL_0209;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_85 = ___charBuffer3;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_85, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0209:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_86 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_87 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_86);
int32_t* L_88 = ___writeIndex4;
int32_t L_89 = *((int32_t*)L_88);
NullCheck(L_87);
((L_87)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_89)))->___unicode_0 = ((int32_t)160);
int32_t* L_90 = ___writeIndex4;
int32_t* L_91 = ___writeIndex4;
int32_t L_92 = *((int32_t*)L_91);
*((int32_t*)L_90) = (int32_t)((int32_t)il2cpp_codegen_add(L_92, 1));
int32_t L_93 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_93, 5));
goto IL_02da;
}
IL_0231:
{
int32_t* L_94 = ___writeIndex4;
int32_t L_95 = *((int32_t*)L_94);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_96 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_97 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_96);
NullCheck(L_97);
V_20 = (bool)((((int32_t)L_95) == ((int32_t)((int32_t)(((RuntimeArray*)L_97)->max_length))))? 1 : 0);
bool L_98 = V_20;
if (!L_98)
{
goto IL_024a;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_99 = ___charBuffer3;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_99, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_024a:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_100 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_101 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_100);
int32_t* L_102 = ___writeIndex4;
int32_t L_103 = *((int32_t*)L_102);
NullCheck(L_101);
((L_101)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_103)))->___unicode_0 = ((int32_t)8203);
int32_t* L_104 = ___writeIndex4;
int32_t* L_105 = ___writeIndex4;
int32_t L_106 = *((int32_t*)L_105);
*((int32_t*)L_104) = (int32_t)((int32_t)il2cpp_codegen_add(L_106, 1));
int32_t L_107 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_107, 5));
goto IL_02da;
}
IL_026f:
{
int32_t L_108 = V_6;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_109 = ___charBuffer3;
int32_t* L_110 = ___writeIndex4;
bool L_111;
L_111 = TMP_Text_ReplaceOpeningStyleTag_mFE4861A4A73DA7879121B8CFCEB051320E7C2B3A(__this, (&V_3), L_108, (&V_15), L_109, L_110, NULL);
V_21 = L_111;
bool L_112 = V_21;
if (!L_112)
{
goto IL_028c;
}
}
{
int32_t L_113 = V_15;
V_6 = L_113;
goto IL_02da;
}
IL_028c:
{
goto IL_02a5;
}
IL_028e:
{
int32_t L_114 = V_6;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_115 = ___charBuffer3;
int32_t* L_116 = ___writeIndex4;
TMP_Text_ReplaceClosingStyleTag_m930CFBC820CF701CCF4A92E8CC798640FD9E0009(__this, (&V_3), L_114, L_115, L_116, NULL);
int32_t L_117 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_117, 7));
goto IL_02da;
}
IL_02a5:
{
}
IL_02a6:
{
int32_t* L_118 = ___writeIndex4;
int32_t L_119 = *((int32_t*)L_118);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_120 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_121 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_120);
NullCheck(L_121);
V_22 = (bool)((((int32_t)L_119) == ((int32_t)((int32_t)(((RuntimeArray*)L_121)->max_length))))? 1 : 0);
bool L_122 = V_22;
if (!L_122)
{
goto IL_02bf;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_123 = ___charBuffer3;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_123, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_02bf:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_124 = ___charBuffer3;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_125 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_124);
int32_t* L_126 = ___writeIndex4;
int32_t L_127 = *((int32_t*)L_126);
NullCheck(L_125);
int32_t L_128 = V_7;
((L_125)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_127)))->___unicode_0 = L_128;
int32_t* L_129 = ___writeIndex4;
int32_t* L_130 = ___writeIndex4;
int32_t L_131 = *((int32_t*)L_130);
*((int32_t*)L_129) = (int32_t)((int32_t)il2cpp_codegen_add(L_131, 1));
}
IL_02da:
{
int32_t L_132 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_132, 1));
}
IL_02e0:
{
int32_t L_133 = V_6;
int32_t L_134 = V_2;
V_23 = (bool)((((int32_t)L_133) < ((int32_t)L_134))? 1 : 0);
bool L_135 = V_23;
if (L_135)
{
goto IL_0071;
}
}
{
int32_t L_136 = __this->___m_TextStyleStackDepth_239;
__this->___m_TextStyleStackDepth_239 = ((int32_t)il2cpp_codegen_subtract(L_136, 1));
V_5 = (bool)1;
goto IL_0301;
}
IL_0301:
{
bool L_137 = V_5;
return L_137;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ReplaceClosingStyleTag_m8F0A4C880ED8811B94472B9A122FEE3DF1CEA06C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* ___sourceText0, int32_t ___srcIndex1, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___charBuffer2, int32_t* ___writeIndex3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* V_1 = NULL;
int32_t V_2 = 0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_3 = NULL;
bool V_4 = false;
int32_t V_5 = 0;
int32_t V_6 = 0;
bool V_7 = false;
int32_t V_8 = 0;
int32_t V_9 = 0;
bool V_10 = false;
bool V_11 = false;
bool V_12 = false;
int32_t V_13 = 0;
int32_t V_14 = 0;
int32_t V_15 = 0;
int32_t V_16 = 0;
bool V_17 = false;
bool V_18 = false;
bool V_19 = false;
bool V_20 = false;
bool V_21 = false;
bool V_22 = false;
int32_t G_B6_0 = 0;
{
TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2* L_0 = __this->___m_TextStyleStacks_238;
int32_t L_1 = __this->___m_TextStyleStackDepth_239;
NullCheck(L_0);
int32_t L_2;
L_2 = TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A(((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_1, 1))))), TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A_RuntimeMethod_var);
V_0 = L_2;
int32_t L_3 = V_0;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_4;
L_4 = TMP_Text_GetStyle_m556317F676C8A404F2BEEB1EA28AA188229D5886(__this, L_3, NULL);
V_1 = L_4;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_5 = V_1;
V_4 = (bool)((((RuntimeObject*)(TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C*)L_5) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_6 = V_4;
if (!L_6)
{
goto IL_0031;
}
}
{
goto IL_02d4;
}
IL_0031:
{
int32_t L_7 = __this->___m_TextStyleStackDepth_239;
__this->___m_TextStyleStackDepth_239 = ((int32_t)il2cpp_codegen_add(L_7, 1));
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_8 = V_1;
NullCheck(L_8);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9;
L_9 = TMP_Style_get_styleClosingTagArray_m286697AF575989E08FA185934FCCA3CD54565A8B(L_8, NULL);
NullCheck(L_9);
V_2 = ((int32_t)(((RuntimeArray*)L_9)->max_length));
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_10 = V_1;
NullCheck(L_10);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11;
L_11 = TMP_Style_get_styleClosingTagArray_m286697AF575989E08FA185934FCCA3CD54565A8B(L_10, NULL);
V_3 = L_11;
V_5 = 0;
goto IL_02b8;
}
IL_0057:
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_12 = V_3;
int32_t L_13 = V_5;
NullCheck(L_12);
int32_t L_14 = L_13;
int32_t L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
V_6 = L_15;
int32_t L_16 = V_6;
if ((!(((uint32_t)L_16) == ((uint32_t)((int32_t)92)))))
{
goto IL_006d;
}
}
{
int32_t L_17 = V_5;
int32_t L_18 = V_2;
G_B6_0 = ((((int32_t)((int32_t)il2cpp_codegen_add(L_17, 1))) < ((int32_t)L_18))? 1 : 0);
goto IL_006e;
}
IL_006d:
{
G_B6_0 = 0;
}
IL_006e:
{
V_7 = (bool)G_B6_0;
bool L_19 = V_7;
if (!L_19)
{
goto IL_0124;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_20 = V_3;
int32_t L_21 = V_5;
NullCheck(L_20);
int32_t L_22 = ((int32_t)il2cpp_codegen_add(L_21, 1));
int32_t L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
V_9 = L_23;
int32_t L_24 = V_9;
V_8 = L_24;
int32_t L_25 = V_8;
if ((((int32_t)L_25) > ((int32_t)((int32_t)92))))
{
goto IL_009d;
}
}
{
int32_t L_26 = V_8;
if ((((int32_t)L_26) == ((int32_t)((int32_t)85))))
{
goto IL_00fd;
}
}
{
goto IL_0092;
}
IL_0092:
{
int32_t L_27 = V_8;
if ((((int32_t)L_27) == ((int32_t)((int32_t)92))))
{
goto IL_00c1;
}
}
{
goto IL_0123;
}
IL_009d:
{
int32_t L_28 = V_8;
if ((((int32_t)L_28) == ((int32_t)((int32_t)110))))
{
goto IL_00c9;
}
}
{
goto IL_00a5;
}
IL_00a5:
{
int32_t L_29 = V_8;
switch (((int32_t)il2cpp_codegen_subtract(L_29, ((int32_t)114))))
{
case 0:
{
goto IL_00d5;
}
case 1:
{
goto IL_0123;
}
case 2:
{
goto IL_00d7;
}
case 3:
{
goto IL_00d9;
}
}
}
{
goto IL_0123;
}
IL_00c1:
{
int32_t L_30 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_30, 1));
goto IL_0123;
}
IL_00c9:
{
V_6 = ((int32_t)10);
int32_t L_31 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_31, 1));
goto IL_0123;
}
IL_00d5:
{
goto IL_0123;
}
IL_00d7:
{
goto IL_0123;
}
IL_00d9:
{
int32_t L_32 = V_5;
int32_t L_33 = V_2;
V_10 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_32, 5))) < ((int32_t)L_33))? 1 : 0);
bool L_34 = V_10;
if (!L_34)
{
goto IL_00fb;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_35 = V_3;
int32_t L_36 = V_5;
int32_t L_37;
L_37 = TMP_Text_GetUTF16_m5DCD9865CEC393DE526550744D2F17448FFFB031(__this, L_35, ((int32_t)il2cpp_codegen_add(L_36, 2)), NULL);
V_6 = L_37;
int32_t L_38 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_38, 5));
}
IL_00fb:
{
goto IL_0123;
}
IL_00fd:
{
int32_t L_39 = V_5;
int32_t L_40 = V_2;
V_11 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_39, ((int32_t)9)))) < ((int32_t)L_40))? 1 : 0);
bool L_41 = V_11;
if (!L_41)
{
goto IL_0121;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_42 = V_3;
int32_t L_43 = V_5;
int32_t L_44;
L_44 = TMP_Text_GetUTF32_m5417B3BA725A8B5C3EAD1AB1C8704DCAA7D8112E(__this, L_42, ((int32_t)il2cpp_codegen_add(L_43, 2)), NULL);
V_6 = L_44;
int32_t L_45 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_45, ((int32_t)9)));
}
IL_0121:
{
goto IL_0123;
}
IL_0123:
{
}
IL_0124:
{
int32_t L_46 = V_6;
V_12 = (bool)((((int32_t)L_46) == ((int32_t)((int32_t)60)))? 1 : 0);
bool L_47 = V_12;
if (!L_47)
{
goto IL_0281;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_48 = V_3;
int32_t L_49 = V_5;
int32_t L_50;
L_50 = TMP_Text_GetMarkupTagHashCode_mB8A6C6A1ED3D704ADBEA0E90FCEF722AB826CD7A(__this, L_48, ((int32_t)il2cpp_codegen_add(L_49, 1)), NULL);
V_13 = L_50;
int32_t L_51 = V_13;
V_16 = L_51;
int32_t L_52 = V_16;
V_15 = L_52;
int32_t L_53 = V_15;
if ((((int32_t)L_53) > ((int32_t)((int32_t)2869039))))
{
goto IL_016b;
}
}
{
int32_t L_54 = V_15;
if ((((int32_t)L_54) == ((int32_t)((int32_t)2256))))
{
goto IL_0198;
}
}
{
goto IL_015d;
}
IL_015d:
{
int32_t L_55 = V_15;
if ((((int32_t)L_55) == ((int32_t)((int32_t)2869039))))
{
goto IL_01d3;
}
}
{
goto IL_0280;
}
IL_016b:
{
int32_t L_56 = V_15;
if ((((int32_t)L_56) == ((int32_t)((int32_t)3288238))))
{
goto IL_0211;
}
}
{
goto IL_0179;
}
IL_0179:
{
int32_t L_57 = V_15;
if ((((int32_t)L_57) == ((int32_t)((int32_t)100252951))))
{
goto IL_024c;
}
}
{
goto IL_0187;
}
IL_0187:
{
int32_t L_58 = V_15;
if ((((int32_t)L_58) == ((int32_t)((int32_t)1927738392))))
{
goto IL_026a;
}
}
{
goto IL_0280;
}
IL_0198:
{
int32_t* L_59 = ___writeIndex3;
int32_t L_60 = *((int32_t*)L_59);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_61 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_62 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_61);
NullCheck(L_62);
V_17 = (bool)((((int32_t)L_60) == ((int32_t)((int32_t)(((RuntimeArray*)L_62)->max_length))))? 1 : 0);
bool L_63 = V_17;
if (!L_63)
{
goto IL_01af;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_64 = ___charBuffer2;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_64, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_01af:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_65 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_66 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_65);
int32_t* L_67 = ___writeIndex3;
int32_t L_68 = *((int32_t*)L_67);
NullCheck(L_66);
((L_66)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_68)))->___unicode_0 = ((int32_t)10);
int32_t* L_69 = ___writeIndex3;
int32_t* L_70 = ___writeIndex3;
int32_t L_71 = *((int32_t*)L_70);
*((int32_t*)L_69) = (int32_t)((int32_t)il2cpp_codegen_add(L_71, 1));
int32_t L_72 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_72, 3));
goto IL_02b2;
}
IL_01d3:
{
int32_t* L_73 = ___writeIndex3;
int32_t L_74 = *((int32_t*)L_73);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_75 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_76 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_75);
NullCheck(L_76);
V_18 = (bool)((((int32_t)L_74) == ((int32_t)((int32_t)(((RuntimeArray*)L_76)->max_length))))? 1 : 0);
bool L_77 = V_18;
if (!L_77)
{
goto IL_01ea;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_78 = ___charBuffer2;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_78, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_01ea:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_79 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_80 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_79);
int32_t* L_81 = ___writeIndex3;
int32_t L_82 = *((int32_t*)L_81);
NullCheck(L_80);
((L_80)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_82)))->___unicode_0 = ((int32_t)160);
int32_t* L_83 = ___writeIndex3;
int32_t* L_84 = ___writeIndex3;
int32_t L_85 = *((int32_t*)L_84);
*((int32_t*)L_83) = (int32_t)((int32_t)il2cpp_codegen_add(L_85, 1));
int32_t L_86 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_86, 5));
goto IL_02b2;
}
IL_0211:
{
int32_t* L_87 = ___writeIndex3;
int32_t L_88 = *((int32_t*)L_87);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_89 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_90 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_89);
NullCheck(L_90);
V_19 = (bool)((((int32_t)L_88) == ((int32_t)((int32_t)(((RuntimeArray*)L_90)->max_length))))? 1 : 0);
bool L_91 = V_19;
if (!L_91)
{
goto IL_0228;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_92 = ___charBuffer2;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_92, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0228:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_93 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_94 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_93);
int32_t* L_95 = ___writeIndex3;
int32_t L_96 = *((int32_t*)L_95);
NullCheck(L_94);
((L_94)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_96)))->___unicode_0 = ((int32_t)8203);
int32_t* L_97 = ___writeIndex3;
int32_t* L_98 = ___writeIndex3;
int32_t L_99 = *((int32_t*)L_98);
*((int32_t*)L_97) = (int32_t)((int32_t)il2cpp_codegen_add(L_99, 1));
int32_t L_100 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_100, 5));
goto IL_02b2;
}
IL_024c:
{
int32_t L_101 = V_5;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_102 = ___charBuffer2;
int32_t* L_103 = ___writeIndex3;
bool L_104;
L_104 = TMP_Text_ReplaceOpeningStyleTag_mFE4861A4A73DA7879121B8CFCEB051320E7C2B3A(__this, (&V_3), L_101, (&V_14), L_102, L_103, NULL);
V_20 = L_104;
bool L_105 = V_20;
if (!L_105)
{
goto IL_0268;
}
}
{
int32_t L_106 = V_14;
V_5 = L_106;
goto IL_02b2;
}
IL_0268:
{
goto IL_0280;
}
IL_026a:
{
int32_t L_107 = V_5;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_108 = ___charBuffer2;
int32_t* L_109 = ___writeIndex3;
TMP_Text_ReplaceClosingStyleTag_m930CFBC820CF701CCF4A92E8CC798640FD9E0009(__this, (&V_3), L_107, L_108, L_109, NULL);
int32_t L_110 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_110, 7));
goto IL_02b2;
}
IL_0280:
{
}
IL_0281:
{
int32_t* L_111 = ___writeIndex3;
int32_t L_112 = *((int32_t*)L_111);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_113 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_114 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_113);
NullCheck(L_114);
V_21 = (bool)((((int32_t)L_112) == ((int32_t)((int32_t)(((RuntimeArray*)L_114)->max_length))))? 1 : 0);
bool L_115 = V_21;
if (!L_115)
{
goto IL_0298;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_116 = ___charBuffer2;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_116, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0298:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_117 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_118 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_117);
int32_t* L_119 = ___writeIndex3;
int32_t L_120 = *((int32_t*)L_119);
NullCheck(L_118);
int32_t L_121 = V_6;
((L_118)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_120)))->___unicode_0 = L_121;
int32_t* L_122 = ___writeIndex3;
int32_t* L_123 = ___writeIndex3;
int32_t L_124 = *((int32_t*)L_123);
*((int32_t*)L_122) = (int32_t)((int32_t)il2cpp_codegen_add(L_124, 1));
}
IL_02b2:
{
int32_t L_125 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_125, 1));
}
IL_02b8:
{
int32_t L_126 = V_5;
int32_t L_127 = V_2;
V_22 = (bool)((((int32_t)L_126) < ((int32_t)L_127))? 1 : 0);
bool L_128 = V_22;
if (L_128)
{
goto IL_0057;
}
}
{
int32_t L_129 = __this->___m_TextStyleStackDepth_239;
__this->___m_TextStyleStackDepth_239 = ((int32_t)il2cpp_codegen_subtract(L_129, 1));
}
IL_02d4:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ReplaceClosingStyleTag_m930CFBC820CF701CCF4A92E8CC798640FD9E0009 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** ___sourceText0, int32_t ___srcIndex1, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___charBuffer2, int32_t* ___writeIndex3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* V_1 = NULL;
int32_t V_2 = 0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_3 = NULL;
bool V_4 = false;
int32_t V_5 = 0;
int32_t V_6 = 0;
bool V_7 = false;
int32_t V_8 = 0;
int32_t V_9 = 0;
bool V_10 = false;
bool V_11 = false;
bool V_12 = false;
int32_t V_13 = 0;
int32_t V_14 = 0;
int32_t V_15 = 0;
int32_t V_16 = 0;
bool V_17 = false;
bool V_18 = false;
bool V_19 = false;
bool V_20 = false;
bool V_21 = false;
bool V_22 = false;
int32_t G_B6_0 = 0;
{
TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2* L_0 = __this->___m_TextStyleStacks_238;
int32_t L_1 = __this->___m_TextStyleStackDepth_239;
NullCheck(L_0);
int32_t L_2;
L_2 = TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A(((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_1, 1))))), TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A_RuntimeMethod_var);
V_0 = L_2;
int32_t L_3 = V_0;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_4;
L_4 = TMP_Text_GetStyle_m556317F676C8A404F2BEEB1EA28AA188229D5886(__this, L_3, NULL);
V_1 = L_4;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_5 = V_1;
V_4 = (bool)((((RuntimeObject*)(TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C*)L_5) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_6 = V_4;
if (!L_6)
{
goto IL_0031;
}
}
{
goto IL_02d4;
}
IL_0031:
{
int32_t L_7 = __this->___m_TextStyleStackDepth_239;
__this->___m_TextStyleStackDepth_239 = ((int32_t)il2cpp_codegen_add(L_7, 1));
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_8 = V_1;
NullCheck(L_8);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9;
L_9 = TMP_Style_get_styleClosingTagArray_m286697AF575989E08FA185934FCCA3CD54565A8B(L_8, NULL);
NullCheck(L_9);
V_2 = ((int32_t)(((RuntimeArray*)L_9)->max_length));
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_10 = V_1;
NullCheck(L_10);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11;
L_11 = TMP_Style_get_styleClosingTagArray_m286697AF575989E08FA185934FCCA3CD54565A8B(L_10, NULL);
V_3 = L_11;
V_5 = 0;
goto IL_02b8;
}
IL_0057:
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_12 = V_3;
int32_t L_13 = V_5;
NullCheck(L_12);
int32_t L_14 = L_13;
int32_t L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
V_6 = L_15;
int32_t L_16 = V_6;
if ((!(((uint32_t)L_16) == ((uint32_t)((int32_t)92)))))
{
goto IL_006d;
}
}
{
int32_t L_17 = V_5;
int32_t L_18 = V_2;
G_B6_0 = ((((int32_t)((int32_t)il2cpp_codegen_add(L_17, 1))) < ((int32_t)L_18))? 1 : 0);
goto IL_006e;
}
IL_006d:
{
G_B6_0 = 0;
}
IL_006e:
{
V_7 = (bool)G_B6_0;
bool L_19 = V_7;
if (!L_19)
{
goto IL_0124;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_20 = V_3;
int32_t L_21 = V_5;
NullCheck(L_20);
int32_t L_22 = ((int32_t)il2cpp_codegen_add(L_21, 1));
int32_t L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
V_9 = L_23;
int32_t L_24 = V_9;
V_8 = L_24;
int32_t L_25 = V_8;
if ((((int32_t)L_25) > ((int32_t)((int32_t)92))))
{
goto IL_009d;
}
}
{
int32_t L_26 = V_8;
if ((((int32_t)L_26) == ((int32_t)((int32_t)85))))
{
goto IL_00fd;
}
}
{
goto IL_0092;
}
IL_0092:
{
int32_t L_27 = V_8;
if ((((int32_t)L_27) == ((int32_t)((int32_t)92))))
{
goto IL_00c1;
}
}
{
goto IL_0123;
}
IL_009d:
{
int32_t L_28 = V_8;
if ((((int32_t)L_28) == ((int32_t)((int32_t)110))))
{
goto IL_00c9;
}
}
{
goto IL_00a5;
}
IL_00a5:
{
int32_t L_29 = V_8;
switch (((int32_t)il2cpp_codegen_subtract(L_29, ((int32_t)114))))
{
case 0:
{
goto IL_00d5;
}
case 1:
{
goto IL_0123;
}
case 2:
{
goto IL_00d7;
}
case 3:
{
goto IL_00d9;
}
}
}
{
goto IL_0123;
}
IL_00c1:
{
int32_t L_30 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_30, 1));
goto IL_0123;
}
IL_00c9:
{
V_6 = ((int32_t)10);
int32_t L_31 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_31, 1));
goto IL_0123;
}
IL_00d5:
{
goto IL_0123;
}
IL_00d7:
{
goto IL_0123;
}
IL_00d9:
{
int32_t L_32 = V_5;
int32_t L_33 = V_2;
V_10 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_32, 5))) < ((int32_t)L_33))? 1 : 0);
bool L_34 = V_10;
if (!L_34)
{
goto IL_00fb;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_35 = V_3;
int32_t L_36 = V_5;
int32_t L_37;
L_37 = TMP_Text_GetUTF16_m5DCD9865CEC393DE526550744D2F17448FFFB031(__this, L_35, ((int32_t)il2cpp_codegen_add(L_36, 2)), NULL);
V_6 = L_37;
int32_t L_38 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_38, 5));
}
IL_00fb:
{
goto IL_0123;
}
IL_00fd:
{
int32_t L_39 = V_5;
int32_t L_40 = V_2;
V_11 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_39, ((int32_t)9)))) < ((int32_t)L_40))? 1 : 0);
bool L_41 = V_11;
if (!L_41)
{
goto IL_0121;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_42 = V_3;
int32_t L_43 = V_5;
int32_t L_44;
L_44 = TMP_Text_GetUTF32_m5417B3BA725A8B5C3EAD1AB1C8704DCAA7D8112E(__this, L_42, ((int32_t)il2cpp_codegen_add(L_43, 2)), NULL);
V_6 = L_44;
int32_t L_45 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_45, ((int32_t)9)));
}
IL_0121:
{
goto IL_0123;
}
IL_0123:
{
}
IL_0124:
{
int32_t L_46 = V_6;
V_12 = (bool)((((int32_t)L_46) == ((int32_t)((int32_t)60)))? 1 : 0);
bool L_47 = V_12;
if (!L_47)
{
goto IL_0281;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_48 = V_3;
int32_t L_49 = V_5;
int32_t L_50;
L_50 = TMP_Text_GetMarkupTagHashCode_mB8A6C6A1ED3D704ADBEA0E90FCEF722AB826CD7A(__this, L_48, ((int32_t)il2cpp_codegen_add(L_49, 1)), NULL);
V_13 = L_50;
int32_t L_51 = V_13;
V_16 = L_51;
int32_t L_52 = V_16;
V_15 = L_52;
int32_t L_53 = V_15;
if ((((int32_t)L_53) > ((int32_t)((int32_t)2869039))))
{
goto IL_016b;
}
}
{
int32_t L_54 = V_15;
if ((((int32_t)L_54) == ((int32_t)((int32_t)2256))))
{
goto IL_0198;
}
}
{
goto IL_015d;
}
IL_015d:
{
int32_t L_55 = V_15;
if ((((int32_t)L_55) == ((int32_t)((int32_t)2869039))))
{
goto IL_01d3;
}
}
{
goto IL_0280;
}
IL_016b:
{
int32_t L_56 = V_15;
if ((((int32_t)L_56) == ((int32_t)((int32_t)3288238))))
{
goto IL_0211;
}
}
{
goto IL_0179;
}
IL_0179:
{
int32_t L_57 = V_15;
if ((((int32_t)L_57) == ((int32_t)((int32_t)100252951))))
{
goto IL_024c;
}
}
{
goto IL_0187;
}
IL_0187:
{
int32_t L_58 = V_15;
if ((((int32_t)L_58) == ((int32_t)((int32_t)1927738392))))
{
goto IL_026a;
}
}
{
goto IL_0280;
}
IL_0198:
{
int32_t* L_59 = ___writeIndex3;
int32_t L_60 = *((int32_t*)L_59);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_61 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_62 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_61);
NullCheck(L_62);
V_17 = (bool)((((int32_t)L_60) == ((int32_t)((int32_t)(((RuntimeArray*)L_62)->max_length))))? 1 : 0);
bool L_63 = V_17;
if (!L_63)
{
goto IL_01af;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_64 = ___charBuffer2;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_64, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_01af:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_65 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_66 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_65);
int32_t* L_67 = ___writeIndex3;
int32_t L_68 = *((int32_t*)L_67);
NullCheck(L_66);
((L_66)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_68)))->___unicode_0 = ((int32_t)10);
int32_t* L_69 = ___writeIndex3;
int32_t* L_70 = ___writeIndex3;
int32_t L_71 = *((int32_t*)L_70);
*((int32_t*)L_69) = (int32_t)((int32_t)il2cpp_codegen_add(L_71, 1));
int32_t L_72 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_72, 3));
goto IL_02b2;
}
IL_01d3:
{
int32_t* L_73 = ___writeIndex3;
int32_t L_74 = *((int32_t*)L_73);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_75 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_76 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_75);
NullCheck(L_76);
V_18 = (bool)((((int32_t)L_74) == ((int32_t)((int32_t)(((RuntimeArray*)L_76)->max_length))))? 1 : 0);
bool L_77 = V_18;
if (!L_77)
{
goto IL_01ea;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_78 = ___charBuffer2;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_78, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_01ea:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_79 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_80 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_79);
int32_t* L_81 = ___writeIndex3;
int32_t L_82 = *((int32_t*)L_81);
NullCheck(L_80);
((L_80)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_82)))->___unicode_0 = ((int32_t)160);
int32_t* L_83 = ___writeIndex3;
int32_t* L_84 = ___writeIndex3;
int32_t L_85 = *((int32_t*)L_84);
*((int32_t*)L_83) = (int32_t)((int32_t)il2cpp_codegen_add(L_85, 1));
int32_t L_86 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_86, 5));
goto IL_02b2;
}
IL_0211:
{
int32_t* L_87 = ___writeIndex3;
int32_t L_88 = *((int32_t*)L_87);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_89 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_90 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_89);
NullCheck(L_90);
V_19 = (bool)((((int32_t)L_88) == ((int32_t)((int32_t)(((RuntimeArray*)L_90)->max_length))))? 1 : 0);
bool L_91 = V_19;
if (!L_91)
{
goto IL_0228;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_92 = ___charBuffer2;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_92, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0228:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_93 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_94 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_93);
int32_t* L_95 = ___writeIndex3;
int32_t L_96 = *((int32_t*)L_95);
NullCheck(L_94);
((L_94)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_96)))->___unicode_0 = ((int32_t)8203);
int32_t* L_97 = ___writeIndex3;
int32_t* L_98 = ___writeIndex3;
int32_t L_99 = *((int32_t*)L_98);
*((int32_t*)L_97) = (int32_t)((int32_t)il2cpp_codegen_add(L_99, 1));
int32_t L_100 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_100, 5));
goto IL_02b2;
}
IL_024c:
{
int32_t L_101 = V_5;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_102 = ___charBuffer2;
int32_t* L_103 = ___writeIndex3;
bool L_104;
L_104 = TMP_Text_ReplaceOpeningStyleTag_mFE4861A4A73DA7879121B8CFCEB051320E7C2B3A(__this, (&V_3), L_101, (&V_14), L_102, L_103, NULL);
V_20 = L_104;
bool L_105 = V_20;
if (!L_105)
{
goto IL_0268;
}
}
{
int32_t L_106 = V_14;
V_5 = L_106;
goto IL_02b2;
}
IL_0268:
{
goto IL_0280;
}
IL_026a:
{
int32_t L_107 = V_5;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_108 = ___charBuffer2;
int32_t* L_109 = ___writeIndex3;
TMP_Text_ReplaceClosingStyleTag_m930CFBC820CF701CCF4A92E8CC798640FD9E0009(__this, (&V_3), L_107, L_108, L_109, NULL);
int32_t L_110 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_110, 7));
goto IL_02b2;
}
IL_0280:
{
}
IL_0281:
{
int32_t* L_111 = ___writeIndex3;
int32_t L_112 = *((int32_t*)L_111);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_113 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_114 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_113);
NullCheck(L_114);
V_21 = (bool)((((int32_t)L_112) == ((int32_t)((int32_t)(((RuntimeArray*)L_114)->max_length))))? 1 : 0);
bool L_115 = V_21;
if (!L_115)
{
goto IL_0298;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_116 = ___charBuffer2;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_116, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0298:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_117 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_118 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_117);
int32_t* L_119 = ___writeIndex3;
int32_t L_120 = *((int32_t*)L_119);
NullCheck(L_118);
int32_t L_121 = V_6;
((L_118)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_120)))->___unicode_0 = L_121;
int32_t* L_122 = ___writeIndex3;
int32_t* L_123 = ___writeIndex3;
int32_t L_124 = *((int32_t*)L_123);
*((int32_t*)L_122) = (int32_t)((int32_t)il2cpp_codegen_add(L_124, 1));
}
IL_02b2:
{
int32_t L_125 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add(L_125, 1));
}
IL_02b8:
{
int32_t L_126 = V_5;
int32_t L_127 = V_2;
V_22 = (bool)((((int32_t)L_126) < ((int32_t)L_127))? 1 : 0);
bool L_128 = V_22;
if (L_128)
{
goto IL_0057;
}
}
{
int32_t L_129 = __this->___m_TextStyleStackDepth_239;
__this->___m_TextStyleStackDepth_239 = ((int32_t)il2cpp_codegen_subtract(L_129, 1));
}
IL_02d4:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_InsertOpeningStyleTag_m7194E079B8619F42CF27B3AB2A9B0A9FE2AB14BC (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* ___style0, int32_t ___srcIndex1, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___charBuffer2, int32_t* ___writeIndex3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_1 = NULL;
bool V_2 = false;
bool V_3 = false;
int32_t V_4 = 0;
int32_t V_5 = 0;
bool V_6 = false;
int32_t V_7 = 0;
int32_t V_8 = 0;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
int32_t V_12 = 0;
int32_t V_13 = 0;
int32_t V_14 = 0;
int32_t V_15 = 0;
bool V_16 = false;
bool V_17 = false;
bool V_18 = false;
bool V_19 = false;
bool V_20 = false;
bool V_21 = false;
int32_t G_B6_0 = 0;
{
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_0 = ___style0;
V_2 = (bool)((((RuntimeObject*)(TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C*)L_0) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_1 = V_2;
if (!L_1)
{
goto IL_0010;
}
}
{
V_3 = (bool)0;
goto IL_02ba;
}
IL_0010:
{
TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2* L_2 = __this->___m_TextStyleStacks_238;
NullCheck(L_2);
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_3 = ___style0;
NullCheck(L_3);
int32_t L_4;
L_4 = TMP_Style_get_hashCode_m19EC41583BBC799AC118324ED1A0405E26990E85(L_3, NULL);
TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1(((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))), L_4, TMP_TextProcessingStack_1_Push_mE4CB12D96232B82AE929649FE797DD2E0ECA2EB1_RuntimeMethod_var);
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_5 = ___style0;
NullCheck(L_5);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6;
L_6 = TMP_Style_get_styleOpeningTagArray_mB7640D4E0C5A8EF7E1C46AFEFC98909A642ACCC7(L_5, NULL);
NullCheck(L_6);
V_0 = ((int32_t)(((RuntimeArray*)L_6)->max_length));
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_7 = ___style0;
NullCheck(L_7);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_8;
L_8 = TMP_Style_get_styleOpeningTagArray_mB7640D4E0C5A8EF7E1C46AFEFC98909A642ACCC7(L_7, NULL);
V_1 = L_8;
V_4 = 0;
goto IL_02a1;
}
IL_0040:
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9 = V_1;
int32_t L_10 = V_4;
NullCheck(L_9);
int32_t L_11 = L_10;
int32_t L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
V_5 = L_12;
int32_t L_13 = V_5;
if ((!(((uint32_t)L_13) == ((uint32_t)((int32_t)92)))))
{
goto IL_0056;
}
}
{
int32_t L_14 = V_4;
int32_t L_15 = V_0;
G_B6_0 = ((((int32_t)((int32_t)il2cpp_codegen_add(L_14, 1))) < ((int32_t)L_15))? 1 : 0);
goto IL_0057;
}
IL_0056:
{
G_B6_0 = 0;
}
IL_0057:
{
V_6 = (bool)G_B6_0;
bool L_16 = V_6;
if (!L_16)
{
goto IL_010d;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_17 = V_1;
int32_t L_18 = V_4;
NullCheck(L_17);
int32_t L_19 = ((int32_t)il2cpp_codegen_add(L_18, 1));
int32_t L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
V_8 = L_20;
int32_t L_21 = V_8;
V_7 = L_21;
int32_t L_22 = V_7;
if ((((int32_t)L_22) > ((int32_t)((int32_t)92))))
{
goto IL_0086;
}
}
{
int32_t L_23 = V_7;
if ((((int32_t)L_23) == ((int32_t)((int32_t)85))))
{
goto IL_00e6;
}
}
{
goto IL_007b;
}
IL_007b:
{
int32_t L_24 = V_7;
if ((((int32_t)L_24) == ((int32_t)((int32_t)92))))
{
goto IL_00aa;
}
}
{
goto IL_010c;
}
IL_0086:
{
int32_t L_25 = V_7;
if ((((int32_t)L_25) == ((int32_t)((int32_t)110))))
{
goto IL_00b2;
}
}
{
goto IL_008e;
}
IL_008e:
{
int32_t L_26 = V_7;
switch (((int32_t)il2cpp_codegen_subtract(L_26, ((int32_t)114))))
{
case 0:
{
goto IL_00be;
}
case 1:
{
goto IL_010c;
}
case 2:
{
goto IL_00c0;
}
case 3:
{
goto IL_00c2;
}
}
}
{
goto IL_010c;
}
IL_00aa:
{
int32_t L_27 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_27, 1));
goto IL_010c;
}
IL_00b2:
{
V_5 = ((int32_t)10);
int32_t L_28 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_28, 1));
goto IL_010c;
}
IL_00be:
{
goto IL_010c;
}
IL_00c0:
{
goto IL_010c;
}
IL_00c2:
{
int32_t L_29 = V_4;
int32_t L_30 = V_0;
V_9 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_29, 5))) < ((int32_t)L_30))? 1 : 0);
bool L_31 = V_9;
if (!L_31)
{
goto IL_00e4;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_32 = V_1;
int32_t L_33 = V_4;
int32_t L_34;
L_34 = TMP_Text_GetUTF16_m5DCD9865CEC393DE526550744D2F17448FFFB031(__this, L_32, ((int32_t)il2cpp_codegen_add(L_33, 2)), NULL);
V_5 = L_34;
int32_t L_35 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_35, 5));
}
IL_00e4:
{
goto IL_010c;
}
IL_00e6:
{
int32_t L_36 = V_4;
int32_t L_37 = V_0;
V_10 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_36, ((int32_t)9)))) < ((int32_t)L_37))? 1 : 0);
bool L_38 = V_10;
if (!L_38)
{
goto IL_010a;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_39 = V_1;
int32_t L_40 = V_4;
int32_t L_41;
L_41 = TMP_Text_GetUTF32_m5417B3BA725A8B5C3EAD1AB1C8704DCAA7D8112E(__this, L_39, ((int32_t)il2cpp_codegen_add(L_40, 2)), NULL);
V_5 = L_41;
int32_t L_42 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_42, ((int32_t)9)));
}
IL_010a:
{
goto IL_010c;
}
IL_010c:
{
}
IL_010d:
{
int32_t L_43 = V_5;
V_11 = (bool)((((int32_t)L_43) == ((int32_t)((int32_t)60)))? 1 : 0);
bool L_44 = V_11;
if (!L_44)
{
goto IL_026a;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_45 = V_1;
int32_t L_46 = V_4;
int32_t L_47;
L_47 = TMP_Text_GetMarkupTagHashCode_mB8A6C6A1ED3D704ADBEA0E90FCEF722AB826CD7A(__this, L_45, ((int32_t)il2cpp_codegen_add(L_46, 1)), NULL);
V_12 = L_47;
int32_t L_48 = V_12;
V_15 = L_48;
int32_t L_49 = V_15;
V_14 = L_49;
int32_t L_50 = V_14;
if ((((int32_t)L_50) > ((int32_t)((int32_t)2869039))))
{
goto IL_0154;
}
}
{
int32_t L_51 = V_14;
if ((((int32_t)L_51) == ((int32_t)((int32_t)2256))))
{
goto IL_0181;
}
}
{
goto IL_0146;
}
IL_0146:
{
int32_t L_52 = V_14;
if ((((int32_t)L_52) == ((int32_t)((int32_t)2869039))))
{
goto IL_01bc;
}
}
{
goto IL_0269;
}
IL_0154:
{
int32_t L_53 = V_14;
if ((((int32_t)L_53) == ((int32_t)((int32_t)3288238))))
{
goto IL_01fa;
}
}
{
goto IL_0162;
}
IL_0162:
{
int32_t L_54 = V_14;
if ((((int32_t)L_54) == ((int32_t)((int32_t)100252951))))
{
goto IL_0235;
}
}
{
goto IL_0170;
}
IL_0170:
{
int32_t L_55 = V_14;
if ((((int32_t)L_55) == ((int32_t)((int32_t)1927738392))))
{
goto IL_0253;
}
}
{
goto IL_0269;
}
IL_0181:
{
int32_t* L_56 = ___writeIndex3;
int32_t L_57 = *((int32_t*)L_56);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_58 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_59 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_58);
NullCheck(L_59);
V_16 = (bool)((((int32_t)L_57) == ((int32_t)((int32_t)(((RuntimeArray*)L_59)->max_length))))? 1 : 0);
bool L_60 = V_16;
if (!L_60)
{
goto IL_0198;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_61 = ___charBuffer2;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_61, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0198:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_62 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_63 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_62);
int32_t* L_64 = ___writeIndex3;
int32_t L_65 = *((int32_t*)L_64);
NullCheck(L_63);
((L_63)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_65)))->___unicode_0 = ((int32_t)10);
int32_t* L_66 = ___writeIndex3;
int32_t* L_67 = ___writeIndex3;
int32_t L_68 = *((int32_t*)L_67);
*((int32_t*)L_66) = (int32_t)((int32_t)il2cpp_codegen_add(L_68, 1));
int32_t L_69 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_69, 3));
goto IL_029b;
}
IL_01bc:
{
int32_t* L_70 = ___writeIndex3;
int32_t L_71 = *((int32_t*)L_70);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_72 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_73 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_72);
NullCheck(L_73);
V_17 = (bool)((((int32_t)L_71) == ((int32_t)((int32_t)(((RuntimeArray*)L_73)->max_length))))? 1 : 0);
bool L_74 = V_17;
if (!L_74)
{
goto IL_01d3;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_75 = ___charBuffer2;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_75, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_01d3:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_76 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_77 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_76);
int32_t* L_78 = ___writeIndex3;
int32_t L_79 = *((int32_t*)L_78);
NullCheck(L_77);
((L_77)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_79)))->___unicode_0 = ((int32_t)160);
int32_t* L_80 = ___writeIndex3;
int32_t* L_81 = ___writeIndex3;
int32_t L_82 = *((int32_t*)L_81);
*((int32_t*)L_80) = (int32_t)((int32_t)il2cpp_codegen_add(L_82, 1));
int32_t L_83 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_83, 5));
goto IL_029b;
}
IL_01fa:
{
int32_t* L_84 = ___writeIndex3;
int32_t L_85 = *((int32_t*)L_84);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_86 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_87 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_86);
NullCheck(L_87);
V_18 = (bool)((((int32_t)L_85) == ((int32_t)((int32_t)(((RuntimeArray*)L_87)->max_length))))? 1 : 0);
bool L_88 = V_18;
if (!L_88)
{
goto IL_0211;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_89 = ___charBuffer2;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_89, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0211:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_90 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_91 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_90);
int32_t* L_92 = ___writeIndex3;
int32_t L_93 = *((int32_t*)L_92);
NullCheck(L_91);
((L_91)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_93)))->___unicode_0 = ((int32_t)8203);
int32_t* L_94 = ___writeIndex3;
int32_t* L_95 = ___writeIndex3;
int32_t L_96 = *((int32_t*)L_95);
*((int32_t*)L_94) = (int32_t)((int32_t)il2cpp_codegen_add(L_96, 1));
int32_t L_97 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_97, 5));
goto IL_029b;
}
IL_0235:
{
int32_t L_98 = V_4;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_99 = ___charBuffer2;
int32_t* L_100 = ___writeIndex3;
bool L_101;
L_101 = TMP_Text_ReplaceOpeningStyleTag_mFE4861A4A73DA7879121B8CFCEB051320E7C2B3A(__this, (&V_1), L_98, (&V_13), L_99, L_100, NULL);
V_19 = L_101;
bool L_102 = V_19;
if (!L_102)
{
goto IL_0251;
}
}
{
int32_t L_103 = V_13;
V_4 = L_103;
goto IL_029b;
}
IL_0251:
{
goto IL_0269;
}
IL_0253:
{
int32_t L_104 = V_4;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_105 = ___charBuffer2;
int32_t* L_106 = ___writeIndex3;
TMP_Text_ReplaceClosingStyleTag_m930CFBC820CF701CCF4A92E8CC798640FD9E0009(__this, (&V_1), L_104, L_105, L_106, NULL);
int32_t L_107 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_107, 7));
goto IL_029b;
}
IL_0269:
{
}
IL_026a:
{
int32_t* L_108 = ___writeIndex3;
int32_t L_109 = *((int32_t*)L_108);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_110 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_111 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_110);
NullCheck(L_111);
V_20 = (bool)((((int32_t)L_109) == ((int32_t)((int32_t)(((RuntimeArray*)L_111)->max_length))))? 1 : 0);
bool L_112 = V_20;
if (!L_112)
{
goto IL_0281;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_113 = ___charBuffer2;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_113, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0281:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_114 = ___charBuffer2;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_115 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_114);
int32_t* L_116 = ___writeIndex3;
int32_t L_117 = *((int32_t*)L_116);
NullCheck(L_115);
int32_t L_118 = V_5;
((L_115)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_117)))->___unicode_0 = L_118;
int32_t* L_119 = ___writeIndex3;
int32_t* L_120 = ___writeIndex3;
int32_t L_121 = *((int32_t*)L_120);
*((int32_t*)L_119) = (int32_t)((int32_t)il2cpp_codegen_add(L_121, 1));
}
IL_029b:
{
int32_t L_122 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_122, 1));
}
IL_02a1:
{
int32_t L_123 = V_4;
int32_t L_124 = V_0;
V_21 = (bool)((((int32_t)L_123) < ((int32_t)L_124))? 1 : 0);
bool L_125 = V_21;
if (L_125)
{
goto IL_0040;
}
}
{
__this->___m_TextStyleStackDepth_239 = 0;
V_3 = (bool)1;
goto IL_02ba;
}
IL_02ba:
{
bool L_126 = V_3;
return L_126;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_InsertClosingStyleTag_m6AA7BC638D9F53B831DB2702256CFBFC25EA19AA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** ___charBuffer0, int32_t* ___writeIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* V_1 = NULL;
int32_t V_2 = 0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_3 = NULL;
int32_t V_4 = 0;
int32_t V_5 = 0;
bool V_6 = false;
int32_t V_7 = 0;
int32_t V_8 = 0;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
int32_t V_12 = 0;
int32_t V_13 = 0;
int32_t V_14 = 0;
int32_t V_15 = 0;
bool V_16 = false;
bool V_17 = false;
bool V_18 = false;
bool V_19 = false;
bool V_20 = false;
bool V_21 = false;
int32_t G_B4_0 = 0;
{
TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2* L_0 = __this->___m_TextStyleStacks_238;
NullCheck(L_0);
int32_t L_1;
L_1 = TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A(((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))), TMP_TextProcessingStack_1_Pop_m2A3AEAA38A6E2D251B29C4B64B40D819A80AA31A_RuntimeMethod_var);
V_0 = L_1;
int32_t L_2 = V_0;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_3;
L_3 = TMP_Text_GetStyle_m556317F676C8A404F2BEEB1EA28AA188229D5886(__this, L_2, NULL);
V_1 = L_3;
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_4 = V_1;
NullCheck(L_4);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_5;
L_5 = TMP_Style_get_styleClosingTagArray_m286697AF575989E08FA185934FCCA3CD54565A8B(L_4, NULL);
NullCheck(L_5);
V_2 = ((int32_t)(((RuntimeArray*)L_5)->max_length));
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C* L_6 = V_1;
NullCheck(L_6);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7;
L_7 = TMP_Style_get_styleClosingTagArray_m286697AF575989E08FA185934FCCA3CD54565A8B(L_6, NULL);
V_3 = L_7;
V_4 = 0;
goto IL_0282;
}
IL_0033:
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_8 = V_3;
int32_t L_9 = V_4;
NullCheck(L_8);
int32_t L_10 = L_9;
int32_t L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
V_5 = L_11;
int32_t L_12 = V_5;
if ((!(((uint32_t)L_12) == ((uint32_t)((int32_t)92)))))
{
goto IL_0049;
}
}
{
int32_t L_13 = V_4;
int32_t L_14 = V_2;
G_B4_0 = ((((int32_t)((int32_t)il2cpp_codegen_add(L_13, 1))) < ((int32_t)L_14))? 1 : 0);
goto IL_004a;
}
IL_0049:
{
G_B4_0 = 0;
}
IL_004a:
{
V_6 = (bool)G_B4_0;
bool L_15 = V_6;
if (!L_15)
{
goto IL_0100;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_16 = V_3;
int32_t L_17 = V_4;
NullCheck(L_16);
int32_t L_18 = ((int32_t)il2cpp_codegen_add(L_17, 1));
int32_t L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
V_8 = L_19;
int32_t L_20 = V_8;
V_7 = L_20;
int32_t L_21 = V_7;
if ((((int32_t)L_21) > ((int32_t)((int32_t)92))))
{
goto IL_0079;
}
}
{
int32_t L_22 = V_7;
if ((((int32_t)L_22) == ((int32_t)((int32_t)85))))
{
goto IL_00d9;
}
}
{
goto IL_006e;
}
IL_006e:
{
int32_t L_23 = V_7;
if ((((int32_t)L_23) == ((int32_t)((int32_t)92))))
{
goto IL_009d;
}
}
{
goto IL_00ff;
}
IL_0079:
{
int32_t L_24 = V_7;
if ((((int32_t)L_24) == ((int32_t)((int32_t)110))))
{
goto IL_00a5;
}
}
{
goto IL_0081;
}
IL_0081:
{
int32_t L_25 = V_7;
switch (((int32_t)il2cpp_codegen_subtract(L_25, ((int32_t)114))))
{
case 0:
{
goto IL_00b1;
}
case 1:
{
goto IL_00ff;
}
case 2:
{
goto IL_00b3;
}
case 3:
{
goto IL_00b5;
}
}
}
{
goto IL_00ff;
}
IL_009d:
{
int32_t L_26 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_26, 1));
goto IL_00ff;
}
IL_00a5:
{
V_5 = ((int32_t)10);
int32_t L_27 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_27, 1));
goto IL_00ff;
}
IL_00b1:
{
goto IL_00ff;
}
IL_00b3:
{
goto IL_00ff;
}
IL_00b5:
{
int32_t L_28 = V_4;
int32_t L_29 = V_2;
V_9 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_28, 5))) < ((int32_t)L_29))? 1 : 0);
bool L_30 = V_9;
if (!L_30)
{
goto IL_00d7;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_31 = V_3;
int32_t L_32 = V_4;
int32_t L_33;
L_33 = TMP_Text_GetUTF16_m5DCD9865CEC393DE526550744D2F17448FFFB031(__this, L_31, ((int32_t)il2cpp_codegen_add(L_32, 2)), NULL);
V_5 = L_33;
int32_t L_34 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_34, 5));
}
IL_00d7:
{
goto IL_00ff;
}
IL_00d9:
{
int32_t L_35 = V_4;
int32_t L_36 = V_2;
V_10 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_35, ((int32_t)9)))) < ((int32_t)L_36))? 1 : 0);
bool L_37 = V_10;
if (!L_37)
{
goto IL_00fd;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_38 = V_3;
int32_t L_39 = V_4;
int32_t L_40;
L_40 = TMP_Text_GetUTF32_m5417B3BA725A8B5C3EAD1AB1C8704DCAA7D8112E(__this, L_38, ((int32_t)il2cpp_codegen_add(L_39, 2)), NULL);
V_5 = L_40;
int32_t L_41 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_41, ((int32_t)9)));
}
IL_00fd:
{
goto IL_00ff;
}
IL_00ff:
{
}
IL_0100:
{
int32_t L_42 = V_5;
V_11 = (bool)((((int32_t)L_42) == ((int32_t)((int32_t)60)))? 1 : 0);
bool L_43 = V_11;
if (!L_43)
{
goto IL_024f;
}
}
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_44 = V_3;
int32_t L_45 = V_4;
int32_t L_46;
L_46 = TMP_Text_GetMarkupTagHashCode_mB8A6C6A1ED3D704ADBEA0E90FCEF722AB826CD7A(__this, L_44, ((int32_t)il2cpp_codegen_add(L_45, 1)), NULL);
V_12 = L_46;
int32_t L_47 = V_12;
V_15 = L_47;
int32_t L_48 = V_15;
V_14 = L_48;
int32_t L_49 = V_14;
if ((((int32_t)L_49) > ((int32_t)((int32_t)2869039))))
{
goto IL_0147;
}
}
{
int32_t L_50 = V_14;
if ((((int32_t)L_50) == ((int32_t)((int32_t)2256))))
{
goto IL_0174;
}
}
{
goto IL_0139;
}
IL_0139:
{
int32_t L_51 = V_14;
if ((((int32_t)L_51) == ((int32_t)((int32_t)2869039))))
{
goto IL_01ab;
}
}
{
goto IL_024e;
}
IL_0147:
{
int32_t L_52 = V_14;
if ((((int32_t)L_52) == ((int32_t)((int32_t)3288238))))
{
goto IL_01e5;
}
}
{
goto IL_0155;
}
IL_0155:
{
int32_t L_53 = V_14;
if ((((int32_t)L_53) == ((int32_t)((int32_t)100252951))))
{
goto IL_021c;
}
}
{
goto IL_0163;
}
IL_0163:
{
int32_t L_54 = V_14;
if ((((int32_t)L_54) == ((int32_t)((int32_t)1927738392))))
{
goto IL_0239;
}
}
{
goto IL_024e;
}
IL_0174:
{
int32_t* L_55 = ___writeIndex1;
int32_t L_56 = *((int32_t*)L_55);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_57 = ___charBuffer0;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_58 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_57);
NullCheck(L_58);
V_16 = (bool)((((int32_t)L_56) == ((int32_t)((int32_t)(((RuntimeArray*)L_58)->max_length))))? 1 : 0);
bool L_59 = V_16;
if (!L_59)
{
goto IL_018a;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_60 = ___charBuffer0;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_60, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_018a:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_61 = ___charBuffer0;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_62 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_61);
int32_t* L_63 = ___writeIndex1;
int32_t L_64 = *((int32_t*)L_63);
NullCheck(L_62);
((L_62)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_64)))->___unicode_0 = ((int32_t)10);
int32_t* L_65 = ___writeIndex1;
int32_t* L_66 = ___writeIndex1;
int32_t L_67 = *((int32_t*)L_66);
*((int32_t*)L_65) = (int32_t)((int32_t)il2cpp_codegen_add(L_67, 1));
int32_t L_68 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_68, 3));
goto IL_027c;
}
IL_01ab:
{
int32_t* L_69 = ___writeIndex1;
int32_t L_70 = *((int32_t*)L_69);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_71 = ___charBuffer0;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_72 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_71);
NullCheck(L_72);
V_17 = (bool)((((int32_t)L_70) == ((int32_t)((int32_t)(((RuntimeArray*)L_72)->max_length))))? 1 : 0);
bool L_73 = V_17;
if (!L_73)
{
goto IL_01c1;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_74 = ___charBuffer0;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_74, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_01c1:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_75 = ___charBuffer0;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_76 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_75);
int32_t* L_77 = ___writeIndex1;
int32_t L_78 = *((int32_t*)L_77);
NullCheck(L_76);
((L_76)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_78)))->___unicode_0 = ((int32_t)160);
int32_t* L_79 = ___writeIndex1;
int32_t* L_80 = ___writeIndex1;
int32_t L_81 = *((int32_t*)L_80);
*((int32_t*)L_79) = (int32_t)((int32_t)il2cpp_codegen_add(L_81, 1));
int32_t L_82 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_82, 5));
goto IL_027c;
}
IL_01e5:
{
int32_t* L_83 = ___writeIndex1;
int32_t L_84 = *((int32_t*)L_83);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_85 = ___charBuffer0;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_86 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_85);
NullCheck(L_86);
V_18 = (bool)((((int32_t)L_84) == ((int32_t)((int32_t)(((RuntimeArray*)L_86)->max_length))))? 1 : 0);
bool L_87 = V_18;
if (!L_87)
{
goto IL_01fb;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_88 = ___charBuffer0;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_88, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_01fb:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_89 = ___charBuffer0;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_90 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_89);
int32_t* L_91 = ___writeIndex1;
int32_t L_92 = *((int32_t*)L_91);
NullCheck(L_90);
((L_90)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_92)))->___unicode_0 = ((int32_t)8203);
int32_t* L_93 = ___writeIndex1;
int32_t* L_94 = ___writeIndex1;
int32_t L_95 = *((int32_t*)L_94);
*((int32_t*)L_93) = (int32_t)((int32_t)il2cpp_codegen_add(L_95, 1));
int32_t L_96 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_96, 5));
goto IL_027c;
}
IL_021c:
{
int32_t L_97 = V_4;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_98 = ___charBuffer0;
int32_t* L_99 = ___writeIndex1;
bool L_100;
L_100 = TMP_Text_ReplaceOpeningStyleTag_mFE4861A4A73DA7879121B8CFCEB051320E7C2B3A(__this, (&V_3), L_97, (&V_13), L_98, L_99, NULL);
V_19 = L_100;
bool L_101 = V_19;
if (!L_101)
{
goto IL_0237;
}
}
{
int32_t L_102 = V_13;
V_4 = L_102;
goto IL_027c;
}
IL_0237:
{
goto IL_024e;
}
IL_0239:
{
int32_t L_103 = V_4;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_104 = ___charBuffer0;
int32_t* L_105 = ___writeIndex1;
TMP_Text_ReplaceClosingStyleTag_m930CFBC820CF701CCF4A92E8CC798640FD9E0009(__this, (&V_3), L_103, L_104, L_105, NULL);
int32_t L_106 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_106, 7));
goto IL_027c;
}
IL_024e:
{
}
IL_024f:
{
int32_t* L_107 = ___writeIndex1;
int32_t L_108 = *((int32_t*)L_107);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_109 = ___charBuffer0;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_110 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_109);
NullCheck(L_110);
V_20 = (bool)((((int32_t)L_108) == ((int32_t)((int32_t)(((RuntimeArray*)L_110)->max_length))))? 1 : 0);
bool L_111 = V_20;
if (!L_111)
{
goto IL_0265;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_112 = ___charBuffer0;
TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1(__this, L_112, TMP_Text_ResizeInternalArray_TisUnicodeChar_tB86B7DE9203E1D985B08268AF1964DECB8A5F722_m3186426C0606367B783370EA04C71135D6D48CF1_RuntimeMethod_var);
}
IL_0265:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5** L_113 = ___charBuffer0;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_114 = *((UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5**)L_113);
int32_t* L_115 = ___writeIndex1;
int32_t L_116 = *((int32_t*)L_115);
NullCheck(L_114);
int32_t L_117 = V_5;
((L_114)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_116)))->___unicode_0 = L_117;
int32_t* L_118 = ___writeIndex1;
int32_t* L_119 = ___writeIndex1;
int32_t L_120 = *((int32_t*)L_119);
*((int32_t*)L_118) = (int32_t)((int32_t)il2cpp_codegen_add(L_120, 1));
}
IL_027c:
{
int32_t L_121 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_121, 1));
}
IL_0282:
{
int32_t L_122 = V_4;
int32_t L_123 = V_2;
V_21 = (bool)((((int32_t)L_122) < ((int32_t)L_123))? 1 : 0);
bool L_124 = V_21;
if (L_124)
{
goto IL_0033;
}
}
{
__this->___m_TextStyleStackDepth_239 = 0;
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetMarkupTagHashCode_mB8A6C6A1ED3D704ADBEA0E90FCEF722AB826CD7A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___tagDefinition0, int32_t ___readIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
bool V_4 = false;
int32_t V_5 = 0;
bool V_6 = false;
int32_t G_B5_0 = 0;
int32_t G_B11_0 = 0;
{
V_0 = 0;
int32_t L_0 = ___readIndex1;
V_1 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)16)));
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = ___tagDefinition0;
NullCheck(L_1);
V_2 = ((int32_t)(((RuntimeArray*)L_1)->max_length));
goto IL_0043;
}
IL_000e:
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_2 = ___tagDefinition0;
int32_t L_3 = ___readIndex1;
NullCheck(L_2);
int32_t L_4 = L_3;
int32_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
V_3 = L_5;
int32_t L_6 = V_3;
if ((((int32_t)L_6) == ((int32_t)((int32_t)62))))
{
goto IL_0024;
}
}
{
int32_t L_7 = V_3;
if ((((int32_t)L_7) == ((int32_t)((int32_t)61))))
{
goto IL_0024;
}
}
{
int32_t L_8 = V_3;
G_B5_0 = ((((int32_t)L_8) == ((int32_t)((int32_t)32)))? 1 : 0);
goto IL_0025;
}
IL_0024:
{
G_B5_0 = 1;
}
IL_0025:
{
V_4 = (bool)G_B5_0;
bool L_9 = V_4;
if (!L_9)
{
goto IL_0030;
}
}
{
int32_t L_10 = V_0;
V_5 = L_10;
goto IL_0059;
}
IL_0030:
{
int32_t L_11 = V_0;
int32_t L_12 = V_0;
int32_t L_13 = V_3;
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
uint32_t L_14;
L_14 = TMP_TextUtilities_ToUpperASCIIFast_m0EFD2CE711167DCD6FAB7EEF3DFB371101A79ACB(L_13, NULL);
V_0 = ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)(L_11<<5)), L_12))^(int32_t)L_14));
int32_t L_15 = ___readIndex1;
___readIndex1 = ((int32_t)il2cpp_codegen_add(L_15, 1));
}
IL_0043:
{
int32_t L_16 = ___readIndex1;
int32_t L_17 = V_1;
if ((((int32_t)L_16) >= ((int32_t)L_17)))
{
goto IL_004d;
}
}
{
int32_t L_18 = ___readIndex1;
int32_t L_19 = V_2;
G_B11_0 = ((((int32_t)L_18) < ((int32_t)L_19))? 1 : 0);
goto IL_004e;
}
IL_004d:
{
G_B11_0 = 0;
}
IL_004e:
{
V_6 = (bool)G_B11_0;
bool L_20 = V_6;
if (L_20)
{
goto IL_000e;
}
}
{
int32_t L_21 = V_0;
V_5 = L_21;
goto IL_0059;
}
IL_0059:
{
int32_t L_22 = V_5;
return L_22;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetMarkupTagHashCode_mF2C6D3C0D954B1B17F584758FFACAAFA270B37BA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361 ___tagDefinition0, int32_t ___readIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
uint32_t V_3 = 0;
bool V_4 = false;
int32_t V_5 = 0;
bool V_6 = false;
int32_t G_B5_0 = 0;
int32_t G_B11_0 = 0;
{
V_0 = 0;
int32_t L_0 = ___readIndex1;
V_1 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)16)));
int32_t L_1;
L_1 = TextBackingContainer_get_Capacity_m314198D61452DF6CAB895C2BF8D1C0829C579F9C((&___tagDefinition0), NULL);
V_2 = L_1;
goto IL_004c;
}
IL_0012:
{
int32_t L_2 = ___readIndex1;
uint32_t L_3;
L_3 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___tagDefinition0), L_2, NULL);
V_3 = L_3;
uint32_t L_4 = V_3;
if ((((int32_t)L_4) == ((int32_t)((int32_t)62))))
{
goto IL_002d;
}
}
{
uint32_t L_5 = V_3;
if ((((int32_t)L_5) == ((int32_t)((int32_t)61))))
{
goto IL_002d;
}
}
{
uint32_t L_6 = V_3;
G_B5_0 = ((((int32_t)L_6) == ((int32_t)((int32_t)32)))? 1 : 0);
goto IL_002e;
}
IL_002d:
{
G_B5_0 = 1;
}
IL_002e:
{
V_4 = (bool)G_B5_0;
bool L_7 = V_4;
if (!L_7)
{
goto IL_0039;
}
}
{
int32_t L_8 = V_0;
V_5 = L_8;
goto IL_0062;
}
IL_0039:
{
int32_t L_9 = V_0;
int32_t L_10 = V_0;
uint32_t L_11 = V_3;
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
uint32_t L_12;
L_12 = TMP_TextUtilities_ToUpperASCIIFast_m0EFD2CE711167DCD6FAB7EEF3DFB371101A79ACB(L_11, NULL);
V_0 = ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)(L_9<<5)), L_10))^(int32_t)L_12));
int32_t L_13 = ___readIndex1;
___readIndex1 = ((int32_t)il2cpp_codegen_add(L_13, 1));
}
IL_004c:
{
int32_t L_14 = ___readIndex1;
int32_t L_15 = V_1;
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0056;
}
}
{
int32_t L_16 = ___readIndex1;
int32_t L_17 = V_2;
G_B11_0 = ((((int32_t)L_16) < ((int32_t)L_17))? 1 : 0);
goto IL_0057;
}
IL_0056:
{
G_B11_0 = 0;
}
IL_0057:
{
V_6 = (bool)G_B11_0;
bool L_18 = V_6;
if (L_18)
{
goto IL_0012;
}
}
{
int32_t L_19 = V_0;
V_5 = L_19;
goto IL_0062;
}
IL_0062:
{
int32_t L_20 = V_5;
return L_20;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetStyleHashCode_m834CA7ED28BF6377F7A42C654FAA748EB0D514D6 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** ___text0, int32_t ___index1, int32_t* ___closeIndex2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextParsingUtilities_tF6AF6ED06ADFB8C71F4C1D713D677D821A1AB6FA_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
int32_t V_5 = 0;
{
V_0 = 0;
int32_t* L_0 = ___closeIndex2;
*((int32_t*)L_0) = (int32_t)0;
int32_t L_1 = ___index1;
V_1 = L_1;
goto IL_0041;
}
IL_000a:
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** L_2 = ___text0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = *((Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C**)L_2);
int32_t L_4 = V_1;
NullCheck(L_3);
int32_t L_5 = L_4;
int32_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
V_2 = (bool)((((int32_t)L_6) == ((int32_t)((int32_t)34)))? 1 : 0);
bool L_7 = V_2;
if (!L_7)
{
goto IL_0019;
}
}
{
goto IL_003d;
}
IL_0019:
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** L_8 = ___text0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9 = *((Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C**)L_8);
int32_t L_10 = V_1;
NullCheck(L_9);
int32_t L_11 = L_10;
int32_t L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
V_3 = (bool)((((int32_t)L_12) == ((int32_t)((int32_t)62)))? 1 : 0);
bool L_13 = V_3;
if (!L_13)
{
goto IL_002b;
}
}
{
int32_t* L_14 = ___closeIndex2;
int32_t L_15 = V_1;
*((int32_t*)L_14) = (int32_t)L_15;
goto IL_004e;
}
IL_002b:
{
int32_t L_16 = V_0;
int32_t L_17 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** L_18 = ___text0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_19 = *((Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C**)L_18);
int32_t L_20 = V_1;
NullCheck(L_19);
int32_t L_21 = L_20;
int32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
il2cpp_codegen_runtime_class_init_inline(TMP_TextParsingUtilities_tF6AF6ED06ADFB8C71F4C1D713D677D821A1AB6FA_il2cpp_TypeInfo_var);
Il2CppChar L_23;
L_23 = TMP_TextParsingUtilities_ToUpperASCIIFast_mB1C34D8B2251FE6792CFD9DEC9344201E459B545(((int32_t)(uint16_t)L_22), NULL);
V_0 = ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)(L_16<<5)), L_17))^(int32_t)L_23));
}
IL_003d:
{
int32_t L_24 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_24, 1));
}
IL_0041:
{
int32_t L_25 = V_1;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C** L_26 = ___text0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_27 = *((Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C**)L_26);
NullCheck(L_27);
V_4 = (bool)((((int32_t)L_25) < ((int32_t)((int32_t)(((RuntimeArray*)L_27)->max_length))))? 1 : 0);
bool L_28 = V_4;
if (L_28)
{
goto IL_000a;
}
}
IL_004e:
{
int32_t L_29 = V_0;
V_5 = L_29;
goto IL_0053;
}
IL_0053:
{
int32_t L_30 = V_5;
return L_30;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetStyleHashCode_mB54D3FEFFCA8A40441A169AD140C1531A788C92F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* ___text0, int32_t ___index1, int32_t* ___closeIndex2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextParsingUtilities_tF6AF6ED06ADFB8C71F4C1D713D677D821A1AB6FA_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
int32_t V_5 = 0;
{
V_0 = 0;
int32_t* L_0 = ___closeIndex2;
*((int32_t*)L_0) = (int32_t)0;
int32_t L_1 = ___index1;
V_1 = L_1;
goto IL_004a;
}
IL_000a:
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_2 = ___text0;
int32_t L_3 = V_1;
uint32_t L_4;
L_4 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_2, L_3, NULL);
V_2 = (bool)((((int32_t)L_4) == ((int32_t)((int32_t)34)))? 1 : 0);
bool L_5 = V_2;
if (!L_5)
{
goto IL_001c;
}
}
{
goto IL_0046;
}
IL_001c:
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_6 = ___text0;
int32_t L_7 = V_1;
uint32_t L_8;
L_8 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_6, L_7, NULL);
V_3 = (bool)((((int32_t)L_8) == ((int32_t)((int32_t)62)))? 1 : 0);
bool L_9 = V_3;
if (!L_9)
{
goto IL_0031;
}
}
{
int32_t* L_10 = ___closeIndex2;
int32_t L_11 = V_1;
*((int32_t*)L_10) = (int32_t)L_11;
goto IL_0059;
}
IL_0031:
{
int32_t L_12 = V_0;
int32_t L_13 = V_0;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_14 = ___text0;
int32_t L_15 = V_1;
uint32_t L_16;
L_16 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_14, L_15, NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_TextParsingUtilities_tF6AF6ED06ADFB8C71F4C1D713D677D821A1AB6FA_il2cpp_TypeInfo_var);
Il2CppChar L_17;
L_17 = TMP_TextParsingUtilities_ToUpperASCIIFast_mB1C34D8B2251FE6792CFD9DEC9344201E459B545(((int32_t)(uint16_t)L_16), NULL);
V_0 = ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)(L_12<<5)), L_13))^(int32_t)L_17));
}
IL_0046:
{
int32_t L_18 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_18, 1));
}
IL_004a:
{
int32_t L_19 = V_1;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_20 = ___text0;
int32_t L_21;
L_21 = TextBackingContainer_get_Capacity_m314198D61452DF6CAB895C2BF8D1C0829C579F9C(L_20, NULL);
V_4 = (bool)((((int32_t)L_19) < ((int32_t)L_21))? 1 : 0);
bool L_22 = V_4;
if (L_22)
{
goto IL_000a;
}
}
IL_0059:
{
int32_t L_23 = V_0;
V_5 = L_23;
goto IL_005e;
}
IL_005e:
{
int32_t L_24 = V_5;
return L_24;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_AddFloatToInternalTextBackingArray_m91003C38D80CE33F40B45FB30E6B90F2EC2B78AB (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___value0, int32_t ___padding1, int32_t ___precision2, int32_t* ___writeIndex3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F V_0;
memset((&V_0), 0, sizeof(V_0));
int64_t V_1 = 0;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
int32_t V_6 = 0;
int32_t V_7 = 0;
int64_t V_8 = 0;
bool V_9 = false;
bool V_10 = false;
int32_t G_B5_0 = 0;
{
float L_0 = ___value0;
V_2 = (bool)((((float)L_0) < ((float)(0.0f)))? 1 : 0);
bool L_1 = V_2;
if (!L_1)
{
goto IL_002c;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_2 = (&__this->___m_TextBackingArray_259);
int32_t* L_3 = ___writeIndex3;
int32_t L_4 = *((int32_t*)L_3);
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_2, L_4, ((int32_t)45), NULL);
int32_t* L_5 = ___writeIndex3;
int32_t* L_6 = ___writeIndex3;
int32_t L_7 = *((int32_t*)L_6);
*((int32_t*)L_5) = (int32_t)((int32_t)il2cpp_codegen_add(L_7, 1));
float L_8 = ___value0;
___value0 = ((-L_8));
}
IL_002c:
{
float L_9 = ___value0;
il2cpp_codegen_runtime_class_init_inline(Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F_il2cpp_TypeInfo_var);
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_10;
L_10 = Decimal_op_Explicit_m2B8355EC2618BDE4A6813C6826D9E3B996B9E22F(L_9, NULL);
V_0 = L_10;
int32_t L_11 = ___padding1;
if (L_11)
{
goto IL_003c;
}
}
{
int32_t L_12 = ___precision2;
G_B5_0 = ((((int32_t)L_12) == ((int32_t)0))? 1 : 0);
goto IL_003d;
}
IL_003c:
{
G_B5_0 = 0;
}
IL_003d:
{
V_3 = (bool)G_B5_0;
bool L_13 = V_3;
if (!L_13)
{
goto IL_0047;
}
}
{
___precision2 = ((int32_t)9);
goto IL_0061;
}
IL_0047:
{
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_14 = V_0;
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* L_15 = __this->___k_Power_260;
int32_t L_16 = ___precision2;
int32_t L_17;
L_17 = Mathf_Min_m888083F74FF5655778F0403BB5E9608BEFDEA8CB_inline(((int32_t)9), L_16, NULL);
NullCheck(L_15);
int32_t L_18 = L_17;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_19 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
il2cpp_codegen_runtime_class_init_inline(Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F_il2cpp_TypeInfo_var);
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_20;
L_20 = Decimal_op_Addition_m878AC5E15D13F205BCB6AE9747B2C0D950BD2EF7(L_14, L_19, NULL);
V_0 = L_20;
}
IL_0061:
{
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_21 = V_0;
il2cpp_codegen_runtime_class_init_inline(Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F_il2cpp_TypeInfo_var);
int64_t L_22;
L_22 = Decimal_op_Explicit_m0E6416BBDAC3D0939FCF0279F793C6D574036B54(L_21, NULL);
V_1 = L_22;
int64_t L_23 = V_1;
int32_t L_24 = ___padding1;
int32_t* L_25 = ___writeIndex3;
TMP_Text_AddIntegerToInternalTextBackingArray_m0C9B986C866F3CD9D1424E44F57B281EDAB7DE92(__this, ((double)L_23), L_24, L_25, NULL);
int32_t L_26 = ___precision2;
V_4 = (bool)((((int32_t)L_26) > ((int32_t)0))? 1 : 0);
bool L_27 = V_4;
if (!L_27)
{
goto IL_0133;
}
}
{
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_28 = V_0;
int64_t L_29 = V_1;
il2cpp_codegen_runtime_class_init_inline(Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F_il2cpp_TypeInfo_var);
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_30;
L_30 = Decimal_op_Implicit_m8F9A38760D01B23E6DFF77EA760CCE5111F3656D(L_29, NULL);
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_31;
L_31 = Decimal_op_Subtraction_mBDD5FAB14E0E9FA655A4C32B72C39E6BF947DF81(L_28, L_30, NULL);
V_0 = L_31;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_32 = V_0;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_33 = ((Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F_StaticFields*)il2cpp_codegen_static_fields_for(Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F_il2cpp_TypeInfo_var))->___Zero_3;
bool L_34;
L_34 = Decimal_op_Inequality_mCFFC6B60AEDE8CFB2DEABD97FF0F2B79A31E2690(L_32, L_33, NULL);
V_5 = L_34;
bool L_35 = V_5;
if (!L_35)
{
goto IL_0132;
}
}
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_36 = (&__this->___m_TextBackingArray_259);
int32_t* L_37 = ___writeIndex3;
int32_t* L_38 = ___writeIndex3;
int32_t L_39 = *((int32_t*)L_38);
V_6 = L_39;
int32_t L_40 = V_6;
*((int32_t*)L_37) = (int32_t)((int32_t)il2cpp_codegen_add(L_40, 1));
int32_t L_41 = V_6;
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_36, L_41, ((int32_t)46), NULL);
V_7 = 0;
goto IL_0126;
}
IL_00c5:
{
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_42 = V_0;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_43;
memset((&L_43), 0, sizeof(L_43));
Decimal__ctor_m6DDFD6E3A7A8CDEB1BADF8E09A8D8E1BDA9497A9((&L_43), ((int32_t)10), NULL);
il2cpp_codegen_runtime_class_init_inline(Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F_il2cpp_TypeInfo_var);
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_44;
L_44 = Decimal_op_Multiply_mA4945210C6DDD59AB803A2B07BA948E8A1BFD2FC(L_42, L_43, NULL);
V_0 = L_44;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_45 = V_0;
int64_t L_46;
L_46 = Decimal_op_Explicit_m0E6416BBDAC3D0939FCF0279F793C6D574036B54(L_45, NULL);
V_8 = L_46;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_47 = (&__this->___m_TextBackingArray_259);
int32_t* L_48 = ___writeIndex3;
int32_t* L_49 = ___writeIndex3;
int32_t L_50 = *((int32_t*)L_49);
V_6 = L_50;
int32_t L_51 = V_6;
*((int32_t*)L_48) = (int32_t)((int32_t)il2cpp_codegen_add(L_51, 1));
int32_t L_52 = V_6;
int64_t L_53 = V_8;
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_47, L_52, ((int32_t)(uint16_t)((int64_t)il2cpp_codegen_add(L_53, ((int64_t)((int32_t)48))))), NULL);
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_54 = V_0;
int64_t L_55 = V_8;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_56;
L_56 = Decimal_op_Implicit_m8F9A38760D01B23E6DFF77EA760CCE5111F3656D(L_55, NULL);
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_57;
L_57 = Decimal_op_Subtraction_mBDD5FAB14E0E9FA655A4C32B72C39E6BF947DF81(L_54, L_56, NULL);
V_0 = L_57;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_58 = V_0;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_59 = ((Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F_StaticFields*)il2cpp_codegen_static_fields_for(Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F_il2cpp_TypeInfo_var))->___Zero_3;
bool L_60;
L_60 = Decimal_op_Equality_m4778C6A5F0E0FA5CBEFBBCB9E5A34BBE3D2D0BB5(L_58, L_59, NULL);
V_9 = L_60;
bool L_61 = V_9;
if (!L_61)
{
goto IL_011f;
}
}
{
int32_t L_62 = ___precision2;
V_7 = L_62;
}
IL_011f:
{
int32_t L_63 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add(L_63, 1));
}
IL_0126:
{
int32_t L_64 = V_7;
int32_t L_65 = ___precision2;
V_10 = (bool)((((int32_t)L_64) < ((int32_t)L_65))? 1 : 0);
bool L_66 = V_10;
if (L_66)
{
goto IL_00c5;
}
}
{
}
IL_0132:
{
}
IL_0133:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_AddIntegerToInternalTextBackingArray_m0C9B986C866F3CD9D1424E44F57B281EDAB7DE92 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, double ___number0, int32_t ___padding1, int32_t* ___writeIndex2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
bool V_3 = false;
uint32_t V_4 = 0;
bool V_5 = false;
int32_t G_B4_0 = 0;
{
V_0 = 0;
int32_t* L_0 = ___writeIndex2;
int32_t L_1 = *((int32_t*)L_0);
V_1 = L_1;
}
IL_0006:
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_2 = (&__this->___m_TextBackingArray_259);
int32_t L_3 = V_1;
int32_t L_4 = L_3;
V_1 = ((int32_t)il2cpp_codegen_add(L_4, 1));
double L_5 = ___number0;
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_2, L_4, il2cpp_codegen_cast_floating_point<uint16_t, int32_t, double>(((double)il2cpp_codegen_add((fmod(L_5, (10.0))), (48.0)))), NULL);
double L_6 = ___number0;
___number0 = ((double)(L_6/(10.0)));
int32_t L_7 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_7, 1));
double L_8 = ___number0;
if ((((double)L_8) > ((double)(0.999999999999999))))
{
goto IL_0052;
}
}
{
int32_t L_9 = V_0;
int32_t L_10 = ___padding1;
G_B4_0 = ((((int32_t)L_9) < ((int32_t)L_10))? 1 : 0);
goto IL_0053;
}
IL_0052:
{
G_B4_0 = 1;
}
IL_0053:
{
V_3 = (bool)G_B4_0;
bool L_11 = V_3;
if (L_11)
{
goto IL_0006;
}
}
{
int32_t L_12 = V_1;
V_2 = L_12;
goto IL_009f;
}
IL_005b:
{
int32_t L_13 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract(L_13, 1));
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_14 = (&__this->___m_TextBackingArray_259);
int32_t* L_15 = ___writeIndex2;
int32_t L_16 = *((int32_t*)L_15);
uint32_t L_17;
L_17 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_14, L_16, NULL);
V_4 = L_17;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_18 = (&__this->___m_TextBackingArray_259);
int32_t* L_19 = ___writeIndex2;
int32_t L_20 = *((int32_t*)L_19);
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_21 = (&__this->___m_TextBackingArray_259);
int32_t L_22 = V_1;
uint32_t L_23;
L_23 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_21, L_22, NULL);
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_18, L_20, L_23, NULL);
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_24 = (&__this->___m_TextBackingArray_259);
int32_t L_25 = V_1;
uint32_t L_26 = V_4;
TextBackingContainer_set_Item_mF263D268B2D3185D818FD470F86FC8C53DD42381(L_24, L_25, L_26, NULL);
int32_t* L_27 = ___writeIndex2;
int32_t* L_28 = ___writeIndex2;
int32_t L_29 = *((int32_t*)L_28);
*((int32_t*)L_27) = (int32_t)((int32_t)il2cpp_codegen_add(L_29, 1));
}
IL_009f:
{
int32_t* L_30 = ___writeIndex2;
int32_t L_31 = *((int32_t*)L_30);
int32_t L_32 = V_1;
V_5 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_31, 1))) < ((int32_t)L_32))? 1 : 0);
bool L_33 = V_5;
if (L_33)
{
goto IL_005b;
}
}
{
int32_t* L_34 = ___writeIndex2;
int32_t L_35 = V_2;
*((int32_t*)L_34) = (int32_t)L_35;
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TMP_Text_InternalTextBackingArrayToString_m7E70067C4FF555AFF7D95718141ADA0794EF37B5 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* V_0 = NULL;
int32_t V_1 = 0;
Il2CppChar V_2 = 0x0;
bool V_3 = false;
bool V_4 = false;
String_t* V_5 = NULL;
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_0 = (&__this->___m_TextBackingArray_259);
int32_t L_1;
L_1 = TextBackingContainer_get_Count_mA4E440D40E9EECB361CE4697B11F9B017B19E0C1(L_0, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_2 = (CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)SZArrayNew(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var, (uint32_t)L_1);
V_0 = L_2;
V_1 = 0;
goto IL_0038;
}
IL_0016:
{
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_3 = (&__this->___m_TextBackingArray_259);
int32_t L_4 = V_1;
uint32_t L_5;
L_5 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276(L_3, L_4, NULL);
V_2 = ((int32_t)(uint16_t)L_5);
Il2CppChar L_6 = V_2;
V_3 = (bool)((((int32_t)L_6) == ((int32_t)0))? 1 : 0);
bool L_7 = V_3;
if (!L_7)
{
goto IL_002f;
}
}
{
goto IL_004c;
}
IL_002f:
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_8 = V_0;
int32_t L_9 = V_1;
Il2CppChar L_10 = V_2;
NullCheck(L_8);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(L_9), (Il2CppChar)L_10);
int32_t L_11 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_11, 1));
}
IL_0038:
{
int32_t L_12 = V_1;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361* L_13 = (&__this->___m_TextBackingArray_259);
int32_t L_14;
L_14 = TextBackingContainer_get_Capacity_m314198D61452DF6CAB895C2BF8D1C0829C579F9C(L_13, NULL);
V_4 = (bool)((((int32_t)L_12) < ((int32_t)L_14))? 1 : 0);
bool L_15 = V_4;
if (L_15)
{
goto IL_0016;
}
}
IL_004c:
{
__this->___m_IsTextBackingStringDirty_39 = (bool)0;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_16 = V_0;
String_t* L_17;
L_17 = String_CreateString_mFBC28D2E3EB87D497F7E702E4FFAD65F635E44DF(NULL, L_16, NULL);
V_5 = L_17;
goto IL_005d;
}
IL_005d:
{
String_t* L_18 = V_5;
return L_18;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_SetArraySizes_mAD14AE87D71586E0D4BEAFC6C89347FE02E33FE2 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* ___unicodeChars0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
V_0 = 0;
goto IL_0005;
}
IL_0005:
{
int32_t L_0 = V_0;
return L_0;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Text_GetPreferredValues_mE55DE48997CA56E867C94ABF8873D1CA413ADAA8 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_2;
memset((&V_2), 0, sizeof(V_2));
{
__this->___m_isPreferredWidthDirty_178 = (bool)1;
float L_0;
L_0 = TMP_Text_GetPreferredWidth_m0478A5C6B1B1C3A4A64C5BF89401B2A33A192F5C(__this, NULL);
V_0 = L_0;
__this->___m_isPreferredHeightDirty_181 = (bool)1;
float L_1;
L_1 = TMP_Text_GetPreferredHeight_mD8B87C32069B477E010E30D33CB616854CE708B4(__this, NULL);
V_1 = L_1;
__this->___m_isPreferredWidthDirty_178 = (bool)1;
__this->___m_isPreferredHeightDirty_181 = (bool)1;
float L_2 = V_0;
float L_3 = V_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
memset((&L_4), 0, sizeof(L_4));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_4), L_2, L_3, NULL);
V_2 = L_4;
goto IL_0035;
}
IL_0035:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = V_2;
return L_5;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Text_GetPreferredValues_m1F06F3D203FD8F13D0335F697E839E5DAA61DD14 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___width0, float ___height1, const RuntimeMethod* method)
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
float V_1 = 0.0f;
float V_2 = 0.0f;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_3;
memset((&V_3), 0, sizeof(V_3));
{
__this->___m_isCalculatingPreferredValues_182 = (bool)1;
TMP_Text_ParseInputText_m3B4CF13CC0BF8E8A2B3980BD191A3B2FA421E36C(__this, NULL);
float L_0 = ___width0;
float L_1 = ___height1;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_0), L_0, L_1, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = V_0;
float L_3;
L_3 = TMP_Text_GetPreferredWidth_m51F52DCBCDF0AA45D5F6F1031D15560948E08C16(__this, L_2, NULL);
V_1 = L_3;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = V_0;
float L_5;
L_5 = TMP_Text_GetPreferredHeight_m6DD3E52AA402B1D6DC3D18F8760E0B89436F97CF(__this, L_4, NULL);
V_2 = L_5;
float L_6 = V_1;
float L_7 = V_2;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
memset((&L_8), 0, sizeof(L_8));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_8), L_6, L_7, NULL);
V_3 = L_8;
goto IL_0032;
}
IL_0032:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9 = V_3;
return L_9;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Text_GetPreferredValues_m398215E34C2F85F6073BB4FFAD99E077319B2726 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___text0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
float V_1 = 0.0f;
float V_2 = 0.0f;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_3;
memset((&V_3), 0, sizeof(V_3));
{
__this->___m_isCalculatingPreferredValues_182 = (bool)1;
String_t* L_0 = ___text0;
TMP_Text_SetTextInternal_mE5AAC38C055046B9EE3228640DAFA627C5BDF924(__this, L_0, NULL);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_1 = __this->___m_TextProcessingArray_199;
int32_t L_2;
L_2 = VirtualFuncInvoker1< int32_t, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* >::Invoke(114, __this, L_1);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveVector2_261;
V_0 = L_3;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = V_0;
float L_5;
L_5 = TMP_Text_GetPreferredWidth_m51F52DCBCDF0AA45D5F6F1031D15560948E08C16(__this, L_4, NULL);
V_1 = L_5;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = V_0;
float L_7;
L_7 = TMP_Text_GetPreferredHeight_m6DD3E52AA402B1D6DC3D18F8760E0B89436F97CF(__this, L_6, NULL);
V_2 = L_7;
float L_8 = V_1;
float L_9 = V_2;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_10;
memset((&L_10), 0, sizeof(L_10));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_10), L_8, L_9, NULL);
V_3 = L_10;
goto IL_003d;
}
IL_003d:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_11 = V_3;
return L_11;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Text_GetPreferredValues_m3FAA12BB95111827B71EBDE6B3B3F59EE4EA0C2C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___text0, float ___width1, float ___height2, const RuntimeMethod* method)
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
float V_1 = 0.0f;
float V_2 = 0.0f;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_3;
memset((&V_3), 0, sizeof(V_3));
{
__this->___m_isCalculatingPreferredValues_182 = (bool)1;
String_t* L_0 = ___text0;
TMP_Text_SetTextInternal_mE5AAC38C055046B9EE3228640DAFA627C5BDF924(__this, L_0, NULL);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_1 = __this->___m_TextProcessingArray_199;
int32_t L_2;
L_2 = VirtualFuncInvoker1< int32_t, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* >::Invoke(114, __this, L_1);
float L_3 = ___width1;
float L_4 = ___height2;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_0), L_3, L_4, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = V_0;
float L_6;
L_6 = TMP_Text_GetPreferredWidth_m51F52DCBCDF0AA45D5F6F1031D15560948E08C16(__this, L_5, NULL);
V_1 = L_6;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = V_0;
float L_8;
L_8 = TMP_Text_GetPreferredHeight_m6DD3E52AA402B1D6DC3D18F8760E0B89436F97CF(__this, L_7, NULL);
V_2 = L_8;
float L_9 = V_1;
float L_10 = V_2;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_11;
memset((&L_11), 0, sizeof(L_11));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_11), L_9, L_10, NULL);
V_3 = L_11;
goto IL_0040;
}
IL_0040:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = V_3;
return L_12;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetPreferredWidth_m0478A5C6B1B1C3A4A64C5BF89401B2A33A192F5C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_1;
memset((&V_1), 0, sizeof(V_1));
float V_2 = 0.0f;
bool V_3 = false;
float V_4 = 0.0f;
bool V_5 = false;
float G_B7_0 = 0.0f;
{
TMP_Settings_t5875BC616C98A30032C6B733CF7FC90A0EE48062* L_0;
L_0 = TMP_Settings_get_instance_mFFEE513A89138F5FACD8CE35BF241C2D1F4A9BF4(NULL);
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_3 = L_1;
bool L_2 = V_3;
if (!L_2)
{
goto IL_001c;
}
}
{
V_4 = (0.0f);
goto IL_00a7;
}
IL_001c:
{
bool L_3 = __this->___m_isPreferredWidthDirty_178;
V_5 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
bool L_4 = V_5;
if (!L_4)
{
goto IL_0035;
}
}
{
float L_5 = __this->___m_preferredWidth_176;
V_4 = L_5;
goto IL_00a7;
}
IL_0035:
{
bool L_6 = __this->___m_enableAutoSizing_82;
if (L_6)
{
goto IL_0045;
}
}
{
float L_7 = __this->___m_fontSize_75;
G_B7_0 = L_7;
goto IL_004b;
}
IL_0045:
{
float L_8 = __this->___m_fontSizeMax_89;
G_B7_0 = L_8;
}
IL_004b:
{
V_0 = G_B7_0;
float L_9 = __this->___m_fontSizeMin_88;
__this->___m_minFontSize_84 = L_9;
float L_10 = __this->___m_fontSizeMax_89;
__this->___m_maxFontSize_83 = L_10;
__this->___m_charWidthAdjDelta_111 = (0.0f);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_11 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveVector2_261;
V_1 = L_11;
__this->___m_isCalculatingPreferredValues_182 = (bool)1;
TMP_Text_ParseInputText_m3B4CF13CC0BF8E8A2B3980BD191A3B2FA421E36C(__this, NULL);
__this->___m_AutoSizeIterationCount_85 = 0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = V_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_13;
L_13 = VirtualFuncInvoker4< Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7, float*, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7, bool, bool >::Invoke(115, __this, (&V_0), L_12, (bool)0, (bool)0);
float L_14 = L_13.___x_0;
V_2 = L_14;
__this->___m_isPreferredWidthDirty_178 = (bool)0;
float L_15 = V_2;
V_4 = L_15;
goto IL_00a7;
}
IL_00a7:
{
float L_16 = V_4;
return L_16;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetPreferredWidth_m51F52DCBCDF0AA45D5F6F1031D15560948E08C16 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___margin0, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
float G_B3_0 = 0.0f;
{
bool L_0 = __this->___m_enableAutoSizing_82;
if (L_0)
{
goto IL_0011;
}
}
{
float L_1 = __this->___m_fontSize_75;
G_B3_0 = L_1;
goto IL_0017;
}
IL_0011:
{
float L_2 = __this->___m_fontSizeMax_89;
G_B3_0 = L_2;
}
IL_0017:
{
V_0 = G_B3_0;
float L_3 = __this->___m_fontSizeMin_88;
__this->___m_minFontSize_84 = L_3;
float L_4 = __this->___m_fontSizeMax_89;
__this->___m_maxFontSize_83 = L_4;
__this->___m_charWidthAdjDelta_111 = (0.0f);
__this->___m_AutoSizeIterationCount_85 = 0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = ___margin0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6;
L_6 = VirtualFuncInvoker4< Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7, float*, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7, bool, bool >::Invoke(115, __this, (&V_0), L_5, (bool)0, (bool)0);
float L_7 = L_6.___x_0;
V_1 = L_7;
float L_8 = V_1;
V_2 = L_8;
goto IL_0057;
}
IL_0057:
{
float L_9 = V_2;
return L_9;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetPreferredHeight_mD8B87C32069B477E010E30D33CB616854CE708B4 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_1;
memset((&V_1), 0, sizeof(V_1));
float V_2 = 0.0f;
bool V_3 = false;
float V_4 = 0.0f;
bool V_5 = false;
bool V_6 = false;
float G_B7_0 = 0.0f;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* G_B9_0 = NULL;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* G_B8_0 = NULL;
float G_B10_0 = 0.0f;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* G_B10_1 = NULL;
{
TMP_Settings_t5875BC616C98A30032C6B733CF7FC90A0EE48062* L_0;
L_0 = TMP_Settings_get_instance_mFFEE513A89138F5FACD8CE35BF241C2D1F4A9BF4(NULL);
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_3 = L_1;
bool L_2 = V_3;
if (!L_2)
{
goto IL_001c;
}
}
{
V_4 = (0.0f);
goto IL_0102;
}
IL_001c:
{
bool L_3 = __this->___m_isPreferredHeightDirty_181;
V_5 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
bool L_4 = V_5;
if (!L_4)
{
goto IL_0038;
}
}
{
float L_5 = __this->___m_preferredHeight_179;
V_4 = L_5;
goto IL_0102;
}
IL_0038:
{
bool L_6 = __this->___m_enableAutoSizing_82;
if (L_6)
{
goto IL_0048;
}
}
{
float L_7 = __this->___m_fontSize_75;
G_B7_0 = L_7;
goto IL_004e;
}
IL_0048:
{
float L_8 = __this->___m_fontSizeMax_89;
G_B7_0 = L_8;
}
IL_004e:
{
V_0 = G_B7_0;
float L_9 = __this->___m_fontSizeMin_88;
__this->___m_minFontSize_84 = L_9;
float L_10 = __this->___m_fontSizeMax_89;
__this->___m_maxFontSize_83 = L_10;
__this->___m_charWidthAdjDelta_111 = (0.0f);
float L_11 = __this->___m_marginWidth_151;
if ((!(((float)L_11) == ((float)(0.0f)))))
{
G_B9_0 = (&V_1);
goto IL_0088;
}
G_B8_0 = (&V_1);
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
float L_12 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveFloat_263;
G_B10_0 = L_12;
G_B10_1 = G_B8_0;
goto IL_008e;
}
IL_0088:
{
float L_13 = __this->___m_marginWidth_151;
G_B10_0 = L_13;
G_B10_1 = G_B9_0;
}
IL_008e:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
float L_14 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveFloat_263;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline(G_B10_1, G_B10_0, L_14, NULL);
__this->___m_isCalculatingPreferredValues_182 = (bool)1;
TMP_Text_ParseInputText_m3B4CF13CC0BF8E8A2B3980BD191A3B2FA421E36C(__this, NULL);
__this->___m_IsAutoSizePointSizeSet_87 = (bool)0;
__this->___m_AutoSizeIterationCount_85 = 0;
V_2 = (0.0f);
goto IL_00e7;
}
IL_00bc:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_15 = V_1;
bool L_16 = __this->___m_enableAutoSizing_82;
bool L_17 = __this->___m_enableWordWrapping_112;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_18;
L_18 = VirtualFuncInvoker4< Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7, float*, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7, bool, bool >::Invoke(115, __this, (&V_0), L_15, L_16, L_17);
float L_19 = L_18.___y_1;
V_2 = L_19;
int32_t L_20 = __this->___m_AutoSizeIterationCount_85;
__this->___m_AutoSizeIterationCount_85 = ((int32_t)il2cpp_codegen_add(L_20, 1));
}
IL_00e7:
{
bool L_21 = __this->___m_IsAutoSizePointSizeSet_87;
V_6 = (bool)((((int32_t)L_21) == ((int32_t)0))? 1 : 0);
bool L_22 = V_6;
if (L_22)
{
goto IL_00bc;
}
}
{
__this->___m_isPreferredHeightDirty_181 = (bool)0;
float L_23 = V_2;
V_4 = L_23;
goto IL_0102;
}
IL_0102:
{
float L_24 = V_4;
return L_24;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetPreferredHeight_m6DD3E52AA402B1D6DC3D18F8760E0B89436F97CF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___margin0, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
bool V_2 = false;
float V_3 = 0.0f;
float G_B3_0 = 0.0f;
{
bool L_0 = __this->___m_enableAutoSizing_82;
if (L_0)
{
goto IL_0011;
}
}
{
float L_1 = __this->___m_fontSize_75;
G_B3_0 = L_1;
goto IL_0017;
}
IL_0011:
{
float L_2 = __this->___m_fontSizeMax_89;
G_B3_0 = L_2;
}
IL_0017:
{
V_0 = G_B3_0;
float L_3 = __this->___m_fontSizeMin_88;
__this->___m_minFontSize_84 = L_3;
float L_4 = __this->___m_fontSizeMax_89;
__this->___m_maxFontSize_83 = L_4;
__this->___m_charWidthAdjDelta_111 = (0.0f);
__this->___m_IsAutoSizePointSizeSet_87 = (bool)0;
__this->___m_AutoSizeIterationCount_85 = 0;
V_1 = (0.0f);
goto IL_007c;
}
IL_0051:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = ___margin0;
bool L_6 = __this->___m_enableAutoSizing_82;
bool L_7 = __this->___m_enableWordWrapping_112;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
L_8 = VirtualFuncInvoker4< Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7, float*, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7, bool, bool >::Invoke(115, __this, (&V_0), L_5, L_6, L_7);
float L_9 = L_8.___y_1;
V_1 = L_9;
int32_t L_10 = __this->___m_AutoSizeIterationCount_85;
__this->___m_AutoSizeIterationCount_85 = ((int32_t)il2cpp_codegen_add(L_10, 1));
}
IL_007c:
{
bool L_11 = __this->___m_IsAutoSizePointSizeSet_87;
V_2 = (bool)((((int32_t)L_11) == ((int32_t)0))? 1 : 0);
bool L_12 = V_2;
if (L_12)
{
goto IL_0051;
}
}
{
float L_13 = V_1;
V_3 = L_13;
goto IL_008d;
}
IL_008d:
{
float L_14 = V_3;
return L_14;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Text_GetRenderedValues_m758F7ECA29F67E1E7E782336B2CAD7B04EEB9222 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_0;
memset((&V_0), 0, sizeof(V_0));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_1;
memset((&V_1), 0, sizeof(V_1));
{
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_0;
L_0 = TMP_Text_GetTextBounds_m9B8ADDB3EE48C956CF9D61DA303B21D5EA32081A(__this, NULL);
V_0 = L_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
L_1 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4_inline((&V_0), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
L_2 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_1, NULL);
V_1 = L_2;
goto IL_0017;
}
IL_0017:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = V_1;
return L_3;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Text_GetRenderedValues_m08075C102D6F4332871ECF6D818664B6170B1374 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___onlyVisibleCharacters0, const RuntimeMethod* method)
{
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_0;
memset((&V_0), 0, sizeof(V_0));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_1;
memset((&V_1), 0, sizeof(V_1));
{
bool L_0 = ___onlyVisibleCharacters0;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_1;
L_1 = TMP_Text_GetTextBounds_m26FEA0CD67904DA57ABE718926102EEFCD374BF1(__this, L_0, NULL);
V_0 = L_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
L_2 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4_inline((&V_0), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
L_3 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_2, NULL);
V_1 = L_3;
goto IL_0018;
}
IL_0018:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = V_1;
return L_4;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetRenderedWidth_mCCCE790E25FD4C17B55DBE153663D8024B458EDF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0;
L_0 = TMP_Text_GetRenderedValues_m758F7ECA29F67E1E7E782336B2CAD7B04EEB9222(__this, NULL);
float L_1 = L_0.___x_0;
V_0 = L_1;
goto IL_000f;
}
IL_000f:
{
float L_2 = V_0;
return L_2;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetRenderedWidth_m73C7A4A74971381580735209DD14A2CCCC9E3281 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___onlyVisibleCharacters0, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
bool L_0 = ___onlyVisibleCharacters0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
L_1 = TMP_Text_GetRenderedValues_m08075C102D6F4332871ECF6D818664B6170B1374(__this, L_0, NULL);
float L_2 = L_1.___x_0;
V_0 = L_2;
goto IL_0010;
}
IL_0010:
{
float L_3 = V_0;
return L_3;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetRenderedHeight_m7BEF1FB09209779C3D70185491FBC6E90A71214C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0;
L_0 = TMP_Text_GetRenderedValues_m758F7ECA29F67E1E7E782336B2CAD7B04EEB9222(__this, NULL);
float L_1 = L_0.___y_1;
V_0 = L_1;
goto IL_000f;
}
IL_000f:
{
float L_2 = V_0;
return L_2;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_GetRenderedHeight_m64D7F5014A10FFF692DED07E7619674F30D3B099 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___onlyVisibleCharacters0, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
bool L_0 = ___onlyVisibleCharacters0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
L_1 = TMP_Text_GetRenderedValues_m08075C102D6F4332871ECF6D818664B6170B1374(__this, L_0, NULL);
float L_2 = L_1.___y_1;
V_0 = L_2;
goto IL_0010;
}
IL_0010:
{
float L_3 = V_0;
return L_3;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Text_CalculatePreferredValues_mFC2117C2481613AF4CD0FE52E9C7162D4EB31C2A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float* ___fontSize0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___marginSize1, bool ___isTextAutoSizingEnabled2, bool ___isWordWrappingEnabled3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Char_t521A6F19B456D956AF452D926C32709DC03D6B17_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_ContainsKey_mFEF31529C09939D463552C900419ABCC2B05B354_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_mD85118F441AE91F71148EF036C683C6D893D3D74_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Item_m43EA32FD1DAA3D907704A2F5B20845722C30849E_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m15153E553DF2FC3956A9EA60D995E6A6CD087CE3_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Clear_m3763CBE15B699BDEAB58FD4D6FEA4BF708F9B60D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_SetDefault_m698E3FC65D297F210EA10D014AE2D836708A420C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_SetDefault_m7CE06332FBA28EFF7BD420B215587317648C1EB8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_SetDefault_mE117EC83B0E0DD13A62A2ACAE4FD90DDDE520C24_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral205DE2CB7E86A79B6B3940AFB5A0EC8F490142CE);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
float V_1 = 0.0f;
float V_2 = 0.0f;
float V_3 = 0.0f;
float V_4 = 0.0f;
float V_5 = 0.0f;
float V_6 = 0.0f;
float V_7 = 0.0f;
float V_8 = 0.0f;
float V_9 = 0.0f;
float V_10 = 0.0f;
float V_11 = 0.0f;
float V_12 = 0.0f;
float V_13 = 0.0f;
float V_14 = 0.0f;
float V_15 = 0.0f;
bool V_16 = false;
bool V_17 = false;
bool V_18 = false;
CharacterSubstitution_t1F95CD37050627A0EFDC0F0F25FD04EA70015403 V_19;
memset((&V_19), 0, sizeof(V_19));
bool V_20 = false;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A V_21;
memset((&V_21), 0, sizeof(V_21));
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A V_22;
memset((&V_22), 0, sizeof(V_22));
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A V_23;
memset((&V_23), 0, sizeof(V_23));
bool V_24 = false;
int32_t V_25 = 0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_26;
memset((&V_26), 0, sizeof(V_26));
bool V_27 = false;
bool V_28 = false;
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 V_29;
memset((&V_29), 0, sizeof(V_29));
int32_t V_30 = 0;
int32_t V_31 = 0;
int32_t V_32 = 0;
bool V_33 = false;
bool V_34 = false;
float V_35 = 0.0f;
float V_36 = 0.0f;
float V_37 = 0.0f;
float V_38 = 0.0f;
GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A V_39;
memset((&V_39), 0, sizeof(V_39));
bool V_40 = false;
TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1 V_41;
memset((&V_41), 0, sizeof(V_41));
float V_42 = 0.0f;
float V_43 = 0.0f;
float V_44 = 0.0f;
float V_45 = 0.0f;
float V_46 = 0.0f;
float V_47 = 0.0f;
float V_48 = 0.0f;
bool V_49 = false;
bool V_50 = false;
bool V_51 = false;
int32_t V_52 = 0;
bool V_53 = false;
bool V_54 = false;
bool V_55 = false;
int32_t V_56 = 0;
int32_t V_57 = 0;
bool V_58 = false;
bool V_59 = false;
bool V_60 = false;
bool V_61 = false;
bool V_62 = false;
bool V_63 = false;
bool V_64 = false;
bool V_65 = false;
bool V_66 = false;
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* V_67 = NULL;
bool V_68 = false;
bool V_69 = false;
bool V_70 = false;
float V_71 = 0.0f;
float V_72 = 0.0f;
float V_73 = 0.0f;
GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A V_74;
memset((&V_74), 0, sizeof(V_74));
bool V_75 = false;
float V_76 = 0.0f;
bool V_77 = false;
bool V_78 = false;
bool V_79 = false;
bool V_80 = false;
bool V_81 = false;
TMP_GlyphPairAdjustmentRecord_t6150C3DE547DDD860AB097843D36519D818D810F* V_82 = NULL;
uint32_t V_83 = 0;
bool V_84 = false;
uint32_t V_85 = 0;
uint32_t V_86 = 0;
bool V_87 = false;
bool V_88 = false;
uint32_t V_89 = 0;
uint32_t V_90 = 0;
bool V_91 = false;
bool V_92 = false;
bool V_93 = false;
bool V_94 = false;
bool V_95 = false;
bool V_96 = false;
float V_97 = 0.0f;
bool V_98 = false;
bool V_99 = false;
bool V_100 = false;
bool V_101 = false;
bool V_102 = false;
int32_t V_103 = 0;
bool V_104 = false;
bool V_105 = false;
float V_106 = 0.0f;
float V_107 = 0.0f;
float V_108 = 0.0f;
float V_109 = 0.0f;
bool V_110 = false;
bool V_111 = false;
bool V_112 = false;
bool V_113 = false;
float V_114 = 0.0f;
float V_115 = 0.0f;
bool V_116 = false;
bool V_117 = false;
float V_118 = 0.0f;
bool V_119 = false;
bool V_120 = false;
bool V_121 = false;
bool V_122 = false;
bool V_123 = false;
bool V_124 = false;
float V_125 = 0.0f;
float V_126 = 0.0f;
bool V_127 = false;
bool V_128 = false;
bool V_129 = false;
bool V_130 = false;
bool V_131 = false;
float V_132 = 0.0f;
float V_133 = 0.0f;
bool V_134 = false;
bool V_135 = false;
bool V_136 = false;
float V_137 = 0.0f;
bool V_138 = false;
float V_139 = 0.0f;
bool V_140 = false;
bool V_141 = false;
bool V_142 = false;
bool V_143 = false;
bool V_144 = false;
bool V_145 = false;
bool V_146 = false;
bool V_147 = false;
bool V_148 = false;
bool V_149 = false;
bool V_150 = false;
bool V_151 = false;
bool V_152 = false;
bool V_153 = false;
bool V_154 = false;
bool V_155 = false;
bool V_156 = false;
float V_157 = 0.0f;
bool V_158 = false;
int32_t G_B3_0 = 0;
int32_t G_B9_0 = 0;
int32_t G_B14_0 = 0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B17_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B16_0 = NULL;
int32_t G_B18_0 = 0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B18_1 = NULL;
float G_B21_0 = 0.0f;
float G_B20_0 = 0.0f;
float G_B22_0 = 0.0f;
float G_B22_1 = 0.0f;
float G_B24_0 = 0.0f;
float G_B23_0 = 0.0f;
float G_B25_0 = 0.0f;
float G_B25_1 = 0.0f;
int32_t G_B29_0 = 0;
int32_t G_B50_0 = 0;
float G_B74_0 = 0.0f;
float G_B73_0 = 0.0f;
float G_B75_0 = 0.0f;
float G_B75_1 = 0.0f;
float G_B78_0 = 0.0f;
float G_B77_0 = 0.0f;
float G_B79_0 = 0.0f;
float G_B79_1 = 0.0f;
int32_t G_B88_0 = 0;
float G_B91_0 = 0.0f;
float G_B90_0 = 0.0f;
float G_B92_0 = 0.0f;
float G_B92_1 = 0.0f;
float G_B95_0 = 0.0f;
float G_B94_0 = 0.0f;
float G_B96_0 = 0.0f;
float G_B96_1 = 0.0f;
int32_t G_B100_0 = 0;
int32_t G_B107_0 = 0;
int32_t G_B112_0 = 0;
float G_B118_0 = 0.0f;
float G_B125_0 = 0.0f;
int32_t G_B134_0 = 0;
float G_B139_0 = 0.0f;
float G_B142_0 = 0.0f;
int32_t G_B145_0 = 0;
int32_t G_B152_0 = 0;
int32_t G_B158_0 = 0;
int32_t G_B162_0 = 0;
int32_t G_B169_0 = 0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B172_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B171_0 = NULL;
float G_B173_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B173_1 = NULL;
int32_t G_B178_0 = 0;
int32_t G_B187_0 = 0;
float G_B191_0 = 0.0f;
float G_B193_0 = 0.0f;
float G_B193_1 = 0.0f;
float G_B192_0 = 0.0f;
float G_B192_1 = 0.0f;
float G_B194_0 = 0.0f;
float G_B194_1 = 0.0f;
float G_B194_2 = 0.0f;
float G_B196_0 = 0.0f;
float G_B196_1 = 0.0f;
float G_B195_0 = 0.0f;
float G_B195_1 = 0.0f;
float G_B197_0 = 0.0f;
float G_B197_1 = 0.0f;
float G_B197_2 = 0.0f;
int32_t G_B201_0 = 0;
int32_t G_B206_0 = 0;
int32_t G_B214_0 = 0;
float G_B219_0 = 0.0f;
float G_B219_1 = 0.0f;
float G_B218_0 = 0.0f;
float G_B218_1 = 0.0f;
float G_B220_0 = 0.0f;
float G_B220_1 = 0.0f;
float G_B220_2 = 0.0f;
int32_t G_B224_0 = 0;
int32_t G_B232_0 = 0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B236_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B235_0 = NULL;
float G_B237_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B237_1 = NULL;
int32_t G_B243_0 = 0;
int32_t G_B245_0 = 0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B259_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B258_0 = NULL;
float G_B260_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B260_1 = NULL;
int32_t G_B265_0 = 0;
int32_t G_B271_0 = 0;
int32_t G_B283_0 = 0;
int32_t G_B289_0 = 0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B293_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B292_0 = NULL;
float G_B294_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B294_1 = NULL;
int32_t G_B303_0 = 0;
float G_B308_0 = 0.0f;
float G_B308_1 = 0.0f;
float G_B306_0 = 0.0f;
float G_B306_1 = 0.0f;
float G_B307_0 = 0.0f;
float G_B307_1 = 0.0f;
float G_B309_0 = 0.0f;
float G_B309_1 = 0.0f;
float G_B309_2 = 0.0f;
float G_B313_0 = 0.0f;
float G_B313_1 = 0.0f;
float G_B313_2 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B313_3 = NULL;
float G_B311_0 = 0.0f;
float G_B311_1 = 0.0f;
float G_B311_2 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B311_3 = NULL;
float G_B312_0 = 0.0f;
float G_B312_1 = 0.0f;
float G_B312_2 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B312_3 = NULL;
float G_B314_0 = 0.0f;
float G_B314_1 = 0.0f;
float G_B314_2 = 0.0f;
float G_B314_3 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B314_4 = NULL;
int32_t G_B323_0 = 0;
int32_t G_B335_0 = 0;
int32_t G_B354_0 = 0;
int32_t G_B356_0 = 0;
int32_t G_B358_0 = 0;
int32_t G_B360_0 = 0;
int32_t G_B364_0 = 0;
int32_t G_B367_0 = 0;
int32_t G_B385_0 = 0;
int32_t G_B387_0 = 0;
int32_t G_B396_0 = 0;
int32_t G_B402_0 = 0;
float G_B408_0 = 0.0f;
float G_B407_0 = 0.0f;
float G_B409_0 = 0.0f;
float G_B409_1 = 0.0f;
float G_B411_0 = 0.0f;
float G_B410_0 = 0.0f;
float G_B412_0 = 0.0f;
float G_B412_1 = 0.0f;
float G_B414_0 = 0.0f;
float G_B413_0 = 0.0f;
float G_B415_0 = 0.0f;
float G_B415_1 = 0.0f;
float G_B417_0 = 0.0f;
float G_B416_0 = 0.0f;
float G_B418_0 = 0.0f;
float G_B418_1 = 0.0f;
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_0 = __this->___m_fontAsset_42;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
if (L_1)
{
goto IL_001f;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_2 = __this->___m_fontAsset_42;
NullCheck(L_2);
Dictionary_2_tCB5FEF8D6CEA1557D9B9BA25946AD6BF3E6C14D0* L_3;
L_3 = TMP_FontAsset_get_characterLookupTable_mEFAADDFAA6233DFEC3A0D8C163588B3C678451E9(L_2, NULL);
G_B3_0 = ((((RuntimeObject*)(Dictionary_2_tCB5FEF8D6CEA1557D9B9BA25946AD6BF3E6C14D0*)L_3) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
goto IL_0020;
}
IL_001f:
{
G_B3_0 = 1;
}
IL_0020:
{
V_24 = (bool)G_B3_0;
bool L_4 = V_24;
if (!L_4)
{
goto IL_0059;
}
}
{
int32_t L_5;
L_5 = Object_GetInstanceID_m554FF4073C9465F3835574CC084E68AAEEC6CC6A(__this, NULL);
V_25 = L_5;
String_t* L_6;
L_6 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_25), NULL);
String_t* L_7;
L_7 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteral205DE2CB7E86A79B6B3940AFB5A0EC8F490142CE, L_6, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(L_7, NULL);
__this->___m_IsAutoSizePointSizeSet_87 = (bool)1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
L_8 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
V_26 = L_8;
goto IL_1eb3;
}
IL_0059:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_9 = __this->___m_TextProcessingArray_199;
if (!L_9)
{
goto IL_0080;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_10 = __this->___m_TextProcessingArray_199;
NullCheck(L_10);
if (!(((RuntimeArray*)L_10)->max_length))
{
goto IL_0080;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_11 = __this->___m_TextProcessingArray_199;
NullCheck(L_11);
int32_t L_12 = ((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___unicode_0;
G_B9_0 = ((((int32_t)L_12) == ((int32_t)0))? 1 : 0);
goto IL_0081;
}
IL_0080:
{
G_B9_0 = 1;
}
IL_0081:
{
V_27 = (bool)G_B9_0;
bool L_13 = V_27;
if (!L_13)
{
goto IL_009b;
}
}
{
__this->___m_IsAutoSizePointSizeSet_87 = (bool)1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_14;
L_14 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
V_26 = L_14;
goto IL_1eb3;
}
IL_009b:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_15 = __this->___m_fontAsset_42;
__this->___m_currentFontAsset_43 = L_15;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentFontAsset_43), (void*)L_15);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_16 = __this->___m_sharedMaterial_45;
__this->___m_currentMaterial_46 = L_16;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentMaterial_46), (void*)L_16);
__this->___m_currentMaterialIndex_50 = 0;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_17 = __this->___m_currentFontAsset_43;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_18 = __this->___m_currentMaterial_46;
float L_19 = __this->___m_padding_243;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_20;
memset((&L_20), 0, sizeof(L_20));
MaterialReference__ctor_m022ED9858AAD1DCEC25CBC4C304797F4539D87E7((&L_20), 0, L_17, (TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39*)NULL, L_18, L_19, NULL);
TMP_TextProcessingStack_1_SetDefault_m7CE06332FBA28EFF7BD420B215587317648C1EB8((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49), L_20, TMP_TextProcessingStack_1_SetDefault_m7CE06332FBA28EFF7BD420B215587317648C1EB8_RuntimeMethod_var);
int32_t L_21 = __this->___m_totalCharacterCount_202;
V_0 = L_21;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_22 = __this->___m_internalCharacterInfo_201;
if (!L_22)
{
goto IL_00fa;
}
}
{
int32_t L_23 = V_0;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_24 = __this->___m_internalCharacterInfo_201;
NullCheck(L_24);
G_B14_0 = ((((int32_t)L_23) > ((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length))))? 1 : 0);
goto IL_00fb;
}
IL_00fa:
{
G_B14_0 = 1;
}
IL_00fb:
{
V_28 = (bool)G_B14_0;
bool L_25 = V_28;
if (!L_25)
{
goto IL_0123;
}
}
{
int32_t L_26 = V_0;
if ((((int32_t)L_26) > ((int32_t)((int32_t)1024))))
{
G_B17_0 = __this;
goto IL_0112;
}
G_B16_0 = __this;
}
{
int32_t L_27 = V_0;
int32_t L_28;
L_28 = Mathf_NextPowerOfTwo_mA1CE7F3EEF9B0B07AB2D586C030ED236D578F485(L_27, NULL);
G_B18_0 = L_28;
G_B18_1 = G_B16_0;
goto IL_0119;
}
IL_0112:
{
int32_t L_29 = V_0;
G_B18_0 = ((int32_t)il2cpp_codegen_add(L_29, ((int32_t)256)));
G_B18_1 = G_B17_0;
}
IL_0119:
{
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_30 = (TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99*)(TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99*)SZArrayNew(TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99_il2cpp_TypeInfo_var, (uint32_t)G_B18_0);
NullCheck(G_B18_1);
G_B18_1->___m_internalCharacterInfo_201 = L_30;
Il2CppCodeGenWriteBarrier((void**)(&G_B18_1->___m_internalCharacterInfo_201), (void*)L_30);
}
IL_0123:
{
float* L_31 = ___fontSize0;
float L_32 = *((float*)L_31);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_33 = __this->___m_fontAsset_42;
NullCheck(L_33);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_34;
L_34 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_33, NULL);
V_29 = L_34;
int32_t L_35;
L_35 = FaceInfo_get_pointSize_m7EF7429A4725AB715931A220F6BB498C3D6BF7CB((&V_29), NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_36 = __this->___m_fontAsset_42;
NullCheck(L_36);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_37;
L_37 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_36, NULL);
V_29 = L_37;
float L_38;
L_38 = FaceInfo_get_scale_mC475A572AD4956B47D8B9F8D90DC69BBBB102FCD((&V_29), NULL);
bool L_39 = __this->___m_isOrthographic_129;
if (L_39)
{
G_B21_0 = ((float)il2cpp_codegen_multiply(((float)(L_32/((float)L_35))), L_38));
goto IL_015f;
}
G_B20_0 = ((float)il2cpp_codegen_multiply(((float)(L_32/((float)L_35))), L_38));
}
{
G_B22_0 = (0.100000001f);
G_B22_1 = G_B20_0;
goto IL_0164;
}
IL_015f:
{
G_B22_0 = (1.0f);
G_B22_1 = G_B21_0;
}
IL_0164:
{
V_1 = ((float)il2cpp_codegen_multiply(G_B22_1, G_B22_0));
float L_40 = V_1;
V_2 = L_40;
float* L_41 = ___fontSize0;
float L_42 = *((float*)L_41);
bool L_43 = __this->___m_isOrthographic_129;
if (L_43)
{
G_B24_0 = ((float)il2cpp_codegen_multiply(L_42, (0.00999999978f)));
goto IL_017f;
}
G_B23_0 = ((float)il2cpp_codegen_multiply(L_42, (0.00999999978f)));
}
{
G_B25_0 = (0.100000001f);
G_B25_1 = G_B23_0;
goto IL_0184;
}
IL_017f:
{
G_B25_0 = (1.0f);
G_B25_1 = G_B24_0;
}
IL_0184:
{
V_3 = ((float)il2cpp_codegen_multiply(G_B25_1, G_B25_0));
__this->___m_fontScaleMultiplier_188 = (1.0f);
float* L_44 = ___fontSize0;
float L_45 = *((float*)L_44);
__this->___m_currentFontSize_76 = L_45;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_46 = (&__this->___m_sizeStack_78);
float L_47 = __this->___m_currentFontSize_76;
TMP_TextProcessingStack_1_SetDefault_mE117EC83B0E0DD13A62A2ACAE4FD90DDDE520C24(L_46, L_47, TMP_TextProcessingStack_1_SetDefault_mE117EC83B0E0DD13A62A2ACAE4FD90DDDE520C24_RuntimeMethod_var);
V_4 = (0.0f);
int32_t L_48 = __this->___m_fontStyle_90;
__this->___m_FontStyleInternal_91 = L_48;
int32_t L_49 = __this->___m_HorizontalAlignment_94;
__this->___m_lineJustification_97 = L_49;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0* L_50 = (&__this->___m_lineJustificationStack_98);
int32_t L_51 = __this->___m_lineJustification_97;
TMP_TextProcessingStack_1_SetDefault_m698E3FC65D297F210EA10D014AE2D836708A420C(L_50, L_51, TMP_TextProcessingStack_1_SetDefault_m698E3FC65D297F210EA10D014AE2D836708A420C_RuntimeMethod_var);
__this->___m_baselineOffset_244 = (0.0f);
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_52 = (&__this->___m_baselineOffsetStack_245);
TMP_TextProcessingStack_1_Clear_m3763CBE15B699BDEAB58FD4D6FEA4BF708F9B60D(L_52, TMP_TextProcessingStack_1_Clear_m3763CBE15B699BDEAB58FD4D6FEA4BF708F9B60D_RuntimeMethod_var);
__this->___m_lineOffset_226 = (0.0f);
__this->___m_lineHeight_106 = (-32767.0f);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_53 = __this->___m_currentFontAsset_43;
NullCheck(L_53);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_54;
L_54 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_53, NULL);
V_29 = L_54;
float L_55;
L_55 = FaceInfo_get_lineHeight_m528B4A822181FCECF3D4FF1045DF288E5872AB9D((&V_29), NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_56 = __this->___m_currentFontAsset_43;
NullCheck(L_56);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_57;
L_57 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_56, NULL);
V_29 = L_57;
float L_58;
L_58 = FaceInfo_get_ascentLine_m193755D649428EC24A7E433A1728F11DA7547ABD((&V_29), NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_59 = __this->___m_currentFontAsset_43;
NullCheck(L_59);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_60;
L_60 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_59, NULL);
V_29 = L_60;
float L_61;
L_61 = FaceInfo_get_descentLine_m811A243C9B328B0C546BF9927A010A05DF172BD3((&V_29), NULL);
V_5 = ((float)il2cpp_codegen_subtract(L_55, ((float)il2cpp_codegen_subtract(L_58, L_61))));
__this->___m_cSpacing_101 = (0.0f);
__this->___m_monoSpacing_102 = (0.0f);
__this->___m_xAdvance_246 = (0.0f);
V_6 = (0.0f);
__this->___tag_LineIndent_192 = (0.0f);
__this->___tag_Indent_193 = (0.0f);
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_62 = (&__this->___m_indentStack_194);
TMP_TextProcessingStack_1_SetDefault_mE117EC83B0E0DD13A62A2ACAE4FD90DDDE520C24(L_62, (0.0f), TMP_TextProcessingStack_1_SetDefault_mE117EC83B0E0DD13A62A2ACAE4FD90DDDE520C24_RuntimeMethod_var);
__this->___tag_NoParsing_195 = (bool)0;
__this->___m_characterCount_209 = 0;
__this->___m_firstCharacterOfLine_210 = 0;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
float L_63 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargeNegativeFloat_264;
__this->___m_maxLineAscender_222 = L_63;
float L_64 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveFloat_263;
__this->___m_maxLineDescender_223 = L_64;
__this->___m_lineNumber_214 = 0;
__this->___m_startOfLineAscender_224 = (0.0f);
__this->___m_IsDrivenLineSpacing_107 = (bool)0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_65 = ___marginSize1;
float L_66 = L_65.___x_0;
V_7 = L_66;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_67 = ___marginSize1;
float L_68 = L_67.___y_1;
V_8 = L_68;
__this->___m_marginLeft_149 = (0.0f);
__this->___m_marginRight_150 = (0.0f);
V_9 = (0.0f);
V_10 = (0.0f);
__this->___m_width_153 = (-1.0f);
float L_69 = V_7;
float L_70 = __this->___m_marginLeft_149;
float L_71 = __this->___m_marginRight_150;
V_11 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(L_69, (9.99999975E-05f))), L_70)), L_71));
V_12 = (0.0f);
V_13 = (0.0f);
V_14 = (0.0f);
__this->___m_isCalculatingPreferredValues_182 = (bool)1;
__this->___m_maxCapHeight_219 = (0.0f);
__this->___m_maxTextAscender_218 = (0.0f);
__this->___m_ElementDescender_221 = (0.0f);
V_15 = (0.0f);
V_16 = (bool)0;
V_17 = (bool)1;
__this->___m_isNonBreakingSpace_114 = (bool)0;
V_18 = (bool)0;
CharacterSubstitution__ctor_m5727A2342B980E68CA8CA895437F82280B5E4378((&V_19), (-1), 0, NULL);
V_20 = (bool)0;
il2cpp_codegen_initobj((&V_21), sizeof(WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A));
il2cpp_codegen_initobj((&V_22), sizeof(WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A));
il2cpp_codegen_initobj((&V_23), sizeof(WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A));
int32_t L_72 = __this->___m_AutoSizeIterationCount_85;
__this->___m_AutoSizeIterationCount_85 = ((int32_t)il2cpp_codegen_add(L_72, 1));
V_30 = 0;
goto IL_1cdc;
}
IL_03c1:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_73 = __this->___m_TextProcessingArray_199;
int32_t L_74 = V_30;
NullCheck(L_73);
int32_t L_75 = ((L_73)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_74)))->___unicode_0;
V_31 = L_75;
bool L_76 = __this->___m_isRichText_126;
if (!L_76)
{
goto IL_03e6;
}
}
{
int32_t L_77 = V_31;
G_B29_0 = ((((int32_t)L_77) == ((int32_t)((int32_t)60)))? 1 : 0);
goto IL_03e7;
}
IL_03e6:
{
G_B29_0 = 0;
}
IL_03e7:
{
V_51 = (bool)G_B29_0;
bool L_78 = V_51;
if (!L_78)
{
goto IL_0431;
}
}
{
__this->___m_isParsingText_196 = (bool)1;
__this->___m_textElementType_247 = 0;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_79 = __this->___m_TextProcessingArray_199;
int32_t L_80 = V_30;
bool L_81;
L_81 = TMP_Text_ValidateHtmlTag_mCA56FCCE3DC46EF51927B96CD7F91B1097A0EEBA(__this, L_79, ((int32_t)il2cpp_codegen_add(L_80, 1)), (&V_52), NULL);
V_53 = L_81;
bool L_82 = V_53;
if (!L_82)
{
goto IL_042e;
}
}
{
int32_t L_83 = V_52;
V_30 = L_83;
int32_t L_84 = __this->___m_textElementType_247;
V_54 = (bool)((((int32_t)L_84) == ((int32_t)0))? 1 : 0);
bool L_85 = V_54;
if (!L_85)
{
goto IL_042d;
}
}
{
goto IL_1cd6;
}
IL_042d:
{
}
IL_042e:
{
goto IL_0496;
}
IL_0431:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_86 = __this->___m_textInfo_154;
NullCheck(L_86);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_87 = L_86->___characterInfo_11;
int32_t L_88 = __this->___m_characterCount_209;
NullCheck(L_87);
int32_t L_89 = ((L_87)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_88)))->___elementType_3;
__this->___m_textElementType_247 = L_89;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_90 = __this->___m_textInfo_154;
NullCheck(L_90);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_91 = L_90->___characterInfo_11;
int32_t L_92 = __this->___m_characterCount_209;
NullCheck(L_91);
int32_t L_93 = ((L_91)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_92)))->___materialReferenceIndex_9;
__this->___m_currentMaterialIndex_50 = L_93;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_94 = __this->___m_textInfo_154;
NullCheck(L_94);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_95 = L_94->___characterInfo_11;
int32_t L_96 = __this->___m_characterCount_209;
NullCheck(L_95);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_97 = ((L_95)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_96)))->___fontAsset_5;
__this->___m_currentFontAsset_43 = L_97;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentFontAsset_43), (void*)L_97);
}
IL_0496:
{
int32_t L_98 = __this->___m_currentMaterialIndex_50;
V_32 = L_98;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_99 = __this->___m_textInfo_154;
NullCheck(L_99);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_100 = L_99->___characterInfo_11;
int32_t L_101 = __this->___m_characterCount_209;
NullCheck(L_100);
bool L_102 = ((L_100)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_101)))->___isUsingAlternateTypeface_10;
V_33 = L_102;
__this->___m_isParsingText_196 = (bool)0;
V_34 = (bool)0;
CharacterSubstitution_t1F95CD37050627A0EFDC0F0F25FD04EA70015403 L_103 = V_19;
int32_t L_104 = L_103.___index_0;
int32_t L_105 = __this->___m_characterCount_209;
V_55 = (bool)((((int32_t)L_104) == ((int32_t)L_105))? 1 : 0);
bool L_106 = V_55;
if (!L_106)
{
goto IL_060b;
}
}
{
CharacterSubstitution_t1F95CD37050627A0EFDC0F0F25FD04EA70015403 L_107 = V_19;
uint32_t L_108 = L_107.___unicode_1;
V_31 = L_108;
__this->___m_textElementType_247 = 0;
V_34 = (bool)1;
int32_t L_109 = V_31;
V_57 = L_109;
int32_t L_110 = V_57;
V_56 = L_110;
int32_t L_111 = V_56;
if ((((int32_t)L_111) == ((int32_t)3)))
{
goto IL_0516;
}
}
{
goto IL_0500;
}
IL_0500:
{
int32_t L_112 = V_56;
if ((((int32_t)L_112) == ((int32_t)((int32_t)45))))
{
goto IL_0549;
}
}
{
goto IL_0508;
}
IL_0508:
{
int32_t L_113 = V_56;
if ((((int32_t)L_113) == ((int32_t)((int32_t)8230))))
{
goto IL_054e;
}
}
{
goto IL_060a;
}
IL_0516:
{
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_114 = __this->___m_internalCharacterInfo_201;
int32_t L_115 = __this->___m_characterCount_209;
NullCheck(L_114);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_116 = __this->___m_currentFontAsset_43;
NullCheck(L_116);
Dictionary_2_tCB5FEF8D6CEA1557D9B9BA25946AD6BF3E6C14D0* L_117;
L_117 = TMP_FontAsset_get_characterLookupTable_mEFAADDFAA6233DFEC3A0D8C163588B3C678451E9(L_116, NULL);
NullCheck(L_117);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_118;
L_118 = Dictionary_2_get_Item_m43EA32FD1DAA3D907704A2F5B20845722C30849E(L_117, 3, Dictionary_2_get_Item_m43EA32FD1DAA3D907704A2F5B20845722C30849E_RuntimeMethod_var);
((L_114)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_115)))->___textElement_4 = L_118;
Il2CppCodeGenWriteBarrier((void**)(&((L_114)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_115)))->___textElement_4), (void*)L_118);
__this->___m_isTextTruncated_121 = (bool)1;
goto IL_060a;
}
IL_0549:
{
goto IL_060a;
}
IL_054e:
{
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_119 = __this->___m_internalCharacterInfo_201;
int32_t L_120 = __this->___m_characterCount_209;
NullCheck(L_119);
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_121 = (&__this->___m_Ellipsis_249);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_122 = L_121->___character_0;
((L_119)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_120)))->___textElement_4 = L_122;
Il2CppCodeGenWriteBarrier((void**)(&((L_119)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_120)))->___textElement_4), (void*)L_122);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_123 = __this->___m_internalCharacterInfo_201;
int32_t L_124 = __this->___m_characterCount_209;
NullCheck(L_123);
((L_123)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_124)))->___elementType_3 = 0;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_125 = __this->___m_internalCharacterInfo_201;
int32_t L_126 = __this->___m_characterCount_209;
NullCheck(L_125);
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_127 = (&__this->___m_Ellipsis_249);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_128 = L_127->___fontAsset_1;
((L_125)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_126)))->___fontAsset_5 = L_128;
Il2CppCodeGenWriteBarrier((void**)(&((L_125)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_126)))->___fontAsset_5), (void*)L_128);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_129 = __this->___m_internalCharacterInfo_201;
int32_t L_130 = __this->___m_characterCount_209;
NullCheck(L_129);
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_131 = (&__this->___m_Ellipsis_249);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_132 = L_131->___material_2;
((L_129)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_130)))->___material_8 = L_132;
Il2CppCodeGenWriteBarrier((void**)(&((L_129)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_130)))->___material_8), (void*)L_132);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_133 = __this->___m_internalCharacterInfo_201;
int32_t L_134 = __this->___m_characterCount_209;
NullCheck(L_133);
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_135 = (&__this->___m_Ellipsis_249);
int32_t L_136 = L_135->___materialIndex_3;
((L_133)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_134)))->___materialReferenceIndex_9 = L_136;
__this->___m_isTextTruncated_121 = (bool)1;
int32_t L_137 = __this->___m_characterCount_209;
(&V_19)->___index_0 = ((int32_t)il2cpp_codegen_add(L_137, 1));
(&V_19)->___unicode_1 = 3;
goto IL_060a;
}
IL_060a:
{
}
IL_060b:
{
int32_t L_138 = __this->___m_characterCount_209;
int32_t L_139 = __this->___m_firstVisibleCharacter_141;
if ((((int32_t)L_138) >= ((int32_t)L_139)))
{
goto IL_0623;
}
}
{
int32_t L_140 = V_31;
G_B50_0 = ((((int32_t)((((int32_t)L_140) == ((int32_t)3))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0624;
}
IL_0623:
{
G_B50_0 = 0;
}
IL_0624:
{
V_58 = (bool)G_B50_0;
bool L_141 = V_58;
if (!L_141)
{
goto IL_0687;
}
}
{
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_142 = __this->___m_internalCharacterInfo_201;
int32_t L_143 = __this->___m_characterCount_209;
NullCheck(L_142);
((L_142)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_143)))->___isVisible_40 = (bool)0;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_144 = __this->___m_internalCharacterInfo_201;
int32_t L_145 = __this->___m_characterCount_209;
NullCheck(L_144);
((L_144)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_145)))->___character_0 = ((int32_t)8203);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_146 = __this->___m_internalCharacterInfo_201;
int32_t L_147 = __this->___m_characterCount_209;
NullCheck(L_146);
((L_146)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_147)))->___lineNumber_12 = 0;
int32_t L_148 = __this->___m_characterCount_209;
__this->___m_characterCount_209 = ((int32_t)il2cpp_codegen_add(L_148, 1));
goto IL_1cd6;
}
IL_0687:
{
V_35 = (1.0f);
int32_t L_149 = __this->___m_textElementType_247;
V_59 = (bool)((((int32_t)L_149) == ((int32_t)0))? 1 : 0);
bool L_150 = V_59;
if (!L_150)
{
goto IL_0734;
}
}
{
int32_t L_151 = __this->___m_FontStyleInternal_91;
V_60 = (bool)((((int32_t)((int32_t)((int32_t)L_151&((int32_t)16)))) == ((int32_t)((int32_t)16)))? 1 : 0);
bool L_152 = V_60;
if (!L_152)
{
goto IL_06d0;
}
}
{
int32_t L_153 = V_31;
il2cpp_codegen_runtime_class_init_inline(Char_t521A6F19B456D956AF452D926C32709DC03D6B17_il2cpp_TypeInfo_var);
bool L_154;
L_154 = Char_IsLower_m9DDB41367F97CFFE6C46A3B5EDE7D11180B5F1AE(((int32_t)(uint16_t)L_153), NULL);
V_61 = L_154;
bool L_155 = V_61;
if (!L_155)
{
goto IL_06cd;
}
}
{
int32_t L_156 = V_31;
il2cpp_codegen_runtime_class_init_inline(Char_t521A6F19B456D956AF452D926C32709DC03D6B17_il2cpp_TypeInfo_var);
Il2CppChar L_157;
L_157 = Char_ToUpper_m7DB51DD07EE52F4CA897807281880930F5CBD2D2(((int32_t)(uint16_t)L_156), NULL);
V_31 = L_157;
}
IL_06cd:
{
goto IL_0733;
}
IL_06d0:
{
int32_t L_158 = __this->___m_FontStyleInternal_91;
V_62 = (bool)((((int32_t)((int32_t)((int32_t)L_158&8))) == ((int32_t)8))? 1 : 0);
bool L_159 = V_62;
if (!L_159)
{
goto IL_06fd;
}
}
{
int32_t L_160 = V_31;
il2cpp_codegen_runtime_class_init_inline(Char_t521A6F19B456D956AF452D926C32709DC03D6B17_il2cpp_TypeInfo_var);
bool L_161;
L_161 = Char_IsUpper_mF150C44B70F522A14B2A8DF71DE0ADE52F9A3392(((int32_t)(uint16_t)L_160), NULL);
V_63 = L_161;
bool L_162 = V_63;
if (!L_162)
{
goto IL_06fa;
}
}
{
int32_t L_163 = V_31;
il2cpp_codegen_runtime_class_init_inline(Char_t521A6F19B456D956AF452D926C32709DC03D6B17_il2cpp_TypeInfo_var);
Il2CppChar L_164;
L_164 = Char_ToLower_m238489988C62CB10C7C7CAAEF8F3B2D1C5B5E056(((int32_t)(uint16_t)L_163), NULL);
V_31 = L_164;
}
IL_06fa:
{
goto IL_0733;
}
IL_06fd:
{
int32_t L_165 = __this->___m_FontStyleInternal_91;
V_64 = (bool)((((int32_t)((int32_t)((int32_t)L_165&((int32_t)32)))) == ((int32_t)((int32_t)32)))? 1 : 0);
bool L_166 = V_64;
if (!L_166)
{
goto IL_0733;
}
}
{
int32_t L_167 = V_31;
il2cpp_codegen_runtime_class_init_inline(Char_t521A6F19B456D956AF452D926C32709DC03D6B17_il2cpp_TypeInfo_var);
bool L_168;
L_168 = Char_IsLower_m9DDB41367F97CFFE6C46A3B5EDE7D11180B5F1AE(((int32_t)(uint16_t)L_167), NULL);
V_65 = L_168;
bool L_169 = V_65;
if (!L_169)
{
goto IL_0732;
}
}
{
V_35 = (0.800000012f);
int32_t L_170 = V_31;
il2cpp_codegen_runtime_class_init_inline(Char_t521A6F19B456D956AF452D926C32709DC03D6B17_il2cpp_TypeInfo_var);
Il2CppChar L_171;
L_171 = Char_ToUpper_m7DB51DD07EE52F4CA897807281880930F5CBD2D2(((int32_t)(uint16_t)L_170), NULL);
V_31 = L_171;
}
IL_0732:
{
}
IL_0733:
{
}
IL_0734:
{
V_36 = (0.0f);
V_37 = (0.0f);
int32_t L_172 = __this->___m_textElementType_247;
V_66 = (bool)((((int32_t)L_172) == ((int32_t)1))? 1 : 0);
bool L_173 = V_66;
if (!L_173)
{
goto IL_0995;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_174 = __this->___m_textInfo_154;
NullCheck(L_174);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_175 = L_174->___characterInfo_11;
int32_t L_176 = __this->___m_characterCount_209;
NullCheck(L_175);
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_177 = ((L_175)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_176)))->___spriteAsset_6;
__this->___m_currentSpriteAsset_252 = L_177;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentSpriteAsset_252), (void*)L_177);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_178 = __this->___m_textInfo_154;
NullCheck(L_178);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_179 = L_178->___characterInfo_11;
int32_t L_180 = __this->___m_characterCount_209;
NullCheck(L_179);
int32_t L_181 = ((L_179)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_180)))->___spriteIndex_7;
__this->___m_spriteIndex_254 = L_181;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_182 = __this->___m_currentSpriteAsset_252;
NullCheck(L_182);
List_1_t2F39287A7FAAAD3D4A84C8C4EF6D748502C1DACC* L_183;
L_183 = TMP_SpriteAsset_get_spriteCharacterTable_m2F591ADE7DC8DE042B8A32AF84AC169C19CB9D2A(L_182, NULL);
int32_t L_184 = __this->___m_spriteIndex_254;
NullCheck(L_183);
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_185;
L_185 = List_1_get_Item_m15153E553DF2FC3956A9EA60D995E6A6CD087CE3(L_183, L_184, List_1_get_Item_m15153E553DF2FC3956A9EA60D995E6A6CD087CE3_RuntimeMethod_var);
V_67 = L_185;
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_186 = V_67;
V_68 = (bool)((((RuntimeObject*)(TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E*)L_186) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_187 = V_68;
if (!L_187)
{
goto IL_07bf;
}
}
{
goto IL_1cd6;
}
IL_07bf:
{
int32_t L_188 = V_31;
V_69 = (bool)((((int32_t)L_188) == ((int32_t)((int32_t)60)))? 1 : 0);
bool L_189 = V_69;
if (!L_189)
{
goto IL_07d9;
}
}
{
int32_t L_190 = __this->___m_spriteIndex_254;
V_31 = ((int32_t)il2cpp_codegen_add(((int32_t)57344), L_190));
}
IL_07d9:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_191 = __this->___m_currentSpriteAsset_252;
NullCheck(L_191);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_192;
L_192 = TMP_SpriteAsset_get_faceInfo_m1530AA39D6792A0EEE0EAD23159893F418A7E3EB(L_191, NULL);
V_29 = L_192;
int32_t L_193;
L_193 = FaceInfo_get_pointSize_m7EF7429A4725AB715931A220F6BB498C3D6BF7CB((&V_29), NULL);
V_70 = (bool)((((int32_t)L_193) > ((int32_t)0))? 1 : 0);
bool L_194 = V_70;
if (!L_194)
{
goto IL_088c;
}
}
{
float L_195 = __this->___m_currentFontSize_76;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_196 = __this->___m_currentSpriteAsset_252;
NullCheck(L_196);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_197;
L_197 = TMP_SpriteAsset_get_faceInfo_m1530AA39D6792A0EEE0EAD23159893F418A7E3EB(L_196, NULL);
V_29 = L_197;
int32_t L_198;
L_198 = FaceInfo_get_pointSize_m7EF7429A4725AB715931A220F6BB498C3D6BF7CB((&V_29), NULL);
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_199 = __this->___m_currentSpriteAsset_252;
NullCheck(L_199);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_200;
L_200 = TMP_SpriteAsset_get_faceInfo_m1530AA39D6792A0EEE0EAD23159893F418A7E3EB(L_199, NULL);
V_29 = L_200;
float L_201;
L_201 = FaceInfo_get_scale_mC475A572AD4956B47D8B9F8D90DC69BBBB102FCD((&V_29), NULL);
bool L_202 = __this->___m_isOrthographic_129;
if (L_202)
{
G_B74_0 = ((float)il2cpp_codegen_multiply(((float)(L_195/((float)L_198))), L_201));
goto IL_083a;
}
G_B73_0 = ((float)il2cpp_codegen_multiply(((float)(L_195/((float)L_198))), L_201));
}
{
G_B75_0 = (0.100000001f);
G_B75_1 = G_B73_0;
goto IL_083f;
}
IL_083a:
{
G_B75_0 = (1.0f);
G_B75_1 = G_B74_0;
}
IL_083f:
{
V_71 = ((float)il2cpp_codegen_multiply(G_B75_1, G_B75_0));
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_203 = V_67;
NullCheck(L_203);
float L_204;
L_204 = TMP_TextElement_get_scale_m23102716AD6E67BB03C2893983B105E8B425FE14(L_203, NULL);
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_205 = V_67;
NullCheck(L_205);
Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* L_206;
L_206 = TMP_TextElement_get_glyph_mB86D5107DDF4ADB051309056E876FEAE843E3D07(L_205, NULL);
NullCheck(L_206);
float L_207;
L_207 = Glyph_get_scale_m3ED738CBB032247526DB38161E180759B2D06F29(L_206, NULL);
float L_208 = V_71;
V_2 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_204, L_207)), L_208));
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_209 = __this->___m_currentSpriteAsset_252;
NullCheck(L_209);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_210;
L_210 = TMP_SpriteAsset_get_faceInfo_m1530AA39D6792A0EEE0EAD23159893F418A7E3EB(L_209, NULL);
V_29 = L_210;
float L_211;
L_211 = FaceInfo_get_ascentLine_m193755D649428EC24A7E433A1728F11DA7547ABD((&V_29), NULL);
V_36 = L_211;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_212 = __this->___m_currentSpriteAsset_252;
NullCheck(L_212);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_213;
L_213 = TMP_SpriteAsset_get_faceInfo_m1530AA39D6792A0EEE0EAD23159893F418A7E3EB(L_212, NULL);
V_29 = L_213;
float L_214;
L_214 = FaceInfo_get_descentLine_m811A243C9B328B0C546BF9927A010A05DF172BD3((&V_29), NULL);
V_37 = L_214;
goto IL_0951;
}
IL_088c:
{
float L_215 = __this->___m_currentFontSize_76;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_216 = __this->___m_currentFontAsset_43;
NullCheck(L_216);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_217;
L_217 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_216, NULL);
V_29 = L_217;
int32_t L_218;
L_218 = FaceInfo_get_pointSize_m7EF7429A4725AB715931A220F6BB498C3D6BF7CB((&V_29), NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_219 = __this->___m_currentFontAsset_43;
NullCheck(L_219);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_220;
L_220 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_219, NULL);
V_29 = L_220;
float L_221;
L_221 = FaceInfo_get_scale_mC475A572AD4956B47D8B9F8D90DC69BBBB102FCD((&V_29), NULL);
bool L_222 = __this->___m_isOrthographic_129;
if (L_222)
{
G_B78_0 = ((float)il2cpp_codegen_multiply(((float)(L_215/((float)L_218))), L_221));
goto IL_08cd;
}
G_B77_0 = ((float)il2cpp_codegen_multiply(((float)(L_215/((float)L_218))), L_221));
}
{
G_B79_0 = (0.100000001f);
G_B79_1 = G_B77_0;
goto IL_08d2;
}
IL_08cd:
{
G_B79_0 = (1.0f);
G_B79_1 = G_B78_0;
}
IL_08d2:
{
V_72 = ((float)il2cpp_codegen_multiply(G_B79_1, G_B79_0));
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_223 = __this->___m_currentFontAsset_43;
NullCheck(L_223);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_224;
L_224 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_223, NULL);
V_29 = L_224;
float L_225;
L_225 = FaceInfo_get_ascentLine_m193755D649428EC24A7E433A1728F11DA7547ABD((&V_29), NULL);
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_226 = V_67;
NullCheck(L_226);
Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* L_227;
L_227 = TMP_TextElement_get_glyph_mB86D5107DDF4ADB051309056E876FEAE843E3D07(L_226, NULL);
NullCheck(L_227);
GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A L_228;
L_228 = Glyph_get_metrics_mB6E9D3D1899E35BA257638F6F58B7D260170B6FA(L_227, NULL);
V_74 = L_228;
float L_229;
L_229 = GlyphMetrics_get_height_mE0872B23CE1A20BF78DEACDBD53BAF789D84AD5C((&V_74), NULL);
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_230 = V_67;
NullCheck(L_230);
float L_231;
L_231 = TMP_TextElement_get_scale_m23102716AD6E67BB03C2893983B105E8B425FE14(L_230, NULL);
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_232 = V_67;
NullCheck(L_232);
Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* L_233;
L_233 = TMP_TextElement_get_glyph_mB86D5107DDF4ADB051309056E876FEAE843E3D07(L_232, NULL);
NullCheck(L_233);
float L_234;
L_234 = Glyph_get_scale_m3ED738CBB032247526DB38161E180759B2D06F29(L_233, NULL);
float L_235 = V_72;
V_2 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)(L_225/L_229)), L_231)), L_234)), L_235));
float L_236 = V_72;
float L_237 = V_2;
V_73 = ((float)(L_236/L_237));
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_238 = __this->___m_currentFontAsset_43;
NullCheck(L_238);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_239;
L_239 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_238, NULL);
V_29 = L_239;
float L_240;
L_240 = FaceInfo_get_ascentLine_m193755D649428EC24A7E433A1728F11DA7547ABD((&V_29), NULL);
float L_241 = V_73;
V_36 = ((float)il2cpp_codegen_multiply(L_240, L_241));
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_242 = __this->___m_currentFontAsset_43;
NullCheck(L_242);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_243;
L_243 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_242, NULL);
V_29 = L_243;
float L_244;
L_244 = FaceInfo_get_descentLine_m811A243C9B328B0C546BF9927A010A05DF172BD3((&V_29), NULL);
float L_245 = V_73;
V_37 = ((float)il2cpp_codegen_multiply(L_244, L_245));
}
IL_0951:
{
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_246 = V_67;
__this->___m_cached_TextElement_248 = L_246;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_cached_TextElement_248), (void*)L_246);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_247 = __this->___m_internalCharacterInfo_201;
int32_t L_248 = __this->___m_characterCount_209;
NullCheck(L_247);
((L_247)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_248)))->___elementType_3 = 1;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_249 = __this->___m_internalCharacterInfo_201;
int32_t L_250 = __this->___m_characterCount_209;
NullCheck(L_249);
float L_251 = V_2;
((L_249)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_250)))->___scale_31 = L_251;
int32_t L_252 = V_32;
__this->___m_currentMaterialIndex_50 = L_252;
goto IL_0b4d;
}
IL_0995:
{
int32_t L_253 = __this->___m_textElementType_247;
V_75 = (bool)((((int32_t)L_253) == ((int32_t)0))? 1 : 0);
bool L_254 = V_75;
if (!L_254)
{
goto IL_0b4d;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_255 = __this->___m_textInfo_154;
NullCheck(L_255);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_256 = L_255->___characterInfo_11;
int32_t L_257 = __this->___m_characterCount_209;
NullCheck(L_256);
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* L_258 = ((L_256)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_257)))->___textElement_4;
__this->___m_cached_TextElement_248 = L_258;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_cached_TextElement_248), (void*)L_258);
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* L_259 = __this->___m_cached_TextElement_248;
V_77 = (bool)((((RuntimeObject*)(TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5*)L_259) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_260 = V_77;
if (!L_260)
{
goto IL_09dd;
}
}
{
goto IL_1cd6;
}
IL_09dd:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_261 = __this->___m_textInfo_154;
NullCheck(L_261);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_262 = L_261->___characterInfo_11;
int32_t L_263 = __this->___m_characterCount_209;
NullCheck(L_262);
int32_t L_264 = ((L_262)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_263)))->___materialReferenceIndex_9;
__this->___m_currentMaterialIndex_50 = L_264;
bool L_265 = V_34;
if (!L_265)
{
goto IL_0a2b;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_266 = __this->___m_TextProcessingArray_199;
int32_t L_267 = V_30;
NullCheck(L_266);
int32_t L_268 = ((L_266)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_267)))->___unicode_0;
if ((!(((uint32_t)L_268) == ((uint32_t)((int32_t)10)))))
{
goto IL_0a2b;
}
}
{
int32_t L_269 = __this->___m_characterCount_209;
int32_t L_270 = __this->___m_firstCharacterOfLine_210;
G_B88_0 = ((((int32_t)((((int32_t)L_269) == ((int32_t)L_270))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0a2c;
}
IL_0a2b:
{
G_B88_0 = 0;
}
IL_0a2c:
{
V_78 = (bool)G_B88_0;
bool L_271 = V_78;
if (!L_271)
{
goto IL_0a8e;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_272 = __this->___m_textInfo_154;
NullCheck(L_272);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_273 = L_272->___characterInfo_11;
int32_t L_274 = __this->___m_characterCount_209;
NullCheck(L_273);
float L_275 = ((L_273)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_274, 1)))))->___pointSize_11;
float L_276 = V_35;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_277 = __this->___m_currentFontAsset_43;
NullCheck(L_277);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* L_278 = (&L_277->___m_FaceInfo_12);
int32_t L_279;
L_279 = FaceInfo_get_pointSize_m7EF7429A4725AB715931A220F6BB498C3D6BF7CB(L_278, NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_280 = __this->___m_currentFontAsset_43;
NullCheck(L_280);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* L_281 = (&L_280->___m_FaceInfo_12);
float L_282;
L_282 = FaceInfo_get_scale_mC475A572AD4956B47D8B9F8D90DC69BBBB102FCD(L_281, NULL);
bool L_283 = __this->___m_isOrthographic_129;
if (L_283)
{
G_B91_0 = ((float)il2cpp_codegen_multiply(((float)(((float)il2cpp_codegen_multiply(L_275, L_276))/((float)L_279))), L_282));
goto IL_0a84;
}
G_B90_0 = ((float)il2cpp_codegen_multiply(((float)(((float)il2cpp_codegen_multiply(L_275, L_276))/((float)L_279))), L_282));
}
{
G_B92_0 = (0.100000001f);
G_B92_1 = G_B90_0;
goto IL_0a89;
}
IL_0a84:
{
G_B92_0 = (1.0f);
G_B92_1 = G_B91_0;
}
IL_0a89:
{
V_76 = ((float)il2cpp_codegen_multiply(G_B92_1, G_B92_0));
goto IL_0ad1;
}
IL_0a8e:
{
float L_284 = __this->___m_currentFontSize_76;
float L_285 = V_35;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_286 = __this->___m_currentFontAsset_43;
NullCheck(L_286);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* L_287 = (&L_286->___m_FaceInfo_12);
int32_t L_288;
L_288 = FaceInfo_get_pointSize_m7EF7429A4725AB715931A220F6BB498C3D6BF7CB(L_287, NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_289 = __this->___m_currentFontAsset_43;
NullCheck(L_289);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* L_290 = (&L_289->___m_FaceInfo_12);
float L_291;
L_291 = FaceInfo_get_scale_mC475A572AD4956B47D8B9F8D90DC69BBBB102FCD(L_290, NULL);
bool L_292 = __this->___m_isOrthographic_129;
if (L_292)
{
G_B95_0 = ((float)il2cpp_codegen_multiply(((float)(((float)il2cpp_codegen_multiply(L_284, L_285))/((float)L_288))), L_291));
goto IL_0ac9;
}
G_B94_0 = ((float)il2cpp_codegen_multiply(((float)(((float)il2cpp_codegen_multiply(L_284, L_285))/((float)L_288))), L_291));
}
{
G_B96_0 = (0.100000001f);
G_B96_1 = G_B94_0;
goto IL_0ace;
}
IL_0ac9:
{
G_B96_0 = (1.0f);
G_B96_1 = G_B95_0;
}
IL_0ace:
{
V_76 = ((float)il2cpp_codegen_multiply(G_B96_1, G_B96_0));
}
IL_0ad1:
{
bool L_293 = V_34;
if (!L_293)
{
goto IL_0ae0;
}
}
{
int32_t L_294 = V_31;
G_B100_0 = ((((int32_t)L_294) == ((int32_t)((int32_t)8230)))? 1 : 0);
goto IL_0ae1;
}
IL_0ae0:
{
G_B100_0 = 0;
}
IL_0ae1:
{
V_79 = (bool)G_B100_0;
bool L_295 = V_79;
if (!L_295)
{
goto IL_0af9;
}
}
{
V_36 = (0.0f);
V_37 = (0.0f);
goto IL_0b1f;
}
IL_0af9:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_296 = __this->___m_currentFontAsset_43;
NullCheck(L_296);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* L_297 = (&L_296->___m_FaceInfo_12);
float L_298;
L_298 = FaceInfo_get_ascentLine_m193755D649428EC24A7E433A1728F11DA7547ABD(L_297, NULL);
V_36 = L_298;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_299 = __this->___m_currentFontAsset_43;
NullCheck(L_299);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* L_300 = (&L_299->___m_FaceInfo_12);
float L_301;
L_301 = FaceInfo_get_descentLine_m811A243C9B328B0C546BF9927A010A05DF172BD3(L_300, NULL);
V_37 = L_301;
}
IL_0b1f:
{
float L_302 = V_76;
float L_303 = __this->___m_fontScaleMultiplier_188;
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* L_304 = __this->___m_cached_TextElement_248;
NullCheck(L_304);
float L_305;
L_305 = TMP_TextElement_get_scale_m23102716AD6E67BB03C2893983B105E8B425FE14(L_304, NULL);
V_2 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_302, L_303)), L_305));
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_306 = __this->___m_internalCharacterInfo_201;
int32_t L_307 = __this->___m_characterCount_209;
NullCheck(L_306);
((L_306)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_307)))->___elementType_3 = 0;
}
IL_0b4d:
{
float L_308 = V_2;
V_38 = L_308;
int32_t L_309 = V_31;
if ((((int32_t)L_309) == ((int32_t)((int32_t)173))))
{
goto IL_0b60;
}
}
{
int32_t L_310 = V_31;
G_B107_0 = ((((int32_t)L_310) == ((int32_t)3))? 1 : 0);
goto IL_0b61;
}
IL_0b60:
{
G_B107_0 = 1;
}
IL_0b61:
{
V_80 = (bool)G_B107_0;
bool L_311 = V_80;
if (!L_311)
{
goto IL_0b6d;
}
}
{
V_2 = (0.0f);
}
IL_0b6d:
{
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_312 = __this->___m_internalCharacterInfo_201;
int32_t L_313 = __this->___m_characterCount_209;
NullCheck(L_312);
int32_t L_314 = V_31;
((L_312)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_313)))->___character_0 = ((int32_t)(uint16_t)L_314);
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* L_315 = __this->___m_cached_TextElement_248;
NullCheck(L_315);
Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* L_316 = L_315->___m_Glyph_3;
NullCheck(L_316);
GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A L_317;
L_317 = Glyph_get_metrics_mB6E9D3D1899E35BA257638F6F58B7D260170B6FA(L_316, NULL);
V_39 = L_317;
int32_t L_318 = V_31;
if ((((int32_t)L_318) > ((int32_t)((int32_t)65535))))
{
goto IL_0bab;
}
}
{
int32_t L_319 = V_31;
il2cpp_codegen_runtime_class_init_inline(Char_t521A6F19B456D956AF452D926C32709DC03D6B17_il2cpp_TypeInfo_var);
bool L_320;
L_320 = Char_IsWhiteSpace_m02AEC6EA19513CAFC6882CFCA54C45794D2B5924(((int32_t)(uint16_t)L_319), NULL);
G_B112_0 = ((int32_t)(L_320));
goto IL_0bac;
}
IL_0bab:
{
G_B112_0 = 0;
}
IL_0bac:
{
V_40 = (bool)G_B112_0;
il2cpp_codegen_initobj((&V_41), sizeof(TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1));
float L_321 = __this->___m_characterSpacing_100;
V_42 = L_321;
__this->___m_GlyphHorizontalAdvanceAdjustment_123 = (0.0f);
bool L_322 = __this->___m_enableKerning_122;
V_81 = L_322;
bool L_323 = V_81;
if (!L_323)
{
goto IL_0d1d;
}
}
{
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* L_324 = __this->___m_cached_TextElement_248;
NullCheck(L_324);
uint32_t L_325 = L_324->___m_GlyphIndex_4;
V_83 = L_325;
int32_t L_326 = __this->___m_characterCount_209;
int32_t L_327 = V_0;
V_84 = (bool)((((int32_t)L_326) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_327, 1))))? 1 : 0);
bool L_328 = V_84;
if (!L_328)
{
goto IL_0c75;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_329 = __this->___m_textInfo_154;
NullCheck(L_329);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_330 = L_329->___characterInfo_11;
int32_t L_331 = __this->___m_characterCount_209;
NullCheck(L_330);
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* L_332 = ((L_330)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_331, 1)))))->___textElement_4;
NullCheck(L_332);
uint32_t L_333 = L_332->___m_GlyphIndex_4;
V_85 = L_333;
uint32_t L_334 = V_85;
uint32_t L_335 = V_83;
V_86 = ((int32_t)(((int32_t)((int32_t)L_334<<((int32_t)16)))|(int32_t)L_335));
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_336 = __this->___m_currentFontAsset_43;
NullCheck(L_336);
TMP_FontFeatureTable_t726A09E64FDF682A8FFE294BB6CFE7747F6C40EA* L_337 = L_336->___m_FontFeatureTable_32;
NullCheck(L_337);
Dictionary_2_t64B29724AB3A3E4261D34B912BF8A6B0CD287142* L_338 = L_337->___m_GlyphPairAdjustmentRecordLookupDictionary_1;
uint32_t L_339 = V_86;
NullCheck(L_338);
bool L_340;
L_340 = Dictionary_2_TryGetValue_mD85118F441AE91F71148EF036C683C6D893D3D74(L_338, L_339, (&V_82), Dictionary_2_TryGetValue_mD85118F441AE91F71148EF036C683C6D893D3D74_RuntimeMethod_var);
V_87 = L_340;
bool L_341 = V_87;
if (!L_341)
{
goto IL_0c74;
}
}
{
TMP_GlyphPairAdjustmentRecord_t6150C3DE547DDD860AB097843D36519D818D810F* L_342 = V_82;
NullCheck(L_342);
TMP_GlyphAdjustmentRecord_t5B0CA0C5AA31B3774F21B3756AEEE5D35A648E00* L_343 = (&L_342->___m_FirstAdjustmentRecord_0);
TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1 L_344 = L_343->___m_GlyphValueRecord_1;
V_41 = L_344;
TMP_GlyphPairAdjustmentRecord_t6150C3DE547DDD860AB097843D36519D818D810F* L_345 = V_82;
NullCheck(L_345);
int32_t L_346 = L_345->___m_FeatureLookupFlags_2;
if ((((int32_t)((int32_t)((int32_t)L_346&((int32_t)256)))) == ((int32_t)((int32_t)256))))
{
goto IL_0c6c;
}
}
{
float L_347 = V_42;
G_B118_0 = L_347;
goto IL_0c71;
}
IL_0c6c:
{
G_B118_0 = (0.0f);
}
IL_0c71:
{
V_42 = G_B118_0;
}
IL_0c74:
{
}
IL_0c75:
{
int32_t L_348 = __this->___m_characterCount_209;
V_88 = (bool)((((int32_t)((((int32_t)L_348) < ((int32_t)1))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_349 = V_88;
if (!L_349)
{
goto IL_0d0f;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_350 = __this->___m_textInfo_154;
NullCheck(L_350);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_351 = L_350->___characterInfo_11;
int32_t L_352 = __this->___m_characterCount_209;
NullCheck(L_351);
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* L_353 = ((L_351)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_352, 1)))))->___textElement_4;
NullCheck(L_353);
uint32_t L_354 = L_353->___m_GlyphIndex_4;
V_89 = L_354;
uint32_t L_355 = V_83;
uint32_t L_356 = V_89;
V_90 = ((int32_t)(((int32_t)((int32_t)L_355<<((int32_t)16)))|(int32_t)L_356));
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_357 = __this->___m_currentFontAsset_43;
NullCheck(L_357);
TMP_FontFeatureTable_t726A09E64FDF682A8FFE294BB6CFE7747F6C40EA* L_358 = L_357->___m_FontFeatureTable_32;
NullCheck(L_358);
Dictionary_2_t64B29724AB3A3E4261D34B912BF8A6B0CD287142* L_359 = L_358->___m_GlyphPairAdjustmentRecordLookupDictionary_1;
uint32_t L_360 = V_90;
NullCheck(L_359);
bool L_361;
L_361 = Dictionary_2_TryGetValue_mD85118F441AE91F71148EF036C683C6D893D3D74(L_359, L_360, (&V_82), Dictionary_2_TryGetValue_mD85118F441AE91F71148EF036C683C6D893D3D74_RuntimeMethod_var);
V_91 = L_361;
bool L_362 = V_91;
if (!L_362)
{
goto IL_0d0e;
}
}
{
TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1 L_363 = V_41;
TMP_GlyphPairAdjustmentRecord_t6150C3DE547DDD860AB097843D36519D818D810F* L_364 = V_82;
NullCheck(L_364);
TMP_GlyphAdjustmentRecord_t5B0CA0C5AA31B3774F21B3756AEEE5D35A648E00* L_365 = (&L_364->___m_SecondAdjustmentRecord_1);
TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1 L_366 = L_365->___m_GlyphValueRecord_1;
TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1 L_367;
L_367 = TMP_GlyphValueRecord_op_Addition_m27CD190E35E404FAF3DC7283A76FC20650E55A73(L_363, L_366, NULL);
V_41 = L_367;
TMP_GlyphPairAdjustmentRecord_t6150C3DE547DDD860AB097843D36519D818D810F* L_368 = V_82;
NullCheck(L_368);
int32_t L_369 = L_368->___m_FeatureLookupFlags_2;
if ((((int32_t)((int32_t)((int32_t)L_369&((int32_t)256)))) == ((int32_t)((int32_t)256))))
{
goto IL_0d06;
}
}
{
float L_370 = V_42;
G_B125_0 = L_370;
goto IL_0d0b;
}
IL_0d06:
{
G_B125_0 = (0.0f);
}
IL_0d0b:
{
V_42 = G_B125_0;
}
IL_0d0e:
{
}
IL_0d0f:
{
TMP_GlyphValueRecord_tEC542B60FE9106587E051A4C3D64506A8B4641B1 L_371 = V_41;
float L_372 = L_371.___m_XAdvance_2;
__this->___m_GlyphHorizontalAdvanceAdjustment_123 = L_372;
}
IL_0d1d:
{
V_43 = (0.0f);
float L_373 = __this->___m_monoSpacing_102;
V_92 = (bool)((((int32_t)((((float)L_373) == ((float)(0.0f)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_374 = V_92;
if (!L_374)
{
goto IL_0da2;
}
}
{
float L_375 = __this->___m_monoSpacing_102;
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* L_376 = __this->___m_cached_TextElement_248;
NullCheck(L_376);
Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* L_377;
L_377 = TMP_TextElement_get_glyph_mB86D5107DDF4ADB051309056E876FEAE843E3D07(L_376, NULL);
NullCheck(L_377);
GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A L_378;
L_378 = Glyph_get_metrics_mB6E9D3D1899E35BA257638F6F58B7D260170B6FA(L_377, NULL);
V_74 = L_378;
float L_379;
L_379 = GlyphMetrics_get_width_m0F9F391E3A98984167E8001D4101BE1CE9354D13((&V_74), NULL);
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* L_380 = __this->___m_cached_TextElement_248;
NullCheck(L_380);
Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* L_381;
L_381 = TMP_TextElement_get_glyph_mB86D5107DDF4ADB051309056E876FEAE843E3D07(L_380, NULL);
NullCheck(L_381);
GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A L_382;
L_382 = Glyph_get_metrics_mB6E9D3D1899E35BA257638F6F58B7D260170B6FA(L_381, NULL);
V_74 = L_382;
float L_383;
L_383 = GlyphMetrics_get_horizontalBearingX_m9C39B5E6D27FF34B706649AE47EE9390B5D76D6F((&V_74), NULL);
float L_384 = V_2;
float L_385 = __this->___m_charWidthAdjDelta_111;
V_43 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(((float)(L_375/(2.0f))), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(((float)(L_379/(2.0f))), L_383)), L_384)))), ((float)il2cpp_codegen_subtract((1.0f), L_385))));
float L_386 = __this->___m_xAdvance_246;
float L_387 = V_43;
__this->___m_xAdvance_246 = ((float)il2cpp_codegen_add(L_386, L_387));
}
IL_0da2:
{
V_44 = (0.0f);
int32_t L_388 = __this->___m_textElementType_247;
if (L_388)
{
goto IL_0dc2;
}
}
{
bool L_389 = V_33;
if (L_389)
{
goto IL_0dc2;
}
}
{
int32_t L_390 = __this->___m_FontStyleInternal_91;
G_B134_0 = ((((int32_t)((int32_t)((int32_t)L_390&1))) == ((int32_t)1))? 1 : 0);
goto IL_0dc3;
}
IL_0dc2:
{
G_B134_0 = 0;
}
IL_0dc3:
{
V_93 = (bool)G_B134_0;
bool L_391 = V_93;
if (!L_391)
{
goto IL_0dd6;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_392 = __this->___m_currentFontAsset_43;
NullCheck(L_392);
float L_393 = L_392->___boldSpacing_41;
V_44 = L_393;
}
IL_0dd6:
{
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_394 = __this->___m_internalCharacterInfo_201;
int32_t L_395 = __this->___m_characterCount_209;
NullCheck(L_394);
float L_396 = __this->___m_lineOffset_226;
float L_397 = __this->___m_baselineOffset_244;
((L_394)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_395)))->___baseLine_26 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_subtract((0.0f), L_396)), L_397));
int32_t L_398 = __this->___m_textElementType_247;
if (!L_398)
{
goto IL_0e14;
}
}
{
float L_399 = V_36;
float L_400 = V_2;
float L_401 = __this->___m_baselineOffset_244;
G_B139_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_399, L_400)), L_401));
goto IL_0e22;
}
IL_0e14:
{
float L_402 = V_36;
float L_403 = V_2;
float L_404 = V_35;
float L_405 = __this->___m_baselineOffset_244;
G_B139_0 = ((float)il2cpp_codegen_add(((float)(((float)il2cpp_codegen_multiply(L_402, L_403))/L_404)), L_405));
}
IL_0e22:
{
V_45 = G_B139_0;
int32_t L_406 = __this->___m_textElementType_247;
if (!L_406)
{
goto IL_0e39;
}
}
{
float L_407 = V_37;
float L_408 = V_2;
float L_409 = __this->___m_baselineOffset_244;
G_B142_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_407, L_408)), L_409));
goto IL_0e47;
}
IL_0e39:
{
float L_410 = V_37;
float L_411 = V_2;
float L_412 = V_35;
float L_413 = __this->___m_baselineOffset_244;
G_B142_0 = ((float)il2cpp_codegen_add(((float)(((float)il2cpp_codegen_multiply(L_410, L_411))/L_412)), L_413));
}
IL_0e47:
{
V_46 = G_B142_0;
float L_414 = V_45;
V_47 = L_414;
float L_415 = V_46;
V_48 = L_415;
int32_t L_416 = __this->___m_characterCount_209;
int32_t L_417 = __this->___m_firstCharacterOfLine_210;
V_49 = (bool)((((int32_t)L_416) == ((int32_t)L_417))? 1 : 0);
bool L_418 = V_49;
if (L_418)
{
goto IL_0e6c;
}
}
{
bool L_419 = V_40;
G_B145_0 = ((((int32_t)L_419) == ((int32_t)0))? 1 : 0);
goto IL_0e6d;
}
IL_0e6c:
{
G_B145_0 = 1;
}
IL_0e6d:
{
V_94 = (bool)G_B145_0;
bool L_420 = V_94;
if (!L_420)
{
goto IL_0ee5;
}
}
{
float L_421 = __this->___m_baselineOffset_244;
V_95 = (bool)((((int32_t)((((float)L_421) == ((float)(0.0f)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_422 = V_95;
if (!L_422)
{
goto IL_0ebe;
}
}
{
float L_423 = V_45;
float L_424 = __this->___m_baselineOffset_244;
float L_425 = __this->___m_fontScaleMultiplier_188;
float L_426 = V_47;
float L_427;
L_427 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(((float)(((float)il2cpp_codegen_subtract(L_423, L_424))/L_425)), L_426, NULL);
V_47 = L_427;
float L_428 = V_46;
float L_429 = __this->___m_baselineOffset_244;
float L_430 = __this->___m_fontScaleMultiplier_188;
float L_431 = V_48;
float L_432;
L_432 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(((float)(((float)il2cpp_codegen_subtract(L_428, L_429))/L_430)), L_431, NULL);
V_48 = L_432;
}
IL_0ebe:
{
float L_433 = V_47;
float L_434 = __this->___m_maxLineAscender_222;
float L_435;
L_435 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_433, L_434, NULL);
__this->___m_maxLineAscender_222 = L_435;
float L_436 = V_48;
float L_437 = __this->___m_maxLineDescender_223;
float L_438;
L_438 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(L_436, L_437, NULL);
__this->___m_maxLineDescender_223 = L_438;
}
IL_0ee5:
{
bool L_439 = V_49;
if (L_439)
{
goto IL_0ef0;
}
}
{
bool L_440 = V_40;
G_B152_0 = ((((int32_t)L_440) == ((int32_t)0))? 1 : 0);
goto IL_0ef1;
}
IL_0ef0:
{
G_B152_0 = 1;
}
IL_0ef1:
{
V_96 = (bool)G_B152_0;
bool L_441 = V_96;
if (!L_441)
{
goto IL_0f85;
}
}
{
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_442 = __this->___m_internalCharacterInfo_201;
int32_t L_443 = __this->___m_characterCount_209;
NullCheck(L_442);
float L_444 = V_47;
((L_442)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_443)))->___adjustedAscender_28 = L_444;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_445 = __this->___m_internalCharacterInfo_201;
int32_t L_446 = __this->___m_characterCount_209;
NullCheck(L_445);
float L_447 = V_48;
((L_445)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_446)))->___adjustedDescender_29 = L_447;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_448 = __this->___m_internalCharacterInfo_201;
int32_t L_449 = __this->___m_characterCount_209;
NullCheck(L_448);
float L_450 = V_45;
float L_451 = __this->___m_lineOffset_226;
float L_452 = ((float)il2cpp_codegen_subtract(L_450, L_451));
V_97 = L_452;
((L_448)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_449)))->___ascender_25 = L_452;
float L_453 = V_97;
__this->___m_ElementAscender_220 = L_453;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_454 = __this->___m_internalCharacterInfo_201;
int32_t L_455 = __this->___m_characterCount_209;
NullCheck(L_454);
float L_456 = V_46;
float L_457 = __this->___m_lineOffset_226;
float L_458 = ((float)il2cpp_codegen_subtract(L_456, L_457));
V_97 = L_458;
((L_454)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_455)))->___descender_27 = L_458;
float L_459 = V_97;
__this->___m_ElementDescender_221 = L_459;
goto IL_101b;
}
IL_0f85:
{
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_460 = __this->___m_internalCharacterInfo_201;
int32_t L_461 = __this->___m_characterCount_209;
NullCheck(L_460);
float L_462 = __this->___m_maxLineAscender_222;
((L_460)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_461)))->___adjustedAscender_28 = L_462;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_463 = __this->___m_internalCharacterInfo_201;
int32_t L_464 = __this->___m_characterCount_209;
NullCheck(L_463);
float L_465 = __this->___m_maxLineDescender_223;
((L_463)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_464)))->___adjustedDescender_29 = L_465;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_466 = __this->___m_internalCharacterInfo_201;
int32_t L_467 = __this->___m_characterCount_209;
NullCheck(L_466);
float L_468 = __this->___m_maxLineAscender_222;
float L_469 = __this->___m_lineOffset_226;
float L_470 = ((float)il2cpp_codegen_subtract(L_468, L_469));
V_97 = L_470;
((L_466)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_467)))->___ascender_25 = L_470;
float L_471 = V_97;
__this->___m_ElementAscender_220 = L_471;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_472 = __this->___m_internalCharacterInfo_201;
int32_t L_473 = __this->___m_characterCount_209;
NullCheck(L_472);
float L_474 = __this->___m_maxLineDescender_223;
float L_475 = __this->___m_lineOffset_226;
float L_476 = ((float)il2cpp_codegen_subtract(L_474, L_475));
V_97 = L_476;
((L_472)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_473)))->___descender_27 = L_476;
float L_477 = V_97;
__this->___m_ElementDescender_221 = L_477;
}
IL_101b:
{
int32_t L_478 = __this->___m_lineNumber_214;
if (!L_478)
{
goto IL_102b;
}
}
{
bool L_479 = __this->___m_isNewPage_147;
G_B158_0 = ((int32_t)(L_479));
goto IL_102c;
}
IL_102b:
{
G_B158_0 = 1;
}
IL_102c:
{
V_98 = (bool)G_B158_0;
bool L_480 = V_98;
if (!L_480)
{
goto IL_107a;
}
}
{
bool L_481 = V_49;
if (L_481)
{
goto IL_103e;
}
}
{
bool L_482 = V_40;
G_B162_0 = ((((int32_t)L_482) == ((int32_t)0))? 1 : 0);
goto IL_103f;
}
IL_103e:
{
G_B162_0 = 1;
}
IL_103f:
{
V_99 = (bool)G_B162_0;
bool L_483 = V_99;
if (!L_483)
{
goto IL_1079;
}
}
{
float L_484 = __this->___m_maxLineAscender_222;
__this->___m_maxTextAscender_218 = L_484;
float L_485 = __this->___m_maxCapHeight_219;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_486 = __this->___m_currentFontAsset_43;
NullCheck(L_486);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756* L_487 = (&L_486->___m_FaceInfo_12);
float L_488;
L_488 = FaceInfo_get_capLine_m0D95B5D5CEC5CFB12091F5EB5965DE6E38588C88(L_487, NULL);
float L_489 = V_2;
float L_490 = V_35;
float L_491;
L_491 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_485, ((float)(((float)il2cpp_codegen_multiply(L_488, L_489))/L_490)), NULL);
__this->___m_maxCapHeight_219 = L_491;
}
IL_1079:
{
}
IL_107a:
{
float L_492 = __this->___m_lineOffset_226;
V_100 = (bool)((((float)L_492) == ((float)(0.0f)))? 1 : 0);
bool L_493 = V_100;
if (!L_493)
{
goto IL_10c4;
}
}
{
bool L_494 = V_40;
if (!L_494)
{
goto IL_10a2;
}
}
{
int32_t L_495 = __this->___m_characterCount_209;
int32_t L_496 = __this->___m_firstCharacterOfLine_210;
G_B169_0 = ((((int32_t)L_495) == ((int32_t)L_496))? 1 : 0);
goto IL_10a3;
}
IL_10a2:
{
G_B169_0 = 1;
}
IL_10a3:
{
V_101 = (bool)G_B169_0;
bool L_497 = V_101;
if (!L_497)
{
goto IL_10c3;
}
}
{
float L_498 = __this->___m_PageAscender_217;
float L_499 = V_45;
if ((((float)L_498) > ((float)L_499)))
{
G_B172_0 = __this;
goto IL_10b8;
}
G_B171_0 = __this;
}
{
float L_500 = V_45;
G_B173_0 = L_500;
G_B173_1 = G_B171_0;
goto IL_10be;
}
IL_10b8:
{
float L_501 = __this->___m_PageAscender_217;
G_B173_0 = L_501;
G_B173_1 = G_B172_0;
}
IL_10be:
{
NullCheck(G_B173_1);
G_B173_1->___m_PageAscender_217 = G_B173_0;
}
IL_10c3:
{
}
IL_10c4:
{
int32_t L_502 = __this->___m_lineJustification_97;
if ((((int32_t)((int32_t)((int32_t)L_502&((int32_t)16)))) == ((int32_t)((int32_t)16))))
{
goto IL_10de;
}
}
{
int32_t L_503 = __this->___m_lineJustification_97;
G_B178_0 = ((((int32_t)((int32_t)((int32_t)L_503&8))) == ((int32_t)8))? 1 : 0);
goto IL_10df;
}
IL_10de:
{
G_B178_0 = 1;
}
IL_10df:
{
V_50 = (bool)G_B178_0;
int32_t L_504 = V_31;
if ((((int32_t)L_504) == ((int32_t)((int32_t)9))))
{
goto IL_111a;
}
}
{
bool L_505 = V_40;
if (L_505)
{
goto IL_1102;
}
}
{
int32_t L_506 = V_31;
if ((((int32_t)L_506) == ((int32_t)((int32_t)8203))))
{
goto IL_1102;
}
}
{
int32_t L_507 = V_31;
if ((((int32_t)L_507) == ((int32_t)((int32_t)173))))
{
goto IL_1102;
}
}
{
int32_t L_508 = V_31;
if ((!(((uint32_t)L_508) == ((uint32_t)3))))
{
goto IL_111a;
}
}
IL_1102:
{
int32_t L_509 = V_31;
if ((!(((uint32_t)L_509) == ((uint32_t)((int32_t)173)))))
{
goto IL_110f;
}
}
{
bool L_510 = V_20;
if (!L_510)
{
goto IL_111a;
}
}
IL_110f:
{
int32_t L_511 = __this->___m_textElementType_247;
G_B187_0 = ((((int32_t)L_511) == ((int32_t)1))? 1 : 0);
goto IL_111b;
}
IL_111a:
{
G_B187_0 = 1;
}
IL_111b:
{
V_102 = (bool)G_B187_0;
bool L_512 = V_102;
if (!L_512)
{
goto IL_15e4;
}
}
{
float L_513 = __this->___m_width_153;
if ((!(((float)L_513) == ((float)(-1.0f)))))
{
goto IL_114a;
}
}
{
float L_514 = V_7;
float L_515 = __this->___m_marginLeft_149;
float L_516 = __this->___m_marginRight_150;
G_B191_0 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(L_514, (9.99999975E-05f))), L_515)), L_516));
goto IL_116b;
}
IL_114a:
{
float L_517 = V_7;
float L_518 = __this->___m_marginLeft_149;
float L_519 = __this->___m_marginRight_150;
float L_520 = __this->___m_width_153;
float L_521;
L_521 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(L_517, (9.99999975E-05f))), L_518)), L_519)), L_520, NULL);
G_B191_0 = L_521;
}
IL_116b:
{
V_11 = G_B191_0;
float L_522 = __this->___m_xAdvance_246;
float L_523;
L_523 = fabsf(L_522);
float L_524;
L_524 = GlyphMetrics_get_horizontalAdvance_m110E66C340A19E672FB1C26DFB875AB6900AFFF1((&V_39), NULL);
float L_525 = __this->___m_charWidthAdjDelta_111;
int32_t L_526 = V_31;
if ((((int32_t)L_526) == ((int32_t)((int32_t)173))))
{
G_B193_0 = ((float)il2cpp_codegen_multiply(L_524, ((float)il2cpp_codegen_subtract((1.0f), L_525))));
G_B193_1 = L_523;
goto IL_1198;
}
G_B192_0 = ((float)il2cpp_codegen_multiply(L_524, ((float)il2cpp_codegen_subtract((1.0f), L_525))));
G_B192_1 = L_523;
}
{
float L_527 = V_2;
G_B194_0 = L_527;
G_B194_1 = G_B192_0;
G_B194_2 = G_B192_1;
goto IL_119a;
}
IL_1198:
{
float L_528 = V_38;
G_B194_0 = L_528;
G_B194_1 = G_B193_0;
G_B194_2 = G_B193_1;
}
IL_119a:
{
V_14 = ((float)il2cpp_codegen_add(G_B194_2, ((float)il2cpp_codegen_multiply(G_B194_1, G_B194_0))));
int32_t L_529 = __this->___m_characterCount_209;
V_103 = L_529;
float L_530 = V_14;
float L_531 = V_11;
bool L_532 = V_50;
if (L_532)
{
G_B196_0 = L_531;
G_B196_1 = L_530;
goto IL_11b5;
}
G_B195_0 = L_531;
G_B195_1 = L_530;
}
{
G_B197_0 = (1.0f);
G_B197_1 = G_B195_0;
G_B197_2 = G_B195_1;
goto IL_11ba;
}
IL_11b5:
{
G_B197_0 = (1.04999995f);
G_B197_1 = G_B196_0;
G_B197_2 = G_B196_1;
}
IL_11ba:
{
V_104 = (bool)((((float)G_B197_2) > ((float)((float)il2cpp_codegen_multiply(G_B197_1, G_B197_0))))? 1 : 0);
bool L_533 = V_104;
if (!L_533)
{
goto IL_15d3;
}
}
{
bool L_534 = ___isWordWrappingEnabled3;
if (!L_534)
{
goto IL_11de;
}
}
{
int32_t L_535 = __this->___m_characterCount_209;
int32_t L_536 = __this->___m_firstCharacterOfLine_210;
G_B201_0 = ((((int32_t)((((int32_t)L_535) == ((int32_t)L_536))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_11df;
}
IL_11de:
{
G_B201_0 = 0;
}
IL_11df:
{
V_105 = (bool)G_B201_0;
bool L_537 = V_105;
if (!L_537)
{
goto IL_15d2;
}
}
{
int32_t L_538;
L_538 = TMP_Text_RestoreWordWrappingState_mB126C83C447A92E11F6AC19C2BBBD923C74D8FCA(__this, (&V_21), NULL);
V_30 = L_538;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_539 = __this->___m_internalCharacterInfo_201;
int32_t L_540 = __this->___m_characterCount_209;
NullCheck(L_539);
Il2CppChar L_541 = ((L_539)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_540, 1)))))->___character_0;
if ((!(((uint32_t)L_541) == ((uint32_t)((int32_t)173)))))
{
goto IL_1221;
}
}
{
bool L_542 = V_20;
if (L_542)
{
goto IL_1221;
}
}
{
int32_t L_543 = __this->___m_overflowMode_117;
G_B206_0 = ((((int32_t)L_543) == ((int32_t)0))? 1 : 0);
goto IL_1222;
}
IL_1221:
{
G_B206_0 = 0;
}
IL_1222:
{
V_110 = (bool)G_B206_0;
bool L_544 = V_110;
if (!L_544)
{
goto IL_125a;
}
}
{
int32_t L_545 = __this->___m_characterCount_209;
(&V_19)->___index_0 = ((int32_t)il2cpp_codegen_subtract(L_545, 1));
(&V_19)->___unicode_1 = ((int32_t)45);
int32_t L_546 = V_30;
V_30 = ((int32_t)il2cpp_codegen_subtract(L_546, 1));
int32_t L_547 = __this->___m_characterCount_209;
__this->___m_characterCount_209 = ((int32_t)il2cpp_codegen_subtract(L_547, 1));
goto IL_1cd6;
}
IL_125a:
{
V_20 = (bool)0;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_548 = __this->___m_internalCharacterInfo_201;
int32_t L_549 = __this->___m_characterCount_209;
NullCheck(L_548);
Il2CppChar L_550 = ((L_548)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_549)))->___character_0;
V_111 = (bool)((((int32_t)L_550) == ((int32_t)((int32_t)173)))? 1 : 0);
bool L_551 = V_111;
if (!L_551)
{
goto IL_1289;
}
}
{
V_20 = (bool)1;
goto IL_1cd6;
}
IL_1289:
{
bool L_552 = ___isTextAutoSizingEnabled2;
bool L_553 = V_17;
V_112 = (bool)((int32_t)((int32_t)L_552&(int32_t)L_553));
bool L_554 = V_112;
if (!L_554)
{
goto IL_13c3;
}
}
{
float L_555 = __this->___m_charWidthAdjDelta_111;
float L_556 = __this->___m_charWidthMaxAdj_110;
if ((!(((float)L_555) < ((float)((float)(L_556/(100.0f)))))))
{
goto IL_12bb;
}
}
{
int32_t L_557 = __this->___m_AutoSizeIterationCount_85;
int32_t L_558 = __this->___m_AutoSizeMaxIterationCount_86;
G_B214_0 = ((((int32_t)L_557) < ((int32_t)L_558))? 1 : 0);
goto IL_12bc;
}
IL_12bb:
{
G_B214_0 = 0;
}
IL_12bc:
{
V_113 = (bool)G_B214_0;
bool L_559 = V_113;
if (!L_559)
{
goto IL_1347;
}
}
{
float L_560 = V_14;
V_114 = L_560;
float L_561 = __this->___m_charWidthAdjDelta_111;
V_116 = (bool)((((float)L_561) > ((float)(0.0f)))? 1 : 0);
bool L_562 = V_116;
if (!L_562)
{
goto IL_12ee;
}
}
{
float L_563 = V_114;
float L_564 = __this->___m_charWidthAdjDelta_111;
V_114 = ((float)(L_563/((float)il2cpp_codegen_subtract((1.0f), L_564))));
}
IL_12ee:
{
float L_565 = V_14;
float L_566 = V_11;
bool L_567 = V_50;
if (L_567)
{
G_B219_0 = ((float)il2cpp_codegen_subtract(L_566, (9.99999975E-05f)));
G_B219_1 = L_565;
goto IL_1303;
}
G_B218_0 = ((float)il2cpp_codegen_subtract(L_566, (9.99999975E-05f)));
G_B218_1 = L_565;
}
{
G_B220_0 = (1.0f);
G_B220_1 = G_B218_0;
G_B220_2 = G_B218_1;
goto IL_1308;
}
IL_1303:
{
G_B220_0 = (1.04999995f);
G_B220_1 = G_B219_0;
G_B220_2 = G_B219_1;
}
IL_1308:
{
V_115 = ((float)il2cpp_codegen_subtract(G_B220_2, ((float)il2cpp_codegen_multiply(G_B220_1, G_B220_0))));
float L_568 = __this->___m_charWidthAdjDelta_111;
float L_569 = V_115;
float L_570 = V_114;
__this->___m_charWidthAdjDelta_111 = ((float)il2cpp_codegen_add(L_568, ((float)(L_569/L_570))));
float L_571 = __this->___m_charWidthAdjDelta_111;
float L_572 = __this->___m_charWidthMaxAdj_110;
float L_573;
L_573 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(L_571, ((float)(L_572/(100.0f))), NULL);
__this->___m_charWidthAdjDelta_111 = L_573;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_574;
L_574 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
V_26 = L_574;
goto IL_1eb3;
}
IL_1347:
{
float* L_575 = ___fontSize0;
float L_576 = *((float*)L_575);
float L_577 = __this->___m_fontSizeMin_88;
if ((!(((float)L_576) > ((float)L_577))))
{
goto IL_1361;
}
}
{
int32_t L_578 = __this->___m_AutoSizeIterationCount_85;
int32_t L_579 = __this->___m_AutoSizeMaxIterationCount_86;
G_B224_0 = ((((int32_t)L_578) < ((int32_t)L_579))? 1 : 0);
goto IL_1362;
}
IL_1361:
{
G_B224_0 = 0;
}
IL_1362:
{
V_117 = (bool)G_B224_0;
bool L_580 = V_117;
if (!L_580)
{
goto IL_13c2;
}
}
{
float* L_581 = ___fontSize0;
float L_582 = *((float*)L_581);
__this->___m_maxFontSize_83 = L_582;
float* L_583 = ___fontSize0;
float L_584 = *((float*)L_583);
float L_585 = __this->___m_minFontSize_84;
float L_586;
L_586 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(((float)(((float)il2cpp_codegen_subtract(L_584, L_585))/(2.0f))), (0.0500000007f), NULL);
V_118 = L_586;
float* L_587 = ___fontSize0;
float* L_588 = ___fontSize0;
float L_589 = *((float*)L_588);
float L_590 = V_118;
*((float*)L_587) = (float)((float)il2cpp_codegen_subtract(L_589, L_590));
float* L_591 = ___fontSize0;
float* L_592 = ___fontSize0;
float L_593 = *((float*)L_592);
float L_594 = __this->___m_fontSizeMin_88;
float L_595;
L_595 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(((float)(((float)il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_593, (20.0f))), (0.5f)))))/(20.0f))), L_594, NULL);
*((float*)L_591) = (float)L_595;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_596;
L_596 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
V_26 = L_596;
goto IL_1eb3;
}
IL_13c2:
{
}
IL_13c3:
{
float L_597 = __this->___m_maxLineAscender_222;
float L_598 = __this->___m_startOfLineAscender_224;
V_106 = ((float)il2cpp_codegen_subtract(L_597, L_598));
float L_599 = __this->___m_lineOffset_226;
if ((!(((float)L_599) > ((float)(0.0f)))))
{
goto IL_1400;
}
}
{
float L_600 = V_106;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
float L_601;
L_601 = fabsf(L_600);
if ((!(((float)L_601) > ((float)(0.00999999978f)))))
{
goto IL_1400;
}
}
{
bool L_602 = __this->___m_IsDrivenLineSpacing_107;
if (L_602)
{
goto IL_1400;
}
}
{
bool L_603 = __this->___m_isNewPage_147;
G_B232_0 = ((((int32_t)L_603) == ((int32_t)0))? 1 : 0);
goto IL_1401;
}
IL_1400:
{
G_B232_0 = 0;
}
IL_1401:
{
V_119 = (bool)G_B232_0;
bool L_604 = V_119;
if (!L_604)
{
goto IL_1427;
}
}
{
float L_605 = __this->___m_ElementDescender_221;
float L_606 = V_106;
__this->___m_ElementDescender_221 = ((float)il2cpp_codegen_subtract(L_605, L_606));
float L_607 = __this->___m_lineOffset_226;
float L_608 = V_106;
__this->___m_lineOffset_226 = ((float)il2cpp_codegen_add(L_607, L_608));
}
IL_1427:
{
float L_609 = __this->___m_maxLineAscender_222;
float L_610 = __this->___m_lineOffset_226;
V_107 = ((float)il2cpp_codegen_subtract(L_609, L_610));
float L_611 = __this->___m_maxLineDescender_223;
float L_612 = __this->___m_lineOffset_226;
V_108 = ((float)il2cpp_codegen_subtract(L_611, L_612));
float L_613 = __this->___m_ElementDescender_221;
float L_614 = V_108;
if ((((float)L_613) < ((float)L_614)))
{
G_B236_0 = __this;
goto IL_1454;
}
G_B235_0 = __this;
}
{
float L_615 = V_108;
G_B237_0 = L_615;
G_B237_1 = G_B235_0;
goto IL_145a;
}
IL_1454:
{
float L_616 = __this->___m_ElementDescender_221;
G_B237_0 = L_616;
G_B237_1 = G_B236_0;
}
IL_145a:
{
NullCheck(G_B237_1);
G_B237_1->___m_ElementDescender_221 = G_B237_0;
bool L_617 = V_16;
V_120 = (bool)((((int32_t)L_617) == ((int32_t)0))? 1 : 0);
bool L_618 = V_120;
if (!L_618)
{
goto IL_1472;
}
}
{
float L_619 = __this->___m_ElementDescender_221;
V_15 = L_619;
}
IL_1472:
{
bool L_620 = __this->___m_useMaxVisibleDescender_145;
if (!L_620)
{
goto IL_149e;
}
}
{
int32_t L_621 = __this->___m_characterCount_209;
int32_t L_622 = __this->___m_maxVisibleCharacters_142;
if ((((int32_t)L_621) >= ((int32_t)L_622)))
{
goto IL_149b;
}
}
{
int32_t L_623 = __this->___m_lineNumber_214;
int32_t L_624 = __this->___m_maxVisibleLines_144;
G_B243_0 = ((((int32_t)((((int32_t)L_623) < ((int32_t)L_624))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_149c;
}
IL_149b:
{
G_B243_0 = 1;
}
IL_149c:
{
G_B245_0 = G_B243_0;
goto IL_149f;
}
IL_149e:
{
G_B245_0 = 0;
}
IL_149f:
{
V_121 = (bool)G_B245_0;
bool L_625 = V_121;
if (!L_625)
{
goto IL_14a8;
}
}
{
V_16 = (bool)1;
}
IL_14a8:
{
int32_t L_626 = __this->___m_characterCount_209;
__this->___m_firstCharacterOfLine_210 = L_626;
__this->___m_lineVisibleCharacterCount_215 = 0;
float L_627 = V_12;
float L_628 = __this->___m_xAdvance_246;
V_12 = ((float)il2cpp_codegen_add(L_627, L_628));
bool L_629 = ___isWordWrappingEnabled3;
V_122 = L_629;
bool L_630 = V_122;
if (!L_630)
{
goto IL_14df;
}
}
{
float L_631 = __this->___m_maxTextAscender_218;
float L_632 = __this->___m_ElementDescender_221;
V_13 = ((float)il2cpp_codegen_subtract(L_631, L_632));
goto IL_14ed;
}
IL_14df:
{
float L_633 = V_13;
float L_634 = V_107;
float L_635 = V_108;
float L_636;
L_636 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_633, ((float)il2cpp_codegen_subtract(L_634, L_635)), NULL);
V_13 = L_636;
}
IL_14ed:
{
int32_t L_637 = V_30;
int32_t L_638 = __this->___m_characterCount_209;
TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650(__this, (&V_22), L_637, ((int32_t)il2cpp_codegen_subtract(L_638, 1)), NULL);
int32_t L_639 = __this->___m_lineNumber_214;
__this->___m_lineNumber_214 = ((int32_t)il2cpp_codegen_add(L_639, 1));
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_640 = __this->___m_internalCharacterInfo_201;
int32_t L_641 = __this->___m_characterCount_209;
NullCheck(L_640);
float L_642 = ((L_640)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_641)))->___adjustedAscender_28;
V_109 = L_642;
float L_643 = __this->___m_lineHeight_106;
V_123 = (bool)((((float)L_643) == ((float)(-32767.0f)))? 1 : 0);
bool L_644 = V_123;
if (!L_644)
{
goto IL_1575;
}
}
{
float L_645 = __this->___m_lineOffset_226;
float L_646 = __this->___m_maxLineDescender_223;
float L_647 = V_109;
float L_648 = V_5;
float L_649 = __this->___m_lineSpacingDelta_105;
float L_650 = V_1;
float L_651 = __this->___m_lineSpacing_104;
float L_652 = V_3;
__this->___m_lineOffset_226 = ((float)il2cpp_codegen_add(L_645, ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_subtract((0.0f), L_646)), L_647)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_648, L_649)), L_650)))), ((float)il2cpp_codegen_multiply(L_651, L_652))))));
__this->___m_IsDrivenLineSpacing_107 = (bool)0;
goto IL_159a;
}
IL_1575:
{
float L_653 = __this->___m_lineOffset_226;
float L_654 = __this->___m_lineHeight_106;
float L_655 = __this->___m_lineSpacing_104;
float L_656 = V_3;
__this->___m_lineOffset_226 = ((float)il2cpp_codegen_add(L_653, ((float)il2cpp_codegen_add(L_654, ((float)il2cpp_codegen_multiply(L_655, L_656))))));
__this->___m_IsDrivenLineSpacing_107 = (bool)1;
}
IL_159a:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
float L_657 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargeNegativeFloat_264;
__this->___m_maxLineAscender_222 = L_657;
float L_658 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveFloat_263;
__this->___m_maxLineDescender_223 = L_658;
float L_659 = V_109;
__this->___m_startOfLineAscender_224 = L_659;
float L_660 = __this->___tag_Indent_193;
__this->___m_xAdvance_246 = ((float)il2cpp_codegen_add((0.0f), L_660));
V_17 = (bool)1;
goto IL_1cd6;
}
IL_15d2:
{
}
IL_15d3:
{
float L_661 = __this->___m_marginLeft_149;
V_9 = L_661;
float L_662 = __this->___m_marginRight_150;
V_10 = L_662;
}
IL_15e4:
{
int32_t L_663 = V_31;
V_124 = (bool)((((int32_t)L_663) == ((int32_t)((int32_t)9)))? 1 : 0);
bool L_664 = V_124;
if (!L_664)
{
goto IL_164c;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_665 = __this->___m_currentFontAsset_43;
NullCheck(L_665);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_666;
L_666 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_665, NULL);
V_29 = L_666;
float L_667;
L_667 = FaceInfo_get_tabWidth_mC6D9F42C40EDD767DE22050E4FBE3878AC96B161((&V_29), NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_668 = __this->___m_currentFontAsset_43;
NullCheck(L_668);
uint8_t L_669 = L_668->___tabSize_43;
float L_670 = V_2;
V_125 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_667, ((float)L_669))), L_670));
float L_671 = __this->___m_xAdvance_246;
float L_672 = V_125;
float L_673;
L_673 = ceilf(((float)(L_671/L_672)));
float L_674 = V_125;
V_126 = ((float)il2cpp_codegen_multiply(L_673, L_674));
float L_675 = V_126;
float L_676 = __this->___m_xAdvance_246;
if ((((float)L_675) > ((float)L_676)))
{
G_B259_0 = __this;
goto IL_163f;
}
G_B258_0 = __this;
}
{
float L_677 = __this->___m_xAdvance_246;
float L_678 = V_125;
G_B260_0 = ((float)il2cpp_codegen_add(L_677, L_678));
G_B260_1 = G_B258_0;
goto IL_1641;
}
IL_163f:
{
float L_679 = V_126;
G_B260_0 = L_679;
G_B260_1 = G_B259_0;
}
IL_1641:
{
NullCheck(G_B260_1);
G_B260_1->___m_xAdvance_246 = G_B260_0;
goto IL_173f;
}
IL_164c:
{
float L_680 = __this->___m_monoSpacing_102;
V_127 = (bool)((((int32_t)((((float)L_680) == ((float)(0.0f)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_681 = V_127;
if (!L_681)
{
goto IL_16cc;
}
}
{
float L_682 = __this->___m_xAdvance_246;
float L_683 = __this->___m_monoSpacing_102;
float L_684 = V_43;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_685 = __this->___m_currentFontAsset_43;
NullCheck(L_685);
float L_686 = L_685->___normalSpacingOffset_39;
float L_687 = V_42;
float L_688 = V_3;
float L_689 = __this->___m_cSpacing_101;
float L_690 = __this->___m_charWidthAdjDelta_111;
__this->___m_xAdvance_246 = ((float)il2cpp_codegen_add(L_682, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_subtract(L_683, L_684)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_686, L_687)), L_688)))), L_689)), ((float)il2cpp_codegen_subtract((1.0f), L_690))))));
bool L_691 = V_40;
if (L_691)
{
goto IL_16ad;
}
}
{
int32_t L_692 = V_31;
G_B265_0 = ((((int32_t)L_692) == ((int32_t)((int32_t)8203)))? 1 : 0);
goto IL_16ae;
}
IL_16ad:
{
G_B265_0 = 1;
}
IL_16ae:
{
V_128 = (bool)G_B265_0;
bool L_693 = V_128;
if (!L_693)
{
goto IL_16c9;
}
}
{
float L_694 = __this->___m_xAdvance_246;
float L_695 = __this->___m_wordSpacing_103;
float L_696 = V_3;
__this->___m_xAdvance_246 = ((float)il2cpp_codegen_add(L_694, ((float)il2cpp_codegen_multiply(L_695, L_696))));
}
IL_16c9:
{
goto IL_173f;
}
IL_16cc:
{
float L_697 = __this->___m_xAdvance_246;
float L_698;
L_698 = GlyphMetrics_get_horizontalAdvance_m110E66C340A19E672FB1C26DFB875AB6900AFFF1((&V_39), NULL);
float L_699;
L_699 = TMP_GlyphValueRecord_get_xAdvance_mA01138133A0841ADC49C3D0718B2268D9819CE4B((&V_41), NULL);
float L_700 = V_2;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_701 = __this->___m_currentFontAsset_43;
NullCheck(L_701);
float L_702 = L_701->___normalSpacingOffset_39;
float L_703 = V_42;
float L_704 = V_44;
float L_705 = V_3;
float L_706 = __this->___m_cSpacing_101;
float L_707 = __this->___m_charWidthAdjDelta_111;
__this->___m_xAdvance_246 = ((float)il2cpp_codegen_add(L_697, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_698, L_699)), L_700)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_702, L_703)), L_704)), L_705)))), L_706)), ((float)il2cpp_codegen_subtract((1.0f), L_707))))));
bool L_708 = V_40;
if (L_708)
{
goto IL_1722;
}
}
{
int32_t L_709 = V_31;
G_B271_0 = ((((int32_t)L_709) == ((int32_t)((int32_t)8203)))? 1 : 0);
goto IL_1723;
}
IL_1722:
{
G_B271_0 = 1;
}
IL_1723:
{
V_129 = (bool)G_B271_0;
bool L_710 = V_129;
if (!L_710)
{
goto IL_173e;
}
}
{
float L_711 = __this->___m_xAdvance_246;
float L_712 = __this->___m_wordSpacing_103;
float L_713 = V_3;
__this->___m_xAdvance_246 = ((float)il2cpp_codegen_add(L_711, ((float)il2cpp_codegen_multiply(L_712, L_713))));
}
IL_173e:
{
}
IL_173f:
{
int32_t L_714 = V_31;
V_130 = (bool)((((int32_t)L_714) == ((int32_t)((int32_t)13)))? 1 : 0);
bool L_715 = V_130;
if (!L_715)
{
goto IL_1778;
}
}
{
float L_716 = V_6;
float L_717 = V_12;
float L_718 = __this->___m_xAdvance_246;
float L_719;
L_719 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_716, ((float)il2cpp_codegen_add(L_717, L_718)), NULL);
V_6 = L_719;
V_12 = (0.0f);
float L_720 = __this->___tag_Indent_193;
__this->___m_xAdvance_246 = ((float)il2cpp_codegen_add((0.0f), L_720));
}
IL_1778:
{
int32_t L_721 = V_31;
if ((((int32_t)L_721) == ((int32_t)((int32_t)10))))
{
goto IL_17a8;
}
}
{
int32_t L_722 = V_31;
if ((((int32_t)L_722) == ((int32_t)((int32_t)11))))
{
goto IL_17a8;
}
}
{
int32_t L_723 = V_31;
if ((((int32_t)L_723) == ((int32_t)3)))
{
goto IL_17a8;
}
}
{
int32_t L_724 = V_31;
if ((((int32_t)L_724) == ((int32_t)((int32_t)8232))))
{
goto IL_17a8;
}
}
{
int32_t L_725 = V_31;
if ((((int32_t)L_725) == ((int32_t)((int32_t)8233))))
{
goto IL_17a8;
}
}
{
int32_t L_726 = __this->___m_characterCount_209;
int32_t L_727 = V_0;
G_B283_0 = ((((int32_t)L_726) == ((int32_t)((int32_t)il2cpp_codegen_subtract(L_727, 1))))? 1 : 0);
goto IL_17a9;
}
IL_17a8:
{
G_B283_0 = 1;
}
IL_17a9:
{
V_131 = (bool)G_B283_0;
bool L_728 = V_131;
if (!L_728)
{
goto IL_1a33;
}
}
{
float L_729 = __this->___m_maxLineAscender_222;
float L_730 = __this->___m_startOfLineAscender_224;
V_132 = ((float)il2cpp_codegen_subtract(L_729, L_730));
float L_731 = __this->___m_lineOffset_226;
if ((!(((float)L_731) > ((float)(0.0f)))))
{
goto IL_17f0;
}
}
{
float L_732 = V_132;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
float L_733;
L_733 = fabsf(L_732);
if ((!(((float)L_733) > ((float)(0.00999999978f)))))
{
goto IL_17f0;
}
}
{
bool L_734 = __this->___m_IsDrivenLineSpacing_107;
if (L_734)
{
goto IL_17f0;
}
}
{
bool L_735 = __this->___m_isNewPage_147;
G_B289_0 = ((((int32_t)L_735) == ((int32_t)0))? 1 : 0);
goto IL_17f1;
}
IL_17f0:
{
G_B289_0 = 0;
}
IL_17f1:
{
V_134 = (bool)G_B289_0;
bool L_736 = V_134;
if (!L_736)
{
goto IL_1817;
}
}
{
float L_737 = __this->___m_ElementDescender_221;
float L_738 = V_132;
__this->___m_ElementDescender_221 = ((float)il2cpp_codegen_subtract(L_737, L_738));
float L_739 = __this->___m_lineOffset_226;
float L_740 = V_132;
__this->___m_lineOffset_226 = ((float)il2cpp_codegen_add(L_739, L_740));
}
IL_1817:
{
__this->___m_isNewPage_147 = (bool)0;
float L_741 = __this->___m_maxLineDescender_223;
float L_742 = __this->___m_lineOffset_226;
V_133 = ((float)il2cpp_codegen_subtract(L_741, L_742));
float L_743 = __this->___m_ElementDescender_221;
float L_744 = V_133;
if ((((float)L_743) < ((float)L_744)))
{
G_B293_0 = __this;
goto IL_183c;
}
G_B292_0 = __this;
}
{
float L_745 = V_133;
G_B294_0 = L_745;
G_B294_1 = G_B292_0;
goto IL_1842;
}
IL_183c:
{
float L_746 = __this->___m_ElementDescender_221;
G_B294_0 = L_746;
G_B294_1 = G_B293_0;
}
IL_1842:
{
NullCheck(G_B294_1);
G_B294_1->___m_ElementDescender_221 = G_B294_0;
int32_t L_747 = __this->___m_characterCount_209;
int32_t L_748 = V_0;
V_135 = (bool)((((int32_t)L_747) == ((int32_t)((int32_t)il2cpp_codegen_subtract(L_748, 1))))? 1 : 0);
bool L_749 = V_135;
if (!L_749)
{
goto IL_186e;
}
}
{
float L_750 = V_6;
float L_751 = V_12;
float L_752 = V_14;
float L_753 = V_9;
float L_754 = V_10;
float L_755;
L_755 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_750, ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_751, L_752)), L_753)), L_754)), NULL);
V_12 = L_755;
goto IL_188b;
}
IL_186e:
{
float L_756 = V_6;
float L_757 = V_12;
float L_758 = V_14;
float L_759 = V_9;
float L_760 = V_10;
float L_761;
L_761 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_756, ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_757, L_758)), L_759)), L_760)), NULL);
V_6 = L_761;
V_12 = (0.0f);
}
IL_188b:
{
float L_762 = __this->___m_maxTextAscender_218;
float L_763 = __this->___m_ElementDescender_221;
V_13 = ((float)il2cpp_codegen_subtract(L_762, L_763));
int32_t L_764 = V_31;
if ((((int32_t)L_764) == ((int32_t)((int32_t)10))))
{
goto IL_18c0;
}
}
{
int32_t L_765 = V_31;
if ((((int32_t)L_765) == ((int32_t)((int32_t)11))))
{
goto IL_18c0;
}
}
{
int32_t L_766 = V_31;
if ((((int32_t)L_766) == ((int32_t)((int32_t)45))))
{
goto IL_18c0;
}
}
{
int32_t L_767 = V_31;
if ((((int32_t)L_767) == ((int32_t)((int32_t)8232))))
{
goto IL_18c0;
}
}
{
int32_t L_768 = V_31;
G_B303_0 = ((((int32_t)L_768) == ((int32_t)((int32_t)8233)))? 1 : 0);
goto IL_18c1;
}
IL_18c0:
{
G_B303_0 = 1;
}
IL_18c1:
{
V_136 = (bool)G_B303_0;
bool L_769 = V_136;
if (!L_769)
{
goto IL_1a1d;
}
}
{
int32_t L_770 = V_30;
int32_t L_771 = __this->___m_characterCount_209;
TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650(__this, (&V_22), L_770, L_771, NULL);
int32_t L_772 = V_30;
int32_t L_773 = __this->___m_characterCount_209;
TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650(__this, (&V_21), L_772, L_773, NULL);
int32_t L_774 = __this->___m_lineNumber_214;
__this->___m_lineNumber_214 = ((int32_t)il2cpp_codegen_add(L_774, 1));
int32_t L_775 = __this->___m_characterCount_209;
__this->___m_firstCharacterOfLine_210 = ((int32_t)il2cpp_codegen_add(L_775, 1));
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_776 = __this->___m_internalCharacterInfo_201;
int32_t L_777 = __this->___m_characterCount_209;
NullCheck(L_776);
float L_778 = ((L_776)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_777)))->___adjustedAscender_28;
V_137 = L_778;
float L_779 = __this->___m_lineHeight_106;
V_138 = (bool)((((float)L_779) == ((float)(-32767.0f)))? 1 : 0);
bool L_780 = V_138;
if (!L_780)
{
goto IL_1991;
}
}
{
float L_781 = __this->___m_maxLineDescender_223;
float L_782 = V_137;
float L_783 = V_5;
float L_784 = __this->___m_lineSpacingDelta_105;
float L_785 = V_1;
float L_786 = __this->___m_lineSpacing_104;
int32_t L_787 = V_31;
if ((((int32_t)L_787) == ((int32_t)((int32_t)10))))
{
G_B308_0 = L_786;
G_B308_1 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_subtract((0.0f), L_781)), L_782)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_783, L_784)), L_785))));
goto IL_196c;
}
G_B306_0 = L_786;
G_B306_1 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_subtract((0.0f), L_781)), L_782)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_783, L_784)), L_785))));
}
{
int32_t L_788 = V_31;
if ((((int32_t)L_788) == ((int32_t)((int32_t)8233))))
{
G_B308_0 = G_B306_0;
G_B308_1 = G_B306_1;
goto IL_196c;
}
G_B307_0 = G_B306_0;
G_B307_1 = G_B306_1;
}
{
G_B309_0 = (0.0f);
G_B309_1 = G_B307_0;
G_B309_2 = G_B307_1;
goto IL_1972;
}
IL_196c:
{
float L_789 = __this->___m_paragraphSpacing_109;
G_B309_0 = L_789;
G_B309_1 = G_B308_0;
G_B309_2 = G_B308_1;
}
IL_1972:
{
float L_790 = V_3;
V_139 = ((float)il2cpp_codegen_add(G_B309_2, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(G_B309_1, G_B309_0)), L_790))));
float L_791 = __this->___m_lineOffset_226;
float L_792 = V_139;
__this->___m_lineOffset_226 = ((float)il2cpp_codegen_add(L_791, L_792));
__this->___m_IsDrivenLineSpacing_107 = (bool)0;
goto IL_19d3;
}
IL_1991:
{
float L_793 = __this->___m_lineOffset_226;
float L_794 = __this->___m_lineHeight_106;
float L_795 = __this->___m_lineSpacing_104;
int32_t L_796 = V_31;
if ((((int32_t)L_796) == ((int32_t)((int32_t)10))))
{
G_B313_0 = L_795;
G_B313_1 = L_794;
G_B313_2 = L_793;
G_B313_3 = __this;
goto IL_19bb;
}
G_B311_0 = L_795;
G_B311_1 = L_794;
G_B311_2 = L_793;
G_B311_3 = __this;
}
{
int32_t L_797 = V_31;
if ((((int32_t)L_797) == ((int32_t)((int32_t)8233))))
{
G_B313_0 = G_B311_0;
G_B313_1 = G_B311_1;
G_B313_2 = G_B311_2;
G_B313_3 = G_B311_3;
goto IL_19bb;
}
G_B312_0 = G_B311_0;
G_B312_1 = G_B311_1;
G_B312_2 = G_B311_2;
G_B312_3 = G_B311_3;
}
{
G_B314_0 = (0.0f);
G_B314_1 = G_B312_0;
G_B314_2 = G_B312_1;
G_B314_3 = G_B312_2;
G_B314_4 = G_B312_3;
goto IL_19c1;
}
IL_19bb:
{
float L_798 = __this->___m_paragraphSpacing_109;
G_B314_0 = L_798;
G_B314_1 = G_B313_0;
G_B314_2 = G_B313_1;
G_B314_3 = G_B313_2;
G_B314_4 = G_B313_3;
}
IL_19c1:
{
float L_799 = V_3;
NullCheck(G_B314_4);
G_B314_4->___m_lineOffset_226 = ((float)il2cpp_codegen_add(G_B314_3, ((float)il2cpp_codegen_add(G_B314_2, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(G_B314_1, G_B314_0)), L_799))))));
__this->___m_IsDrivenLineSpacing_107 = (bool)1;
}
IL_19d3:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
float L_800 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargeNegativeFloat_264;
__this->___m_maxLineAscender_222 = L_800;
float L_801 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveFloat_263;
__this->___m_maxLineDescender_223 = L_801;
float L_802 = V_137;
__this->___m_startOfLineAscender_224 = L_802;
float L_803 = __this->___tag_LineIndent_192;
float L_804 = __this->___tag_Indent_193;
__this->___m_xAdvance_246 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add((0.0f), L_803)), L_804));
int32_t L_805 = __this->___m_characterCount_209;
__this->___m_characterCount_209 = ((int32_t)il2cpp_codegen_add(L_805, 1));
goto IL_1cd6;
}
IL_1a1d:
{
int32_t L_806 = V_31;
V_140 = (bool)((((int32_t)L_806) == ((int32_t)3))? 1 : 0);
bool L_807 = V_140;
if (!L_807)
{
goto IL_1a32;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_808 = __this->___m_TextProcessingArray_199;
NullCheck(L_808);
V_30 = ((int32_t)(((RuntimeArray*)L_808)->max_length));
}
IL_1a32:
{
}
IL_1a33:
{
bool L_809 = ___isWordWrappingEnabled3;
if (L_809)
{
goto IL_1a4b;
}
}
{
int32_t L_810 = __this->___m_overflowMode_117;
if ((((int32_t)L_810) == ((int32_t)3)))
{
goto IL_1a4b;
}
}
{
int32_t L_811 = __this->___m_overflowMode_117;
G_B323_0 = ((((int32_t)L_811) == ((int32_t)1))? 1 : 0);
goto IL_1a4c;
}
IL_1a4b:
{
G_B323_0 = 1;
}
IL_1a4c:
{
V_141 = (bool)G_B323_0;
bool L_812 = V_141;
if (!L_812)
{
goto IL_1cc7;
}
}
{
bool L_813 = V_40;
if (L_813)
{
goto IL_1a72;
}
}
{
int32_t L_814 = V_31;
if ((((int32_t)L_814) == ((int32_t)((int32_t)8203))))
{
goto IL_1a72;
}
}
{
int32_t L_815 = V_31;
if ((((int32_t)L_815) == ((int32_t)((int32_t)45))))
{
goto IL_1a72;
}
}
{
int32_t L_816 = V_31;
if ((!(((uint32_t)L_816) == ((uint32_t)((int32_t)173)))))
{
goto IL_1aac;
}
}
IL_1a72:
{
bool L_817 = __this->___m_isNonBreakingSpace_114;
if (L_817)
{
goto IL_1aac;
}
}
{
int32_t L_818 = V_31;
if ((((int32_t)L_818) == ((int32_t)((int32_t)160))))
{
goto IL_1aac;
}
}
{
int32_t L_819 = V_31;
if ((((int32_t)L_819) == ((int32_t)((int32_t)8199))))
{
goto IL_1aac;
}
}
{
int32_t L_820 = V_31;
if ((((int32_t)L_820) == ((int32_t)((int32_t)8209))))
{
goto IL_1aac;
}
}
{
int32_t L_821 = V_31;
if ((((int32_t)L_821) == ((int32_t)((int32_t)8239))))
{
goto IL_1aac;
}
}
{
int32_t L_822 = V_31;
G_B335_0 = ((((int32_t)((((int32_t)L_822) == ((int32_t)((int32_t)8288)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_1aad;
}
IL_1aac:
{
G_B335_0 = 0;
}
IL_1aad:
{
V_142 = (bool)G_B335_0;
bool L_823 = V_142;
if (!L_823)
{
goto IL_1ad9;
}
}
{
int32_t L_824 = V_30;
int32_t L_825 = __this->___m_characterCount_209;
TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650(__this, (&V_21), L_824, L_825, NULL);
V_17 = (bool)0;
V_18 = (bool)0;
(&V_23)->___previous_WordBreak_0 = (-1);
goto IL_1cc6;
}
IL_1ad9:
{
bool L_826 = __this->___m_isNonBreakingSpace_114;
if (L_826)
{
goto IL_1b74;
}
}
{
int32_t L_827 = V_31;
if ((((int32_t)L_827) <= ((int32_t)((int32_t)4352))))
{
goto IL_1af6;
}
}
{
int32_t L_828 = V_31;
if ((((int32_t)L_828) < ((int32_t)((int32_t)4607))))
{
goto IL_1b1a;
}
}
IL_1af6:
{
int32_t L_829 = V_31;
if ((((int32_t)L_829) <= ((int32_t)((int32_t)43360))))
{
goto IL_1b08;
}
}
{
int32_t L_830 = V_31;
if ((((int32_t)L_830) < ((int32_t)((int32_t)43391))))
{
goto IL_1b1a;
}
}
IL_1b08:
{
int32_t L_831 = V_31;
if ((((int32_t)L_831) <= ((int32_t)((int32_t)44032))))
{
goto IL_1b21;
}
}
{
int32_t L_832 = V_31;
if ((((int32_t)L_832) >= ((int32_t)((int32_t)55295))))
{
goto IL_1b21;
}
}
IL_1b1a:
{
bool L_833;
L_833 = TMP_Settings_get_useModernHangulLineBreakingRules_m20EF8E9FBDF86C21A8E30F3B5B2DF997ABB3A060(NULL);
if (!L_833)
{
goto IL_1b71;
}
}
IL_1b21:
{
int32_t L_834 = V_31;
if ((((int32_t)L_834) <= ((int32_t)((int32_t)11904))))
{
goto IL_1b33;
}
}
{
int32_t L_835 = V_31;
if ((((int32_t)L_835) < ((int32_t)((int32_t)40959))))
{
goto IL_1b6e;
}
}
IL_1b33:
{
int32_t L_836 = V_31;
if ((((int32_t)L_836) <= ((int32_t)((int32_t)63744))))
{
goto IL_1b45;
}
}
{
int32_t L_837 = V_31;
if ((((int32_t)L_837) < ((int32_t)((int32_t)64255))))
{
goto IL_1b6e;
}
}
IL_1b45:
{
int32_t L_838 = V_31;
if ((((int32_t)L_838) <= ((int32_t)((int32_t)65072))))
{
goto IL_1b57;
}
}
{
int32_t L_839 = V_31;
if ((((int32_t)L_839) < ((int32_t)((int32_t)65103))))
{
goto IL_1b6e;
}
}
IL_1b57:
{
int32_t L_840 = V_31;
if ((((int32_t)L_840) <= ((int32_t)((int32_t)65280))))
{
goto IL_1b6b;
}
}
{
int32_t L_841 = V_31;
G_B354_0 = ((((int32_t)L_841) < ((int32_t)((int32_t)65519)))? 1 : 0);
goto IL_1b6c;
}
IL_1b6b:
{
G_B354_0 = 0;
}
IL_1b6c:
{
G_B356_0 = G_B354_0;
goto IL_1b6f;
}
IL_1b6e:
{
G_B356_0 = 1;
}
IL_1b6f:
{
G_B358_0 = G_B356_0;
goto IL_1b72;
}
IL_1b71:
{
G_B358_0 = 1;
}
IL_1b72:
{
G_B360_0 = G_B358_0;
goto IL_1b75;
}
IL_1b74:
{
G_B360_0 = 0;
}
IL_1b75:
{
V_143 = (bool)G_B360_0;
bool L_842 = V_143;
if (!L_842)
{
goto IL_1c3b;
}
}
{
LineBreakingTable_t8F7C67DC8CF3D46115EB50409E5C0E32B5ADC531* L_843;
L_843 = TMP_Settings_get_linebreakingRules_m9128A20C31E5CBB0D06E0A1537E40617640FCBB2(NULL);
NullCheck(L_843);
Dictionary_2_t760E9A9490B53715AE11CA76450386C19A39A0C8* L_844 = L_843->___leadingCharacters_0;
int32_t L_845 = V_31;
NullCheck(L_844);
bool L_846;
L_846 = Dictionary_2_ContainsKey_mFEF31529C09939D463552C900419ABCC2B05B354(L_844, L_845, Dictionary_2_ContainsKey_mFEF31529C09939D463552C900419ABCC2B05B354_RuntimeMethod_var);
V_144 = L_846;
int32_t L_847 = __this->___m_characterCount_209;
int32_t L_848 = V_0;
if ((((int32_t)L_847) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_848, 1)))))
{
goto IL_1bc6;
}
}
{
LineBreakingTable_t8F7C67DC8CF3D46115EB50409E5C0E32B5ADC531* L_849;
L_849 = TMP_Settings_get_linebreakingRules_m9128A20C31E5CBB0D06E0A1537E40617640FCBB2(NULL);
NullCheck(L_849);
Dictionary_2_t760E9A9490B53715AE11CA76450386C19A39A0C8* L_850 = L_849->___followingCharacters_1;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_851 = __this->___m_internalCharacterInfo_201;
int32_t L_852 = __this->___m_characterCount_209;
NullCheck(L_851);
Il2CppChar L_853 = ((L_851)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_852, 1)))))->___character_0;
NullCheck(L_850);
bool L_854;
L_854 = Dictionary_2_ContainsKey_mFEF31529C09939D463552C900419ABCC2B05B354(L_850, L_853, Dictionary_2_ContainsKey_mFEF31529C09939D463552C900419ABCC2B05B354_RuntimeMethod_var);
G_B364_0 = ((int32_t)(L_854));
goto IL_1bc7;
}
IL_1bc6:
{
G_B364_0 = 0;
}
IL_1bc7:
{
V_145 = (bool)G_B364_0;
bool L_855 = V_17;
if (L_855)
{
goto IL_1bd4;
}
}
{
bool L_856 = V_144;
G_B367_0 = ((((int32_t)L_856) == ((int32_t)0))? 1 : 0);
goto IL_1bd5;
}
IL_1bd4:
{
G_B367_0 = 1;
}
IL_1bd5:
{
V_146 = (bool)G_B367_0;
bool L_857 = V_146;
if (!L_857)
{
goto IL_1c32;
}
}
{
bool L_858 = V_145;
V_147 = (bool)((((int32_t)L_858) == ((int32_t)0))? 1 : 0);
bool L_859 = V_147;
if (!L_859)
{
goto IL_1bfd;
}
}
{
int32_t L_860 = V_30;
int32_t L_861 = __this->___m_characterCount_209;
TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650(__this, (&V_21), L_860, L_861, NULL);
V_17 = (bool)0;
}
IL_1bfd:
{
bool L_862 = V_17;
V_148 = L_862;
bool L_863 = V_148;
if (!L_863)
{
goto IL_1c31;
}
}
{
bool L_864 = V_40;
V_149 = L_864;
bool L_865 = V_149;
if (!L_865)
{
goto IL_1c1f;
}
}
{
int32_t L_866 = V_30;
int32_t L_867 = __this->___m_characterCount_209;
TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650(__this, (&V_23), L_866, L_867, NULL);
}
IL_1c1f:
{
int32_t L_868 = V_30;
int32_t L_869 = __this->___m_characterCount_209;
TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650(__this, (&V_21), L_868, L_869, NULL);
}
IL_1c31:
{
}
IL_1c32:
{
V_18 = (bool)1;
goto IL_1cc6;
}
IL_1c3b:
{
bool L_870 = V_18;
V_150 = L_870;
bool L_871 = V_150;
if (!L_871)
{
goto IL_1c79;
}
}
{
LineBreakingTable_t8F7C67DC8CF3D46115EB50409E5C0E32B5ADC531* L_872;
L_872 = TMP_Settings_get_linebreakingRules_m9128A20C31E5CBB0D06E0A1537E40617640FCBB2(NULL);
NullCheck(L_872);
Dictionary_2_t760E9A9490B53715AE11CA76450386C19A39A0C8* L_873 = L_872->___leadingCharacters_0;
int32_t L_874 = V_31;
NullCheck(L_873);
bool L_875;
L_875 = Dictionary_2_ContainsKey_mFEF31529C09939D463552C900419ABCC2B05B354(L_873, L_874, Dictionary_2_ContainsKey_mFEF31529C09939D463552C900419ABCC2B05B354_RuntimeMethod_var);
V_151 = L_875;
bool L_876 = V_151;
V_152 = (bool)((((int32_t)L_876) == ((int32_t)0))? 1 : 0);
bool L_877 = V_152;
if (!L_877)
{
goto IL_1c73;
}
}
{
int32_t L_878 = V_30;
int32_t L_879 = __this->___m_characterCount_209;
TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650(__this, (&V_21), L_878, L_879, NULL);
}
IL_1c73:
{
V_18 = (bool)0;
goto IL_1cc6;
}
IL_1c79:
{
bool L_880 = V_17;
V_153 = L_880;
bool L_881 = V_153;
if (!L_881)
{
goto IL_1cc6;
}
}
{
bool L_882 = V_40;
if (L_882)
{
goto IL_1c99;
}
}
{
int32_t L_883 = V_31;
if ((!(((uint32_t)L_883) == ((uint32_t)((int32_t)173)))))
{
goto IL_1c96;
}
}
{
bool L_884 = V_20;
G_B385_0 = ((((int32_t)L_884) == ((int32_t)0))? 1 : 0);
goto IL_1c97;
}
IL_1c96:
{
G_B385_0 = 0;
}
IL_1c97:
{
G_B387_0 = G_B385_0;
goto IL_1c9a;
}
IL_1c99:
{
G_B387_0 = 1;
}
IL_1c9a:
{
V_154 = (bool)G_B387_0;
bool L_885 = V_154;
if (!L_885)
{
goto IL_1cb1;
}
}
{
int32_t L_886 = V_30;
int32_t L_887 = __this->___m_characterCount_209;
TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650(__this, (&V_23), L_886, L_887, NULL);
}
IL_1cb1:
{
int32_t L_888 = V_30;
int32_t L_889 = __this->___m_characterCount_209;
TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650(__this, (&V_21), L_888, L_889, NULL);
V_18 = (bool)0;
}
IL_1cc6:
{
}
IL_1cc7:
{
int32_t L_890 = __this->___m_characterCount_209;
__this->___m_characterCount_209 = ((int32_t)il2cpp_codegen_add(L_890, 1));
}
IL_1cd6:
{
int32_t L_891 = V_30;
V_30 = ((int32_t)il2cpp_codegen_add(L_891, 1));
}
IL_1cdc:
{
int32_t L_892 = V_30;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_893 = __this->___m_TextProcessingArray_199;
NullCheck(L_893);
if ((((int32_t)L_892) >= ((int32_t)((int32_t)(((RuntimeArray*)L_893)->max_length)))))
{
goto IL_1cff;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_894 = __this->___m_TextProcessingArray_199;
int32_t L_895 = V_30;
NullCheck(L_894);
int32_t L_896 = ((L_894)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_895)))->___unicode_0;
G_B396_0 = ((!(((uint32_t)L_896) <= ((uint32_t)0)))? 1 : 0);
goto IL_1d00;
}
IL_1cff:
{
G_B396_0 = 0;
}
IL_1d00:
{
V_155 = (bool)G_B396_0;
bool L_897 = V_155;
if (L_897)
{
goto IL_03c1;
}
}
{
float L_898 = __this->___m_maxFontSize_83;
float L_899 = __this->___m_minFontSize_84;
V_4 = ((float)il2cpp_codegen_subtract(L_898, L_899));
bool L_900 = ___isTextAutoSizingEnabled2;
if (!L_900)
{
goto IL_1d3e;
}
}
{
float L_901 = V_4;
if ((!(((float)L_901) > ((float)(0.050999999f)))))
{
goto IL_1d3e;
}
}
{
float* L_902 = ___fontSize0;
float L_903 = *((float*)L_902);
float L_904 = __this->___m_fontSizeMax_89;
if ((!(((float)L_903) < ((float)L_904))))
{
goto IL_1d3e;
}
}
{
int32_t L_905 = __this->___m_AutoSizeIterationCount_85;
int32_t L_906 = __this->___m_AutoSizeMaxIterationCount_86;
G_B402_0 = ((((int32_t)L_905) < ((int32_t)L_906))? 1 : 0);
goto IL_1d3f;
}
IL_1d3e:
{
G_B402_0 = 0;
}
IL_1d3f:
{
V_156 = (bool)G_B402_0;
bool L_907 = V_156;
if (!L_907)
{
goto IL_1dc4;
}
}
{
float L_908 = __this->___m_charWidthAdjDelta_111;
float L_909 = __this->___m_charWidthMaxAdj_110;
V_158 = (bool)((((float)L_908) < ((float)((float)(L_909/(100.0f)))))? 1 : 0);
bool L_910 = V_158;
if (!L_910)
{
goto IL_1d6b;
}
}
{
__this->___m_charWidthAdjDelta_111 = (0.0f);
}
IL_1d6b:
{
float* L_911 = ___fontSize0;
float L_912 = *((float*)L_911);
__this->___m_minFontSize_84 = L_912;
float L_913 = __this->___m_maxFontSize_83;
float* L_914 = ___fontSize0;
float L_915 = *((float*)L_914);
float L_916;
L_916 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(((float)(((float)il2cpp_codegen_subtract(L_913, L_915))/(2.0f))), (0.0500000007f), NULL);
V_157 = L_916;
float* L_917 = ___fontSize0;
float* L_918 = ___fontSize0;
float L_919 = *((float*)L_918);
float L_920 = V_157;
*((float*)L_917) = (float)((float)il2cpp_codegen_add(L_919, L_920));
float* L_921 = ___fontSize0;
float* L_922 = ___fontSize0;
float L_923 = *((float*)L_922);
float L_924 = __this->___m_fontSizeMax_89;
float L_925;
L_925 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(((float)(((float)il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_923, (20.0f))), (0.5f)))))/(20.0f))), L_924, NULL);
*((float*)L_921) = (float)L_925;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_926;
L_926 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
V_26 = L_926;
goto IL_1eb3;
}
IL_1dc4:
{
__this->___m_IsAutoSizePointSizeSet_87 = (bool)1;
__this->___m_isCalculatingPreferredValues_182 = (bool)0;
float L_927 = V_12;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* L_928 = (&__this->___m_margin_148);
float L_929 = L_928->___x_1;
if ((((float)L_929) > ((float)(0.0f))))
{
G_B408_0 = L_927;
goto IL_1ded;
}
G_B407_0 = L_927;
}
{
G_B409_0 = (0.0f);
G_B409_1 = G_B407_0;
goto IL_1df8;
}
IL_1ded:
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* L_930 = (&__this->___m_margin_148);
float L_931 = L_930->___x_1;
G_B409_0 = L_931;
G_B409_1 = G_B408_0;
}
IL_1df8:
{
V_12 = ((float)il2cpp_codegen_add(G_B409_1, G_B409_0));
float L_932 = V_12;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* L_933 = (&__this->___m_margin_148);
float L_934 = L_933->___z_3;
if ((((float)L_934) > ((float)(0.0f))))
{
G_B411_0 = L_932;
goto IL_1e16;
}
G_B410_0 = L_932;
}
{
G_B412_0 = (0.0f);
G_B412_1 = G_B410_0;
goto IL_1e21;
}
IL_1e16:
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* L_935 = (&__this->___m_margin_148);
float L_936 = L_935->___z_3;
G_B412_0 = L_936;
G_B412_1 = G_B411_0;
}
IL_1e21:
{
V_12 = ((float)il2cpp_codegen_add(G_B412_1, G_B412_0));
float L_937 = V_13;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* L_938 = (&__this->___m_margin_148);
float L_939 = L_938->___y_2;
if ((((float)L_939) > ((float)(0.0f))))
{
G_B414_0 = L_937;
goto IL_1e3f;
}
G_B413_0 = L_937;
}
{
G_B415_0 = (0.0f);
G_B415_1 = G_B413_0;
goto IL_1e4a;
}
IL_1e3f:
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* L_940 = (&__this->___m_margin_148);
float L_941 = L_940->___y_2;
G_B415_0 = L_941;
G_B415_1 = G_B414_0;
}
IL_1e4a:
{
V_13 = ((float)il2cpp_codegen_add(G_B415_1, G_B415_0));
float L_942 = V_13;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* L_943 = (&__this->___m_margin_148);
float L_944 = L_943->___w_4;
if ((((float)L_944) > ((float)(0.0f))))
{
G_B417_0 = L_942;
goto IL_1e68;
}
G_B416_0 = L_942;
}
{
G_B418_0 = (0.0f);
G_B418_1 = G_B416_0;
goto IL_1e73;
}
IL_1e68:
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* L_945 = (&__this->___m_margin_148);
float L_946 = L_945->___w_4;
G_B418_0 = L_946;
G_B418_1 = G_B417_0;
}
IL_1e73:
{
V_13 = ((float)il2cpp_codegen_add(G_B418_1, G_B418_0));
float L_947 = V_12;
V_12 = ((float)(((float)il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_947, (100.0f))), (1.0f)))))/(100.0f)));
float L_948 = V_13;
V_13 = ((float)(((float)il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_948, (100.0f))), (1.0f)))))/(100.0f)));
float L_949 = V_12;
float L_950 = V_13;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_951;
memset((&L_951), 0, sizeof(L_951));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_951), L_949, L_950, NULL);
V_26 = L_951;
goto IL_1eb3;
}
IL_1eb3:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_952 = V_26;
return L_952;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 TMP_Text_GetCompoundBounds_mF60F723948DF048E702AAB62F9408FAD30A1DBF2 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_0;
memset((&V_0), 0, sizeof(V_0));
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_1;
memset((&V_1), 0, sizeof(V_1));
{
il2cpp_codegen_initobj((&V_0), sizeof(Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3));
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_0 = V_0;
V_1 = L_0;
goto IL_000d;
}
IL_000d:
{
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_1 = V_1;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D TMP_Text_GetCanvasSpaceClippingRect_m7C7869D4D77FBFFD707A3846A29792EB48B5D64F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D V_0;
memset((&V_0), 0, sizeof(V_0));
{
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_0;
L_0 = Rect_get_zero_m5341D8B63DEF1F4C308A685EEC8CFEA12A396C8D(NULL);
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_1 = V_0;
return L_1;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 TMP_Text_GetTextBounds_m9B8ADDB3EE48C956CF9D61DA303B21D5EA32081A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 V_0;
memset((&V_0), 0, sizeof(V_0));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_1;
memset((&V_1), 0, sizeof(V_1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
bool V_3 = false;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_4;
memset((&V_4), 0, sizeof(V_4));
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_5;
memset((&V_5), 0, sizeof(V_5));
int32_t V_6 = 0;
bool V_7 = false;
bool V_8 = false;
int32_t G_B3_0 = 0;
int32_t G_B13_0 = 0;
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_0 = __this->___m_textInfo_154;
if (!L_0)
{
goto IL_0025;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1 = __this->___m_textInfo_154;
NullCheck(L_1);
int32_t L_2 = L_1->___characterCount_3;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_3 = __this->___m_textInfo_154;
NullCheck(L_3);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_4 = L_3->___characterInfo_11;
NullCheck(L_4);
G_B3_0 = ((((int32_t)L_2) > ((int32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))? 1 : 0);
goto IL_0026;
}
IL_0025:
{
G_B3_0 = 1;
}
IL_0026:
{
V_3 = (bool)G_B3_0;
bool L_5 = V_3;
if (!L_5)
{
goto IL_003b;
}
}
{
il2cpp_codegen_initobj((&V_4), sizeof(Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3));
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_6 = V_4;
V_5 = L_6;
goto IL_01e6;
}
IL_003b:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveVector2_261;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargeNegativeVector2_262;
Extents__ctor_m2C44BA0B2EDAAB80829698A019D2BBF8DDFF630B((&V_0), L_7, L_8, NULL);
V_6 = 0;
goto IL_014d;
}
IL_0054:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_9 = __this->___m_textInfo_154;
NullCheck(L_9);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_10 = L_9->___characterInfo_11;
int32_t L_11 = V_6;
NullCheck(L_10);
bool L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->___isVisible_40;
V_7 = (bool)((((int32_t)L_12) == ((int32_t)0))? 1 : 0);
bool L_13 = V_7;
if (!L_13)
{
goto IL_007a;
}
}
{
goto IL_0147;
}
IL_007a:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_14 = (&(&V_0)->___min_2);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_15 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_16 = L_15.___min_2;
float L_17 = L_16.___x_0;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_18 = __this->___m_textInfo_154;
NullCheck(L_18);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_19 = L_18->___characterInfo_11;
int32_t L_20 = V_6;
NullCheck(L_19);
float L_21 = ((L_19)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_20)))->___origin_23;
float L_22;
L_22 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(L_17, L_21, NULL);
L_14->___x_0 = L_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_23 = (&(&V_0)->___min_2);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_24 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_25 = L_24.___min_2;
float L_26 = L_25.___y_1;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_27 = __this->___m_textInfo_154;
NullCheck(L_27);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_28 = L_27->___characterInfo_11;
int32_t L_29 = V_6;
NullCheck(L_28);
float L_30 = ((L_28)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_29)))->___descender_27;
float L_31;
L_31 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(L_26, L_30, NULL);
L_23->___y_1 = L_31;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_32 = (&(&V_0)->___max_3);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_33 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_34 = L_33.___max_3;
float L_35 = L_34.___x_0;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_36 = __this->___m_textInfo_154;
NullCheck(L_36);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_37 = L_36->___characterInfo_11;
int32_t L_38 = V_6;
NullCheck(L_37);
float L_39 = ((L_37)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_38)))->___xAdvance_24;
float L_40;
L_40 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_35, L_39, NULL);
L_32->___x_0 = L_40;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_41 = (&(&V_0)->___max_3);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_42 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_43 = L_42.___max_3;
float L_44 = L_43.___y_1;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_45 = __this->___m_textInfo_154;
NullCheck(L_45);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_46 = L_45->___characterInfo_11;
int32_t L_47 = V_6;
NullCheck(L_46);
float L_48 = ((L_46)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_47)))->___ascender_25;
float L_49;
L_49 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_44, L_48, NULL);
L_41->___y_1 = L_49;
}
IL_0147:
{
int32_t L_50 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_50, 1));
}
IL_014d:
{
int32_t L_51 = V_6;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_52 = __this->___m_textInfo_154;
NullCheck(L_52);
int32_t L_53 = L_52->___characterCount_3;
if ((((int32_t)L_51) >= ((int32_t)L_53)))
{
goto IL_016f;
}
}
{
int32_t L_54 = V_6;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_55 = __this->___m_textInfo_154;
NullCheck(L_55);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_56 = L_55->___characterInfo_11;
NullCheck(L_56);
G_B13_0 = ((((int32_t)L_54) < ((int32_t)((int32_t)(((RuntimeArray*)L_56)->max_length))))? 1 : 0);
goto IL_0170;
}
IL_016f:
{
G_B13_0 = 0;
}
IL_0170:
{
V_8 = (bool)G_B13_0;
bool L_57 = V_8;
if (L_57)
{
goto IL_0054;
}
}
{
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_58 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_59 = L_58.___max_3;
float L_60 = L_59.___x_0;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_61 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_62 = L_61.___min_2;
float L_63 = L_62.___x_0;
(&V_1)->___x_0 = ((float)il2cpp_codegen_subtract(L_60, L_63));
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_64 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_65 = L_64.___max_3;
float L_66 = L_65.___y_1;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_67 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_68 = L_67.___min_2;
float L_69 = L_68.___y_1;
(&V_1)->___y_1 = ((float)il2cpp_codegen_subtract(L_66, L_69));
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_70 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_71 = L_70.___min_2;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_72 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_73 = L_72.___max_3;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_74;
L_74 = Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline(L_71, L_73, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_75;
L_75 = Vector2_op_Division_m57A2DCD71E0CE7420851D705D1951F9238902AAB_inline(L_74, (2.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
L_76 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_75, NULL);
V_2 = L_76;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = V_2;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_78 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
L_79 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_78, NULL);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_80;
memset((&L_80), 0, sizeof(L_80));
Bounds__ctor_mAF7B238B9FBF90C495E5D7951760085A93119C5A_inline((&L_80), L_77, L_79, NULL);
V_5 = L_80;
goto IL_01e6;
}
IL_01e6:
{
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_81 = V_5;
return L_81;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 TMP_Text_GetTextBounds_m26FEA0CD67904DA57ABE718926102EEFCD374BF1 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___onlyVisibleCharacters0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 V_0;
memset((&V_0), 0, sizeof(V_0));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_1;
memset((&V_1), 0, sizeof(V_1));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_2;
memset((&V_2), 0, sizeof(V_2));
bool V_3 = false;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_4;
memset((&V_4), 0, sizeof(V_4));
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_5;
memset((&V_5), 0, sizeof(V_5));
int32_t V_6 = 0;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
int32_t G_B6_0 = 0;
int32_t G_B11_0 = 0;
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_0 = __this->___m_textInfo_154;
V_3 = (bool)((((RuntimeObject*)(TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D*)L_0) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_1 = V_3;
if (!L_1)
{
goto IL_001f;
}
}
{
il2cpp_codegen_initobj((&V_4), sizeof(Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3));
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_2 = V_4;
V_5 = L_2;
goto IL_01f5;
}
IL_001f:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveVector2_261;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargeNegativeVector2_262;
Extents__ctor_m2C44BA0B2EDAAB80829698A019D2BBF8DDFF630B((&V_0), L_3, L_4, NULL);
V_6 = 0;
goto IL_0170;
}
IL_0038:
{
int32_t L_5 = V_6;
int32_t L_6;
L_6 = TMP_Text_get_maxVisibleCharacters_mF695995258B5013340B8C026B2A0FA643D5FD302(__this, NULL);
if ((((int32_t)L_5) > ((int32_t)L_6)))
{
goto IL_0064;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_7 = __this->___m_textInfo_154;
NullCheck(L_7);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_8 = L_7->___characterInfo_11;
int32_t L_9 = V_6;
NullCheck(L_8);
int32_t L_10 = ((L_8)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_9)))->___lineNumber_12;
int32_t L_11 = __this->___m_maxVisibleLines_144;
G_B6_0 = ((((int32_t)L_10) > ((int32_t)L_11))? 1 : 0);
goto IL_0065;
}
IL_0064:
{
G_B6_0 = 1;
}
IL_0065:
{
bool L_12 = ___onlyVisibleCharacters0;
V_7 = (bool)((int32_t)(G_B6_0&(int32_t)L_12));
bool L_13 = V_7;
if (!L_13)
{
goto IL_0072;
}
}
{
goto IL_0188;
}
IL_0072:
{
bool L_14 = ___onlyVisibleCharacters0;
if (!L_14)
{
goto IL_0091;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_15 = __this->___m_textInfo_154;
NullCheck(L_15);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_16 = L_15->___characterInfo_11;
int32_t L_17 = V_6;
NullCheck(L_16);
bool L_18 = ((L_16)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_17)))->___isVisible_40;
G_B11_0 = ((((int32_t)L_18) == ((int32_t)0))? 1 : 0);
goto IL_0092;
}
IL_0091:
{
G_B11_0 = 0;
}
IL_0092:
{
V_8 = (bool)G_B11_0;
bool L_19 = V_8;
if (!L_19)
{
goto IL_009d;
}
}
{
goto IL_016a;
}
IL_009d:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_20 = (&(&V_0)->___min_2);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_21 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_22 = L_21.___min_2;
float L_23 = L_22.___x_0;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_24 = __this->___m_textInfo_154;
NullCheck(L_24);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_25 = L_24->___characterInfo_11;
int32_t L_26 = V_6;
NullCheck(L_25);
float L_27 = ((L_25)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_26)))->___origin_23;
float L_28;
L_28 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(L_23, L_27, NULL);
L_20->___x_0 = L_28;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_29 = (&(&V_0)->___min_2);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_30 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_31 = L_30.___min_2;
float L_32 = L_31.___y_1;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_33 = __this->___m_textInfo_154;
NullCheck(L_33);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_34 = L_33->___characterInfo_11;
int32_t L_35 = V_6;
NullCheck(L_34);
float L_36 = ((L_34)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_35)))->___descender_27;
float L_37;
L_37 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(L_32, L_36, NULL);
L_29->___y_1 = L_37;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_38 = (&(&V_0)->___max_3);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_39 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_40 = L_39.___max_3;
float L_41 = L_40.___x_0;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_42 = __this->___m_textInfo_154;
NullCheck(L_42);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_43 = L_42->___characterInfo_11;
int32_t L_44 = V_6;
NullCheck(L_43);
float L_45 = ((L_43)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_44)))->___xAdvance_24;
float L_46;
L_46 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_41, L_45, NULL);
L_38->___x_0 = L_46;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_47 = (&(&V_0)->___max_3);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_48 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_49 = L_48.___max_3;
float L_50 = L_49.___y_1;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_51 = __this->___m_textInfo_154;
NullCheck(L_51);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_52 = L_51->___characterInfo_11;
int32_t L_53 = V_6;
NullCheck(L_52);
float L_54 = ((L_52)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_53)))->___ascender_25;
float L_55;
L_55 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_50, L_54, NULL);
L_47->___y_1 = L_55;
}
IL_016a:
{
int32_t L_56 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add(L_56, 1));
}
IL_0170:
{
int32_t L_57 = V_6;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_58 = __this->___m_textInfo_154;
NullCheck(L_58);
int32_t L_59 = L_58->___characterCount_3;
V_9 = (bool)((((int32_t)L_57) < ((int32_t)L_59))? 1 : 0);
bool L_60 = V_9;
if (L_60)
{
goto IL_0038;
}
}
IL_0188:
{
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_61 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_62 = L_61.___max_3;
float L_63 = L_62.___x_0;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_64 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_65 = L_64.___min_2;
float L_66 = L_65.___x_0;
(&V_1)->___x_0 = ((float)il2cpp_codegen_subtract(L_63, L_66));
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_67 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_68 = L_67.___max_3;
float L_69 = L_68.___y_1;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_70 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_71 = L_70.___min_2;
float L_72 = L_71.___y_1;
(&V_1)->___y_1 = ((float)il2cpp_codegen_subtract(L_69, L_72));
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_73 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_74 = L_73.___min_2;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_75 = V_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_76 = L_75.___max_3;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_77;
L_77 = Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline(L_74, L_76, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_78;
L_78 = Vector2_op_Division_m57A2DCD71E0CE7420851D705D1951F9238902AAB_inline(L_77, (2.0f), NULL);
V_2 = L_78;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_79 = V_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
L_80 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_79, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_81 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
L_82 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_81, NULL);
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_83;
memset((&L_83), 0, sizeof(L_83));
Bounds__ctor_mAF7B238B9FBF90C495E5D7951760085A93119C5A_inline((&L_83), L_80, L_82, NULL);
V_5 = L_83;
goto IL_01f5;
}
IL_01f5:
{
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_84 = V_5;
return L_84;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_AdjustLineOffset_m52F6B152C307D094A146CA506C23704DD425218D (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___startIndex0, int32_t ___endIndex1, float ___offset2, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
int32_t V_1 = 0;
bool V_2 = false;
bool V_3 = false;
{
float L_0 = ___offset2;
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_0), (0.0f), L_0, (0.0f), NULL);
int32_t L_1 = ___startIndex0;
V_1 = L_1;
goto IL_01eb;
}
IL_001a:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_2 = __this->___m_textInfo_154;
NullCheck(L_2);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_3 = L_2->___characterInfo_11;
int32_t L_4 = V_1;
NullCheck(L_3);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_5 = (&((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))->___bottomLeft_20);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_6 = L_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_6);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
L_9 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_7, L_8, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_6 = L_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_10 = __this->___m_textInfo_154;
NullCheck(L_10);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_11 = L_10->___characterInfo_11;
int32_t L_12 = V_1;
NullCheck(L_11);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_13 = (&((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_12)))->___topLeft_19);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_14 = L_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_14);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
L_17 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_15, L_16, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_14 = L_17;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_18 = __this->___m_textInfo_154;
NullCheck(L_18);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_19 = L_18->___characterInfo_11;
int32_t L_20 = V_1;
NullCheck(L_19);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_21 = (&((L_19)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_20)))->___topRight_21);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_22 = L_21;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_22);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
L_25 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_23, L_24, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_22 = L_25;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_26 = __this->___m_textInfo_154;
NullCheck(L_26);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_27 = L_26->___characterInfo_11;
int32_t L_28 = V_1;
NullCheck(L_27);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_29 = (&((L_27)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_28)))->___bottomRight_22);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_30 = L_29;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_30);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
L_33 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_31, L_32, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_30 = L_33;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_34 = __this->___m_textInfo_154;
NullCheck(L_34);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_35 = L_34->___characterInfo_11;
int32_t L_36 = V_1;
NullCheck(L_35);
float* L_37 = (&((L_35)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_36)))->___ascender_25);
float* L_38 = L_37;
float L_39 = *((float*)L_38);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = V_0;
float L_41 = L_40.___y_3;
*((float*)L_38) = (float)((float)il2cpp_codegen_subtract(L_39, L_41));
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_42 = __this->___m_textInfo_154;
NullCheck(L_42);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_43 = L_42->___characterInfo_11;
int32_t L_44 = V_1;
NullCheck(L_43);
float* L_45 = (&((L_43)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_44)))->___baseLine_26);
float* L_46 = L_45;
float L_47 = *((float*)L_46);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = V_0;
float L_49 = L_48.___y_3;
*((float*)L_46) = (float)((float)il2cpp_codegen_subtract(L_47, L_49));
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_50 = __this->___m_textInfo_154;
NullCheck(L_50);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_51 = L_50->___characterInfo_11;
int32_t L_52 = V_1;
NullCheck(L_51);
float* L_53 = (&((L_51)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_52)))->___descender_27);
float* L_54 = L_53;
float L_55 = *((float*)L_54);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = V_0;
float L_57 = L_56.___y_3;
*((float*)L_54) = (float)((float)il2cpp_codegen_subtract(L_55, L_57));
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_58 = __this->___m_textInfo_154;
NullCheck(L_58);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_59 = L_58->___characterInfo_11;
int32_t L_60 = V_1;
NullCheck(L_59);
bool L_61 = ((L_59)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_60)))->___isVisible_40;
V_2 = L_61;
bool L_62 = V_2;
if (!L_62)
{
goto IL_01e6;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_63 = __this->___m_textInfo_154;
NullCheck(L_63);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_64 = L_63->___characterInfo_11;
int32_t L_65 = V_1;
NullCheck(L_64);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_66 = (&((L_64)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_65)))->___vertex_BL_15);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_67 = (&L_66->___position_0);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_68 = L_67;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_68);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71;
L_71 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_69, L_70, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_68 = L_71;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_72 = __this->___m_textInfo_154;
NullCheck(L_72);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_73 = L_72->___characterInfo_11;
int32_t L_74 = V_1;
NullCheck(L_73);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_75 = (&((L_73)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_74)))->___vertex_TL_16);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_76 = (&L_75->___position_0);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_77 = L_76;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_77);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
L_80 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_78, L_79, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_77 = L_80;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_81 = __this->___m_textInfo_154;
NullCheck(L_81);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_82 = L_81->___characterInfo_11;
int32_t L_83 = V_1;
NullCheck(L_82);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_84 = (&((L_82)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_83)))->___vertex_TR_17);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_85 = (&L_84->___position_0);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_86 = L_85;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_86);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89;
L_89 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_87, L_88, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_86 = L_89;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_90 = __this->___m_textInfo_154;
NullCheck(L_90);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_91 = L_90->___characterInfo_11;
int32_t L_92 = V_1;
NullCheck(L_91);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_93 = (&((L_91)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_92)))->___vertex_BR_18);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_94 = (&L_93->___position_0);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_95 = L_94;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_95);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98;
L_98 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_96, L_97, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_95 = L_98;
}
IL_01e6:
{
int32_t L_99 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_99, 1));
}
IL_01eb:
{
int32_t L_100 = V_1;
int32_t L_101 = ___endIndex1;
V_3 = (bool)((((int32_t)((((int32_t)L_100) > ((int32_t)L_101))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_102 = V_3;
if (L_102)
{
goto IL_001a;
}
}
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ResizeLineExtents_mD9792BED7C93557CF2A93C604497729729CCBC66 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___size0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* V_0 = NULL;
int32_t V_1 = 0;
bool V_2 = false;
bool V_3 = false;
int32_t G_B3_0 = 0;
{
int32_t L_0 = ___size0;
if ((((int32_t)L_0) > ((int32_t)((int32_t)1024))))
{
goto IL_0013;
}
}
{
int32_t L_1 = ___size0;
int32_t L_2;
L_2 = Mathf_NextPowerOfTwo_mA1CE7F3EEF9B0B07AB2D586C030ED236D578F485(((int32_t)il2cpp_codegen_add(L_1, 1)), NULL);
G_B3_0 = L_2;
goto IL_001a;
}
IL_0013:
{
int32_t L_3 = ___size0;
G_B3_0 = ((int32_t)il2cpp_codegen_add(L_3, ((int32_t)256)));
}
IL_001a:
{
___size0 = G_B3_0;
int32_t L_4 = ___size0;
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_5 = (TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E*)(TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E*)SZArrayNew(TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E_il2cpp_TypeInfo_var, (uint32_t)L_4);
V_0 = L_5;
V_1 = 0;
goto IL_00ae;
}
IL_002a:
{
int32_t L_6 = V_1;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_7 = __this->___m_textInfo_154;
NullCheck(L_7);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_8 = L_7->___lineInfo_14;
NullCheck(L_8);
V_2 = (bool)((((int32_t)L_6) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length))))? 1 : 0);
bool L_9 = V_2;
if (!L_9)
{
goto IL_0059;
}
}
{
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_10 = V_0;
int32_t L_11 = V_1;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_12 = __this->___m_textInfo_154;
NullCheck(L_12);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_13 = L_12->___lineInfo_14;
int32_t L_14 = V_1;
NullCheck(L_13);
int32_t L_15 = L_14;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
NullCheck(L_10);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(L_11), (TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3)L_16);
goto IL_00a9;
}
IL_0059:
{
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_17 = V_0;
int32_t L_18 = V_1;
NullCheck(L_17);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8* L_19 = (&((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_18)))->___lineExtents_19);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_20 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveVector2_261;
L_19->___min_2 = L_20;
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_21 = V_0;
int32_t L_22 = V_1;
NullCheck(L_21);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8* L_23 = (&((L_21)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_22)))->___lineExtents_19);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_24 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargeNegativeVector2_262;
L_23->___max_3 = L_24;
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_25 = V_0;
int32_t L_26 = V_1;
NullCheck(L_25);
float L_27 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargeNegativeFloat_264;
((L_25)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_26)))->___ascender_11 = L_27;
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_28 = V_0;
int32_t L_29 = V_1;
NullCheck(L_28);
float L_30 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveFloat_263;
((L_28)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_29)))->___descender_13 = L_30;
}
IL_00a9:
{
int32_t L_31 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_31, 1));
}
IL_00ae:
{
int32_t L_32 = V_1;
int32_t L_33 = ___size0;
V_3 = (bool)((((int32_t)L_32) < ((int32_t)L_33))? 1 : 0);
bool L_34 = V_3;
if (L_34)
{
goto IL_002a;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_35 = __this->___m_textInfo_154;
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_36 = V_0;
NullCheck(L_35);
L_35->___lineInfo_14 = L_36;
Il2CppCodeGenWriteBarrier((void**)(&L_35->___lineInfo_14), (void*)L_36);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* TMP_Text_GetTextInfo_m229923ABD01B6275D27C7BE608D316A1C4F623E7 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___text0, const RuntimeMethod* method)
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* V_0 = NULL;
{
V_0 = (TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D*)NULL;
goto IL_0005;
}
IL_0005:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_0 = V_0;
return L_0;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ComputeMarginSize_mB8DA02298390E7D183460D39B765158D5B4C4C0B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_InsertNewLine_m2FB79A0D3C653AF608C8C6C9B56BC78AD696CE85 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___i0, float ___baseScale1, float ___currentElementScale2, float ___currentEmScale3, float ___glyphAdjustment4, float ___boldSpacingAdjustment5, float ___characterSpacingAdjustment6, float ___width7, float ___lineGap8, bool* ___isMaxVisibleDescenderSet9, float* ___maxVisibleDescender10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
int32_t V_3 = 0;
float V_4 = 0.0f;
float V_5 = 0.0f;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
int32_t V_9 = 0;
float V_10 = 0.0f;
bool V_11 = false;
bool V_12 = false;
float V_13 = 0.0f;
float V_14 = 0.0f;
int32_t G_B5_0 = 0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B9_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B8_0 = NULL;
float G_B10_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B10_1 = NULL;
int32_t G_B16_0 = 0;
int32_t G_B18_0 = 0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B22_0 = NULL;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* G_B22_1 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B21_0 = NULL;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* G_B21_1 = NULL;
int32_t G_B23_0 = 0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B23_1 = NULL;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* G_B23_2 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B25_0 = NULL;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* G_B25_1 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B24_0 = NULL;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* G_B24_1 = NULL;
int32_t G_B26_0 = 0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B26_1 = NULL;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* G_B26_2 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B28_0 = NULL;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* G_B28_1 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B27_0 = NULL;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* G_B27_1 = NULL;
int32_t G_B29_0 = 0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B29_1 = NULL;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* G_B29_2 = NULL;
float G_B31_0 = 0.0f;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* G_B31_1 = NULL;
float G_B30_0 = 0.0f;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* G_B30_1 = NULL;
float G_B32_0 = 0.0f;
float G_B32_1 = 0.0f;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3* G_B32_2 = NULL;
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
ProfilerMarker_Begin_mD07DB736ADA7D8BAF9D969CC7F3C55848A218C6E_inline((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_InsertNewLineMarker_257), NULL);
float L_0 = __this->___m_maxLineAscender_222;
float L_1 = __this->___m_startOfLineAscender_224;
V_0 = ((float)il2cpp_codegen_subtract(L_0, L_1));
float L_2 = __this->___m_lineOffset_226;
if ((!(((float)L_2) > ((float)(0.0f)))))
{
goto IL_0047;
}
}
{
float L_3 = V_0;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
float L_4;
L_4 = fabsf(L_3);
if ((!(((float)L_4) > ((float)(0.00999999978f)))))
{
goto IL_0047;
}
}
{
bool L_5 = __this->___m_IsDrivenLineSpacing_107;
if (L_5)
{
goto IL_0047;
}
}
{
bool L_6 = __this->___m_isNewPage_147;
G_B5_0 = ((((int32_t)L_6) == ((int32_t)0))? 1 : 0);
goto IL_0048;
}
IL_0047:
{
G_B5_0 = 0;
}
IL_0048:
{
V_6 = (bool)G_B5_0;
bool L_7 = V_6;
if (!L_7)
{
goto IL_0080;
}
}
{
int32_t L_8 = __this->___m_firstCharacterOfLine_210;
int32_t L_9 = __this->___m_characterCount_209;
float L_10 = V_0;
TMP_Text_AdjustLineOffset_m52F6B152C307D094A146CA506C23704DD425218D(__this, L_8, L_9, L_10, NULL);
float L_11 = __this->___m_ElementDescender_221;
float L_12 = V_0;
__this->___m_ElementDescender_221 = ((float)il2cpp_codegen_subtract(L_11, L_12));
float L_13 = __this->___m_lineOffset_226;
float L_14 = V_0;
__this->___m_lineOffset_226 = ((float)il2cpp_codegen_add(L_13, L_14));
}
IL_0080:
{
float L_15 = __this->___m_maxLineAscender_222;
float L_16 = __this->___m_lineOffset_226;
V_1 = ((float)il2cpp_codegen_subtract(L_15, L_16));
float L_17 = __this->___m_maxLineDescender_223;
float L_18 = __this->___m_lineOffset_226;
V_2 = ((float)il2cpp_codegen_subtract(L_17, L_18));
float L_19 = __this->___m_ElementDescender_221;
float L_20 = V_2;
if ((((float)L_19) < ((float)L_20)))
{
G_B9_0 = __this;
goto IL_00a9;
}
G_B8_0 = __this;
}
{
float L_21 = V_2;
G_B10_0 = L_21;
G_B10_1 = G_B8_0;
goto IL_00af;
}
IL_00a9:
{
float L_22 = __this->___m_ElementDescender_221;
G_B10_0 = L_22;
G_B10_1 = G_B9_0;
}
IL_00af:
{
NullCheck(G_B10_1);
G_B10_1->___m_ElementDescender_221 = G_B10_0;
bool* L_23 = ___isMaxVisibleDescenderSet9;
int32_t L_24 = *((uint8_t*)L_23);
V_7 = (bool)((((int32_t)L_24) == ((int32_t)0))? 1 : 0);
bool L_25 = V_7;
if (!L_25)
{
goto IL_00c9;
}
}
{
float* L_26 = ___maxVisibleDescender10;
float L_27 = __this->___m_ElementDescender_221;
*((float*)L_26) = (float)L_27;
}
IL_00c9:
{
bool L_28 = __this->___m_useMaxVisibleDescender_145;
if (!L_28)
{
goto IL_00f5;
}
}
{
int32_t L_29 = __this->___m_characterCount_209;
int32_t L_30 = __this->___m_maxVisibleCharacters_142;
if ((((int32_t)L_29) >= ((int32_t)L_30)))
{
goto IL_00f2;
}
}
{
int32_t L_31 = __this->___m_lineNumber_214;
int32_t L_32 = __this->___m_maxVisibleLines_144;
G_B16_0 = ((((int32_t)((((int32_t)L_31) < ((int32_t)L_32))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_00f3;
}
IL_00f2:
{
G_B16_0 = 1;
}
IL_00f3:
{
G_B18_0 = G_B16_0;
goto IL_00f6;
}
IL_00f5:
{
G_B18_0 = 0;
}
IL_00f6:
{
V_8 = (bool)G_B18_0;
bool L_33 = V_8;
if (!L_33)
{
goto IL_0100;
}
}
{
bool* L_34 = ___isMaxVisibleDescenderSet9;
*((int8_t*)L_34) = (int8_t)1;
}
IL_0100:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_35 = __this->___m_textInfo_154;
NullCheck(L_35);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_36 = L_35->___lineInfo_14;
int32_t L_37 = __this->___m_lineNumber_214;
NullCheck(L_36);
int32_t L_38 = __this->___m_firstCharacterOfLine_210;
((L_36)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_37)))->___firstCharacterIndex_5 = L_38;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_39 = __this->___m_textInfo_154;
NullCheck(L_39);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_40 = L_39->___lineInfo_14;
int32_t L_41 = __this->___m_lineNumber_214;
NullCheck(L_40);
int32_t L_42 = __this->___m_firstCharacterOfLine_210;
int32_t L_43 = __this->___m_firstVisibleCharacterOfLine_211;
if ((((int32_t)L_42) > ((int32_t)L_43)))
{
G_B22_0 = __this;
G_B22_1 = ((L_40)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_41)));
goto IL_014e;
}
G_B21_0 = __this;
G_B21_1 = ((L_40)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_41)));
}
{
int32_t L_44 = __this->___m_firstVisibleCharacterOfLine_211;
G_B23_0 = L_44;
G_B23_1 = G_B21_0;
G_B23_2 = G_B21_1;
goto IL_0154;
}
IL_014e:
{
int32_t L_45 = __this->___m_firstCharacterOfLine_210;
G_B23_0 = L_45;
G_B23_1 = G_B22_0;
G_B23_2 = G_B22_1;
}
IL_0154:
{
int32_t L_46 = G_B23_0;
V_9 = L_46;
NullCheck(G_B23_1);
G_B23_1->___m_firstVisibleCharacterOfLine_211 = L_46;
int32_t L_47 = V_9;
G_B23_2->___firstVisibleCharacterIndex_6 = L_47;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_48 = __this->___m_textInfo_154;
NullCheck(L_48);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_49 = L_48->___lineInfo_14;
int32_t L_50 = __this->___m_lineNumber_214;
NullCheck(L_49);
int32_t L_51 = __this->___m_characterCount_209;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract(L_51, 1))) > ((int32_t)0)))
{
G_B25_0 = __this;
G_B25_1 = ((L_49)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_50)));
goto IL_0188;
}
G_B24_0 = __this;
G_B24_1 = ((L_49)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_50)));
}
{
G_B26_0 = 0;
G_B26_1 = G_B24_0;
G_B26_2 = G_B24_1;
goto IL_0190;
}
IL_0188:
{
int32_t L_52 = __this->___m_characterCount_209;
G_B26_0 = ((int32_t)il2cpp_codegen_subtract(L_52, 1));
G_B26_1 = G_B25_0;
G_B26_2 = G_B25_1;
}
IL_0190:
{
int32_t L_53 = G_B26_0;
V_9 = L_53;
NullCheck(G_B26_1);
G_B26_1->___m_lastCharacterOfLine_212 = L_53;
int32_t L_54 = V_9;
int32_t L_55 = L_54;
V_9 = L_55;
G_B26_2->___lastCharacterIndex_7 = L_55;
int32_t L_56 = V_9;
V_3 = L_56;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_57 = __this->___m_textInfo_154;
NullCheck(L_57);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_58 = L_57->___lineInfo_14;
int32_t L_59 = __this->___m_lineNumber_214;
NullCheck(L_58);
int32_t L_60 = __this->___m_lastVisibleCharacterOfLine_213;
int32_t L_61 = __this->___m_firstVisibleCharacterOfLine_211;
if ((((int32_t)L_60) < ((int32_t)L_61)))
{
G_B28_0 = __this;
G_B28_1 = ((L_58)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_59)));
goto IL_01d2;
}
G_B27_0 = __this;
G_B27_1 = ((L_58)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_59)));
}
{
int32_t L_62 = __this->___m_lastVisibleCharacterOfLine_213;
G_B29_0 = L_62;
G_B29_1 = G_B27_0;
G_B29_2 = G_B27_1;
goto IL_01d8;
}
IL_01d2:
{
int32_t L_63 = __this->___m_firstVisibleCharacterOfLine_211;
G_B29_0 = L_63;
G_B29_1 = G_B28_0;
G_B29_2 = G_B28_1;
}
IL_01d8:
{
int32_t L_64 = G_B29_0;
V_9 = L_64;
NullCheck(G_B29_1);
G_B29_1->___m_lastVisibleCharacterOfLine_213 = L_64;
int32_t L_65 = V_9;
G_B29_2->___lastVisibleCharacterIndex_8 = L_65;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_66 = __this->___m_textInfo_154;
NullCheck(L_66);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_67 = L_66->___lineInfo_14;
int32_t L_68 = __this->___m_lineNumber_214;
NullCheck(L_67);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_69 = __this->___m_textInfo_154;
NullCheck(L_69);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_70 = L_69->___lineInfo_14;
int32_t L_71 = __this->___m_lineNumber_214;
NullCheck(L_70);
int32_t L_72 = ((L_70)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_71)))->___lastCharacterIndex_7;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_73 = __this->___m_textInfo_154;
NullCheck(L_73);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_74 = L_73->___lineInfo_14;
int32_t L_75 = __this->___m_lineNumber_214;
NullCheck(L_74);
int32_t L_76 = ((L_74)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_75)))->___firstCharacterIndex_5;
((L_67)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_68)))->___characterCount_1 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_72, L_76)), 1));
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_77 = __this->___m_textInfo_154;
NullCheck(L_77);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_78 = L_77->___lineInfo_14;
int32_t L_79 = __this->___m_lineNumber_214;
NullCheck(L_78);
int32_t L_80 = __this->___m_lineVisibleCharacterCount_215;
((L_78)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_79)))->___visibleCharacterCount_2 = L_80;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_81 = __this->___m_textInfo_154;
NullCheck(L_81);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_82 = L_81->___lineInfo_14;
int32_t L_83 = __this->___m_lineNumber_214;
NullCheck(L_82);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8* L_84 = (&((L_82)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_83)))->___lineExtents_19);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_85 = __this->___m_textInfo_154;
NullCheck(L_85);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_86 = L_85->___characterInfo_11;
int32_t L_87 = __this->___m_firstVisibleCharacterOfLine_211;
NullCheck(L_86);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_88 = (&((L_86)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_87)))->___bottomLeft_20);
float L_89 = L_88->___x_2;
float L_90 = V_2;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_91;
memset((&L_91), 0, sizeof(L_91));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_91), L_89, L_90, NULL);
L_84->___min_2 = L_91;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_92 = __this->___m_textInfo_154;
NullCheck(L_92);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_93 = L_92->___lineInfo_14;
int32_t L_94 = __this->___m_lineNumber_214;
NullCheck(L_93);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8* L_95 = (&((L_93)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_94)))->___lineExtents_19);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_96 = __this->___m_textInfo_154;
NullCheck(L_96);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_97 = L_96->___characterInfo_11;
int32_t L_98 = __this->___m_lastVisibleCharacterOfLine_213;
NullCheck(L_97);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_99 = (&((L_97)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_98)))->___topRight_21);
float L_100 = L_99->___x_2;
float L_101 = V_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_102;
memset((&L_102), 0, sizeof(L_102));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_102), L_100, L_101, NULL);
L_95->___max_3 = L_102;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_103 = __this->___m_textInfo_154;
NullCheck(L_103);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_104 = L_103->___lineInfo_14;
int32_t L_105 = __this->___m_lineNumber_214;
NullCheck(L_104);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_106 = __this->___m_textInfo_154;
NullCheck(L_106);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_107 = L_106->___lineInfo_14;
int32_t L_108 = __this->___m_lineNumber_214;
NullCheck(L_107);
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8* L_109 = (&((L_107)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_108)))->___lineExtents_19);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_110 = (&L_109->___max_3);
float L_111 = L_110->___x_0;
((L_104)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_105)))->___length_9 = L_111;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_112 = __this->___m_textInfo_154;
NullCheck(L_112);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_113 = L_112->___lineInfo_14;
int32_t L_114 = __this->___m_lineNumber_214;
NullCheck(L_113);
float L_115 = ___width7;
((L_113)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_114)))->___width_15 = L_115;
float L_116 = ___glyphAdjustment4;
float L_117 = ___currentElementScale2;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_118 = __this->___m_currentFontAsset_43;
NullCheck(L_118);
float L_119 = L_118->___normalSpacingOffset_39;
float L_120 = ___characterSpacingAdjustment6;
float L_121 = ___boldSpacingAdjustment5;
float L_122 = ___currentEmScale3;
float L_123 = __this->___m_cSpacing_101;
float L_124 = __this->___m_charWidthAdjDelta_111;
V_4 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_116, L_117)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_119, L_120)), L_121)), L_122)))), L_123)), ((float)il2cpp_codegen_subtract((1.0f), L_124))));
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_125 = __this->___m_textInfo_154;
NullCheck(L_125);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_126 = L_125->___lineInfo_14;
int32_t L_127 = __this->___m_lineNumber_214;
NullCheck(L_126);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_128 = __this->___m_textInfo_154;
NullCheck(L_128);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_129 = L_128->___characterInfo_11;
int32_t L_130 = __this->___m_lastVisibleCharacterOfLine_213;
NullCheck(L_129);
float L_131 = ((L_129)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_130)))->___xAdvance_24;
bool L_132 = __this->___m_isRightToLeft_41;
if (L_132)
{
G_B31_0 = L_131;
G_B31_1 = ((L_126)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_127)));
goto IL_03b2;
}
G_B30_0 = L_131;
G_B30_1 = ((L_126)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_127)));
}
{
float L_133 = V_4;
G_B32_0 = ((-L_133));
G_B32_1 = G_B30_0;
G_B32_2 = G_B30_1;
goto IL_03b4;
}
IL_03b2:
{
float L_134 = V_4;
G_B32_0 = L_134;
G_B32_1 = G_B31_0;
G_B32_2 = G_B31_1;
}
IL_03b4:
{
float L_135 = ((float)il2cpp_codegen_add(G_B32_1, G_B32_0));
V_10 = L_135;
G_B32_2->___maxAdvance_14 = L_135;
float L_136 = V_10;
V_5 = L_136;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_137 = __this->___m_textInfo_154;
NullCheck(L_137);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_138 = L_137->___characterInfo_11;
int32_t L_139 = V_3;
NullCheck(L_138);
float L_140 = V_5;
((L_138)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_139)))->___xAdvance_24 = L_140;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_141 = __this->___m_textInfo_154;
NullCheck(L_141);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_142 = L_141->___lineInfo_14;
int32_t L_143 = __this->___m_lineNumber_214;
NullCheck(L_142);
float L_144 = __this->___m_lineOffset_226;
((L_142)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_143)))->___baseline_12 = ((float)il2cpp_codegen_subtract((0.0f), L_144));
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_145 = __this->___m_textInfo_154;
NullCheck(L_145);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_146 = L_145->___lineInfo_14;
int32_t L_147 = __this->___m_lineNumber_214;
NullCheck(L_146);
float L_148 = V_1;
((L_146)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_147)))->___ascender_11 = L_148;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_149 = __this->___m_textInfo_154;
NullCheck(L_149);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_150 = L_149->___lineInfo_14;
int32_t L_151 = __this->___m_lineNumber_214;
NullCheck(L_150);
float L_152 = V_2;
((L_150)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_151)))->___descender_13 = L_152;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_153 = __this->___m_textInfo_154;
NullCheck(L_153);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_154 = L_153->___lineInfo_14;
int32_t L_155 = __this->___m_lineNumber_214;
NullCheck(L_154);
float L_156 = V_1;
float L_157 = V_2;
float L_158 = ___lineGap8;
float L_159 = ___baseScale1;
((L_154)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_155)))->___lineHeight_10 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_subtract(L_156, L_157)), ((float)il2cpp_codegen_multiply(L_158, L_159))));
int32_t L_160 = __this->___m_characterCount_209;
__this->___m_firstCharacterOfLine_210 = L_160;
__this->___m_lineVisibleCharacterCount_215 = 0;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
int32_t L_161 = ___i0;
int32_t L_162 = __this->___m_characterCount_209;
TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650(__this, (&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_SavedLineState_204), L_161, ((int32_t)il2cpp_codegen_subtract(L_162, 1)), NULL);
int32_t L_163 = __this->___m_lineNumber_214;
__this->___m_lineNumber_214 = ((int32_t)il2cpp_codegen_add(L_163, 1));
int32_t L_164 = __this->___m_lineNumber_214;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_165 = __this->___m_textInfo_154;
NullCheck(L_165);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_166 = L_165->___lineInfo_14;
NullCheck(L_166);
V_11 = (bool)((((int32_t)((((int32_t)L_164) < ((int32_t)((int32_t)(((RuntimeArray*)L_166)->max_length))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_167 = V_11;
if (!L_167)
{
goto IL_04bc;
}
}
{
int32_t L_168 = __this->___m_lineNumber_214;
TMP_Text_ResizeLineExtents_mD9792BED7C93557CF2A93C604497729729CCBC66(__this, L_168, NULL);
}
IL_04bc:
{
float L_169 = __this->___m_lineHeight_106;
V_12 = (bool)((((float)L_169) == ((float)(-32767.0f)))? 1 : 0);
bool L_170 = V_12;
if (!L_170)
{
goto IL_052e;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_171 = __this->___m_textInfo_154;
NullCheck(L_171);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_172 = L_171->___characterInfo_11;
int32_t L_173 = __this->___m_characterCount_209;
NullCheck(L_172);
float L_174 = ((L_172)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_173)))->___adjustedAscender_28;
V_13 = L_174;
float L_175 = __this->___m_maxLineDescender_223;
float L_176 = V_13;
float L_177 = ___lineGap8;
float L_178 = __this->___m_lineSpacingDelta_105;
float L_179 = ___baseScale1;
float L_180 = __this->___m_lineSpacing_104;
float L_181 = ___currentEmScale3;
V_14 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_subtract((0.0f), L_175)), L_176)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_177, L_178)), L_179)))), ((float)il2cpp_codegen_multiply(L_180, L_181))));
float L_182 = __this->___m_lineOffset_226;
float L_183 = V_14;
__this->___m_lineOffset_226 = ((float)il2cpp_codegen_add(L_182, L_183));
float L_184 = V_13;
__this->___m_startOfLineAscender_224 = L_184;
goto IL_054d;
}
IL_052e:
{
float L_185 = __this->___m_lineOffset_226;
float L_186 = __this->___m_lineHeight_106;
float L_187 = __this->___m_lineSpacing_104;
float L_188 = ___currentEmScale3;
__this->___m_lineOffset_226 = ((float)il2cpp_codegen_add(L_185, ((float)il2cpp_codegen_add(L_186, ((float)il2cpp_codegen_multiply(L_187, L_188))))));
}
IL_054d:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
float L_189 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargeNegativeFloat_264;
__this->___m_maxLineAscender_222 = L_189;
float L_190 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveFloat_263;
__this->___m_maxLineDescender_223 = L_190;
float L_191 = __this->___tag_Indent_193;
__this->___m_xAdvance_246 = ((float)il2cpp_codegen_add((0.0f), L_191));
ProfilerMarker_End_m025AE3EF0F96F6DADC53489A53FC6EE65073DE60_inline((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_InsertNewLineMarker_257), NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SaveWordWrappingState_m89FFAEE3796170C90F8EDBA696E4A14884A56650 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* ___state0, int32_t ___index1, int32_t ___count2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_0 = ___state0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1 = __this->___m_currentFontAsset_43;
L_0->___currentFontAsset_58 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&L_0->___currentFontAsset_58), (void*)L_1);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_2 = ___state0;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_3 = __this->___m_currentSpriteAsset_252;
L_2->___currentSpriteAsset_59 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&L_2->___currentSpriteAsset_59), (void*)L_3);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_4 = ___state0;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_5 = __this->___m_currentMaterial_46;
L_4->___currentMaterial_60 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&L_4->___currentMaterial_60), (void*)L_5);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_6 = ___state0;
int32_t L_7 = __this->___m_currentMaterialIndex_50;
L_6->___currentMaterialIndex_61 = L_7;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_8 = ___state0;
int32_t L_9 = ___index1;
L_8->___previous_WordBreak_0 = L_9;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_10 = ___state0;
int32_t L_11 = ___count2;
L_10->___total_CharacterCount_1 = L_11;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_12 = ___state0;
int32_t L_13 = __this->___m_lineVisibleCharacterCount_215;
L_12->___visible_CharacterCount_2 = L_13;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_14 = ___state0;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_15 = __this->___m_textInfo_154;
NullCheck(L_15);
int32_t L_16 = L_15->___linkCount_7;
L_14->___visible_LinkCount_4 = L_16;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_17 = ___state0;
int32_t L_18 = __this->___m_firstCharacterOfLine_210;
L_17->___firstCharacterIndex_5 = L_18;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_19 = ___state0;
int32_t L_20 = __this->___m_firstVisibleCharacterOfLine_211;
L_19->___firstVisibleCharacterIndex_6 = L_20;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_21 = ___state0;
int32_t L_22 = __this->___m_lastVisibleCharacterOfLine_213;
L_21->___lastVisibleCharIndex_8 = L_22;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_23 = ___state0;
int32_t L_24 = __this->___m_FontStyleInternal_91;
L_23->___fontStyle_25 = L_24;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_25 = ___state0;
int32_t L_26 = __this->___m_ItalicAngle_241;
L_25->___italicAngle_26 = L_26;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_27 = ___state0;
float L_28 = __this->___m_fontScaleMultiplier_188;
L_27->___fontScaleMultiplier_27 = L_28;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_29 = ___state0;
float L_30 = __this->___m_currentFontSize_76;
L_29->___currentFontSize_28 = L_30;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_31 = ___state0;
float L_32 = __this->___m_xAdvance_246;
L_31->___xAdvance_20 = L_32;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_33 = ___state0;
float L_34 = __this->___m_maxCapHeight_219;
L_33->___maxCapHeight_10 = L_34;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_35 = ___state0;
float L_36 = __this->___m_maxTextAscender_218;
L_35->___maxAscender_11 = L_36;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_37 = ___state0;
float L_38 = __this->___m_ElementDescender_221;
L_37->___maxDescender_12 = L_38;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_39 = ___state0;
float L_40 = __this->___m_startOfLineAscender_224;
L_39->___startOfLineAscender_13 = L_40;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_41 = ___state0;
float L_42 = __this->___m_maxLineAscender_222;
L_41->___maxLineAscender_14 = L_42;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_43 = ___state0;
float L_44 = __this->___m_maxLineDescender_223;
L_43->___maxLineDescender_15 = L_44;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_45 = ___state0;
float L_46 = __this->___m_PageAscender_217;
L_45->___pageAscender_16 = L_46;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_47 = ___state0;
float L_48 = __this->___m_preferredWidth_176;
L_47->___preferredWidth_21 = L_48;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_49 = ___state0;
float L_50 = __this->___m_preferredHeight_179;
L_49->___preferredHeight_22 = L_50;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_51 = ___state0;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_52 = __this->___m_meshExtents_227;
L_51->___meshExtents_62 = L_52;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_53 = ___state0;
int32_t L_54 = __this->___m_lineNumber_214;
L_53->___lineNumber_9 = L_54;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_55 = ___state0;
float L_56 = __this->___m_lineOffset_226;
L_55->___lineOffset_30 = L_56;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_57 = ___state0;
float L_58 = __this->___m_baselineOffset_244;
L_57->___baselineOffset_29 = L_58;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_59 = ___state0;
bool L_60 = __this->___m_IsDrivenLineSpacing_107;
L_59->___isDrivenLineSpacing_31 = L_60;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_61 = ___state0;
float L_62 = __this->___m_GlyphHorizontalAdvanceAdjustment_123;
L_61->___glyphHorizontalAdvanceAdjustment_32 = L_62;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_63 = ___state0;
float L_64 = __this->___m_cSpacing_101;
L_63->___cSpace_33 = L_64;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_65 = ___state0;
float L_66 = __this->___m_monoSpacing_102;
L_65->___mSpace_34 = L_66;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_67 = ___state0;
int32_t L_68 = __this->___m_lineJustification_97;
L_67->___horizontalAlignment_17 = L_68;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_69 = ___state0;
float L_70 = __this->___m_marginLeft_149;
L_69->___marginLeft_18 = L_70;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_71 = ___state0;
float L_72 = __this->___m_marginRight_150;
L_71->___marginRight_19 = L_72;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_73 = ___state0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_74 = __this->___m_htmlColor_228;
L_73->___vertexColor_37 = L_74;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_75 = ___state0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_76 = __this->___m_underlineColor_58;
L_75->___underlineColor_38 = L_76;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_77 = ___state0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_78 = __this->___m_strikethroughColor_59;
L_77->___strikethroughColor_39 = L_78;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_79 = ___state0;
bool L_80 = __this->___m_isNonBreakingSpace_114;
L_79->___isNonBreakingSpace_64 = L_80;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_81 = ___state0;
bool L_82 = __this->___tag_NoParsing_195;
L_81->___tagNoParsing_63 = L_82;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_83 = ___state0;
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC L_84 = __this->___m_fontStyleStack_92;
L_83->___basicStyleStack_41 = L_84;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_85 = ___state0;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C L_86 = __this->___m_ItalicAngleStack_240;
L_85->___italicAngleStack_42 = L_86;
Il2CppCodeGenWriteBarrier((void**)&(((&L_85->___italicAngleStack_42))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_87 = ___state0;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 L_88 = __this->___m_colorStack_229;
L_87->___colorStack_43 = L_88;
Il2CppCodeGenWriteBarrier((void**)&(((&L_87->___colorStack_43))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_89 = ___state0;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 L_90 = __this->___m_underlineColorStack_230;
L_89->___underlineColorStack_44 = L_90;
Il2CppCodeGenWriteBarrier((void**)&(((&L_89->___underlineColorStack_44))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_91 = ___state0;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 L_92 = __this->___m_strikethroughColorStack_231;
L_91->___strikethroughColorStack_45 = L_92;
Il2CppCodeGenWriteBarrier((void**)&(((&L_91->___strikethroughColorStack_45))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_93 = ___state0;
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D L_94 = __this->___m_HighlightStateStack_232;
L_93->___highlightStateStack_47 = L_94;
Il2CppCodeGenWriteBarrier((void**)&(((&L_93->___highlightStateStack_47))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_95 = ___state0;
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C L_96 = __this->___m_colorGradientStack_234;
L_95->___colorGradientStack_48 = L_96;
Il2CppCodeGenWriteBarrier((void**)&(((&L_95->___colorGradientStack_48))->___itemStack_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&L_95->___colorGradientStack_48))->___m_DefaultItem_2), (void*)NULL);
#endif
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_97 = ___state0;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 L_98 = __this->___m_sizeStack_78;
L_97->___sizeStack_49 = L_98;
Il2CppCodeGenWriteBarrier((void**)&(((&L_97->___sizeStack_49))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_99 = ___state0;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 L_100 = __this->___m_indentStack_194;
L_99->___indentStack_50 = L_100;
Il2CppCodeGenWriteBarrier((void**)&(((&L_99->___indentStack_50))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_101 = ___state0;
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4 L_102 = __this->___m_FontWeightStack_81;
L_101->___fontWeightStack_51 = L_102;
Il2CppCodeGenWriteBarrier((void**)&(((&L_101->___fontWeightStack_51))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_103 = ___state0;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 L_104 = __this->___m_baselineOffsetStack_245;
L_103->___baselineStack_53 = L_104;
Il2CppCodeGenWriteBarrier((void**)&(((&L_103->___baselineStack_53))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_105 = ___state0;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C L_106 = __this->___m_actionStack_242;
L_105->___actionStack_54 = L_106;
Il2CppCodeGenWriteBarrier((void**)&(((&L_105->___actionStack_54))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_107 = ___state0;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9 L_108 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49;
L_107->___materialReferenceStack_55 = L_108;
Il2CppCodeGenWriteBarrier((void**)&(((&L_107->___materialReferenceStack_55))->___itemStack_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&L_107->___materialReferenceStack_55))->___m_DefaultItem_2))->___fontAsset_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&L_107->___materialReferenceStack_55))->___m_DefaultItem_2))->___spriteAsset_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&L_107->___materialReferenceStack_55))->___m_DefaultItem_2))->___material_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&L_107->___materialReferenceStack_55))->___m_DefaultItem_2))->___fallbackMaterial_6), (void*)NULL);
#endif
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_109 = ___state0;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0 L_110 = __this->___m_lineJustificationStack_98;
L_109->___lineJustificationStack_56 = L_110;
Il2CppCodeGenWriteBarrier((void**)&(((&L_109->___lineJustificationStack_56))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_111 = ___state0;
int32_t L_112 = __this->___m_spriteAnimationID_255;
L_111->___spriteAnimationID_57 = L_112;
int32_t L_113 = __this->___m_lineNumber_214;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_114 = __this->___m_textInfo_154;
NullCheck(L_114);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_115 = L_114->___lineInfo_14;
NullCheck(L_115);
V_0 = (bool)((((int32_t)L_113) < ((int32_t)((int32_t)(((RuntimeArray*)L_115)->max_length))))? 1 : 0);
bool L_116 = V_0;
if (!L_116)
{
goto IL_02d0;
}
}
{
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_117 = ___state0;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_118 = __this->___m_textInfo_154;
NullCheck(L_118);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_119 = L_118->___lineInfo_14;
int32_t L_120 = __this->___m_lineNumber_214;
NullCheck(L_119);
int32_t L_121 = L_120;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 L_122 = (L_119)->GetAt(static_cast<il2cpp_array_size_t>(L_121));
L_117->___lineInfo_36 = L_122;
}
IL_02d0:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_RestoreWordWrappingState_mB126C83C447A92E11F6AC19C2BBBD923C74D8FCA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* ___state0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
bool V_1 = false;
int32_t V_2 = 0;
{
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_0 = ___state0;
int32_t L_1 = L_0->___previous_WordBreak_0;
V_0 = L_1;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_2 = ___state0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_3 = L_2->___currentFontAsset_58;
__this->___m_currentFontAsset_43 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentFontAsset_43), (void*)L_3);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_4 = ___state0;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_5 = L_4->___currentSpriteAsset_59;
__this->___m_currentSpriteAsset_252 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentSpriteAsset_252), (void*)L_5);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_6 = ___state0;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_7 = L_6->___currentMaterial_60;
__this->___m_currentMaterial_46 = L_7;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentMaterial_46), (void*)L_7);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_8 = ___state0;
int32_t L_9 = L_8->___currentMaterialIndex_61;
__this->___m_currentMaterialIndex_50 = L_9;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_10 = ___state0;
int32_t L_11 = L_10->___total_CharacterCount_1;
__this->___m_characterCount_209 = ((int32_t)il2cpp_codegen_add(L_11, 1));
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_12 = ___state0;
int32_t L_13 = L_12->___visible_CharacterCount_2;
__this->___m_lineVisibleCharacterCount_215 = L_13;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_14 = __this->___m_textInfo_154;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_15 = ___state0;
int32_t L_16 = L_15->___visible_LinkCount_4;
NullCheck(L_14);
L_14->___linkCount_7 = L_16;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_17 = ___state0;
int32_t L_18 = L_17->___firstCharacterIndex_5;
__this->___m_firstCharacterOfLine_210 = L_18;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_19 = ___state0;
int32_t L_20 = L_19->___firstVisibleCharacterIndex_6;
__this->___m_firstVisibleCharacterOfLine_211 = L_20;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_21 = ___state0;
int32_t L_22 = L_21->___lastVisibleCharIndex_8;
__this->___m_lastVisibleCharacterOfLine_213 = L_22;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_23 = ___state0;
int32_t L_24 = L_23->___fontStyle_25;
__this->___m_FontStyleInternal_91 = L_24;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_25 = ___state0;
int32_t L_26 = L_25->___italicAngle_26;
__this->___m_ItalicAngle_241 = L_26;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_27 = ___state0;
float L_28 = L_27->___fontScaleMultiplier_27;
__this->___m_fontScaleMultiplier_188 = L_28;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_29 = ___state0;
float L_30 = L_29->___currentFontSize_28;
__this->___m_currentFontSize_76 = L_30;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_31 = ___state0;
float L_32 = L_31->___xAdvance_20;
__this->___m_xAdvance_246 = L_32;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_33 = ___state0;
float L_34 = L_33->___maxCapHeight_10;
__this->___m_maxCapHeight_219 = L_34;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_35 = ___state0;
float L_36 = L_35->___maxAscender_11;
__this->___m_maxTextAscender_218 = L_36;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_37 = ___state0;
float L_38 = L_37->___maxDescender_12;
__this->___m_ElementDescender_221 = L_38;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_39 = ___state0;
float L_40 = L_39->___startOfLineAscender_13;
__this->___m_startOfLineAscender_224 = L_40;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_41 = ___state0;
float L_42 = L_41->___maxLineAscender_14;
__this->___m_maxLineAscender_222 = L_42;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_43 = ___state0;
float L_44 = L_43->___maxLineDescender_15;
__this->___m_maxLineDescender_223 = L_44;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_45 = ___state0;
float L_46 = L_45->___pageAscender_16;
__this->___m_PageAscender_217 = L_46;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_47 = ___state0;
float L_48 = L_47->___preferredWidth_21;
__this->___m_preferredWidth_176 = L_48;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_49 = ___state0;
float L_50 = L_49->___preferredHeight_22;
__this->___m_preferredHeight_179 = L_50;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_51 = ___state0;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 L_52 = L_51->___meshExtents_62;
__this->___m_meshExtents_227 = L_52;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_53 = ___state0;
int32_t L_54 = L_53->___lineNumber_9;
__this->___m_lineNumber_214 = L_54;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_55 = ___state0;
float L_56 = L_55->___lineOffset_30;
__this->___m_lineOffset_226 = L_56;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_57 = ___state0;
float L_58 = L_57->___baselineOffset_29;
__this->___m_baselineOffset_244 = L_58;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_59 = ___state0;
bool L_60 = L_59->___isDrivenLineSpacing_31;
__this->___m_IsDrivenLineSpacing_107 = L_60;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_61 = ___state0;
float L_62 = L_61->___glyphHorizontalAdvanceAdjustment_32;
__this->___m_GlyphHorizontalAdvanceAdjustment_123 = L_62;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_63 = ___state0;
float L_64 = L_63->___cSpace_33;
__this->___m_cSpacing_101 = L_64;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_65 = ___state0;
float L_66 = L_65->___mSpace_34;
__this->___m_monoSpacing_102 = L_66;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_67 = ___state0;
int32_t L_68 = L_67->___horizontalAlignment_17;
__this->___m_lineJustification_97 = L_68;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_69 = ___state0;
float L_70 = L_69->___marginLeft_18;
__this->___m_marginLeft_149 = L_70;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_71 = ___state0;
float L_72 = L_71->___marginRight_19;
__this->___m_marginRight_150 = L_72;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_73 = ___state0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_74 = L_73->___vertexColor_37;
__this->___m_htmlColor_228 = L_74;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_75 = ___state0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_76 = L_75->___underlineColor_38;
__this->___m_underlineColor_58 = L_76;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_77 = ___state0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_78 = L_77->___strikethroughColor_39;
__this->___m_strikethroughColor_59 = L_78;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_79 = ___state0;
bool L_80 = L_79->___isNonBreakingSpace_64;
__this->___m_isNonBreakingSpace_114 = L_80;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_81 = ___state0;
bool L_82 = L_81->___tagNoParsing_63;
__this->___tag_NoParsing_195 = L_82;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_83 = ___state0;
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC L_84 = L_83->___basicStyleStack_41;
__this->___m_fontStyleStack_92 = L_84;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_85 = ___state0;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C L_86 = L_85->___italicAngleStack_42;
__this->___m_ItalicAngleStack_240 = L_86;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_ItalicAngleStack_240))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_87 = ___state0;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 L_88 = L_87->___colorStack_43;
__this->___m_colorStack_229 = L_88;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_colorStack_229))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_89 = ___state0;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 L_90 = L_89->___underlineColorStack_44;
__this->___m_underlineColorStack_230 = L_90;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_underlineColorStack_230))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_91 = ___state0;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 L_92 = L_91->___strikethroughColorStack_45;
__this->___m_strikethroughColorStack_231 = L_92;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_strikethroughColorStack_231))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_93 = ___state0;
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D L_94 = L_93->___highlightStateStack_47;
__this->___m_HighlightStateStack_232 = L_94;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_HighlightStateStack_232))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_95 = ___state0;
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C L_96 = L_95->___colorGradientStack_48;
__this->___m_colorGradientStack_234 = L_96;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_colorGradientStack_234))->___itemStack_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_colorGradientStack_234))->___m_DefaultItem_2), (void*)NULL);
#endif
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_97 = ___state0;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 L_98 = L_97->___sizeStack_49;
__this->___m_sizeStack_78 = L_98;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_sizeStack_78))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_99 = ___state0;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 L_100 = L_99->___indentStack_50;
__this->___m_indentStack_194 = L_100;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_indentStack_194))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_101 = ___state0;
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4 L_102 = L_101->___fontWeightStack_51;
__this->___m_FontWeightStack_81 = L_102;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_FontWeightStack_81))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_103 = ___state0;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 L_104 = L_103->___baselineStack_53;
__this->___m_baselineOffsetStack_245 = L_104;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_baselineOffsetStack_245))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_105 = ___state0;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C L_106 = L_105->___actionStack_54;
__this->___m_actionStack_242 = L_106;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_actionStack_242))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_107 = ___state0;
TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9 L_108 = L_107->___materialReferenceStack_55;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49 = L_108;
Il2CppCodeGenWriteBarrier((void**)&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49))->___itemStack_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49))->___m_DefaultItem_2))->___fontAsset_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49))->___m_DefaultItem_2))->___spriteAsset_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49))->___m_DefaultItem_2))->___material_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49))->___m_DefaultItem_2))->___fallbackMaterial_6), (void*)NULL);
#endif
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_109 = ___state0;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0 L_110 = L_109->___lineJustificationStack_56;
__this->___m_lineJustificationStack_98 = L_110;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_lineJustificationStack_98))->___itemStack_0), (void*)NULL);
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_111 = ___state0;
int32_t L_112 = L_111->___spriteAnimationID_57;
__this->___m_spriteAnimationID_255 = L_112;
int32_t L_113 = __this->___m_lineNumber_214;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_114 = __this->___m_textInfo_154;
NullCheck(L_114);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_115 = L_114->___lineInfo_14;
NullCheck(L_115);
V_1 = (bool)((((int32_t)L_113) < ((int32_t)((int32_t)(((RuntimeArray*)L_115)->max_length))))? 1 : 0);
bool L_116 = V_1;
if (!L_116)
{
goto IL_02d7;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_117 = __this->___m_textInfo_154;
NullCheck(L_117);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_118 = L_117->___lineInfo_14;
int32_t L_119 = __this->___m_lineNumber_214;
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A* L_120 = ___state0;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 L_121 = L_120->___lineInfo_36;
NullCheck(L_118);
(L_118)->SetAt(static_cast<il2cpp_array_size_t>(L_119), (TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3)L_121);
}
IL_02d7:
{
int32_t L_122 = V_0;
V_2 = L_122;
goto IL_02db;
}
IL_02db:
{
int32_t L_123 = V_2;
return L_123;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SaveGlyphVertexInfo_mFFB0B3A7B1DBA2EE3F4116DB0AD2D7BA2A7BADBE (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___padding0, float ___style_padding1, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___vertexColor2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D V_0;
memset((&V_0), 0, sizeof(V_0));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_1;
memset((&V_1), 0, sizeof(V_1));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_2;
memset((&V_2), 0, sizeof(V_2));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_3;
memset((&V_3), 0, sizeof(V_3));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_4;
memset((&V_4), 0, sizeof(V_4));
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B2_0 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B1_0 = NULL;
uint8_t G_B3_0 = 0x0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B3_1 = NULL;
int32_t G_B8_0 = 0;
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_0 = __this->___m_textInfo_154;
NullCheck(L_0);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_1 = L_0->___characterInfo_11;
int32_t L_2 = __this->___m_characterCount_209;
NullCheck(L_1);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_3 = (&((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___vertex_BL_15);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_4 = __this->___m_textInfo_154;
NullCheck(L_4);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_5 = L_4->___characterInfo_11;
int32_t L_6 = __this->___m_characterCount_209;
NullCheck(L_5);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6)))->___bottomLeft_20;
L_3->___position_0 = L_7;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_8 = __this->___m_textInfo_154;
NullCheck(L_8);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_9 = L_8->___characterInfo_11;
int32_t L_10 = __this->___m_characterCount_209;
NullCheck(L_9);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_11 = (&((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_10)))->___vertex_TL_16);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_12 = __this->___m_textInfo_154;
NullCheck(L_12);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_13 = L_12->___characterInfo_11;
int32_t L_14 = __this->___m_characterCount_209;
NullCheck(L_13);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = ((L_13)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_14)))->___topLeft_19;
L_11->___position_0 = L_15;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_16 = __this->___m_textInfo_154;
NullCheck(L_16);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_17 = L_16->___characterInfo_11;
int32_t L_18 = __this->___m_characterCount_209;
NullCheck(L_17);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_19 = (&((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_18)))->___vertex_TR_17);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_20 = __this->___m_textInfo_154;
NullCheck(L_20);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_21 = L_20->___characterInfo_11;
int32_t L_22 = __this->___m_characterCount_209;
NullCheck(L_21);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = ((L_21)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_22)))->___topRight_21;
L_19->___position_0 = L_23;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_24 = __this->___m_textInfo_154;
NullCheck(L_24);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_25 = L_24->___characterInfo_11;
int32_t L_26 = __this->___m_characterCount_209;
NullCheck(L_25);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_27 = (&((L_25)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_26)))->___vertex_BR_18);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_28 = __this->___m_textInfo_154;
NullCheck(L_28);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_29 = L_28->___characterInfo_11;
int32_t L_30 = __this->___m_characterCount_209;
NullCheck(L_29);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = ((L_29)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_30)))->___bottomRight_22;
L_27->___position_0 = L_31;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_32 = (&__this->___m_fontColor32_55);
uint8_t L_33 = L_32->___a_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_34 = ___vertexColor2;
uint8_t L_35 = L_34.___a_4;
if ((((int32_t)L_33) < ((int32_t)L_35)))
{
G_B2_0 = (&___vertexColor2);
goto IL_010a;
}
G_B1_0 = (&___vertexColor2);
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_36 = ___vertexColor2;
uint8_t L_37 = L_36.___a_4;
G_B3_0 = L_37;
G_B3_1 = G_B1_0;
goto IL_0115;
}
IL_010a:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_38 = (&__this->___m_fontColor32_55);
uint8_t L_39 = L_38->___a_4;
G_B3_0 = L_39;
G_B3_1 = G_B2_0;
}
IL_0115:
{
G_B3_1->___a_4 = G_B3_0;
bool L_40 = __this->___m_enableVertexGradient_60;
V_5 = (bool)((((int32_t)L_40) == ((int32_t)0))? 1 : 0);
bool L_41 = V_5;
if (!L_41)
{
goto IL_01b7;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_42 = __this->___m_textInfo_154;
NullCheck(L_42);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_43 = L_42->___characterInfo_11;
int32_t L_44 = __this->___m_characterCount_209;
NullCheck(L_43);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_45 = (&((L_43)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_44)))->___vertex_BL_15);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_46 = ___vertexColor2;
L_45->___color_4 = L_46;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_47 = __this->___m_textInfo_154;
NullCheck(L_47);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_48 = L_47->___characterInfo_11;
int32_t L_49 = __this->___m_characterCount_209;
NullCheck(L_48);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_50 = (&((L_48)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_49)))->___vertex_TL_16);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_51 = ___vertexColor2;
L_50->___color_4 = L_51;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_52 = __this->___m_textInfo_154;
NullCheck(L_52);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_53 = L_52->___characterInfo_11;
int32_t L_54 = __this->___m_characterCount_209;
NullCheck(L_53);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_55 = (&((L_53)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_54)))->___vertex_TR_17);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_56 = ___vertexColor2;
L_55->___color_4 = L_56;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_57 = __this->___m_textInfo_154;
NullCheck(L_57);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_58 = L_57->___characterInfo_11;
int32_t L_59 = __this->___m_characterCount_209;
NullCheck(L_58);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_60 = (&((L_58)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_59)))->___vertex_BR_18);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_61 = ___vertexColor2;
L_60->___color_4 = L_61;
goto IL_045e;
}
IL_01b7:
{
bool L_62 = __this->___m_overrideHtmlColors_71;
if (L_62)
{
goto IL_01d0;
}
}
{
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_63 = (&__this->___m_colorStack_229);
int32_t L_64 = L_63->___index_1;
G_B8_0 = ((((int32_t)L_64) > ((int32_t)1))? 1 : 0);
goto IL_01d1;
}
IL_01d0:
{
G_B8_0 = 0;
}
IL_01d1:
{
V_6 = (bool)G_B8_0;
bool L_65 = V_6;
if (!L_65)
{
goto IL_0265;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_66 = __this->___m_textInfo_154;
NullCheck(L_66);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_67 = L_66->___characterInfo_11;
int32_t L_68 = __this->___m_characterCount_209;
NullCheck(L_67);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_69 = (&((L_67)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_68)))->___vertex_BL_15);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_70 = ___vertexColor2;
L_69->___color_4 = L_70;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_71 = __this->___m_textInfo_154;
NullCheck(L_71);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_72 = L_71->___characterInfo_11;
int32_t L_73 = __this->___m_characterCount_209;
NullCheck(L_72);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_74 = (&((L_72)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_73)))->___vertex_TL_16);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_75 = ___vertexColor2;
L_74->___color_4 = L_75;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_76 = __this->___m_textInfo_154;
NullCheck(L_76);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_77 = L_76->___characterInfo_11;
int32_t L_78 = __this->___m_characterCount_209;
NullCheck(L_77);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_79 = (&((L_77)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_78)))->___vertex_TR_17);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_80 = ___vertexColor2;
L_79->___color_4 = L_80;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_81 = __this->___m_textInfo_154;
NullCheck(L_81);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_82 = L_81->___characterInfo_11;
int32_t L_83 = __this->___m_characterCount_209;
NullCheck(L_82);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_84 = (&((L_82)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_83)))->___vertex_BR_18);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_85 = ___vertexColor2;
L_84->___color_4 = L_85;
goto IL_045d;
}
IL_0265:
{
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_86 = __this->___m_fontColorGradientPreset_63;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_87;
L_87 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_86, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_7 = L_87;
bool L_88 = V_7;
if (!L_88)
{
goto IL_036e;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_89 = __this->___m_textInfo_154;
NullCheck(L_89);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_90 = L_89->___characterInfo_11;
int32_t L_91 = __this->___m_characterCount_209;
NullCheck(L_90);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_92 = (&((L_90)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_91)))->___vertex_BL_15);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_93 = __this->___m_fontColorGradientPreset_63;
NullCheck(L_93);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_94 = L_93->___bottomLeft_7;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_95 = ___vertexColor2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_96;
L_96 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_95, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_97;
L_97 = Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline(L_94, L_96, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_98;
L_98 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_97, NULL);
L_92->___color_4 = L_98;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_99 = __this->___m_textInfo_154;
NullCheck(L_99);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_100 = L_99->___characterInfo_11;
int32_t L_101 = __this->___m_characterCount_209;
NullCheck(L_100);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_102 = (&((L_100)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_101)))->___vertex_TL_16);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_103 = __this->___m_fontColorGradientPreset_63;
NullCheck(L_103);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_104 = L_103->___topLeft_5;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_105 = ___vertexColor2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_106;
L_106 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_105, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_107;
L_107 = Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline(L_104, L_106, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_108;
L_108 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_107, NULL);
L_102->___color_4 = L_108;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_109 = __this->___m_textInfo_154;
NullCheck(L_109);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_110 = L_109->___characterInfo_11;
int32_t L_111 = __this->___m_characterCount_209;
NullCheck(L_110);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_112 = (&((L_110)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_111)))->___vertex_TR_17);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_113 = __this->___m_fontColorGradientPreset_63;
NullCheck(L_113);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_114 = L_113->___topRight_6;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_115 = ___vertexColor2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_116;
L_116 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_115, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_117;
L_117 = Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline(L_114, L_116, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_118;
L_118 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_117, NULL);
L_112->___color_4 = L_118;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_119 = __this->___m_textInfo_154;
NullCheck(L_119);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_120 = L_119->___characterInfo_11;
int32_t L_121 = __this->___m_characterCount_209;
NullCheck(L_120);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_122 = (&((L_120)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_121)))->___vertex_BR_18);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_123 = __this->___m_fontColorGradientPreset_63;
NullCheck(L_123);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_124 = L_123->___bottomRight_8;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_125 = ___vertexColor2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_126;
L_126 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_125, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_127;
L_127 = Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline(L_124, L_126, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_128;
L_128 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_127, NULL);
L_122->___color_4 = L_128;
goto IL_045c;
}
IL_036e:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_129 = __this->___m_textInfo_154;
NullCheck(L_129);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_130 = L_129->___characterInfo_11;
int32_t L_131 = __this->___m_characterCount_209;
NullCheck(L_130);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_132 = (&((L_130)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_131)))->___vertex_BL_15);
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* L_133 = (&__this->___m_fontColorGradient_62);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_134 = L_133->___bottomLeft_2;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_135 = ___vertexColor2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_136;
L_136 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_135, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_137;
L_137 = Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline(L_134, L_136, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_138;
L_138 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_137, NULL);
L_132->___color_4 = L_138;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_139 = __this->___m_textInfo_154;
NullCheck(L_139);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_140 = L_139->___characterInfo_11;
int32_t L_141 = __this->___m_characterCount_209;
NullCheck(L_140);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_142 = (&((L_140)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_141)))->___vertex_TL_16);
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* L_143 = (&__this->___m_fontColorGradient_62);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_144 = L_143->___topLeft_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_145 = ___vertexColor2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_146;
L_146 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_145, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_147;
L_147 = Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline(L_144, L_146, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_148;
L_148 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_147, NULL);
L_142->___color_4 = L_148;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_149 = __this->___m_textInfo_154;
NullCheck(L_149);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_150 = L_149->___characterInfo_11;
int32_t L_151 = __this->___m_characterCount_209;
NullCheck(L_150);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_152 = (&((L_150)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_151)))->___vertex_TR_17);
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* L_153 = (&__this->___m_fontColorGradient_62);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_154 = L_153->___topRight_1;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_155 = ___vertexColor2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_156;
L_156 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_155, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_157;
L_157 = Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline(L_154, L_156, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_158;
L_158 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_157, NULL);
L_152->___color_4 = L_158;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_159 = __this->___m_textInfo_154;
NullCheck(L_159);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_160 = L_159->___characterInfo_11;
int32_t L_161 = __this->___m_characterCount_209;
NullCheck(L_160);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_162 = (&((L_160)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_161)))->___vertex_BR_18);
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* L_163 = (&__this->___m_fontColorGradient_62);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_164 = L_163->___bottomRight_3;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_165 = ___vertexColor2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_166;
L_166 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_165, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_167;
L_167 = Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline(L_164, L_166, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_168;
L_168 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_167, NULL);
L_162->___color_4 = L_168;
}
IL_045c:
{
}
IL_045d:
{
}
IL_045e:
{
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_169 = __this->___m_colorGradientPreset_233;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_170;
L_170 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_169, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_8 = L_170;
bool L_171 = V_8;
if (!L_171)
{
goto IL_068d;
}
}
{
bool L_172 = __this->___m_colorGradientPresetIsTinted_235;
V_9 = L_172;
bool L_173 = V_9;
if (!L_173)
{
goto IL_059e;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_174 = __this->___m_textInfo_154;
NullCheck(L_174);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_175 = L_174->___characterInfo_11;
int32_t L_176 = __this->___m_characterCount_209;
NullCheck(L_175);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_177 = (&((L_175)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_176)))->___vertex_BL_15);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_178 = (&L_177->___color_4);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_179 = L_178;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_180 = (*(Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B*)L_179);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_181;
L_181 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_180, NULL);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_182 = __this->___m_colorGradientPreset_233;
NullCheck(L_182);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_183 = L_182->___bottomLeft_7;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_184;
L_184 = Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline(L_181, L_183, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_185;
L_185 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_184, NULL);
*(Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B*)L_179 = L_185;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_186 = __this->___m_textInfo_154;
NullCheck(L_186);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_187 = L_186->___characterInfo_11;
int32_t L_188 = __this->___m_characterCount_209;
NullCheck(L_187);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_189 = (&((L_187)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_188)))->___vertex_TL_16);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_190 = (&L_189->___color_4);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_191 = L_190;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_192 = (*(Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B*)L_191);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_193;
L_193 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_192, NULL);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_194 = __this->___m_colorGradientPreset_233;
NullCheck(L_194);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_195 = L_194->___topLeft_5;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_196;
L_196 = Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline(L_193, L_195, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_197;
L_197 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_196, NULL);
*(Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B*)L_191 = L_197;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_198 = __this->___m_textInfo_154;
NullCheck(L_198);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_199 = L_198->___characterInfo_11;
int32_t L_200 = __this->___m_characterCount_209;
NullCheck(L_199);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_201 = (&((L_199)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_200)))->___vertex_TR_17);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_202 = (&L_201->___color_4);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_203 = L_202;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_204 = (*(Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B*)L_203);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_205;
L_205 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_204, NULL);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_206 = __this->___m_colorGradientPreset_233;
NullCheck(L_206);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_207 = L_206->___topRight_6;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_208;
L_208 = Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline(L_205, L_207, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_209;
L_209 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_208, NULL);
*(Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B*)L_203 = L_209;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_210 = __this->___m_textInfo_154;
NullCheck(L_210);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_211 = L_210->___characterInfo_11;
int32_t L_212 = __this->___m_characterCount_209;
NullCheck(L_211);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_213 = (&((L_211)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_212)))->___vertex_BR_18);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_214 = (&L_213->___color_4);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_215 = L_214;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_216 = (*(Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B*)L_215);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_217;
L_217 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_216, NULL);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_218 = __this->___m_colorGradientPreset_233;
NullCheck(L_218);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_219 = L_218->___bottomRight_8;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_220;
L_220 = Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline(L_217, L_219, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_221;
L_221 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_220, NULL);
*(Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B*)L_215 = L_221;
goto IL_068c;
}
IL_059e:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_222 = __this->___m_textInfo_154;
NullCheck(L_222);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_223 = L_222->___characterInfo_11;
int32_t L_224 = __this->___m_characterCount_209;
NullCheck(L_223);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_225 = (&((L_223)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_224)))->___vertex_BL_15);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_226 = __this->___m_colorGradientPreset_233;
NullCheck(L_226);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_227 = L_226->___bottomLeft_7;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_228 = ___vertexColor2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_229;
L_229 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_228, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_230;
L_230 = TMPro_ExtensionMethods_MinAlpha_mBDF86191325DE876306DFADE5EB6A27A5DB5F1CE(L_227, L_229, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_231;
L_231 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_230, NULL);
L_225->___color_4 = L_231;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_232 = __this->___m_textInfo_154;
NullCheck(L_232);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_233 = L_232->___characterInfo_11;
int32_t L_234 = __this->___m_characterCount_209;
NullCheck(L_233);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_235 = (&((L_233)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_234)))->___vertex_TL_16);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_236 = __this->___m_colorGradientPreset_233;
NullCheck(L_236);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_237 = L_236->___topLeft_5;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_238 = ___vertexColor2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_239;
L_239 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_238, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_240;
L_240 = TMPro_ExtensionMethods_MinAlpha_mBDF86191325DE876306DFADE5EB6A27A5DB5F1CE(L_237, L_239, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_241;
L_241 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_240, NULL);
L_235->___color_4 = L_241;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_242 = __this->___m_textInfo_154;
NullCheck(L_242);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_243 = L_242->___characterInfo_11;
int32_t L_244 = __this->___m_characterCount_209;
NullCheck(L_243);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_245 = (&((L_243)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_244)))->___vertex_TR_17);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_246 = __this->___m_colorGradientPreset_233;
NullCheck(L_246);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_247 = L_246->___topRight_6;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_248 = ___vertexColor2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_249;
L_249 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_248, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_250;
L_250 = TMPro_ExtensionMethods_MinAlpha_mBDF86191325DE876306DFADE5EB6A27A5DB5F1CE(L_247, L_249, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_251;
L_251 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_250, NULL);
L_245->___color_4 = L_251;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_252 = __this->___m_textInfo_154;
NullCheck(L_252);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_253 = L_252->___characterInfo_11;
int32_t L_254 = __this->___m_characterCount_209;
NullCheck(L_253);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_255 = (&((L_253)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_254)))->___vertex_BR_18);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_256 = __this->___m_colorGradientPreset_233;
NullCheck(L_256);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_257 = L_256->___bottomRight_8;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_258 = ___vertexColor2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_259;
L_259 = Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline(L_258, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_260;
L_260 = TMPro_ExtensionMethods_MinAlpha_mBDF86191325DE876306DFADE5EB6A27A5DB5F1CE(L_257, L_259, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_261;
L_261 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_260, NULL);
L_255->___color_4 = L_261;
}
IL_068c:
{
}
IL_068d:
{
bool L_262 = __this->___m_isSDFShader_44;
V_10 = (bool)((((int32_t)L_262) == ((int32_t)0))? 1 : 0);
bool L_263 = V_10;
if (!L_263)
{
goto IL_06a3;
}
}
{
___style_padding1 = (0.0f);
}
IL_06a3:
{
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* L_264 = __this->___m_cached_TextElement_248;
NullCheck(L_264);
Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* L_265 = L_264->___m_Glyph_3;
NullCheck(L_265);
GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D L_266;
L_266 = Glyph_get_glyphRect_m94E7C5FE682695CDC096248EF027079F33768EE5(L_265, NULL);
V_0 = L_266;
int32_t L_267;
L_267 = GlyphRect_get_x_m453EECC6C6F08602B1F74C5E1D8EE1163236A898((&V_0), NULL);
float L_268 = ___padding0;
float L_269 = ___style_padding1;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_270 = __this->___m_currentFontAsset_43;
NullCheck(L_270);
int32_t L_271 = L_270->___m_AtlasWidth_26;
(&V_1)->___x_0 = ((float)(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)L_267), L_268)), L_269))/((float)L_271)));
int32_t L_272;
L_272 = GlyphRect_get_y_mE31390BB3185EEA82DD16EA41E208F6A0397E3EA((&V_0), NULL);
float L_273 = ___padding0;
float L_274 = ___style_padding1;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_275 = __this->___m_currentFontAsset_43;
NullCheck(L_275);
int32_t L_276 = L_275->___m_AtlasHeight_27;
(&V_1)->___y_1 = ((float)(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)L_272), L_273)), L_274))/((float)L_276)));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_277 = V_1;
float L_278 = L_277.___x_0;
(&V_2)->___x_0 = L_278;
int32_t L_279;
L_279 = GlyphRect_get_y_mE31390BB3185EEA82DD16EA41E208F6A0397E3EA((&V_0), NULL);
float L_280 = ___padding0;
float L_281 = ___style_padding1;
int32_t L_282;
L_282 = GlyphRect_get_height_m7F4D04452994E0D18762BB44352608E484DAAC1A((&V_0), NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_283 = __this->___m_currentFontAsset_43;
NullCheck(L_283);
int32_t L_284 = L_283->___m_AtlasHeight_27;
(&V_2)->___y_1 = ((float)(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)L_279), L_280)), L_281)), ((float)L_282)))/((float)L_284)));
int32_t L_285;
L_285 = GlyphRect_get_x_m453EECC6C6F08602B1F74C5E1D8EE1163236A898((&V_0), NULL);
float L_286 = ___padding0;
float L_287 = ___style_padding1;
int32_t L_288;
L_288 = GlyphRect_get_width_mD291C7644BBF18D6A213427F6C9C28840F233F12((&V_0), NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_289 = __this->___m_currentFontAsset_43;
NullCheck(L_289);
int32_t L_290 = L_289->___m_AtlasWidth_26;
(&V_3)->___x_0 = ((float)(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)L_285), L_286)), L_287)), ((float)L_288)))/((float)L_290)));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_291 = V_2;
float L_292 = L_291.___y_1;
(&V_3)->___y_1 = L_292;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_293 = V_3;
float L_294 = L_293.___x_0;
(&V_4)->___x_0 = L_294;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_295 = V_1;
float L_296 = L_295.___y_1;
(&V_4)->___y_1 = L_296;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_297 = __this->___m_textInfo_154;
NullCheck(L_297);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_298 = L_297->___characterInfo_11;
int32_t L_299 = __this->___m_characterCount_209;
NullCheck(L_298);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_300 = (&((L_298)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_299)))->___vertex_BL_15);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_301 = V_1;
L_300->___uv_1 = L_301;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_302 = __this->___m_textInfo_154;
NullCheck(L_302);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_303 = L_302->___characterInfo_11;
int32_t L_304 = __this->___m_characterCount_209;
NullCheck(L_303);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_305 = (&((L_303)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_304)))->___vertex_TL_16);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_306 = V_2;
L_305->___uv_1 = L_306;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_307 = __this->___m_textInfo_154;
NullCheck(L_307);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_308 = L_307->___characterInfo_11;
int32_t L_309 = __this->___m_characterCount_209;
NullCheck(L_308);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_310 = (&((L_308)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_309)))->___vertex_TR_17);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_311 = V_3;
L_310->___uv_1 = L_311;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_312 = __this->___m_textInfo_154;
NullCheck(L_312);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_313 = L_312->___characterInfo_11;
int32_t L_314 = __this->___m_characterCount_209;
NullCheck(L_313);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_315 = (&((L_313)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_314)))->___vertex_BR_18);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_316 = V_4;
L_315->___uv_1 = L_316;
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SaveSpriteVertexInfo_mB11F4EA9C81BF4C58707941D616151EE6CD2BAC3 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___vertexColor0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_0;
memset((&V_0), 0, sizeof(V_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_1;
memset((&V_1), 0, sizeof(V_1));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_2;
memset((&V_2), 0, sizeof(V_2));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_3;
memset((&V_3), 0, sizeof(V_3));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_4;
memset((&V_4), 0, sizeof(V_4));
GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D V_5;
memset((&V_5), 0, sizeof(V_5));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_6;
memset((&V_6), 0, sizeof(V_6));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_7;
memset((&V_7), 0, sizeof(V_7));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_8;
memset((&V_8), 0, sizeof(V_8));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_9;
memset((&V_9), 0, sizeof(V_9));
bool V_10 = false;
uint8_t V_11 = 0x0;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B5_0;
memset((&G_B5_0), 0, sizeof(G_B5_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B7_0 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B6_0 = NULL;
uint8_t G_B11_0 = 0x0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B11_1 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B9_0 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B9_1 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B8_0 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B8_1 = NULL;
uint8_t G_B10_0 = 0x0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B10_1 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B10_2 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B16_0;
memset((&G_B16_0), 0, sizeof(G_B16_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B19_0;
memset((&G_B19_0), 0, sizeof(G_B19_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B22_0;
memset((&G_B22_0), 0, sizeof(G_B22_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B25_0;
memset((&G_B25_0), 0, sizeof(G_B25_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B29_0;
memset((&G_B29_0), 0, sizeof(G_B29_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B32_0;
memset((&G_B32_0), 0, sizeof(G_B32_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B35_0;
memset((&G_B35_0), 0, sizeof(G_B35_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B38_0;
memset((&G_B38_0), 0, sizeof(G_B38_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B44_0;
memset((&G_B44_0), 0, sizeof(G_B44_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B47_0;
memset((&G_B47_0), 0, sizeof(G_B47_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B50_0;
memset((&G_B50_0), 0, sizeof(G_B50_0));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B G_B53_0;
memset((&G_B53_0), 0, sizeof(G_B53_0));
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_0 = __this->___m_textInfo_154;
NullCheck(L_0);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_1 = L_0->___characterInfo_11;
int32_t L_2 = __this->___m_characterCount_209;
NullCheck(L_1);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_3 = (&((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___vertex_BL_15);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_4 = __this->___m_textInfo_154;
NullCheck(L_4);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_5 = L_4->___characterInfo_11;
int32_t L_6 = __this->___m_characterCount_209;
NullCheck(L_5);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6)))->___bottomLeft_20;
L_3->___position_0 = L_7;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_8 = __this->___m_textInfo_154;
NullCheck(L_8);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_9 = L_8->___characterInfo_11;
int32_t L_10 = __this->___m_characterCount_209;
NullCheck(L_9);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_11 = (&((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_10)))->___vertex_TL_16);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_12 = __this->___m_textInfo_154;
NullCheck(L_12);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_13 = L_12->___characterInfo_11;
int32_t L_14 = __this->___m_characterCount_209;
NullCheck(L_13);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = ((L_13)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_14)))->___topLeft_19;
L_11->___position_0 = L_15;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_16 = __this->___m_textInfo_154;
NullCheck(L_16);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_17 = L_16->___characterInfo_11;
int32_t L_18 = __this->___m_characterCount_209;
NullCheck(L_17);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_19 = (&((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_18)))->___vertex_TR_17);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_20 = __this->___m_textInfo_154;
NullCheck(L_20);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_21 = L_20->___characterInfo_11;
int32_t L_22 = __this->___m_characterCount_209;
NullCheck(L_21);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = ((L_21)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_22)))->___topRight_21;
L_19->___position_0 = L_23;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_24 = __this->___m_textInfo_154;
NullCheck(L_24);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_25 = L_24->___characterInfo_11;
int32_t L_26 = __this->___m_characterCount_209;
NullCheck(L_25);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_27 = (&((L_25)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_26)))->___vertex_BR_18);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_28 = __this->___m_textInfo_154;
NullCheck(L_28);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_29 = L_28->___characterInfo_11;
int32_t L_30 = __this->___m_characterCount_209;
NullCheck(L_29);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = ((L_29)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_30)))->___bottomRight_22;
L_27->___position_0 = L_31;
bool L_32 = __this->___m_tintAllSprites_65;
V_10 = L_32;
bool L_33 = V_10;
if (!L_33)
{
goto IL_0100;
}
}
{
__this->___m_tintSprite_66 = (bool)1;
}
IL_0100:
{
bool L_34 = __this->___m_tintSprite_66;
if (L_34)
{
goto IL_0110;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_35 = __this->___m_spriteColor_67;
G_B5_0 = L_35;
goto IL_011c;
}
IL_0110:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_36 = __this->___m_spriteColor_67;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_37 = ___vertexColor0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_38;
L_38 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_36, L_37, NULL);
G_B5_0 = L_38;
}
IL_011c:
{
V_0 = G_B5_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_39 = V_0;
uint8_t L_40 = L_39.___a_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_41 = (&__this->___m_fontColor32_55);
uint8_t L_42 = L_41->___a_4;
if ((((int32_t)L_40) < ((int32_t)L_42)))
{
G_B7_0 = (&V_0);
goto IL_013f;
}
G_B6_0 = (&V_0);
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_43 = (&__this->___m_fontColor32_55);
uint8_t L_44 = L_43->___a_4;
G_B11_0 = L_44;
G_B11_1 = G_B6_0;
goto IL_0167;
}
IL_013f:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_45 = V_0;
uint8_t L_46 = L_45.___a_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_47 = ___vertexColor0;
uint8_t L_48 = L_47.___a_4;
if ((((int32_t)L_46) < ((int32_t)L_48)))
{
G_B9_0 = (&V_0);
G_B9_1 = G_B7_0;
goto IL_0157;
}
G_B8_0 = (&V_0);
G_B8_1 = G_B7_0;
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_49 = ___vertexColor0;
uint8_t L_50 = L_49.___a_4;
G_B10_0 = L_50;
G_B10_1 = G_B8_0;
G_B10_2 = G_B8_1;
goto IL_015d;
}
IL_0157:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_51 = V_0;
uint8_t L_52 = L_51.___a_4;
G_B10_0 = L_52;
G_B10_1 = G_B9_0;
G_B10_2 = G_B9_1;
}
IL_015d:
{
uint8_t L_53 = G_B10_0;
V_11 = L_53;
G_B10_1->___a_4 = L_53;
uint8_t L_54 = V_11;
G_B11_0 = L_54;
G_B11_1 = G_B10_2;
}
IL_0167:
{
G_B11_1->___a_4 = G_B11_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_55 = V_0;
V_1 = L_55;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_56 = V_0;
V_2 = L_56;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_57 = V_0;
V_3 = L_57;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_58 = V_0;
V_4 = L_58;
bool L_59 = __this->___m_enableVertexGradient_60;
V_12 = L_59;
bool L_60 = V_12;
if (!L_60)
{
goto IL_02ba;
}
}
{
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_61 = __this->___m_fontColorGradientPreset_63;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_62;
L_62 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_61, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_13 = L_62;
bool L_63 = V_13;
if (!L_63)
{
goto IL_022c;
}
}
{
bool L_64 = __this->___m_tintSprite_66;
if (L_64)
{
goto IL_01a6;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_65 = V_1;
G_B16_0 = L_65;
goto IL_01bc;
}
IL_01a6:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_66 = V_1;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_67 = __this->___m_fontColorGradientPreset_63;
NullCheck(L_67);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_68 = L_67->___bottomLeft_7;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_69;
L_69 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_68, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_70;
L_70 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_66, L_69, NULL);
G_B16_0 = L_70;
}
IL_01bc:
{
V_1 = G_B16_0;
bool L_71 = __this->___m_tintSprite_66;
if (L_71)
{
goto IL_01c8;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_72 = V_2;
G_B19_0 = L_72;
goto IL_01de;
}
IL_01c8:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_73 = V_2;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_74 = __this->___m_fontColorGradientPreset_63;
NullCheck(L_74);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_75 = L_74->___topLeft_5;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_76;
L_76 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_75, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_77;
L_77 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_73, L_76, NULL);
G_B19_0 = L_77;
}
IL_01de:
{
V_2 = G_B19_0;
bool L_78 = __this->___m_tintSprite_66;
if (L_78)
{
goto IL_01ea;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_79 = V_3;
G_B22_0 = L_79;
goto IL_0200;
}
IL_01ea:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_80 = V_3;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_81 = __this->___m_fontColorGradientPreset_63;
NullCheck(L_81);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_82 = L_81->___topRight_6;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_83;
L_83 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_82, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_84;
L_84 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_80, L_83, NULL);
G_B22_0 = L_84;
}
IL_0200:
{
V_3 = G_B22_0;
bool L_85 = __this->___m_tintSprite_66;
if (L_85)
{
goto IL_020d;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_86 = V_4;
G_B25_0 = L_86;
goto IL_0224;
}
IL_020d:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_87 = V_4;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_88 = __this->___m_fontColorGradientPreset_63;
NullCheck(L_88);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_89 = L_88->___bottomRight_8;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_90;
L_90 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_89, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_91;
L_91 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_87, L_90, NULL);
G_B25_0 = L_91;
}
IL_0224:
{
V_4 = G_B25_0;
goto IL_02b9;
}
IL_022c:
{
bool L_92 = __this->___m_tintSprite_66;
if (L_92)
{
goto IL_0238;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_93 = V_1;
G_B29_0 = L_93;
goto IL_024e;
}
IL_0238:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_94 = V_1;
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* L_95 = (&__this->___m_fontColorGradient_62);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_96 = L_95->___bottomLeft_2;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_97;
L_97 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_96, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_98;
L_98 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_94, L_97, NULL);
G_B29_0 = L_98;
}
IL_024e:
{
V_1 = G_B29_0;
bool L_99 = __this->___m_tintSprite_66;
if (L_99)
{
goto IL_025a;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_100 = V_2;
G_B32_0 = L_100;
goto IL_0270;
}
IL_025a:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_101 = V_2;
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* L_102 = (&__this->___m_fontColorGradient_62);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_103 = L_102->___topLeft_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_104;
L_104 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_103, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_105;
L_105 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_101, L_104, NULL);
G_B32_0 = L_105;
}
IL_0270:
{
V_2 = G_B32_0;
bool L_106 = __this->___m_tintSprite_66;
if (L_106)
{
goto IL_027c;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_107 = V_3;
G_B35_0 = L_107;
goto IL_0292;
}
IL_027c:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_108 = V_3;
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* L_109 = (&__this->___m_fontColorGradient_62);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_110 = L_109->___topRight_1;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_111;
L_111 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_110, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_112;
L_112 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_108, L_111, NULL);
G_B35_0 = L_112;
}
IL_0292:
{
V_3 = G_B35_0;
bool L_113 = __this->___m_tintSprite_66;
if (L_113)
{
goto IL_029f;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_114 = V_4;
G_B38_0 = L_114;
goto IL_02b6;
}
IL_029f:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_115 = V_4;
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F* L_116 = (&__this->___m_fontColorGradient_62);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_117 = L_116->___bottomRight_3;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_118;
L_118 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_117, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_119;
L_119 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_115, L_118, NULL);
G_B38_0 = L_119;
}
IL_02b6:
{
V_4 = G_B38_0;
}
IL_02b9:
{
}
IL_02ba:
{
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_120 = __this->___m_colorGradientPreset_233;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_121;
L_121 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_120, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_14 = L_121;
bool L_122 = V_14;
if (!L_122)
{
goto IL_035c;
}
}
{
bool L_123 = __this->___m_tintSprite_66;
if (L_123)
{
goto IL_02db;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_124 = V_1;
G_B44_0 = L_124;
goto IL_02f1;
}
IL_02db:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_125 = V_1;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_126 = __this->___m_colorGradientPreset_233;
NullCheck(L_126);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_127 = L_126->___bottomLeft_7;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_128;
L_128 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_127, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_129;
L_129 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_125, L_128, NULL);
G_B44_0 = L_129;
}
IL_02f1:
{
V_1 = G_B44_0;
bool L_130 = __this->___m_tintSprite_66;
if (L_130)
{
goto IL_02fd;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_131 = V_2;
G_B47_0 = L_131;
goto IL_0313;
}
IL_02fd:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_132 = V_2;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_133 = __this->___m_colorGradientPreset_233;
NullCheck(L_133);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_134 = L_133->___topLeft_5;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_135;
L_135 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_134, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_136;
L_136 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_132, L_135, NULL);
G_B47_0 = L_136;
}
IL_0313:
{
V_2 = G_B47_0;
bool L_137 = __this->___m_tintSprite_66;
if (L_137)
{
goto IL_031f;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_138 = V_3;
G_B50_0 = L_138;
goto IL_0335;
}
IL_031f:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_139 = V_3;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_140 = __this->___m_colorGradientPreset_233;
NullCheck(L_140);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_141 = L_140->___topRight_6;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_142;
L_142 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_141, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_143;
L_143 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_139, L_142, NULL);
G_B50_0 = L_143;
}
IL_0335:
{
V_3 = G_B50_0;
bool L_144 = __this->___m_tintSprite_66;
if (L_144)
{
goto IL_0342;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_145 = V_4;
G_B53_0 = L_145;
goto IL_0359;
}
IL_0342:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_146 = V_4;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_147 = __this->___m_colorGradientPreset_233;
NullCheck(L_147);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_148 = L_147->___bottomRight_8;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_149;
L_149 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_148, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_150;
L_150 = TMPro_ExtensionMethods_Multiply_m110996D0A26FD6BB8231C5BFA1913F01AFDB8BAB(L_146, L_149, NULL);
G_B53_0 = L_150;
}
IL_0359:
{
V_4 = G_B53_0;
}
IL_035c:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_151 = __this->___m_textInfo_154;
NullCheck(L_151);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_152 = L_151->___characterInfo_11;
int32_t L_153 = __this->___m_characterCount_209;
NullCheck(L_152);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_154 = (&((L_152)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_153)))->___vertex_BL_15);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_155 = V_1;
L_154->___color_4 = L_155;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_156 = __this->___m_textInfo_154;
NullCheck(L_156);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_157 = L_156->___characterInfo_11;
int32_t L_158 = __this->___m_characterCount_209;
NullCheck(L_157);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_159 = (&((L_157)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_158)))->___vertex_TL_16);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_160 = V_2;
L_159->___color_4 = L_160;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_161 = __this->___m_textInfo_154;
NullCheck(L_161);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_162 = L_161->___characterInfo_11;
int32_t L_163 = __this->___m_characterCount_209;
NullCheck(L_162);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_164 = (&((L_162)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_163)))->___vertex_TR_17);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_165 = V_3;
L_164->___color_4 = L_165;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_166 = __this->___m_textInfo_154;
NullCheck(L_166);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_167 = L_166->___characterInfo_11;
int32_t L_168 = __this->___m_characterCount_209;
NullCheck(L_167);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_169 = (&((L_167)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_168)))->___vertex_BR_18);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_170 = V_4;
L_169->___color_4 = L_170;
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* L_171 = __this->___m_cached_TextElement_248;
NullCheck(L_171);
Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* L_172 = L_171->___m_Glyph_3;
NullCheck(L_172);
GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D L_173;
L_173 = Glyph_get_glyphRect_m94E7C5FE682695CDC096248EF027079F33768EE5(L_172, NULL);
V_5 = L_173;
int32_t L_174;
L_174 = GlyphRect_get_x_m453EECC6C6F08602B1F74C5E1D8EE1163236A898((&V_5), NULL);
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_175 = __this->___m_currentSpriteAsset_252;
NullCheck(L_175);
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_176 = L_175->___spriteSheet_12;
NullCheck(L_176);
int32_t L_177;
L_177 = VirtualFuncInvoker0< int32_t >::Invoke(5, L_176);
int32_t L_178;
L_178 = GlyphRect_get_y_mE31390BB3185EEA82DD16EA41E208F6A0397E3EA((&V_5), NULL);
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_179 = __this->___m_currentSpriteAsset_252;
NullCheck(L_179);
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_180 = L_179->___spriteSheet_12;
NullCheck(L_180);
int32_t L_181;
L_181 = VirtualFuncInvoker0< int32_t >::Invoke(7, L_180);
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_6), ((float)(((float)L_174)/((float)L_177))), ((float)(((float)L_178)/((float)L_181))), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_182 = V_6;
float L_183 = L_182.___x_0;
int32_t L_184;
L_184 = GlyphRect_get_y_mE31390BB3185EEA82DD16EA41E208F6A0397E3EA((&V_5), NULL);
int32_t L_185;
L_185 = GlyphRect_get_height_m7F4D04452994E0D18762BB44352608E484DAAC1A((&V_5), NULL);
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_186 = __this->___m_currentSpriteAsset_252;
NullCheck(L_186);
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_187 = L_186->___spriteSheet_12;
NullCheck(L_187);
int32_t L_188;
L_188 = VirtualFuncInvoker0< int32_t >::Invoke(7, L_187);
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_7), L_183, ((float)(((float)((int32_t)il2cpp_codegen_add(L_184, L_185)))/((float)L_188))), NULL);
int32_t L_189;
L_189 = GlyphRect_get_x_m453EECC6C6F08602B1F74C5E1D8EE1163236A898((&V_5), NULL);
int32_t L_190;
L_190 = GlyphRect_get_width_mD291C7644BBF18D6A213427F6C9C28840F233F12((&V_5), NULL);
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_191 = __this->___m_currentSpriteAsset_252;
NullCheck(L_191);
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_192 = L_191->___spriteSheet_12;
NullCheck(L_192);
int32_t L_193;
L_193 = VirtualFuncInvoker0< int32_t >::Invoke(5, L_192);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_194 = V_7;
float L_195 = L_194.___y_1;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_8), ((float)(((float)((int32_t)il2cpp_codegen_add(L_189, L_190)))/((float)L_193))), L_195, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_196 = V_8;
float L_197 = L_196.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_198 = V_6;
float L_199 = L_198.___y_1;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_9), L_197, L_199, NULL);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_200 = __this->___m_textInfo_154;
NullCheck(L_200);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_201 = L_200->___characterInfo_11;
int32_t L_202 = __this->___m_characterCount_209;
NullCheck(L_201);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_203 = (&((L_201)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_202)))->___vertex_BL_15);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_204 = V_6;
L_203->___uv_1 = L_204;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_205 = __this->___m_textInfo_154;
NullCheck(L_205);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_206 = L_205->___characterInfo_11;
int32_t L_207 = __this->___m_characterCount_209;
NullCheck(L_206);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_208 = (&((L_206)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_207)))->___vertex_TL_16);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_209 = V_7;
L_208->___uv_1 = L_209;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_210 = __this->___m_textInfo_154;
NullCheck(L_210);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_211 = L_210->___characterInfo_11;
int32_t L_212 = __this->___m_characterCount_209;
NullCheck(L_211);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_213 = (&((L_211)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_212)))->___vertex_TR_17);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_214 = V_8;
L_213->___uv_1 = L_214;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_215 = __this->___m_textInfo_154;
NullCheck(L_215);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_216 = L_215->___characterInfo_11;
int32_t L_217 = __this->___m_characterCount_209;
NullCheck(L_216);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_218 = (&((L_216)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_217)))->___vertex_BR_18);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_219 = V_9;
L_218->___uv_1 = L_219;
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_FillCharacterVertexBuffers_m4C17C2D2386E31401B012982171D0AB7E239B4EE (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___i0, int32_t ___index_X41, const RuntimeMethod* method)
{
int32_t V_0 = 0;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* V_1 = NULL;
bool V_2 = false;
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_0 = __this->___m_textInfo_154;
NullCheck(L_0);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_1 = L_0->___characterInfo_11;
int32_t L_2 = ___i0;
NullCheck(L_1);
int32_t L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___materialReferenceIndex_9;
V_0 = L_3;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_4 = __this->___m_textInfo_154;
NullCheck(L_4);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_5 = L_4->___meshInfo_16;
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6)))->___vertexCount_5;
___index_X41 = L_7;
int32_t L_8 = ___index_X41;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_9 = __this->___m_textInfo_154;
NullCheck(L_9);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_10 = L_9->___meshInfo_16;
int32_t L_11 = V_0;
NullCheck(L_10);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->___vertices_6;
NullCheck(L_12);
V_2 = (bool)((((int32_t)((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_13 = V_2;
if (!L_13)
{
goto IL_0073;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_14 = __this->___m_textInfo_154;
NullCheck(L_14);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_15 = L_14->___meshInfo_16;
int32_t L_16 = V_0;
NullCheck(L_15);
int32_t L_17 = ___index_X41;
int32_t L_18;
L_18 = Mathf_NextPowerOfTwo_mA1CE7F3EEF9B0B07AB2D586C030ED236D578F485(((int32_t)(((int32_t)il2cpp_codegen_add(L_17, 4))/4)), NULL);
TMP_MeshInfo_ResizeMeshInfo_m13DF794141EBDD4446391BAF6FD469EEFE3DD6D1(((L_15)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_16))), L_18, NULL);
}
IL_0073:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_19 = __this->___m_textInfo_154;
NullCheck(L_19);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_20 = L_19->___characterInfo_11;
V_1 = L_20;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_21 = __this->___m_textInfo_154;
NullCheck(L_21);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_22 = L_21->___characterInfo_11;
int32_t L_23 = ___i0;
NullCheck(L_22);
int32_t L_24 = ___index_X41;
((L_22)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_23)))->___vertexIndex_14 = L_24;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_25 = __this->___m_textInfo_154;
NullCheck(L_25);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_26 = L_25->___meshInfo_16;
int32_t L_27 = V_0;
NullCheck(L_26);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_28 = ((L_26)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_27)))->___vertices_6;
int32_t L_29 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_30 = V_1;
int32_t L_31 = ___i0;
NullCheck(L_30);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_32 = (&((L_30)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_31)))->___vertex_BL_15);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = L_32->___position_0;
NullCheck(L_28);
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(L_29), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_33);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_34 = __this->___m_textInfo_154;
NullCheck(L_34);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_35 = L_34->___meshInfo_16;
int32_t L_36 = V_0;
NullCheck(L_35);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_37 = ((L_35)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_36)))->___vertices_6;
int32_t L_38 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_39 = V_1;
int32_t L_40 = ___i0;
NullCheck(L_39);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_41 = (&((L_39)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_40)))->___vertex_TL_16);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = L_41->___position_0;
NullCheck(L_37);
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_38))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_42);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_43 = __this->___m_textInfo_154;
NullCheck(L_43);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_44 = L_43->___meshInfo_16;
int32_t L_45 = V_0;
NullCheck(L_44);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_46 = ((L_44)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_45)))->___vertices_6;
int32_t L_47 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_48 = V_1;
int32_t L_49 = ___i0;
NullCheck(L_48);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_50 = (&((L_48)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_49)))->___vertex_TR_17);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = L_50->___position_0;
NullCheck(L_46);
(L_46)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_47))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_51);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_52 = __this->___m_textInfo_154;
NullCheck(L_52);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_53 = L_52->___meshInfo_16;
int32_t L_54 = V_0;
NullCheck(L_53);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_55 = ((L_53)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_54)))->___vertices_6;
int32_t L_56 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_57 = V_1;
int32_t L_58 = ___i0;
NullCheck(L_57);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_59 = (&((L_57)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_58)))->___vertex_BR_18);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = L_59->___position_0;
NullCheck(L_55);
(L_55)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_56))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_60);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_61 = __this->___m_textInfo_154;
NullCheck(L_61);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_62 = L_61->___meshInfo_16;
int32_t L_63 = V_0;
NullCheck(L_62);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_64 = ((L_62)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_63)))->___uvs0_9;
int32_t L_65 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_66 = V_1;
int32_t L_67 = ___i0;
NullCheck(L_66);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_68 = (&((L_66)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_67)))->___vertex_BL_15);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_69 = L_68->___uv_1;
NullCheck(L_64);
(L_64)->SetAt(static_cast<il2cpp_array_size_t>(L_65), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_69);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_70 = __this->___m_textInfo_154;
NullCheck(L_70);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_71 = L_70->___meshInfo_16;
int32_t L_72 = V_0;
NullCheck(L_71);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_73 = ((L_71)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_72)))->___uvs0_9;
int32_t L_74 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_75 = V_1;
int32_t L_76 = ___i0;
NullCheck(L_75);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_77 = (&((L_75)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_76)))->___vertex_TL_16);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_78 = L_77->___uv_1;
NullCheck(L_73);
(L_73)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_74))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_78);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_79 = __this->___m_textInfo_154;
NullCheck(L_79);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_80 = L_79->___meshInfo_16;
int32_t L_81 = V_0;
NullCheck(L_80);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_82 = ((L_80)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_81)))->___uvs0_9;
int32_t L_83 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_84 = V_1;
int32_t L_85 = ___i0;
NullCheck(L_84);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_86 = (&((L_84)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_85)))->___vertex_TR_17);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_87 = L_86->___uv_1;
NullCheck(L_82);
(L_82)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_83))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_87);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_88 = __this->___m_textInfo_154;
NullCheck(L_88);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_89 = L_88->___meshInfo_16;
int32_t L_90 = V_0;
NullCheck(L_89);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_91 = ((L_89)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_90)))->___uvs0_9;
int32_t L_92 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_93 = V_1;
int32_t L_94 = ___i0;
NullCheck(L_93);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_95 = (&((L_93)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_94)))->___vertex_BR_18);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_96 = L_95->___uv_1;
NullCheck(L_91);
(L_91)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_92))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_96);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_97 = __this->___m_textInfo_154;
NullCheck(L_97);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_98 = L_97->___meshInfo_16;
int32_t L_99 = V_0;
NullCheck(L_98);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_100 = ((L_98)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_99)))->___uvs2_10;
int32_t L_101 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_102 = V_1;
int32_t L_103 = ___i0;
NullCheck(L_102);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_104 = (&((L_102)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_103)))->___vertex_BL_15);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_105 = L_104->___uv2_2;
NullCheck(L_100);
(L_100)->SetAt(static_cast<il2cpp_array_size_t>(L_101), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_105);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_106 = __this->___m_textInfo_154;
NullCheck(L_106);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_107 = L_106->___meshInfo_16;
int32_t L_108 = V_0;
NullCheck(L_107);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_109 = ((L_107)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_108)))->___uvs2_10;
int32_t L_110 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_111 = V_1;
int32_t L_112 = ___i0;
NullCheck(L_111);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_113 = (&((L_111)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_112)))->___vertex_TL_16);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_114 = L_113->___uv2_2;
NullCheck(L_109);
(L_109)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_110))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_114);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_115 = __this->___m_textInfo_154;
NullCheck(L_115);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_116 = L_115->___meshInfo_16;
int32_t L_117 = V_0;
NullCheck(L_116);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_118 = ((L_116)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_117)))->___uvs2_10;
int32_t L_119 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_120 = V_1;
int32_t L_121 = ___i0;
NullCheck(L_120);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_122 = (&((L_120)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_121)))->___vertex_TR_17);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_123 = L_122->___uv2_2;
NullCheck(L_118);
(L_118)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_119))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_123);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_124 = __this->___m_textInfo_154;
NullCheck(L_124);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_125 = L_124->___meshInfo_16;
int32_t L_126 = V_0;
NullCheck(L_125);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_127 = ((L_125)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_126)))->___uvs2_10;
int32_t L_128 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_129 = V_1;
int32_t L_130 = ___i0;
NullCheck(L_129);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_131 = (&((L_129)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_130)))->___vertex_BR_18);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_132 = L_131->___uv2_2;
NullCheck(L_127);
(L_127)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_128))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_132);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_133 = __this->___m_textInfo_154;
NullCheck(L_133);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_134 = L_133->___meshInfo_16;
int32_t L_135 = V_0;
NullCheck(L_134);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_136 = ((L_134)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_135)))->___colors32_11;
int32_t L_137 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_138 = V_1;
int32_t L_139 = ___i0;
NullCheck(L_138);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_140 = (&((L_138)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_139)))->___vertex_BL_15);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_141 = L_140->___color_4;
NullCheck(L_136);
(L_136)->SetAt(static_cast<il2cpp_array_size_t>(L_137), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_141);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_142 = __this->___m_textInfo_154;
NullCheck(L_142);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_143 = L_142->___meshInfo_16;
int32_t L_144 = V_0;
NullCheck(L_143);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_145 = ((L_143)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_144)))->___colors32_11;
int32_t L_146 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_147 = V_1;
int32_t L_148 = ___i0;
NullCheck(L_147);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_149 = (&((L_147)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_148)))->___vertex_TL_16);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_150 = L_149->___color_4;
NullCheck(L_145);
(L_145)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_146))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_150);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_151 = __this->___m_textInfo_154;
NullCheck(L_151);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_152 = L_151->___meshInfo_16;
int32_t L_153 = V_0;
NullCheck(L_152);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_154 = ((L_152)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_153)))->___colors32_11;
int32_t L_155 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_156 = V_1;
int32_t L_157 = ___i0;
NullCheck(L_156);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_158 = (&((L_156)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_157)))->___vertex_TR_17);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_159 = L_158->___color_4;
NullCheck(L_154);
(L_154)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_155))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_159);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_160 = __this->___m_textInfo_154;
NullCheck(L_160);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_161 = L_160->___meshInfo_16;
int32_t L_162 = V_0;
NullCheck(L_161);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_163 = ((L_161)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_162)))->___colors32_11;
int32_t L_164 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_165 = V_1;
int32_t L_166 = ___i0;
NullCheck(L_165);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_167 = (&((L_165)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_166)))->___vertex_BR_18);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_168 = L_167->___color_4;
NullCheck(L_163);
(L_163)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_164))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_168);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_169 = __this->___m_textInfo_154;
NullCheck(L_169);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_170 = L_169->___meshInfo_16;
int32_t L_171 = V_0;
NullCheck(L_170);
int32_t L_172 = ___index_X41;
((L_170)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_171)))->___vertexCount_5 = ((int32_t)il2cpp_codegen_add(L_172, 4));
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_FillCharacterVertexBuffers_mA8074BF6121C6716C641EB322E501BCFCE3CFB25 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___i0, int32_t ___index_X41, bool ___isVolumetric2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* V_1 = NULL;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_6;
memset((&V_6), 0, sizeof(V_6));
int32_t G_B3_0 = 0;
TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B* G_B3_1 = NULL;
int32_t G_B2_0 = 0;
TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B* G_B2_1 = NULL;
int32_t G_B4_0 = 0;
int32_t G_B4_1 = 0;
TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B* G_B4_2 = NULL;
int32_t G_B13_0 = 0;
TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B* G_B13_1 = NULL;
int32_t G_B12_0 = 0;
TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B* G_B12_1 = NULL;
int32_t G_B14_0 = 0;
int32_t G_B14_1 = 0;
TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B* G_B14_2 = NULL;
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_0 = __this->___m_textInfo_154;
NullCheck(L_0);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_1 = L_0->___characterInfo_11;
int32_t L_2 = ___i0;
NullCheck(L_1);
int32_t L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___materialReferenceIndex_9;
V_0 = L_3;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_4 = __this->___m_textInfo_154;
NullCheck(L_4);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_5 = L_4->___meshInfo_16;
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6)))->___vertexCount_5;
___index_X41 = L_7;
int32_t L_8 = ___index_X41;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_9 = __this->___m_textInfo_154;
NullCheck(L_9);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_10 = L_9->___meshInfo_16;
int32_t L_11 = V_0;
NullCheck(L_10);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->___vertices_6;
NullCheck(L_12);
V_2 = (bool)((((int32_t)((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_13 = V_2;
if (!L_13)
{
goto IL_0079;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_14 = __this->___m_textInfo_154;
NullCheck(L_14);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_15 = L_14->___meshInfo_16;
int32_t L_16 = V_0;
NullCheck(L_15);
int32_t L_17 = ___index_X41;
bool L_18 = ___isVolumetric2;
if (L_18)
{
G_B3_0 = L_17;
G_B3_1 = ((L_15)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_16)));
goto IL_006a;
}
G_B2_0 = L_17;
G_B2_1 = ((L_15)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_16)));
}
{
G_B4_0 = 4;
G_B4_1 = G_B2_0;
G_B4_2 = G_B2_1;
goto IL_006b;
}
IL_006a:
{
G_B4_0 = 8;
G_B4_1 = G_B3_0;
G_B4_2 = G_B3_1;
}
IL_006b:
{
int32_t L_19;
L_19 = Mathf_NextPowerOfTwo_mA1CE7F3EEF9B0B07AB2D586C030ED236D578F485(((int32_t)(((int32_t)il2cpp_codegen_add(G_B4_1, G_B4_0))/4)), NULL);
TMP_MeshInfo_ResizeMeshInfo_m13DF794141EBDD4446391BAF6FD469EEFE3DD6D1(G_B4_2, L_19, NULL);
}
IL_0079:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_20 = __this->___m_textInfo_154;
NullCheck(L_20);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_21 = L_20->___characterInfo_11;
V_1 = L_21;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_22 = __this->___m_textInfo_154;
NullCheck(L_22);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_23 = L_22->___characterInfo_11;
int32_t L_24 = ___i0;
NullCheck(L_23);
int32_t L_25 = ___index_X41;
((L_23)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_24)))->___vertexIndex_14 = L_25;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_26 = __this->___m_textInfo_154;
NullCheck(L_26);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_27 = L_26->___meshInfo_16;
int32_t L_28 = V_0;
NullCheck(L_27);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_29 = ((L_27)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_28)))->___vertices_6;
int32_t L_30 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_31 = V_1;
int32_t L_32 = ___i0;
NullCheck(L_31);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_33 = (&((L_31)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_32)))->___vertex_BL_15);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = L_33->___position_0;
NullCheck(L_29);
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(L_30), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_34);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_35 = __this->___m_textInfo_154;
NullCheck(L_35);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_36 = L_35->___meshInfo_16;
int32_t L_37 = V_0;
NullCheck(L_36);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_38 = ((L_36)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_37)))->___vertices_6;
int32_t L_39 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_40 = V_1;
int32_t L_41 = ___i0;
NullCheck(L_40);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_42 = (&((L_40)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_41)))->___vertex_TL_16);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = L_42->___position_0;
NullCheck(L_38);
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_39))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_43);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_44 = __this->___m_textInfo_154;
NullCheck(L_44);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_45 = L_44->___meshInfo_16;
int32_t L_46 = V_0;
NullCheck(L_45);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_47 = ((L_45)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_46)))->___vertices_6;
int32_t L_48 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_49 = V_1;
int32_t L_50 = ___i0;
NullCheck(L_49);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_51 = (&((L_49)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_50)))->___vertex_TR_17);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = L_51->___position_0;
NullCheck(L_47);
(L_47)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_48))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_52);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_53 = __this->___m_textInfo_154;
NullCheck(L_53);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_54 = L_53->___meshInfo_16;
int32_t L_55 = V_0;
NullCheck(L_54);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_56 = ((L_54)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_55)))->___vertices_6;
int32_t L_57 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_58 = V_1;
int32_t L_59 = ___i0;
NullCheck(L_58);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_60 = (&((L_58)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_59)))->___vertex_BR_18);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = L_60->___position_0;
NullCheck(L_56);
(L_56)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_57))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_61);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_62 = __this->___m_textInfo_154;
NullCheck(L_62);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_63 = L_62->___meshInfo_16;
int32_t L_64 = V_0;
NullCheck(L_63);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_65 = ((L_63)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_64)))->___uvs0_9;
int32_t L_66 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_67 = V_1;
int32_t L_68 = ___i0;
NullCheck(L_67);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_69 = (&((L_67)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_68)))->___vertex_BL_15);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_70 = L_69->___uv_1;
NullCheck(L_65);
(L_65)->SetAt(static_cast<il2cpp_array_size_t>(L_66), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_70);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_71 = __this->___m_textInfo_154;
NullCheck(L_71);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_72 = L_71->___meshInfo_16;
int32_t L_73 = V_0;
NullCheck(L_72);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_74 = ((L_72)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_73)))->___uvs0_9;
int32_t L_75 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_76 = V_1;
int32_t L_77 = ___i0;
NullCheck(L_76);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_78 = (&((L_76)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_77)))->___vertex_TL_16);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_79 = L_78->___uv_1;
NullCheck(L_74);
(L_74)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_75))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_79);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_80 = __this->___m_textInfo_154;
NullCheck(L_80);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_81 = L_80->___meshInfo_16;
int32_t L_82 = V_0;
NullCheck(L_81);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_83 = ((L_81)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_82)))->___uvs0_9;
int32_t L_84 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_85 = V_1;
int32_t L_86 = ___i0;
NullCheck(L_85);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_87 = (&((L_85)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_86)))->___vertex_TR_17);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_88 = L_87->___uv_1;
NullCheck(L_83);
(L_83)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_84))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_88);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_89 = __this->___m_textInfo_154;
NullCheck(L_89);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_90 = L_89->___meshInfo_16;
int32_t L_91 = V_0;
NullCheck(L_90);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_92 = ((L_90)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_91)))->___uvs0_9;
int32_t L_93 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_94 = V_1;
int32_t L_95 = ___i0;
NullCheck(L_94);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_96 = (&((L_94)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_95)))->___vertex_BR_18);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_97 = L_96->___uv_1;
NullCheck(L_92);
(L_92)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_93))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_97);
bool L_98 = ___isVolumetric2;
V_3 = L_98;
bool L_99 = V_3;
if (!L_99)
{
goto IL_02d6;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_100 = __this->___m_textInfo_154;
NullCheck(L_100);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_101 = L_100->___meshInfo_16;
int32_t L_102 = V_0;
NullCheck(L_101);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_103 = ((L_101)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_102)))->___uvs0_9;
int32_t L_104 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_105 = V_1;
int32_t L_106 = ___i0;
NullCheck(L_105);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_107 = (&((L_105)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_106)))->___vertex_BL_15);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_108 = L_107->___uv_1;
NullCheck(L_103);
(L_103)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(4, L_104))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_108);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_109 = __this->___m_textInfo_154;
NullCheck(L_109);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_110 = L_109->___meshInfo_16;
int32_t L_111 = V_0;
NullCheck(L_110);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_112 = ((L_110)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_111)))->___uvs0_9;
int32_t L_113 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_114 = V_1;
int32_t L_115 = ___i0;
NullCheck(L_114);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_116 = (&((L_114)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_115)))->___vertex_TL_16);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_117 = L_116->___uv_1;
NullCheck(L_112);
(L_112)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(5, L_113))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_117);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_118 = __this->___m_textInfo_154;
NullCheck(L_118);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_119 = L_118->___meshInfo_16;
int32_t L_120 = V_0;
NullCheck(L_119);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_121 = ((L_119)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_120)))->___uvs0_9;
int32_t L_122 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_123 = V_1;
int32_t L_124 = ___i0;
NullCheck(L_123);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_125 = (&((L_123)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_124)))->___vertex_TR_17);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_126 = L_125->___uv_1;
NullCheck(L_121);
(L_121)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(6, L_122))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_126);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_127 = __this->___m_textInfo_154;
NullCheck(L_127);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_128 = L_127->___meshInfo_16;
int32_t L_129 = V_0;
NullCheck(L_128);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_130 = ((L_128)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_129)))->___uvs0_9;
int32_t L_131 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_132 = V_1;
int32_t L_133 = ___i0;
NullCheck(L_132);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_134 = (&((L_132)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_133)))->___vertex_BR_18);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_135 = L_134->___uv_1;
NullCheck(L_130);
(L_130)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(7, L_131))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_135);
}
IL_02d6:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_136 = __this->___m_textInfo_154;
NullCheck(L_136);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_137 = L_136->___meshInfo_16;
int32_t L_138 = V_0;
NullCheck(L_137);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_139 = ((L_137)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_138)))->___uvs2_10;
int32_t L_140 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_141 = V_1;
int32_t L_142 = ___i0;
NullCheck(L_141);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_143 = (&((L_141)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_142)))->___vertex_BL_15);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_144 = L_143->___uv2_2;
NullCheck(L_139);
(L_139)->SetAt(static_cast<il2cpp_array_size_t>(L_140), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_144);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_145 = __this->___m_textInfo_154;
NullCheck(L_145);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_146 = L_145->___meshInfo_16;
int32_t L_147 = V_0;
NullCheck(L_146);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_148 = ((L_146)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_147)))->___uvs2_10;
int32_t L_149 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_150 = V_1;
int32_t L_151 = ___i0;
NullCheck(L_150);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_152 = (&((L_150)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_151)))->___vertex_TL_16);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_153 = L_152->___uv2_2;
NullCheck(L_148);
(L_148)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_149))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_153);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_154 = __this->___m_textInfo_154;
NullCheck(L_154);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_155 = L_154->___meshInfo_16;
int32_t L_156 = V_0;
NullCheck(L_155);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_157 = ((L_155)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_156)))->___uvs2_10;
int32_t L_158 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_159 = V_1;
int32_t L_160 = ___i0;
NullCheck(L_159);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_161 = (&((L_159)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_160)))->___vertex_TR_17);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_162 = L_161->___uv2_2;
NullCheck(L_157);
(L_157)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_158))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_162);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_163 = __this->___m_textInfo_154;
NullCheck(L_163);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_164 = L_163->___meshInfo_16;
int32_t L_165 = V_0;
NullCheck(L_164);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_166 = ((L_164)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_165)))->___uvs2_10;
int32_t L_167 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_168 = V_1;
int32_t L_169 = ___i0;
NullCheck(L_168);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_170 = (&((L_168)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_169)))->___vertex_BR_18);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_171 = L_170->___uv2_2;
NullCheck(L_166);
(L_166)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_167))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_171);
bool L_172 = ___isVolumetric2;
V_4 = L_172;
bool L_173 = V_4;
if (!L_173)
{
goto IL_0458;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_174 = __this->___m_textInfo_154;
NullCheck(L_174);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_175 = L_174->___meshInfo_16;
int32_t L_176 = V_0;
NullCheck(L_175);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_177 = ((L_175)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_176)))->___uvs2_10;
int32_t L_178 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_179 = V_1;
int32_t L_180 = ___i0;
NullCheck(L_179);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_181 = (&((L_179)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_180)))->___vertex_BL_15);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_182 = L_181->___uv2_2;
NullCheck(L_177);
(L_177)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(4, L_178))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_182);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_183 = __this->___m_textInfo_154;
NullCheck(L_183);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_184 = L_183->___meshInfo_16;
int32_t L_185 = V_0;
NullCheck(L_184);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_186 = ((L_184)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_185)))->___uvs2_10;
int32_t L_187 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_188 = V_1;
int32_t L_189 = ___i0;
NullCheck(L_188);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_190 = (&((L_188)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_189)))->___vertex_TL_16);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_191 = L_190->___uv2_2;
NullCheck(L_186);
(L_186)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(5, L_187))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_191);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_192 = __this->___m_textInfo_154;
NullCheck(L_192);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_193 = L_192->___meshInfo_16;
int32_t L_194 = V_0;
NullCheck(L_193);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_195 = ((L_193)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_194)))->___uvs2_10;
int32_t L_196 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_197 = V_1;
int32_t L_198 = ___i0;
NullCheck(L_197);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_199 = (&((L_197)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_198)))->___vertex_TR_17);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_200 = L_199->___uv2_2;
NullCheck(L_195);
(L_195)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(6, L_196))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_200);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_201 = __this->___m_textInfo_154;
NullCheck(L_201);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_202 = L_201->___meshInfo_16;
int32_t L_203 = V_0;
NullCheck(L_202);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_204 = ((L_202)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_203)))->___uvs2_10;
int32_t L_205 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_206 = V_1;
int32_t L_207 = ___i0;
NullCheck(L_206);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_208 = (&((L_206)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_207)))->___vertex_BR_18);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_209 = L_208->___uv2_2;
NullCheck(L_204);
(L_204)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(7, L_205))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_209);
}
IL_0458:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_210 = __this->___m_textInfo_154;
NullCheck(L_210);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_211 = L_210->___meshInfo_16;
int32_t L_212 = V_0;
NullCheck(L_211);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_213 = ((L_211)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_212)))->___colors32_11;
int32_t L_214 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_215 = V_1;
int32_t L_216 = ___i0;
NullCheck(L_215);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_217 = (&((L_215)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_216)))->___vertex_BL_15);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_218 = L_217->___color_4;
NullCheck(L_213);
(L_213)->SetAt(static_cast<il2cpp_array_size_t>(L_214), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_218);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_219 = __this->___m_textInfo_154;
NullCheck(L_219);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_220 = L_219->___meshInfo_16;
int32_t L_221 = V_0;
NullCheck(L_220);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_222 = ((L_220)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_221)))->___colors32_11;
int32_t L_223 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_224 = V_1;
int32_t L_225 = ___i0;
NullCheck(L_224);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_226 = (&((L_224)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_225)))->___vertex_TL_16);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_227 = L_226->___color_4;
NullCheck(L_222);
(L_222)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_223))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_227);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_228 = __this->___m_textInfo_154;
NullCheck(L_228);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_229 = L_228->___meshInfo_16;
int32_t L_230 = V_0;
NullCheck(L_229);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_231 = ((L_229)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_230)))->___colors32_11;
int32_t L_232 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_233 = V_1;
int32_t L_234 = ___i0;
NullCheck(L_233);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_235 = (&((L_233)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_234)))->___vertex_TR_17);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_236 = L_235->___color_4;
NullCheck(L_231);
(L_231)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_232))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_236);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_237 = __this->___m_textInfo_154;
NullCheck(L_237);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_238 = L_237->___meshInfo_16;
int32_t L_239 = V_0;
NullCheck(L_238);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_240 = ((L_238)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_239)))->___colors32_11;
int32_t L_241 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_242 = V_1;
int32_t L_243 = ___i0;
NullCheck(L_242);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_244 = (&((L_242)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_243)))->___vertex_BR_18);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_245 = L_244->___color_4;
NullCheck(L_240);
(L_240)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_241))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_245);
bool L_246 = ___isVolumetric2;
V_5 = L_246;
bool L_247 = V_5;
if (!L_247)
{
goto IL_05b9;
}
}
{
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&V_6), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)((int32_t)128), (uint8_t)((int32_t)255), NULL);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_248 = __this->___m_textInfo_154;
NullCheck(L_248);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_249 = L_248->___meshInfo_16;
int32_t L_250 = V_0;
NullCheck(L_249);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_251 = ((L_249)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_250)))->___colors32_11;
int32_t L_252 = ___index_X41;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_253 = V_6;
NullCheck(L_251);
(L_251)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(4, L_252))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_253);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_254 = __this->___m_textInfo_154;
NullCheck(L_254);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_255 = L_254->___meshInfo_16;
int32_t L_256 = V_0;
NullCheck(L_255);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_257 = ((L_255)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_256)))->___colors32_11;
int32_t L_258 = ___index_X41;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_259 = V_6;
NullCheck(L_257);
(L_257)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(5, L_258))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_259);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_260 = __this->___m_textInfo_154;
NullCheck(L_260);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_261 = L_260->___meshInfo_16;
int32_t L_262 = V_0;
NullCheck(L_261);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_263 = ((L_261)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_262)))->___colors32_11;
int32_t L_264 = ___index_X41;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_265 = V_6;
NullCheck(L_263);
(L_263)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(6, L_264))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_265);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_266 = __this->___m_textInfo_154;
NullCheck(L_266);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_267 = L_266->___meshInfo_16;
int32_t L_268 = V_0;
NullCheck(L_267);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_269 = ((L_267)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_268)))->___colors32_11;
int32_t L_270 = ___index_X41;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_271 = V_6;
NullCheck(L_269);
(L_269)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(7, L_270))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_271);
}
IL_05b9:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_272 = __this->___m_textInfo_154;
NullCheck(L_272);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_273 = L_272->___meshInfo_16;
int32_t L_274 = V_0;
NullCheck(L_273);
int32_t L_275 = ___index_X41;
bool L_276 = ___isVolumetric2;
if (!L_276)
{
G_B13_0 = L_275;
G_B13_1 = ((L_273)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_274)));
goto IL_05d1;
}
G_B12_0 = L_275;
G_B12_1 = ((L_273)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_274)));
}
{
G_B14_0 = 8;
G_B14_1 = G_B12_0;
G_B14_2 = G_B12_1;
goto IL_05d2;
}
IL_05d1:
{
G_B14_0 = 4;
G_B14_1 = G_B13_0;
G_B14_2 = G_B13_1;
}
IL_05d2:
{
G_B14_2->___vertexCount_5 = ((int32_t)il2cpp_codegen_add(G_B14_1, G_B14_0));
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_FillSpriteVertexBuffers_m7B3035DA24821F84AE49946ABEF06D0A2A87143B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___i0, int32_t ___index_X41, const RuntimeMethod* method)
{
int32_t V_0 = 0;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* V_1 = NULL;
bool V_2 = false;
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_0 = __this->___m_textInfo_154;
NullCheck(L_0);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_1 = L_0->___characterInfo_11;
int32_t L_2 = ___i0;
NullCheck(L_1);
int32_t L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___materialReferenceIndex_9;
V_0 = L_3;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_4 = __this->___m_textInfo_154;
NullCheck(L_4);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_5 = L_4->___meshInfo_16;
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6)))->___vertexCount_5;
___index_X41 = L_7;
int32_t L_8 = ___index_X41;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_9 = __this->___m_textInfo_154;
NullCheck(L_9);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_10 = L_9->___meshInfo_16;
int32_t L_11 = V_0;
NullCheck(L_10);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->___vertices_6;
NullCheck(L_12);
V_2 = (bool)((((int32_t)((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_13 = V_2;
if (!L_13)
{
goto IL_0073;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_14 = __this->___m_textInfo_154;
NullCheck(L_14);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_15 = L_14->___meshInfo_16;
int32_t L_16 = V_0;
NullCheck(L_15);
int32_t L_17 = ___index_X41;
int32_t L_18;
L_18 = Mathf_NextPowerOfTwo_mA1CE7F3EEF9B0B07AB2D586C030ED236D578F485(((int32_t)(((int32_t)il2cpp_codegen_add(L_17, 4))/4)), NULL);
TMP_MeshInfo_ResizeMeshInfo_m13DF794141EBDD4446391BAF6FD469EEFE3DD6D1(((L_15)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_16))), L_18, NULL);
}
IL_0073:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_19 = __this->___m_textInfo_154;
NullCheck(L_19);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_20 = L_19->___characterInfo_11;
V_1 = L_20;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_21 = __this->___m_textInfo_154;
NullCheck(L_21);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_22 = L_21->___characterInfo_11;
int32_t L_23 = ___i0;
NullCheck(L_22);
int32_t L_24 = ___index_X41;
((L_22)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_23)))->___vertexIndex_14 = L_24;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_25 = __this->___m_textInfo_154;
NullCheck(L_25);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_26 = L_25->___meshInfo_16;
int32_t L_27 = V_0;
NullCheck(L_26);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_28 = ((L_26)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_27)))->___vertices_6;
int32_t L_29 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_30 = V_1;
int32_t L_31 = ___i0;
NullCheck(L_30);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_32 = (&((L_30)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_31)))->___vertex_BL_15);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = L_32->___position_0;
NullCheck(L_28);
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(L_29), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_33);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_34 = __this->___m_textInfo_154;
NullCheck(L_34);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_35 = L_34->___meshInfo_16;
int32_t L_36 = V_0;
NullCheck(L_35);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_37 = ((L_35)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_36)))->___vertices_6;
int32_t L_38 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_39 = V_1;
int32_t L_40 = ___i0;
NullCheck(L_39);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_41 = (&((L_39)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_40)))->___vertex_TL_16);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = L_41->___position_0;
NullCheck(L_37);
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_38))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_42);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_43 = __this->___m_textInfo_154;
NullCheck(L_43);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_44 = L_43->___meshInfo_16;
int32_t L_45 = V_0;
NullCheck(L_44);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_46 = ((L_44)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_45)))->___vertices_6;
int32_t L_47 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_48 = V_1;
int32_t L_49 = ___i0;
NullCheck(L_48);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_50 = (&((L_48)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_49)))->___vertex_TR_17);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = L_50->___position_0;
NullCheck(L_46);
(L_46)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_47))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_51);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_52 = __this->___m_textInfo_154;
NullCheck(L_52);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_53 = L_52->___meshInfo_16;
int32_t L_54 = V_0;
NullCheck(L_53);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_55 = ((L_53)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_54)))->___vertices_6;
int32_t L_56 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_57 = V_1;
int32_t L_58 = ___i0;
NullCheck(L_57);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_59 = (&((L_57)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_58)))->___vertex_BR_18);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = L_59->___position_0;
NullCheck(L_55);
(L_55)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_56))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_60);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_61 = __this->___m_textInfo_154;
NullCheck(L_61);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_62 = L_61->___meshInfo_16;
int32_t L_63 = V_0;
NullCheck(L_62);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_64 = ((L_62)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_63)))->___uvs0_9;
int32_t L_65 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_66 = V_1;
int32_t L_67 = ___i0;
NullCheck(L_66);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_68 = (&((L_66)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_67)))->___vertex_BL_15);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_69 = L_68->___uv_1;
NullCheck(L_64);
(L_64)->SetAt(static_cast<il2cpp_array_size_t>(L_65), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_69);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_70 = __this->___m_textInfo_154;
NullCheck(L_70);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_71 = L_70->___meshInfo_16;
int32_t L_72 = V_0;
NullCheck(L_71);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_73 = ((L_71)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_72)))->___uvs0_9;
int32_t L_74 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_75 = V_1;
int32_t L_76 = ___i0;
NullCheck(L_75);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_77 = (&((L_75)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_76)))->___vertex_TL_16);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_78 = L_77->___uv_1;
NullCheck(L_73);
(L_73)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_74))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_78);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_79 = __this->___m_textInfo_154;
NullCheck(L_79);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_80 = L_79->___meshInfo_16;
int32_t L_81 = V_0;
NullCheck(L_80);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_82 = ((L_80)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_81)))->___uvs0_9;
int32_t L_83 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_84 = V_1;
int32_t L_85 = ___i0;
NullCheck(L_84);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_86 = (&((L_84)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_85)))->___vertex_TR_17);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_87 = L_86->___uv_1;
NullCheck(L_82);
(L_82)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_83))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_87);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_88 = __this->___m_textInfo_154;
NullCheck(L_88);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_89 = L_88->___meshInfo_16;
int32_t L_90 = V_0;
NullCheck(L_89);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_91 = ((L_89)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_90)))->___uvs0_9;
int32_t L_92 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_93 = V_1;
int32_t L_94 = ___i0;
NullCheck(L_93);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_95 = (&((L_93)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_94)))->___vertex_BR_18);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_96 = L_95->___uv_1;
NullCheck(L_91);
(L_91)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_92))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_96);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_97 = __this->___m_textInfo_154;
NullCheck(L_97);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_98 = L_97->___meshInfo_16;
int32_t L_99 = V_0;
NullCheck(L_98);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_100 = ((L_98)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_99)))->___uvs2_10;
int32_t L_101 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_102 = V_1;
int32_t L_103 = ___i0;
NullCheck(L_102);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_104 = (&((L_102)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_103)))->___vertex_BL_15);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_105 = L_104->___uv2_2;
NullCheck(L_100);
(L_100)->SetAt(static_cast<il2cpp_array_size_t>(L_101), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_105);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_106 = __this->___m_textInfo_154;
NullCheck(L_106);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_107 = L_106->___meshInfo_16;
int32_t L_108 = V_0;
NullCheck(L_107);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_109 = ((L_107)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_108)))->___uvs2_10;
int32_t L_110 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_111 = V_1;
int32_t L_112 = ___i0;
NullCheck(L_111);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_113 = (&((L_111)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_112)))->___vertex_TL_16);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_114 = L_113->___uv2_2;
NullCheck(L_109);
(L_109)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_110))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_114);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_115 = __this->___m_textInfo_154;
NullCheck(L_115);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_116 = L_115->___meshInfo_16;
int32_t L_117 = V_0;
NullCheck(L_116);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_118 = ((L_116)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_117)))->___uvs2_10;
int32_t L_119 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_120 = V_1;
int32_t L_121 = ___i0;
NullCheck(L_120);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_122 = (&((L_120)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_121)))->___vertex_TR_17);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_123 = L_122->___uv2_2;
NullCheck(L_118);
(L_118)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_119))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_123);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_124 = __this->___m_textInfo_154;
NullCheck(L_124);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_125 = L_124->___meshInfo_16;
int32_t L_126 = V_0;
NullCheck(L_125);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_127 = ((L_125)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_126)))->___uvs2_10;
int32_t L_128 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_129 = V_1;
int32_t L_130 = ___i0;
NullCheck(L_129);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_131 = (&((L_129)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_130)))->___vertex_BR_18);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_132 = L_131->___uv2_2;
NullCheck(L_127);
(L_127)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_128))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_132);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_133 = __this->___m_textInfo_154;
NullCheck(L_133);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_134 = L_133->___meshInfo_16;
int32_t L_135 = V_0;
NullCheck(L_134);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_136 = ((L_134)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_135)))->___colors32_11;
int32_t L_137 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_138 = V_1;
int32_t L_139 = ___i0;
NullCheck(L_138);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_140 = (&((L_138)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_139)))->___vertex_BL_15);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_141 = L_140->___color_4;
NullCheck(L_136);
(L_136)->SetAt(static_cast<il2cpp_array_size_t>(L_137), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_141);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_142 = __this->___m_textInfo_154;
NullCheck(L_142);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_143 = L_142->___meshInfo_16;
int32_t L_144 = V_0;
NullCheck(L_143);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_145 = ((L_143)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_144)))->___colors32_11;
int32_t L_146 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_147 = V_1;
int32_t L_148 = ___i0;
NullCheck(L_147);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_149 = (&((L_147)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_148)))->___vertex_TL_16);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_150 = L_149->___color_4;
NullCheck(L_145);
(L_145)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_146))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_150);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_151 = __this->___m_textInfo_154;
NullCheck(L_151);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_152 = L_151->___meshInfo_16;
int32_t L_153 = V_0;
NullCheck(L_152);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_154 = ((L_152)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_153)))->___colors32_11;
int32_t L_155 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_156 = V_1;
int32_t L_157 = ___i0;
NullCheck(L_156);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_158 = (&((L_156)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_157)))->___vertex_TR_17);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_159 = L_158->___color_4;
NullCheck(L_154);
(L_154)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_155))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_159);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_160 = __this->___m_textInfo_154;
NullCheck(L_160);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_161 = L_160->___meshInfo_16;
int32_t L_162 = V_0;
NullCheck(L_161);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_163 = ((L_161)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_162)))->___colors32_11;
int32_t L_164 = ___index_X41;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_165 = V_1;
int32_t L_166 = ___i0;
NullCheck(L_165);
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A* L_167 = (&((L_165)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_166)))->___vertex_BR_18);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_168 = L_167->___color_4;
NullCheck(L_163);
(L_163)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_164))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_168);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_169 = __this->___m_textInfo_154;
NullCheck(L_169);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_170 = L_169->___meshInfo_16;
int32_t L_171 = V_0;
NullCheck(L_170);
int32_t L_172 = ___index_X41;
((L_170)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_171)))->___vertexCount_5 = ((int32_t)il2cpp_codegen_add(L_172, 4));
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_DrawUnderlineMesh_m9A89FEC9730C4C234A06A090CEDD2338C351E3F3 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___start0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___end1, int32_t* ___index2, float ___startScale3, float ___endScale4, float ___maxScale5, float ___sdfScale6, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor7, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral804E3B76CDCD07E13EAE2E489D1D76D145E0DED6);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A V_2;
memset((&V_2), 0, sizeof(V_2));
GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D V_3;
memset((&V_3), 0, sizeof(V_3));
float V_4 = 0.0f;
float V_5 = 0.0f;
float V_6 = 0.0f;
float V_7 = 0.0f;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_8 = NULL;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_9 = NULL;
int32_t V_10 = 0;
int32_t V_11 = 0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_12;
memset((&V_12), 0, sizeof(V_12));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_13;
memset((&V_13), 0, sizeof(V_13));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_14;
memset((&V_14), 0, sizeof(V_14));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_15;
memset((&V_15), 0, sizeof(V_15));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_16;
memset((&V_16), 0, sizeof(V_16));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_17;
memset((&V_17), 0, sizeof(V_17));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_18;
memset((&V_18), 0, sizeof(V_18));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_19;
memset((&V_19), 0, sizeof(V_19));
float V_20 = 0.0f;
float V_21 = 0.0f;
float V_22 = 0.0f;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_23 = NULL;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* V_24 = NULL;
bool V_25 = false;
bool V_26 = false;
bool V_27 = false;
bool V_28 = false;
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 V_29;
memset((&V_29), 0, sizeof(V_29));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B10_0 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B9_0 = NULL;
uint8_t G_B11_0 = 0x0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B11_1 = NULL;
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_0 = __this->___m_fontAsset_42;
TMP_Text_GetUnderlineSpecialCharacter_m52EA407A41AABE20FE8888C6E94BB70EF0E82CE1(__this, L_0, NULL);
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_1 = (&__this->___m_Underline_250);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_2 = L_1->___character_0;
V_25 = (bool)((((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_2) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_3 = V_25;
if (!L_3)
{
goto IL_0042;
}
}
{
bool L_4;
L_4 = TMP_Settings_get_warningsDisabled_m2590555E7D849D05AF4B63DEA82407812DB37B22(NULL);
V_26 = (bool)((((int32_t)L_4) == ((int32_t)0))? 1 : 0);
bool L_5 = V_26;
if (!L_5)
{
goto IL_003d;
}
}
{
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogWarning_m23033D7E2F0F298BE465B7F3A63CDF40A4EB70EB(_stringLiteral804E3B76CDCD07E13EAE2E489D1D76D145E0DED6, __this, NULL);
}
IL_003d:
{
goto IL_088e;
}
IL_0042:
{
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_6 = (&__this->___m_Underline_250);
int32_t L_7 = L_6->___materialIndex_3;
V_0 = L_7;
int32_t* L_8 = ___index2;
int32_t L_9 = *((int32_t*)L_8);
V_1 = ((int32_t)il2cpp_codegen_add(L_9, ((int32_t)12)));
int32_t L_10 = V_1;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_11 = __this->___m_textInfo_154;
NullCheck(L_11);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_12 = L_11->___meshInfo_16;
int32_t L_13 = V_0;
NullCheck(L_12);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_14 = ((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13)))->___vertices_6;
NullCheck(L_14);
V_27 = (bool)((((int32_t)L_10) > ((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length))))? 1 : 0);
bool L_15 = V_27;
if (!L_15)
{
goto IL_0091;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_16 = __this->___m_textInfo_154;
NullCheck(L_16);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_17 = L_16->___meshInfo_16;
int32_t L_18 = V_0;
NullCheck(L_17);
int32_t L_19 = V_1;
TMP_MeshInfo_ResizeMeshInfo_m13DF794141EBDD4446391BAF6FD469EEFE3DD6D1(((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_18))), ((int32_t)(L_19/4)), NULL);
}
IL_0091:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___start0;
float L_21 = L_20.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = ___end1;
float L_23 = L_22.___y_3;
float L_24;
L_24 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(L_21, L_23, NULL);
(&___start0)->___y_3 = L_24;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = ___start0;
float L_26 = L_25.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = ___end1;
float L_28 = L_27.___y_3;
float L_29;
L_29 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(L_26, L_28, NULL);
(&___end1)->___y_3 = L_29;
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_30 = (&__this->___m_Underline_250);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_31 = L_30->___character_0;
NullCheck(L_31);
Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* L_32;
L_32 = TMP_TextElement_get_glyph_mB86D5107DDF4ADB051309056E876FEAE843E3D07(L_31, NULL);
NullCheck(L_32);
GlyphMetrics_t6C1C65A891A6279A0EE807C436436B1E44F7AF1A L_33;
L_33 = Glyph_get_metrics_mB6E9D3D1899E35BA257638F6F58B7D260170B6FA(L_32, NULL);
V_2 = L_33;
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_34 = (&__this->___m_Underline_250);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_35 = L_34->___character_0;
NullCheck(L_35);
Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* L_36;
L_36 = TMP_TextElement_get_glyph_mB86D5107DDF4ADB051309056E876FEAE843E3D07(L_35, NULL);
NullCheck(L_36);
GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D L_37;
L_37 = Glyph_get_glyphRect_m94E7C5FE682695CDC096248EF027079F33768EE5(L_36, NULL);
V_3 = L_37;
float L_38;
L_38 = GlyphMetrics_get_width_m0F9F391E3A98984167E8001D4101BE1CE9354D13((&V_2), NULL);
float L_39 = ___maxScale5;
V_4 = ((float)il2cpp_codegen_multiply(((float)(L_38/(2.0f))), L_39));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = ___end1;
float L_41 = L_40.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = ___start0;
float L_43 = L_42.___x_2;
float L_44;
L_44 = GlyphMetrics_get_width_m0F9F391E3A98984167E8001D4101BE1CE9354D13((&V_2), NULL);
float L_45 = ___maxScale5;
V_28 = (bool)((((float)((float)il2cpp_codegen_subtract(L_41, L_43))) < ((float)((float)il2cpp_codegen_multiply(L_44, L_45))))? 1 : 0);
bool L_46 = V_28;
if (!L_46)
{
goto IL_0135;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = ___end1;
float L_48 = L_47.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = ___start0;
float L_50 = L_49.___x_2;
V_4 = ((float)(((float)il2cpp_codegen_subtract(L_48, L_50))/(2.0f)));
}
IL_0135:
{
float L_51 = __this->___m_padding_243;
float L_52 = ___startScale3;
float L_53 = ___maxScale5;
V_5 = ((float)(((float)il2cpp_codegen_multiply(L_51, L_52))/L_53));
float L_54 = __this->___m_padding_243;
float L_55 = ___endScale4;
float L_56 = ___maxScale5;
V_6 = ((float)(((float)il2cpp_codegen_multiply(L_54, L_55))/L_56));
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_57 = (&__this->___m_Underline_250);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_58 = L_57->___fontAsset_1;
NullCheck(L_58);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_59;
L_59 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_58, NULL);
V_29 = L_59;
float L_60;
L_60 = FaceInfo_get_underlineThickness_mC032F8C026994AF3FD49E6AB12E113F61EFA98E2((&V_29), NULL);
V_7 = L_60;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_61 = __this->___m_textInfo_154;
NullCheck(L_61);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_62 = L_61->___meshInfo_16;
int32_t L_63 = V_0;
NullCheck(L_62);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_64 = ((L_62)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_63)))->___vertices_6;
V_8 = L_64;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_65 = V_8;
int32_t* L_66 = ___index2;
int32_t L_67 = *((int32_t*)L_66);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68 = ___start0;
float L_69 = V_7;
float L_70 = __this->___m_padding_243;
float L_71 = ___maxScale5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
memset((&L_72), 0, sizeof(L_72));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_72), (0.0f), ((float)il2cpp_codegen_subtract((0.0f), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_69, L_70)), L_71)))), (0.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73;
L_73 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_68, L_72, NULL);
NullCheck(L_65);
(L_65)->SetAt(static_cast<il2cpp_array_size_t>(L_67), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_73);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_74 = V_8;
int32_t* L_75 = ___index2;
int32_t L_76 = *((int32_t*)L_75);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = ___start0;
float L_78 = __this->___m_padding_243;
float L_79 = ___maxScale5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
memset((&L_80), 0, sizeof(L_80));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_80), (0.0f), ((float)il2cpp_codegen_multiply(L_78, L_79)), (0.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
L_81 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_77, L_80, NULL);
NullCheck(L_74);
(L_74)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_76, 1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_81);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_82 = V_8;
int32_t* L_83 = ___index2;
int32_t L_84 = *((int32_t*)L_83);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_85 = V_8;
int32_t* L_86 = ___index2;
int32_t L_87 = *((int32_t*)L_86);
NullCheck(L_85);
int32_t L_88 = ((int32_t)il2cpp_codegen_add(L_87, 1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89 = (L_85)->GetAt(static_cast<il2cpp_array_size_t>(L_88));
float L_90 = V_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91;
memset((&L_91), 0, sizeof(L_91));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_91), L_90, (0.0f), (0.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92;
L_92 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_89, L_91, NULL);
NullCheck(L_82);
(L_82)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_84, 2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_92);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_93 = V_8;
int32_t* L_94 = ___index2;
int32_t L_95 = *((int32_t*)L_94);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_96 = V_8;
int32_t* L_97 = ___index2;
int32_t L_98 = *((int32_t*)L_97);
NullCheck(L_96);
int32_t L_99 = L_98;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100 = (L_96)->GetAt(static_cast<il2cpp_array_size_t>(L_99));
float L_101 = V_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102;
memset((&L_102), 0, sizeof(L_102));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_102), L_101, (0.0f), (0.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103;
L_103 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_100, L_102, NULL);
NullCheck(L_93);
(L_93)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_95, 3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_103);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_104 = V_8;
int32_t* L_105 = ___index2;
int32_t L_106 = *((int32_t*)L_105);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_107 = V_8;
int32_t* L_108 = ___index2;
int32_t L_109 = *((int32_t*)L_108);
NullCheck(L_107);
int32_t L_110 = ((int32_t)il2cpp_codegen_add(L_109, 3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_111 = (L_107)->GetAt(static_cast<il2cpp_array_size_t>(L_110));
NullCheck(L_104);
(L_104)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_106, 4))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_111);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_112 = V_8;
int32_t* L_113 = ___index2;
int32_t L_114 = *((int32_t*)L_113);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_115 = V_8;
int32_t* L_116 = ___index2;
int32_t L_117 = *((int32_t*)L_116);
NullCheck(L_115);
int32_t L_118 = ((int32_t)il2cpp_codegen_add(L_117, 2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119 = (L_115)->GetAt(static_cast<il2cpp_array_size_t>(L_118));
NullCheck(L_112);
(L_112)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_114, 5))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_119);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_120 = V_8;
int32_t* L_121 = ___index2;
int32_t L_122 = *((int32_t*)L_121);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_123 = ___end1;
float L_124 = V_4;
float L_125 = __this->___m_padding_243;
float L_126 = ___maxScale5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_127;
memset((&L_127), 0, sizeof(L_127));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_127), ((-L_124)), ((float)il2cpp_codegen_multiply(L_125, L_126)), (0.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_128;
L_128 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_123, L_127, NULL);
NullCheck(L_120);
(L_120)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_122, 6))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_128);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_129 = V_8;
int32_t* L_130 = ___index2;
int32_t L_131 = *((int32_t*)L_130);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_132 = ___end1;
float L_133 = V_4;
float L_134 = V_7;
float L_135 = __this->___m_padding_243;
float L_136 = ___maxScale5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_137;
memset((&L_137), 0, sizeof(L_137));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_137), ((-L_133)), ((float)il2cpp_codegen_multiply(((-((float)il2cpp_codegen_add(L_134, L_135)))), L_136)), (0.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_138;
L_138 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_132, L_137, NULL);
NullCheck(L_129);
(L_129)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_131, 7))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_138);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_139 = V_8;
int32_t* L_140 = ___index2;
int32_t L_141 = *((int32_t*)L_140);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_142 = V_8;
int32_t* L_143 = ___index2;
int32_t L_144 = *((int32_t*)L_143);
NullCheck(L_142);
int32_t L_145 = ((int32_t)il2cpp_codegen_add(L_144, 7));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_146 = (L_142)->GetAt(static_cast<il2cpp_array_size_t>(L_145));
NullCheck(L_139);
(L_139)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_141, 8))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_146);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_147 = V_8;
int32_t* L_148 = ___index2;
int32_t L_149 = *((int32_t*)L_148);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_150 = V_8;
int32_t* L_151 = ___index2;
int32_t L_152 = *((int32_t*)L_151);
NullCheck(L_150);
int32_t L_153 = ((int32_t)il2cpp_codegen_add(L_152, 6));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_154 = (L_150)->GetAt(static_cast<il2cpp_array_size_t>(L_153));
NullCheck(L_147);
(L_147)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_149, ((int32_t)9)))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_154);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_155 = V_8;
int32_t* L_156 = ___index2;
int32_t L_157 = *((int32_t*)L_156);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_158 = ___end1;
float L_159 = __this->___m_padding_243;
float L_160 = ___maxScale5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_161;
memset((&L_161), 0, sizeof(L_161));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_161), (0.0f), ((float)il2cpp_codegen_multiply(L_159, L_160)), (0.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_162;
L_162 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_158, L_161, NULL);
NullCheck(L_155);
(L_155)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_157, ((int32_t)10)))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_162);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_163 = V_8;
int32_t* L_164 = ___index2;
int32_t L_165 = *((int32_t*)L_164);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_166 = ___end1;
float L_167 = V_7;
float L_168 = __this->___m_padding_243;
float L_169 = ___maxScale5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_170;
memset((&L_170), 0, sizeof(L_170));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_170), (0.0f), ((float)il2cpp_codegen_multiply(((-((float)il2cpp_codegen_add(L_167, L_168)))), L_169)), (0.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_171;
L_171 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_166, L_170, NULL);
NullCheck(L_163);
(L_163)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_165, ((int32_t)11)))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_171);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_172 = __this->___m_textInfo_154;
NullCheck(L_172);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_173 = L_172->___meshInfo_16;
int32_t L_174 = V_0;
NullCheck(L_173);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_175 = ((L_173)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_174)))->___uvs0_9;
V_9 = L_175;
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_176 = (&__this->___m_Underline_250);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_177 = L_176->___fontAsset_1;
NullCheck(L_177);
int32_t L_178;
L_178 = TMP_FontAsset_get_atlasWidth_m45CB71477140814BBFF666E9179D0F9BFFA03EFC(L_177, NULL);
V_10 = L_178;
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_179 = (&__this->___m_Underline_250);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_180 = L_179->___fontAsset_1;
NullCheck(L_180);
int32_t L_181;
L_181 = TMP_FontAsset_get_atlasHeight_m95F59523E66882079E1D2A4157DE5FF52C4892AC(L_180, NULL);
V_11 = L_181;
int32_t L_182;
L_182 = GlyphRect_get_x_m453EECC6C6F08602B1F74C5E1D8EE1163236A898((&V_3), NULL);
float L_183 = V_5;
int32_t L_184 = V_10;
int32_t L_185;
L_185 = GlyphRect_get_y_mE31390BB3185EEA82DD16EA41E208F6A0397E3EA((&V_3), NULL);
float L_186 = __this->___m_padding_243;
int32_t L_187 = V_11;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_12), ((float)(((float)il2cpp_codegen_subtract(((float)L_182), L_183))/((float)L_184))), ((float)(((float)il2cpp_codegen_subtract(((float)L_185), L_186))/((float)L_187))), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_188 = V_12;
float L_189 = L_188.___x_0;
int32_t L_190;
L_190 = GlyphRect_get_y_mE31390BB3185EEA82DD16EA41E208F6A0397E3EA((&V_3), NULL);
int32_t L_191;
L_191 = GlyphRect_get_height_m7F4D04452994E0D18762BB44352608E484DAAC1A((&V_3), NULL);
float L_192 = __this->___m_padding_243;
int32_t L_193 = V_11;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_13), L_189, ((float)(((float)il2cpp_codegen_add(((float)((int32_t)il2cpp_codegen_add(L_190, L_191))), L_192))/((float)L_193))), NULL);
int32_t L_194;
L_194 = GlyphRect_get_x_m453EECC6C6F08602B1F74C5E1D8EE1163236A898((&V_3), NULL);
float L_195 = V_5;
int32_t L_196;
L_196 = GlyphRect_get_width_mD291C7644BBF18D6A213427F6C9C28840F233F12((&V_3), NULL);
int32_t L_197 = V_10;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_198 = V_13;
float L_199 = L_198.___y_1;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_14), ((float)(((float)il2cpp_codegen_add(((float)il2cpp_codegen_subtract(((float)L_194), L_195)), ((float)(((float)L_196)/(2.0f)))))/((float)L_197))), L_199, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_200 = V_14;
float L_201 = L_200.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_202 = V_12;
float L_203 = L_202.___y_1;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_15), L_201, L_203, NULL);
int32_t L_204;
L_204 = GlyphRect_get_x_m453EECC6C6F08602B1F74C5E1D8EE1163236A898((&V_3), NULL);
float L_205 = V_6;
int32_t L_206;
L_206 = GlyphRect_get_width_mD291C7644BBF18D6A213427F6C9C28840F233F12((&V_3), NULL);
int32_t L_207 = V_10;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_208 = V_13;
float L_209 = L_208.___y_1;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_16), ((float)(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)L_204), L_205)), ((float)(((float)L_206)/(2.0f)))))/((float)L_207))), L_209, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_210 = V_16;
float L_211 = L_210.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_212 = V_12;
float L_213 = L_212.___y_1;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_17), L_211, L_213, NULL);
int32_t L_214;
L_214 = GlyphRect_get_x_m453EECC6C6F08602B1F74C5E1D8EE1163236A898((&V_3), NULL);
float L_215 = V_6;
int32_t L_216;
L_216 = GlyphRect_get_width_mD291C7644BBF18D6A213427F6C9C28840F233F12((&V_3), NULL);
int32_t L_217 = V_10;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_218 = V_13;
float L_219 = L_218.___y_1;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_18), ((float)(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)L_214), L_215)), ((float)L_216)))/((float)L_217))), L_219, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_220 = V_18;
float L_221 = L_220.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_222 = V_12;
float L_223 = L_222.___y_1;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_19), L_221, L_223, NULL);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_224 = V_9;
int32_t* L_225 = ___index2;
int32_t L_226 = *((int32_t*)L_225);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_227 = V_12;
NullCheck(L_224);
(L_224)->SetAt(static_cast<il2cpp_array_size_t>(L_226), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_227);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_228 = V_9;
int32_t* L_229 = ___index2;
int32_t L_230 = *((int32_t*)L_229);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_231 = V_13;
NullCheck(L_228);
(L_228)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_230))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_231);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_232 = V_9;
int32_t* L_233 = ___index2;
int32_t L_234 = *((int32_t*)L_233);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_235 = V_14;
NullCheck(L_232);
(L_232)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_234))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_235);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_236 = V_9;
int32_t* L_237 = ___index2;
int32_t L_238 = *((int32_t*)L_237);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_239 = V_15;
NullCheck(L_236);
(L_236)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_238))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_239);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_240 = V_9;
int32_t* L_241 = ___index2;
int32_t L_242 = *((int32_t*)L_241);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_243 = V_14;
float L_244 = L_243.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_245 = V_14;
float L_246 = L_245.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_247 = V_12;
float L_248 = L_247.___y_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_249;
memset((&L_249), 0, sizeof(L_249));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_249), ((float)il2cpp_codegen_subtract(L_244, ((float)il2cpp_codegen_multiply(L_246, (0.00100000005f))))), L_248, NULL);
NullCheck(L_240);
(L_240)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(4, L_242))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_249);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_250 = V_9;
int32_t* L_251 = ___index2;
int32_t L_252 = *((int32_t*)L_251);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_253 = V_14;
float L_254 = L_253.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_255 = V_14;
float L_256 = L_255.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_257 = V_13;
float L_258 = L_257.___y_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_259;
memset((&L_259), 0, sizeof(L_259));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_259), ((float)il2cpp_codegen_subtract(L_254, ((float)il2cpp_codegen_multiply(L_256, (0.00100000005f))))), L_258, NULL);
NullCheck(L_250);
(L_250)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(5, L_252))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_259);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_260 = V_9;
int32_t* L_261 = ___index2;
int32_t L_262 = *((int32_t*)L_261);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_263 = V_14;
float L_264 = L_263.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_265 = V_14;
float L_266 = L_265.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_267 = V_13;
float L_268 = L_267.___y_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_269;
memset((&L_269), 0, sizeof(L_269));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_269), ((float)il2cpp_codegen_add(L_264, ((float)il2cpp_codegen_multiply(L_266, (0.00100000005f))))), L_268, NULL);
NullCheck(L_260);
(L_260)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(6, L_262))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_269);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_270 = V_9;
int32_t* L_271 = ___index2;
int32_t L_272 = *((int32_t*)L_271);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_273 = V_14;
float L_274 = L_273.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_275 = V_14;
float L_276 = L_275.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_277 = V_12;
float L_278 = L_277.___y_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_279;
memset((&L_279), 0, sizeof(L_279));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_279), ((float)il2cpp_codegen_add(L_274, ((float)il2cpp_codegen_multiply(L_276, (0.00100000005f))))), L_278, NULL);
NullCheck(L_270);
(L_270)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(7, L_272))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_279);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_280 = V_9;
int32_t* L_281 = ___index2;
int32_t L_282 = *((int32_t*)L_281);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_283 = V_17;
NullCheck(L_280);
(L_280)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(8, L_282))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_283);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_284 = V_9;
int32_t* L_285 = ___index2;
int32_t L_286 = *((int32_t*)L_285);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_287 = V_16;
NullCheck(L_284);
(L_284)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)9), L_286))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_287);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_288 = V_9;
int32_t* L_289 = ___index2;
int32_t L_290 = *((int32_t*)L_289);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_291 = V_18;
NullCheck(L_288);
(L_288)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)10), L_290))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_291);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_292 = V_9;
int32_t* L_293 = ___index2;
int32_t L_294 = *((int32_t*)L_293);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_295 = V_19;
NullCheck(L_292);
(L_292)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)11), L_294))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_295);
V_20 = (0.0f);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_296 = V_8;
int32_t* L_297 = ___index2;
int32_t L_298 = *((int32_t*)L_297);
NullCheck(L_296);
float L_299 = ((L_296)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_298, 2)))))->___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_300 = ___start0;
float L_301 = L_300.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_302 = ___end1;
float L_303 = L_302.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_304 = ___start0;
float L_305 = L_304.___x_2;
V_21 = ((float)(((float)il2cpp_codegen_subtract(L_299, L_301))/((float)il2cpp_codegen_subtract(L_303, L_305))));
float L_306 = ___sdfScale6;
float L_307;
L_307 = fabsf(L_306);
V_22 = L_307;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_308 = __this->___m_textInfo_154;
NullCheck(L_308);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_309 = L_308->___meshInfo_16;
int32_t L_310 = V_0;
NullCheck(L_309);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_311 = ((L_309)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_310)))->___uvs2_10;
V_23 = L_311;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_312 = V_23;
int32_t* L_313 = ___index2;
int32_t L_314 = *((int32_t*)L_313);
float L_315 = V_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_316;
L_316 = TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905(__this, (0.0f), (0.0f), L_315, NULL);
NullCheck(L_312);
(L_312)->SetAt(static_cast<il2cpp_array_size_t>(L_314), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_316);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_317 = V_23;
int32_t* L_318 = ___index2;
int32_t L_319 = *((int32_t*)L_318);
float L_320 = V_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_321;
L_321 = TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905(__this, (0.0f), (1.0f), L_320, NULL);
NullCheck(L_317);
(L_317)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_319))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_321);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_322 = V_23;
int32_t* L_323 = ___index2;
int32_t L_324 = *((int32_t*)L_323);
float L_325 = V_21;
float L_326 = V_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_327;
L_327 = TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905(__this, L_325, (1.0f), L_326, NULL);
NullCheck(L_322);
(L_322)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_324))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_327);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_328 = V_23;
int32_t* L_329 = ___index2;
int32_t L_330 = *((int32_t*)L_329);
float L_331 = V_21;
float L_332 = V_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_333;
L_333 = TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905(__this, L_331, (0.0f), L_332, NULL);
NullCheck(L_328);
(L_328)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_330))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_333);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_334 = V_8;
int32_t* L_335 = ___index2;
int32_t L_336 = *((int32_t*)L_335);
NullCheck(L_334);
float L_337 = ((L_334)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_336, 4)))))->___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_338 = ___start0;
float L_339 = L_338.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_340 = ___end1;
float L_341 = L_340.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_342 = ___start0;
float L_343 = L_342.___x_2;
V_20 = ((float)(((float)il2cpp_codegen_subtract(L_337, L_339))/((float)il2cpp_codegen_subtract(L_341, L_343))));
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_344 = V_8;
int32_t* L_345 = ___index2;
int32_t L_346 = *((int32_t*)L_345);
NullCheck(L_344);
float L_347 = ((L_344)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_346, 6)))))->___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_348 = ___start0;
float L_349 = L_348.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_350 = ___end1;
float L_351 = L_350.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_352 = ___start0;
float L_353 = L_352.___x_2;
V_21 = ((float)(((float)il2cpp_codegen_subtract(L_347, L_349))/((float)il2cpp_codegen_subtract(L_351, L_353))));
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_354 = V_23;
int32_t* L_355 = ___index2;
int32_t L_356 = *((int32_t*)L_355);
float L_357 = V_20;
float L_358 = V_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_359;
L_359 = TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905(__this, L_357, (0.0f), L_358, NULL);
NullCheck(L_354);
(L_354)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(4, L_356))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_359);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_360 = V_23;
int32_t* L_361 = ___index2;
int32_t L_362 = *((int32_t*)L_361);
float L_363 = V_20;
float L_364 = V_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_365;
L_365 = TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905(__this, L_363, (1.0f), L_364, NULL);
NullCheck(L_360);
(L_360)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(5, L_362))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_365);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_366 = V_23;
int32_t* L_367 = ___index2;
int32_t L_368 = *((int32_t*)L_367);
float L_369 = V_21;
float L_370 = V_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_371;
L_371 = TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905(__this, L_369, (1.0f), L_370, NULL);
NullCheck(L_366);
(L_366)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(6, L_368))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_371);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_372 = V_23;
int32_t* L_373 = ___index2;
int32_t L_374 = *((int32_t*)L_373);
float L_375 = V_21;
float L_376 = V_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_377;
L_377 = TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905(__this, L_375, (0.0f), L_376, NULL);
NullCheck(L_372);
(L_372)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(7, L_374))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_377);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_378 = V_8;
int32_t* L_379 = ___index2;
int32_t L_380 = *((int32_t*)L_379);
NullCheck(L_378);
float L_381 = ((L_378)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_380, 8)))))->___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_382 = ___start0;
float L_383 = L_382.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_384 = ___end1;
float L_385 = L_384.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_386 = ___start0;
float L_387 = L_386.___x_2;
V_20 = ((float)(((float)il2cpp_codegen_subtract(L_381, L_383))/((float)il2cpp_codegen_subtract(L_385, L_387))));
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_388 = V_23;
int32_t* L_389 = ___index2;
int32_t L_390 = *((int32_t*)L_389);
float L_391 = V_20;
float L_392 = V_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_393;
L_393 = TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905(__this, L_391, (0.0f), L_392, NULL);
NullCheck(L_388);
(L_388)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(8, L_390))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_393);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_394 = V_23;
int32_t* L_395 = ___index2;
int32_t L_396 = *((int32_t*)L_395);
float L_397 = V_20;
float L_398 = V_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_399;
L_399 = TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905(__this, L_397, (1.0f), L_398, NULL);
NullCheck(L_394);
(L_394)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)9), L_396))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_399);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_400 = V_23;
int32_t* L_401 = ___index2;
int32_t L_402 = *((int32_t*)L_401);
float L_403 = V_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_404;
L_404 = TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905(__this, (1.0f), (1.0f), L_403, NULL);
NullCheck(L_400);
(L_400)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)10), L_402))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_404);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_405 = V_23;
int32_t* L_406 = ___index2;
int32_t L_407 = *((int32_t*)L_406);
float L_408 = V_22;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_409;
L_409 = TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905(__this, (1.0f), (0.0f), L_408, NULL);
NullCheck(L_405);
(L_405)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)11), L_407))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_409);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_410 = (&__this->___m_fontColor32_55);
uint8_t L_411 = L_410->___a_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_412 = ___underlineColor7;
uint8_t L_413 = L_412.___a_4;
if ((((int32_t)L_411) < ((int32_t)L_413)))
{
G_B10_0 = (&___underlineColor7);
goto IL_07c2;
}
G_B9_0 = (&___underlineColor7);
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_414 = ___underlineColor7;
uint8_t L_415 = L_414.___a_4;
G_B11_0 = L_415;
G_B11_1 = G_B9_0;
goto IL_07cd;
}
IL_07c2:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_416 = (&__this->___m_fontColor32_55);
uint8_t L_417 = L_416->___a_4;
G_B11_0 = L_417;
G_B11_1 = G_B10_0;
}
IL_07cd:
{
G_B11_1->___a_4 = G_B11_0;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_418 = __this->___m_textInfo_154;
NullCheck(L_418);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_419 = L_418->___meshInfo_16;
int32_t L_420 = V_0;
NullCheck(L_419);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_421 = ((L_419)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_420)))->___colors32_11;
V_24 = L_421;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_422 = V_24;
int32_t* L_423 = ___index2;
int32_t L_424 = *((int32_t*)L_423);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_425 = ___underlineColor7;
NullCheck(L_422);
(L_422)->SetAt(static_cast<il2cpp_array_size_t>(L_424), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_425);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_426 = V_24;
int32_t* L_427 = ___index2;
int32_t L_428 = *((int32_t*)L_427);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_429 = ___underlineColor7;
NullCheck(L_426);
(L_426)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_428))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_429);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_430 = V_24;
int32_t* L_431 = ___index2;
int32_t L_432 = *((int32_t*)L_431);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_433 = ___underlineColor7;
NullCheck(L_430);
(L_430)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_432))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_433);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_434 = V_24;
int32_t* L_435 = ___index2;
int32_t L_436 = *((int32_t*)L_435);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_437 = ___underlineColor7;
NullCheck(L_434);
(L_434)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_436))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_437);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_438 = V_24;
int32_t* L_439 = ___index2;
int32_t L_440 = *((int32_t*)L_439);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_441 = ___underlineColor7;
NullCheck(L_438);
(L_438)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(4, L_440))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_441);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_442 = V_24;
int32_t* L_443 = ___index2;
int32_t L_444 = *((int32_t*)L_443);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_445 = ___underlineColor7;
NullCheck(L_442);
(L_442)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(5, L_444))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_445);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_446 = V_24;
int32_t* L_447 = ___index2;
int32_t L_448 = *((int32_t*)L_447);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_449 = ___underlineColor7;
NullCheck(L_446);
(L_446)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(6, L_448))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_449);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_450 = V_24;
int32_t* L_451 = ___index2;
int32_t L_452 = *((int32_t*)L_451);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_453 = ___underlineColor7;
NullCheck(L_450);
(L_450)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(7, L_452))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_453);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_454 = V_24;
int32_t* L_455 = ___index2;
int32_t L_456 = *((int32_t*)L_455);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_457 = ___underlineColor7;
NullCheck(L_454);
(L_454)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(8, L_456))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_457);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_458 = V_24;
int32_t* L_459 = ___index2;
int32_t L_460 = *((int32_t*)L_459);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_461 = ___underlineColor7;
NullCheck(L_458);
(L_458)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)9), L_460))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_461);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_462 = V_24;
int32_t* L_463 = ___index2;
int32_t L_464 = *((int32_t*)L_463);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_465 = ___underlineColor7;
NullCheck(L_462);
(L_462)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)10), L_464))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_465);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_466 = V_24;
int32_t* L_467 = ___index2;
int32_t L_468 = *((int32_t*)L_467);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_469 = ___underlineColor7;
NullCheck(L_466);
(L_466)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)11), L_468))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_469);
int32_t* L_470 = ___index2;
int32_t* L_471 = ___index2;
int32_t L_472 = *((int32_t*)L_471);
*((int32_t*)L_470) = (int32_t)((int32_t)il2cpp_codegen_add(L_472, ((int32_t)12)));
}
IL_088e:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_DrawTextHighlight_m328E45B989DA4EC8754CC437EACC79D8D0A7F327 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___start0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___end1, int32_t* ___index2, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral75CDF58C9AFA1ECF6D29D4045BD510C2651DD6E5);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_2 = NULL;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_3 = NULL;
int32_t V_4 = 0;
int32_t V_5 = 0;
GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D V_6;
memset((&V_6), 0, sizeof(V_6));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_7;
memset((&V_7), 0, sizeof(V_7));
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_8 = NULL;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_9;
memset((&V_9), 0, sizeof(V_9));
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* V_10 = NULL;
bool V_11 = false;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B10_0 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B9_0 = NULL;
uint8_t G_B11_0 = 0x0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B11_1 = NULL;
{
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_0 = (&__this->___m_Underline_250);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_1 = L_0->___character_0;
V_11 = (bool)((((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_1) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_2 = V_11;
if (!L_2)
{
goto IL_0058;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_3 = __this->___m_fontAsset_42;
TMP_Text_GetUnderlineSpecialCharacter_m52EA407A41AABE20FE8888C6E94BB70EF0E82CE1(__this, L_3, NULL);
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_4 = (&__this->___m_Underline_250);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_5 = L_4->___character_0;
V_12 = (bool)((((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_5) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_6 = V_12;
if (!L_6)
{
goto IL_0057;
}
}
{
bool L_7;
L_7 = TMP_Settings_get_warningsDisabled_m2590555E7D849D05AF4B63DEA82407812DB37B22(NULL);
V_13 = (bool)((((int32_t)L_7) == ((int32_t)0))? 1 : 0);
bool L_8 = V_13;
if (!L_8)
{
goto IL_0052;
}
}
{
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogWarning_m23033D7E2F0F298BE465B7F3A63CDF40A4EB70EB(_stringLiteral75CDF58C9AFA1ECF6D29D4045BD510C2651DD6E5, __this, NULL);
}
IL_0052:
{
goto IL_02a4;
}
IL_0057:
{
}
IL_0058:
{
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_9 = (&__this->___m_Underline_250);
int32_t L_10 = L_9->___materialIndex_3;
V_0 = L_10;
int32_t* L_11 = ___index2;
int32_t L_12 = *((int32_t*)L_11);
V_1 = ((int32_t)il2cpp_codegen_add(L_12, 4));
int32_t L_13 = V_1;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_14 = __this->___m_textInfo_154;
NullCheck(L_14);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_15 = L_14->___meshInfo_16;
int32_t L_16 = V_0;
NullCheck(L_15);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_17 = ((L_15)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_16)))->___vertices_6;
NullCheck(L_17);
V_14 = (bool)((((int32_t)L_13) > ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length))))? 1 : 0);
bool L_18 = V_14;
if (!L_18)
{
goto IL_00a6;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_19 = __this->___m_textInfo_154;
NullCheck(L_19);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_20 = L_19->___meshInfo_16;
int32_t L_21 = V_0;
NullCheck(L_20);
int32_t L_22 = V_1;
TMP_MeshInfo_ResizeMeshInfo_m13DF794141EBDD4446391BAF6FD469EEFE3DD6D1(((L_20)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_21))), ((int32_t)(L_22/4)), NULL);
}
IL_00a6:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_23 = __this->___m_textInfo_154;
NullCheck(L_23);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_24 = L_23->___meshInfo_16;
int32_t L_25 = V_0;
NullCheck(L_24);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_26 = ((L_24)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_25)))->___vertices_6;
V_2 = L_26;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_27 = V_2;
int32_t* L_28 = ___index2;
int32_t L_29 = *((int32_t*)L_28);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = ___start0;
NullCheck(L_27);
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(L_29), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_30);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_31 = V_2;
int32_t* L_32 = ___index2;
int32_t L_33 = *((int32_t*)L_32);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = ___start0;
float L_35 = L_34.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = ___end1;
float L_37 = L_36.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
memset((&L_38), 0, sizeof(L_38));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_38), L_35, L_37, (0.0f), NULL);
NullCheck(L_31);
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_33, 1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_38);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_39 = V_2;
int32_t* L_40 = ___index2;
int32_t L_41 = *((int32_t*)L_40);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = ___end1;
NullCheck(L_39);
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_41, 2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_42);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_43 = V_2;
int32_t* L_44 = ___index2;
int32_t L_45 = *((int32_t*)L_44);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = ___end1;
float L_47 = L_46.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = ___start0;
float L_49 = L_48.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
memset((&L_50), 0, sizeof(L_50));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_50), L_47, L_49, (0.0f), NULL);
NullCheck(L_43);
(L_43)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_45, 3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_50);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_51 = __this->___m_textInfo_154;
NullCheck(L_51);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_52 = L_51->___meshInfo_16;
int32_t L_53 = V_0;
NullCheck(L_52);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_54 = ((L_52)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_53)))->___uvs0_9;
V_3 = L_54;
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_55 = (&__this->___m_Underline_250);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_56 = L_55->___fontAsset_1;
NullCheck(L_56);
int32_t L_57;
L_57 = TMP_FontAsset_get_atlasWidth_m45CB71477140814BBFF666E9179D0F9BFFA03EFC(L_56, NULL);
V_4 = L_57;
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_58 = (&__this->___m_Underline_250);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_59 = L_58->___fontAsset_1;
NullCheck(L_59);
int32_t L_60;
L_60 = TMP_FontAsset_get_atlasHeight_m95F59523E66882079E1D2A4157DE5FF52C4892AC(L_59, NULL);
V_5 = L_60;
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777* L_61 = (&__this->___m_Underline_250);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_62 = L_61->___character_0;
NullCheck(L_62);
Glyph_t700CF8EBE04ED4AEAB520885AAA1B309E02A103F* L_63;
L_63 = TMP_TextElement_get_glyph_mB86D5107DDF4ADB051309056E876FEAE843E3D07(L_62, NULL);
NullCheck(L_63);
GlyphRect_tB6D225B9318A527A1CBC1B4078EB923398EB808D L_64;
L_64 = Glyph_get_glyphRect_m94E7C5FE682695CDC096248EF027079F33768EE5(L_63, NULL);
V_6 = L_64;
int32_t L_65;
L_65 = GlyphRect_get_x_m453EECC6C6F08602B1F74C5E1D8EE1163236A898((&V_6), NULL);
int32_t L_66;
L_66 = GlyphRect_get_width_mD291C7644BBF18D6A213427F6C9C28840F233F12((&V_6), NULL);
int32_t L_67 = V_4;
int32_t L_68;
L_68 = GlyphRect_get_y_mE31390BB3185EEA82DD16EA41E208F6A0397E3EA((&V_6), NULL);
int32_t L_69;
L_69 = GlyphRect_get_height_m7F4D04452994E0D18762BB44352608E484DAAC1A((&V_6), NULL);
int32_t L_70 = V_5;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_7), ((float)(((float)il2cpp_codegen_add(((float)L_65), ((float)((int32_t)(L_66/2)))))/((float)L_67))), ((float)(((float)il2cpp_codegen_add(((float)L_68), ((float)(((float)L_69)/(2.0f)))))/((float)L_70))), NULL);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_71 = V_3;
int32_t* L_72 = ___index2;
int32_t L_73 = *((int32_t*)L_72);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_74 = V_7;
NullCheck(L_71);
(L_71)->SetAt(static_cast<il2cpp_array_size_t>(L_73), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_74);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_75 = V_3;
int32_t* L_76 = ___index2;
int32_t L_77 = *((int32_t*)L_76);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_78 = V_7;
NullCheck(L_75);
(L_75)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_77))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_78);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_79 = V_3;
int32_t* L_80 = ___index2;
int32_t L_81 = *((int32_t*)L_80);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_82 = V_7;
NullCheck(L_79);
(L_79)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_81))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_82);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_83 = V_3;
int32_t* L_84 = ___index2;
int32_t L_85 = *((int32_t*)L_84);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_86 = V_7;
NullCheck(L_83);
(L_83)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_85))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_86);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_87 = __this->___m_textInfo_154;
NullCheck(L_87);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_88 = L_87->___meshInfo_16;
int32_t L_89 = V_0;
NullCheck(L_88);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_90 = ((L_88)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_89)))->___uvs2_10;
V_8 = L_90;
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_9), (0.0f), (1.0f), NULL);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_91 = V_8;
int32_t* L_92 = ___index2;
int32_t L_93 = *((int32_t*)L_92);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_94 = V_9;
NullCheck(L_91);
(L_91)->SetAt(static_cast<il2cpp_array_size_t>(L_93), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_94);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_95 = V_8;
int32_t* L_96 = ___index2;
int32_t L_97 = *((int32_t*)L_96);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_98 = V_9;
NullCheck(L_95);
(L_95)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_97))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_98);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_99 = V_8;
int32_t* L_100 = ___index2;
int32_t L_101 = *((int32_t*)L_100);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_102 = V_9;
NullCheck(L_99);
(L_99)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_101))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_102);
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_103 = V_8;
int32_t* L_104 = ___index2;
int32_t L_105 = *((int32_t*)L_104);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_106 = V_9;
NullCheck(L_103);
(L_103)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_105))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_106);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_107 = (&__this->___m_fontColor32_55);
uint8_t L_108 = L_107->___a_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_109 = ___highlightColor3;
uint8_t L_110 = L_109.___a_4;
if ((((int32_t)L_108) < ((int32_t)L_110)))
{
G_B10_0 = (&___highlightColor3);
goto IL_0244;
}
G_B9_0 = (&___highlightColor3);
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_111 = ___highlightColor3;
uint8_t L_112 = L_111.___a_4;
G_B11_0 = L_112;
G_B11_1 = G_B9_0;
goto IL_024f;
}
IL_0244:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_113 = (&__this->___m_fontColor32_55);
uint8_t L_114 = L_113->___a_4;
G_B11_0 = L_114;
G_B11_1 = G_B10_0;
}
IL_024f:
{
G_B11_1->___a_4 = G_B11_0;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_115 = __this->___m_textInfo_154;
NullCheck(L_115);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_116 = L_115->___meshInfo_16;
int32_t L_117 = V_0;
NullCheck(L_116);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_118 = ((L_116)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_117)))->___colors32_11;
V_10 = L_118;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_119 = V_10;
int32_t* L_120 = ___index2;
int32_t L_121 = *((int32_t*)L_120);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_122 = ___highlightColor3;
NullCheck(L_119);
(L_119)->SetAt(static_cast<il2cpp_array_size_t>(L_121), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_122);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_123 = V_10;
int32_t* L_124 = ___index2;
int32_t L_125 = *((int32_t*)L_124);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_126 = ___highlightColor3;
NullCheck(L_123);
(L_123)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(1, L_125))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_126);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_127 = V_10;
int32_t* L_128 = ___index2;
int32_t L_129 = *((int32_t*)L_128);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_130 = ___highlightColor3;
NullCheck(L_127);
(L_127)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(2, L_129))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_130);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_131 = V_10;
int32_t* L_132 = ___index2;
int32_t L_133 = *((int32_t*)L_132);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_134 = ___highlightColor3;
NullCheck(L_131);
(L_131)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(3, L_133))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B)L_134);
int32_t* L_135 = ___index2;
int32_t* L_136 = ___index2;
int32_t L_137 = *((int32_t*)L_136);
*((int32_t*)L_135) = (int32_t)((int32_t)il2cpp_codegen_add(L_137, 4));
}
IL_02a4:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_LoadDefaultSettings_m529A22FF5A03DA761B775E3EABAF5EC6D122404A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
float V_5 = 0.0f;
bool V_6 = false;
bool V_7 = false;
int32_t G_B3_0 = 0;
{
float L_0 = __this->___m_fontSize_75;
if ((((float)L_0) == ((float)(-99.0f))))
{
goto IL_0016;
}
}
{
bool L_1 = __this->___m_isWaitingOnResourceLoad_186;
G_B3_0 = ((int32_t)(L_1));
goto IL_0017;
}
IL_0016:
{
G_B3_0 = 1;
}
IL_0017:
{
V_0 = (bool)G_B3_0;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0160;
}
}
{
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* L_3;
L_3 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(__this, NULL);
__this->___m_rectTransform_158 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_rectTransform_158), (void*)L_3);
bool L_4;
L_4 = TMP_Settings_get_autoSizeTextContainer_m975EB0FF2086BA79F214C099AF1839D4FA2F0DF3(NULL);
V_1 = L_4;
bool L_5 = V_1;
if (!L_5)
{
goto IL_0043;
}
}
{
VirtualActionInvoker1< bool >::Invoke(76, __this, (bool)1);
goto IL_00ce;
}
IL_0043:
{
Type_t* L_6;
L_6 = Object_GetType_mE10A8FC1E57F3DF29972CCBC026C2DC3942263B3(__this, NULL);
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B L_7 = { reinterpret_cast<intptr_t> (TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_0_0_0_var) };
il2cpp_codegen_runtime_class_init_inline(Type_t_il2cpp_TypeInfo_var);
Type_t* L_8;
L_8 = Type_GetTypeFromHandle_m6062B81682F79A4D6DF2640692EE6D9987858C57(L_7, NULL);
bool L_9;
L_9 = Type_op_Equality_m99930A0E44E420A685FABA60E60BA1CC5FA0EBDC(L_6, L_8, NULL);
V_2 = L_9;
bool L_10 = V_2;
if (!L_10)
{
goto IL_0095;
}
}
{
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* L_11 = __this->___m_rectTransform_158;
NullCheck(L_11);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12;
L_12 = RectTransform_get_sizeDelta_m822A8493F2035677384F1540A2E9E5ACE63010BB(L_11, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_13;
memset((&L_13), 0, sizeof(L_13));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_13), (100.0f), (100.0f), NULL);
bool L_14;
L_14 = Vector2_op_Equality_m6F2E069A50E787D131261E5CB25FC9E03F95B5E1_inline(L_12, L_13, NULL);
V_3 = L_14;
bool L_15 = V_3;
if (!L_15)
{
goto IL_0092;
}
}
{
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* L_16 = __this->___m_rectTransform_158;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_17;
L_17 = TMP_Settings_get_defaultTextMeshProTextContainerSize_m466E747B45873AD1DF7E06157B97E731B5AEE5DB(NULL);
NullCheck(L_16);
RectTransform_set_sizeDelta_mC9A980EA6036E6725EF24CEDF3EE80A9B2B50EE5(L_16, L_17, NULL);
}
IL_0092:
{
goto IL_00cd;
}
IL_0095:
{
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* L_18 = __this->___m_rectTransform_158;
NullCheck(L_18);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_19;
L_19 = RectTransform_get_sizeDelta_m822A8493F2035677384F1540A2E9E5ACE63010BB(L_18, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_20;
memset((&L_20), 0, sizeof(L_20));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_20), (100.0f), (100.0f), NULL);
bool L_21;
L_21 = Vector2_op_Equality_m6F2E069A50E787D131261E5CB25FC9E03F95B5E1_inline(L_19, L_20, NULL);
V_4 = L_21;
bool L_22 = V_4;
if (!L_22)
{
goto IL_00cc;
}
}
{
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5* L_23 = __this->___m_rectTransform_158;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_24;
L_24 = TMP_Settings_get_defaultTextMeshProUITextContainerSize_m0D4A8F331AA212AADCB5BA044E5C79B811ED70DF(NULL);
NullCheck(L_23);
RectTransform_set_sizeDelta_mC9A980EA6036E6725EF24CEDF3EE80A9B2B50EE5(L_23, L_24, NULL);
}
IL_00cc:
{
}
IL_00cd:
{
}
IL_00ce:
{
bool L_25;
L_25 = TMP_Settings_get_enableWordWrapping_m6768537460F6CD13F5A581282353B2B98EE22A1D(NULL);
__this->___m_enableWordWrapping_112 = L_25;
bool L_26;
L_26 = TMP_Settings_get_enableKerning_mC1031F78F03B64FE3082EFFF3736C0D428A29E22(NULL);
__this->___m_enableKerning_122 = L_26;
bool L_27;
L_27 = TMP_Settings_get_enableExtraPadding_mDB4FE26B3547EA2BF5FFC8CE354680B4EC02CB42(NULL);
__this->___m_enableExtraPadding_124 = L_27;
bool L_28;
L_28 = TMP_Settings_get_enableTintAllSprites_mD2803D776AE9A89D55E521D82C2DD0AB8135A120(NULL);
__this->___m_tintAllSprites_65 = L_28;
bool L_29;
L_29 = TMP_Settings_get_enableParseEscapeCharacters_mE6CB6DE4E034CA3CA08D0035A16923CC7EB847D2(NULL);
__this->___m_parseCtrlCharacters_127 = L_29;
float L_30;
L_30 = TMP_Settings_get_defaultFontSize_m0DD0FFB0811B5EA0DAF7C44BB1F3BA2B8F0C6F1C(NULL);
float L_31 = L_30;
V_5 = L_31;
__this->___m_fontSizeBase_77 = L_31;
float L_32 = V_5;
__this->___m_fontSize_75 = L_32;
float L_33 = __this->___m_fontSize_75;
float L_34;
L_34 = TMP_Settings_get_defaultTextAutoSizingMinRatio_m7DAE2F65CA41AF99FEF2AF1B0AF9F2AA0F3992B7(NULL);
__this->___m_fontSizeMin_88 = ((float)il2cpp_codegen_multiply(L_33, L_34));
float L_35 = __this->___m_fontSize_75;
float L_36;
L_36 = TMP_Settings_get_defaultTextAutoSizingMaxRatio_m58977C845522D0083F422883C8158BBED78086AE(NULL);
__this->___m_fontSizeMax_89 = ((float)il2cpp_codegen_multiply(L_35, L_36));
__this->___m_isWaitingOnResourceLoad_186 = (bool)0;
bool L_37;
L_37 = TMP_Settings_get_enableRaycastTarget_mC7F0756A3563CCF4788AEA19355C221963BF2260(NULL);
VirtualActionInvoker1< bool >::Invoke(25, __this, L_37);
bool L_38;
L_38 = TMP_Settings_get_isTextObjectScaleStatic_m2F89F247DDA607F93B26EB5B9A698C5C2A975D18(NULL);
__this->___m_IsTextObjectScaleStatic_139 = L_38;
goto IL_0186;
}
IL_0160:
{
int32_t L_39 = __this->___m_textAlignment_96;
V_6 = (bool)((((int32_t)L_39) < ((int32_t)((int32_t)255)))? 1 : 0);
bool L_40 = V_6;
if (!L_40)
{
goto IL_0186;
}
}
{
int32_t L_41 = __this->___m_textAlignment_96;
int32_t L_42;
L_42 = TMP_Compatibility_ConvertTextAlignmentEnumValues_mE840105F8940EB3B458F11758D4FBB8E1C8EF775(L_41, NULL);
__this->___m_textAlignment_96 = L_42;
}
IL_0186:
{
int32_t L_43 = __this->___m_textAlignment_96;
V_7 = (bool)((((int32_t)((((int32_t)L_43) == ((int32_t)((int32_t)65535)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_44 = V_7;
if (!L_44)
{
goto IL_01cd;
}
}
{
int32_t L_45 = __this->___m_textAlignment_96;
__this->___m_HorizontalAlignment_94 = ((int32_t)((int32_t)L_45&((int32_t)255)));
int32_t L_46 = __this->___m_textAlignment_96;
__this->___m_VerticalAlignment_95 = ((int32_t)((int32_t)L_46&((int32_t)65280)));
__this->___m_textAlignment_96 = ((int32_t)65535);
}
IL_01cd:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_GetSpecialCharacters_mE903DAAA333AFF79BE23404C0E530BF2F974F86E (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset0, const RuntimeMethod* method)
{
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_0 = ___fontAsset0;
TMP_Text_GetEllipsisSpecialCharacter_mAB1E3B988E1169235AEC26DC0EC29B993FDF4735(__this, L_0, NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1 = ___fontAsset0;
TMP_Text_GetUnderlineSpecialCharacter_m52EA407A41AABE20FE8888C6E94BB70EF0E82CE1(__this, L_1, NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_GetEllipsisSpecialCharacter_mAB1E3B988E1169235AEC26DC0EC29B993FDF4735 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* 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;
int32_t G_B4_0 = 0;
int32_t G_B11_0 = 0;
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_0 = ___fontAsset0;
int32_t L_1 = __this->___m_FontStyleInternal_91;
int32_t L_2 = __this->___m_FontWeightInternal_80;
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_3;
L_3 = TMP_FontAssetUtilities_GetCharacterFromFontAsset_m26EEEB3C26157C92CF623A246D6E92085E06CA26(((int32_t)8230), L_0, (bool)0, L_1, L_2, (&V_0), NULL);
V_1 = L_3;
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_4 = V_1;
V_2 = (bool)((((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_4) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_5 = V_2;
if (!L_5)
{
goto IL_0064;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_6 = ___fontAsset0;
NullCheck(L_6);
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_7 = L_6->___m_FallbackFontAssetTable_34;
if (!L_7)
{
goto IL_003d;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_8 = ___fontAsset0;
NullCheck(L_8);
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_9 = L_8->___m_FallbackFontAssetTable_34;
NullCheck(L_9);
int32_t L_10;
L_10 = List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_inline(L_9, List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_RuntimeMethod_var);
G_B4_0 = ((((int32_t)L_10) > ((int32_t)0))? 1 : 0);
goto IL_003e;
}
IL_003d:
{
G_B4_0 = 0;
}
IL_003e:
{
V_3 = (bool)G_B4_0;
bool L_11 = V_3;
if (!L_11)
{
goto IL_0063;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_12 = ___fontAsset0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_13 = ___fontAsset0;
NullCheck(L_13);
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_14 = L_13->___m_FallbackFontAssetTable_34;
int32_t L_15 = __this->___m_FontStyleInternal_91;
int32_t L_16 = __this->___m_FontWeightInternal_80;
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_17;
L_17 = TMP_FontAssetUtilities_GetCharacterFromFontAssets_mF773865B6F097CDA5625615EA2CFC39DFB7A12D0(((int32_t)8230), L_12, L_14, (bool)1, L_15, L_16, (&V_0), NULL);
V_1 = L_17;
}
IL_0063:
{
}
IL_0064:
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_18 = V_1;
V_4 = (bool)((((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_18) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_19 = V_4;
if (!L_19)
{
goto IL_00ad;
}
}
{
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_20;
L_20 = TMP_Settings_get_fallbackFontAssets_mD671B9D809736E7DC84543568C25BEF9C0B7269D(NULL);
if (!L_20)
{
goto IL_0085;
}
}
{
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_21;
L_21 = TMP_Settings_get_fallbackFontAssets_mD671B9D809736E7DC84543568C25BEF9C0B7269D(NULL);
NullCheck(L_21);
int32_t L_22;
L_22 = List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_inline(L_21, List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_RuntimeMethod_var);
G_B11_0 = ((((int32_t)L_22) > ((int32_t)0))? 1 : 0);
goto IL_0086;
}
IL_0085:
{
G_B11_0 = 0;
}
IL_0086:
{
V_5 = (bool)G_B11_0;
bool L_23 = V_5;
if (!L_23)
{
goto IL_00ac;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_24 = ___fontAsset0;
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_25;
L_25 = TMP_Settings_get_fallbackFontAssets_mD671B9D809736E7DC84543568C25BEF9C0B7269D(NULL);
int32_t L_26 = __this->___m_FontStyleInternal_91;
int32_t L_27 = __this->___m_FontWeightInternal_80;
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_28;
L_28 = TMP_FontAssetUtilities_GetCharacterFromFontAssets_mF773865B6F097CDA5625615EA2CFC39DFB7A12D0(((int32_t)8230), L_24, L_25, (bool)1, L_26, L_27, (&V_0), NULL);
V_1 = L_28;
}
IL_00ac:
{
}
IL_00ad:
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_29 = V_1;
V_6 = (bool)((((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_29) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_30 = V_6;
if (!L_30)
{
goto IL_00e9;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_31;
L_31 = TMP_Settings_get_defaultFontAsset_m08D5F2C60E2E313EFAE26C16934F08A499DDFC64(NULL);
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_32;
L_32 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_31, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_7 = L_32;
bool L_33 = V_7;
if (!L_33)
{
goto IL_00e8;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_34;
L_34 = TMP_Settings_get_defaultFontAsset_m08D5F2C60E2E313EFAE26C16934F08A499DDFC64(NULL);
int32_t L_35 = __this->___m_FontStyleInternal_91;
int32_t L_36 = __this->___m_FontWeightInternal_80;
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_37;
L_37 = TMP_FontAssetUtilities_GetCharacterFromFontAsset_m26EEEB3C26157C92CF623A246D6E92085E06CA26(((int32_t)8230), L_34, (bool)1, L_35, L_36, (&V_0), NULL);
V_1 = L_37;
}
IL_00e8:
{
}
IL_00e9:
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_38 = V_1;
V_8 = (bool)((!(((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_38) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_39 = V_8;
if (!L_39)
{
goto IL_0100;
}
}
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_40 = V_1;
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777 L_41;
memset((&L_41), 0, sizeof(L_41));
SpecialCharacter__ctor_m6EA478027143EA28D3A52D1E020B95B9286824FF((&L_41), L_40, 0, NULL);
__this->___m_Ellipsis_249 = L_41;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_Ellipsis_249))->___character_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_Ellipsis_249))->___fontAsset_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_Ellipsis_249))->___material_2), (void*)NULL);
#endif
}
IL_0100:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_GetUnderlineSpecialCharacter_m52EA407A41AABE20FE8888C6E94BB70EF0E82CE1 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral77A4D95C5A66881369906720C24690D7097D85DC);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBDC04DCE144956C85753B1D40627C3620348D36C);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* V_1 = NULL;
bool V_2 = false;
bool V_3 = false;
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_0 = ___fontAsset0;
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_1;
L_1 = TMP_FontAssetUtilities_GetCharacterFromFontAsset_m26EEEB3C26157C92CF623A246D6E92085E06CA26(((int32_t)95), L_0, (bool)0, 0, ((int32_t)400), (&V_0), NULL);
V_1 = L_1;
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_2 = V_1;
V_2 = (bool)((!(((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_2) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_3 = V_2;
if (!L_3)
{
goto IL_002c;
}
}
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_4 = V_1;
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777 L_5;
memset((&L_5), 0, sizeof(L_5));
SpecialCharacter__ctor_m6EA478027143EA28D3A52D1E020B95B9286824FF((&L_5), L_4, 0, NULL);
__this->___m_Underline_250 = L_5;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_Underline_250))->___character_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_Underline_250))->___fontAsset_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_Underline_250))->___material_2), (void*)NULL);
#endif
goto IL_0056;
}
IL_002c:
{
bool L_6;
L_6 = TMP_Settings_get_warningsDisabled_m2590555E7D849D05AF4B63DEA82407812DB37B22(NULL);
V_3 = (bool)((((int32_t)L_6) == ((int32_t)0))? 1 : 0);
bool L_7 = V_3;
if (!L_7)
{
goto IL_0055;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_8 = ___fontAsset0;
NullCheck(L_8);
String_t* L_9;
L_9 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_8, NULL);
String_t* L_10;
L_10 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(_stringLiteralBDC04DCE144956C85753B1D40627C3620348D36C, L_9, _stringLiteral77A4D95C5A66881369906720C24690D7097D85DC, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_LogWarning_m23033D7E2F0F298BE465B7F3A63CDF40A4EB70EB(L_10, __this, NULL);
}
IL_0055:
{
}
IL_0056:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ReplaceTagWithCharacter_m27550FAAA0F89BCBF7E6ABF7E52888B04C92AFBF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___chars0, int32_t ___insertionIndex1, int32_t ___tagLength2, Il2CppChar ___c3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
bool V_1 = false;
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = ___chars0;
int32_t L_1 = ___insertionIndex1;
Il2CppChar L_2 = ___c3;
NullCheck(L_0);
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(L_1), (int32_t)L_2);
int32_t L_3 = ___insertionIndex1;
int32_t L_4 = ___tagLength2;
V_0 = ((int32_t)il2cpp_codegen_add(L_3, L_4));
goto IL_001a;
}
IL_000c:
{
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_5 = ___chars0;
int32_t L_6 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = ___chars0;
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = L_8;
int32_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
NullCheck(L_5);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_6, 3))), (int32_t)L_10);
int32_t L_11 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_11, 1));
}
IL_001a:
{
int32_t L_12 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_13 = ___chars0;
NullCheck(L_13);
V_1 = (bool)((((int32_t)L_12) < ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length))))? 1 : 0);
bool L_14 = V_1;
if (L_14)
{
goto IL_000c;
}
}
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* TMP_Text_GetFontAssetForWeight_m8CAC4978C3092AE62D5354BE0D579E1985F84323 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, int32_t ___fontWeight0, const RuntimeMethod* method)
{
bool V_0 = false;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* V_1 = NULL;
int32_t V_2 = 0;
bool V_3 = false;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* V_4 = NULL;
int32_t G_B3_0 = 0;
{
int32_t L_0 = __this->___m_FontStyleInternal_91;
if ((((int32_t)((int32_t)((int32_t)L_0&2))) == ((int32_t)2)))
{
goto IL_0019;
}
}
{
int32_t L_1 = __this->___m_fontStyle_90;
G_B3_0 = ((((int32_t)((int32_t)((int32_t)L_1&2))) == ((int32_t)2))? 1 : 0);
goto IL_001a;
}
IL_0019:
{
G_B3_0 = 1;
}
IL_001a:
{
V_0 = (bool)G_B3_0;
V_1 = (TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160*)NULL;
int32_t L_2 = ___fontWeight0;
V_2 = ((int32_t)(L_2/((int32_t)100)));
bool L_3 = V_0;
V_3 = L_3;
bool L_4 = V_3;
if (!L_4)
{
goto IL_0040;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_5 = __this->___m_currentFontAsset_43;
NullCheck(L_5);
TMP_FontWeightPairU5BU5D_t0A3A5955F13FEB2F7329D81BA157110DB99F9F37* L_6;
L_6 = TMP_FontAsset_get_fontWeightTable_mC27EC0A27F82292FB24E3AB7B87421AEFD0869DD(L_5, NULL);
int32_t L_7 = V_2;
NullCheck(L_6);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_8 = ((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)))->___italicTypeface_1;
V_1 = L_8;
goto IL_0057;
}
IL_0040:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_9 = __this->___m_currentFontAsset_43;
NullCheck(L_9);
TMP_FontWeightPairU5BU5D_t0A3A5955F13FEB2F7329D81BA157110DB99F9F37* L_10;
L_10 = TMP_FontAsset_get_fontWeightTable_mC27EC0A27F82292FB24E3AB7B87421AEFD0869DD(L_9, NULL);
int32_t L_11 = V_2;
NullCheck(L_10);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->___regularTypeface_0;
V_1 = L_12;
}
IL_0057:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_13 = V_1;
V_4 = L_13;
goto IL_005c;
}
IL_005c:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_14 = V_4;
return L_14;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* TMP_Text_GetTextElement_mA9AC208C5F6080ADB94B84638ABFCB28124E889C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, uint32_t ___unicode0, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* ___fontAsset1, int32_t ___fontStyle2, int32_t ___fontWeight3, bool* ___isUsingAlternativeTypeface4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* V_0 = NULL;
bool V_1 = false;
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* 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;
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* V_10 = NULL;
bool V_11 = false;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
bool V_15 = false;
bool V_16 = false;
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* V_17 = NULL;
bool V_18 = false;
int32_t G_B5_0 = 0;
int32_t G_B15_0 = 0;
int32_t G_B27_0 = 0;
{
uint32_t L_0 = ___unicode0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1 = ___fontAsset1;
int32_t L_2 = ___fontStyle2;
int32_t L_3 = ___fontWeight3;
bool* L_4 = ___isUsingAlternativeTypeface4;
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_5;
L_5 = TMP_FontAssetUtilities_GetCharacterFromFontAsset_m26EEEB3C26157C92CF623A246D6E92085E06CA26(L_0, L_1, (bool)0, L_2, L_3, L_4, NULL);
V_0 = L_5;
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_6 = V_0;
V_1 = (bool)((!(((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_6) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_7 = V_1;
if (!L_7)
{
goto IL_001e;
}
}
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_8 = V_0;
V_2 = L_8;
goto IL_01f4;
}
IL_001e:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_9 = ___fontAsset1;
NullCheck(L_9);
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_10 = L_9->___m_FallbackFontAssetTable_34;
if (!L_10)
{
goto IL_0036;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_11 = ___fontAsset1;
NullCheck(L_11);
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_12 = L_11->___m_FallbackFontAssetTable_34;
NullCheck(L_12);
int32_t L_13;
L_13 = List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_inline(L_12, List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_RuntimeMethod_var);
G_B5_0 = ((((int32_t)L_13) > ((int32_t)0))? 1 : 0);
goto IL_0037;
}
IL_0036:
{
G_B5_0 = 0;
}
IL_0037:
{
V_3 = (bool)G_B5_0;
bool L_14 = V_3;
if (!L_14)
{
goto IL_004f;
}
}
{
uint32_t L_15 = ___unicode0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_16 = ___fontAsset1;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_17 = ___fontAsset1;
NullCheck(L_17);
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_18 = L_17->___m_FallbackFontAssetTable_34;
int32_t L_19 = ___fontStyle2;
int32_t L_20 = ___fontWeight3;
bool* L_21 = ___isUsingAlternativeTypeface4;
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_22;
L_22 = TMP_FontAssetUtilities_GetCharacterFromFontAssets_mF773865B6F097CDA5625615EA2CFC39DFB7A12D0(L_15, L_16, L_18, (bool)1, L_19, L_20, L_21, NULL);
V_0 = L_22;
}
IL_004f:
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_23 = V_0;
V_4 = (bool)((!(((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_23) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_24 = V_4;
if (!L_24)
{
goto IL_0061;
}
}
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_25 = V_0;
V_2 = L_25;
goto IL_01f4;
}
IL_0061:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_26 = ___fontAsset1;
NullCheck(L_26);
int32_t L_27;
L_27 = TMP_Asset_get_instanceID_mD7D5D79979B77457C3A376955C316AC289BB3D1D(L_26, NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_28 = __this->___m_fontAsset_42;
NullCheck(L_28);
int32_t L_29;
L_29 = TMP_Asset_get_instanceID_mD7D5D79979B77457C3A376955C316AC289BB3D1D(L_28, NULL);
V_5 = (bool)((((int32_t)((((int32_t)L_27) == ((int32_t)L_29))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_30 = V_5;
if (!L_30)
{
goto IL_0118;
}
}
{
uint32_t L_31 = ___unicode0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_32 = __this->___m_fontAsset_42;
int32_t L_33 = ___fontStyle2;
int32_t L_34 = ___fontWeight3;
bool* L_35 = ___isUsingAlternativeTypeface4;
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_36;
L_36 = TMP_FontAssetUtilities_GetCharacterFromFontAsset_m26EEEB3C26157C92CF623A246D6E92085E06CA26(L_31, L_32, (bool)0, L_33, L_34, L_35, NULL);
V_0 = L_36;
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_37 = V_0;
V_6 = (bool)((!(((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_37) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_38 = V_6;
if (!L_38)
{
goto IL_00c3;
}
}
{
__this->___m_currentMaterialIndex_50 = 0;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_39 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47;
NullCheck(L_39);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_40 = ((L_39)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___material_3;
__this->___m_currentMaterial_46 = L_40;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentMaterial_46), (void*)L_40);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_41 = V_0;
V_2 = L_41;
goto IL_01f4;
}
IL_00c3:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_42 = __this->___m_fontAsset_42;
NullCheck(L_42);
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_43 = L_42->___m_FallbackFontAssetTable_34;
if (!L_43)
{
goto IL_00e5;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_44 = __this->___m_fontAsset_42;
NullCheck(L_44);
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_45 = L_44->___m_FallbackFontAssetTable_34;
NullCheck(L_45);
int32_t L_46;
L_46 = List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_inline(L_45, List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_RuntimeMethod_var);
G_B15_0 = ((((int32_t)L_46) > ((int32_t)0))? 1 : 0);
goto IL_00e6;
}
IL_00e5:
{
G_B15_0 = 0;
}
IL_00e6:
{
V_7 = (bool)G_B15_0;
bool L_47 = V_7;
if (!L_47)
{
goto IL_0105;
}
}
{
uint32_t L_48 = ___unicode0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_49 = ___fontAsset1;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_50 = __this->___m_fontAsset_42;
NullCheck(L_50);
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_51 = L_50->___m_FallbackFontAssetTable_34;
int32_t L_52 = ___fontStyle2;
int32_t L_53 = ___fontWeight3;
bool* L_54 = ___isUsingAlternativeTypeface4;
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_55;
L_55 = TMP_FontAssetUtilities_GetCharacterFromFontAssets_mF773865B6F097CDA5625615EA2CFC39DFB7A12D0(L_48, L_49, L_51, (bool)1, L_52, L_53, L_54, NULL);
V_0 = L_55;
}
IL_0105:
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_56 = V_0;
V_8 = (bool)((!(((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_56) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_57 = V_8;
if (!L_57)
{
goto IL_0117;
}
}
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_58 = V_0;
V_2 = L_58;
goto IL_01f4;
}
IL_0117:
{
}
IL_0118:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_59 = __this->___m_spriteAsset_64;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_60;
L_60 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_59, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_9 = L_60;
bool L_61 = V_9;
if (!L_61)
{
goto IL_014e;
}
}
{
uint32_t L_62 = ___unicode0;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_63 = __this->___m_spriteAsset_64;
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_64;
L_64 = TMP_FontAssetUtilities_GetSpriteCharacterFromSpriteAsset_m740B16719D09EF1F68B66DBE3D15265686D4DBB8(L_62, L_63, (bool)1, NULL);
V_10 = L_64;
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_65 = V_10;
V_11 = (bool)((!(((RuntimeObject*)(TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E*)L_65) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_66 = V_11;
if (!L_66)
{
goto IL_014d;
}
}
{
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_67 = V_10;
V_2 = L_67;
goto IL_01f4;
}
IL_014d:
{
}
IL_014e:
{
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_68;
L_68 = TMP_Settings_get_fallbackFontAssets_mD671B9D809736E7DC84543568C25BEF9C0B7269D(NULL);
if (!L_68)
{
goto IL_0164;
}
}
{
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_69;
L_69 = TMP_Settings_get_fallbackFontAssets_mD671B9D809736E7DC84543568C25BEF9C0B7269D(NULL);
NullCheck(L_69);
int32_t L_70;
L_70 = List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_inline(L_69, List_1_get_Count_m1CD49ABC19C33C9320E4E745DFBF7CC6D1E5A899_RuntimeMethod_var);
G_B27_0 = ((((int32_t)L_70) > ((int32_t)0))? 1 : 0);
goto IL_0165;
}
IL_0164:
{
G_B27_0 = 0;
}
IL_0165:
{
V_12 = (bool)G_B27_0;
bool L_71 = V_12;
if (!L_71)
{
goto IL_017e;
}
}
{
uint32_t L_72 = ___unicode0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_73 = ___fontAsset1;
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF* L_74;
L_74 = TMP_Settings_get_fallbackFontAssets_mD671B9D809736E7DC84543568C25BEF9C0B7269D(NULL);
int32_t L_75 = ___fontStyle2;
int32_t L_76 = ___fontWeight3;
bool* L_77 = ___isUsingAlternativeTypeface4;
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_78;
L_78 = TMP_FontAssetUtilities_GetCharacterFromFontAssets_mF773865B6F097CDA5625615EA2CFC39DFB7A12D0(L_72, L_73, L_74, (bool)1, L_75, L_76, L_77, NULL);
V_0 = L_78;
}
IL_017e:
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_79 = V_0;
V_13 = (bool)((!(((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_79) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_80 = V_13;
if (!L_80)
{
goto IL_018d;
}
}
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_81 = V_0;
V_2 = L_81;
goto IL_01f4;
}
IL_018d:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_82;
L_82 = TMP_Settings_get_defaultFontAsset_m08D5F2C60E2E313EFAE26C16934F08A499DDFC64(NULL);
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_83;
L_83 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_82, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_14 = L_83;
bool L_84 = V_14;
if (!L_84)
{
goto IL_01b0;
}
}
{
uint32_t L_85 = ___unicode0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_86;
L_86 = TMP_Settings_get_defaultFontAsset_m08D5F2C60E2E313EFAE26C16934F08A499DDFC64(NULL);
int32_t L_87 = ___fontStyle2;
int32_t L_88 = ___fontWeight3;
bool* L_89 = ___isUsingAlternativeTypeface4;
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_90;
L_90 = TMP_FontAssetUtilities_GetCharacterFromFontAsset_m26EEEB3C26157C92CF623A246D6E92085E06CA26(L_85, L_86, (bool)1, L_87, L_88, L_89, NULL);
V_0 = L_90;
}
IL_01b0:
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_91 = V_0;
V_15 = (bool)((!(((RuntimeObject*)(TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35*)L_91) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_92 = V_15;
if (!L_92)
{
goto IL_01bf;
}
}
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35* L_93 = V_0;
V_2 = L_93;
goto IL_01f4;
}
IL_01bf:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_94;
L_94 = TMP_Settings_get_defaultSpriteAsset_m1A6D796CB68107284294DAB40442F2CFFA26A672(NULL);
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_95;
L_95 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_94, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_16 = L_95;
bool L_96 = V_16;
if (!L_96)
{
goto IL_01f0;
}
}
{
uint32_t L_97 = ___unicode0;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_98;
L_98 = TMP_Settings_get_defaultSpriteAsset_m1A6D796CB68107284294DAB40442F2CFFA26A672(NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_FontAssetUtilities_tE01A2EFABA32F807FBA80E9BBE26A1F3D5D25125_il2cpp_TypeInfo_var);
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_99;
L_99 = TMP_FontAssetUtilities_GetSpriteCharacterFromSpriteAsset_m740B16719D09EF1F68B66DBE3D15265686D4DBB8(L_97, L_98, (bool)1, NULL);
V_17 = L_99;
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_100 = V_17;
V_18 = (bool)((!(((RuntimeObject*)(TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E*)L_100) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
bool L_101 = V_18;
if (!L_101)
{
goto IL_01ef;
}
}
{
TMP_SpriteCharacter_t98295D0A81320909AC4AD5F2602DD69EACBB449E* L_102 = V_17;
V_2 = L_102;
goto IL_01f4;
}
IL_01ef:
{
}
IL_01f0:
{
V_2 = (TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5*)NULL;
goto IL_01f4;
}
IL_01f4:
{
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5* L_103 = V_2;
return L_103;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetActiveSubMeshes_mE3867037AB040A083339828CEA98FFC7D81758FE (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___state0, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_DestroySubMeshObjects_m7FFA3E35D4B393CC01847424F2F5C77416C1F8B3 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ClearMesh_m3A40E9A07ABE32A911001625A4DE8F80353ECF8F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ClearMesh_m5E212AB7BAA3D3F6A84AF20D0D4C1AE72985F329 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, bool ___uploadGeometry0, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TMP_Text_GetParsedText_m0C3CD267431DA477842729B36C6C80D7296D4C65 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* V_1 = NULL;
bool V_2 = false;
String_t* V_3 = NULL;
int32_t V_4 = 0;
bool V_5 = false;
int32_t G_B7_0 = 0;
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_0 = __this->___m_textInfo_154;
V_2 = (bool)((((RuntimeObject*)(TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D*)L_0) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
bool L_1 = V_2;
if (!L_1)
{
goto IL_0016;
}
}
{
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
V_3 = L_2;
goto IL_0079;
}
IL_0016:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_3 = __this->___m_textInfo_154;
NullCheck(L_3);
int32_t L_4 = L_3->___characterCount_3;
V_0 = L_4;
int32_t L_5 = V_0;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_6 = (CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)SZArrayNew(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var, (uint32_t)L_5);
V_1 = L_6;
V_4 = 0;
goto IL_0051;
}
IL_002e:
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_7 = V_1;
int32_t L_8 = V_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_9 = __this->___m_textInfo_154;
NullCheck(L_9);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_10 = L_9->___characterInfo_11;
int32_t L_11 = V_4;
NullCheck(L_10);
Il2CppChar L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->___character_0;
NullCheck(L_7);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(L_8), (Il2CppChar)L_12);
int32_t L_13 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add(L_13, 1));
}
IL_0051:
{
int32_t L_14 = V_4;
int32_t L_15 = V_0;
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0069;
}
}
{
int32_t L_16 = V_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_17 = __this->___m_textInfo_154;
NullCheck(L_17);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_18 = L_17->___characterInfo_11;
NullCheck(L_18);
G_B7_0 = ((((int32_t)L_16) < ((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length))))? 1 : 0);
goto IL_006a;
}
IL_0069:
{
G_B7_0 = 0;
}
IL_006a:
{
V_5 = (bool)G_B7_0;
bool L_19 = V_5;
if (L_19)
{
goto IL_002e;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_20 = V_1;
String_t* L_21;
L_21 = String_CreateString_mFBC28D2E3EB87D497F7E702E4FFAD65F635E44DF(NULL, L_20, NULL);
V_3 = L_21;
goto IL_0079;
}
IL_0079:
{
String_t* L_22 = V_3;
return L_22;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_IsSelfOrLinkedAncestor_m81351987CC1F547B1E7A0EDE1109F5EF596A8F76 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___targetTextComponent0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_0 = ___targetTextComponent0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_0 = L_1;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
V_1 = (bool)1;
goto IL_0052;
}
IL_0010:
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_3 = __this->___parentLinkedComponent_120;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_4;
L_4 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_2 = L_4;
bool L_5 = V_2;
if (!L_5)
{
goto IL_0036;
}
}
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_6 = __this->___parentLinkedComponent_120;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_7 = ___targetTextComponent0;
NullCheck(L_6);
bool L_8;
L_8 = TMP_Text_IsSelfOrLinkedAncestor_m81351987CC1F547B1E7A0EDE1109F5EF596A8F76(L_6, L_7, NULL);
V_3 = L_8;
bool L_9 = V_3;
if (!L_9)
{
goto IL_0035;
}
}
{
V_1 = (bool)1;
goto IL_0052;
}
IL_0035:
{
}
IL_0036:
{
int32_t L_10;
L_10 = Object_GetInstanceID_m554FF4073C9465F3835574CC084E68AAEEC6CC6A(__this, NULL);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_11 = ___targetTextComponent0;
NullCheck(L_11);
int32_t L_12;
L_12 = Object_GetInstanceID_m554FF4073C9465F3835574CC084E68AAEEC6CC6A(L_11, NULL);
V_4 = (bool)((((int32_t)L_10) == ((int32_t)L_12))? 1 : 0);
bool L_13 = V_4;
if (!L_13)
{
goto IL_004e;
}
}
{
V_1 = (bool)1;
goto IL_0052;
}
IL_004e:
{
V_1 = (bool)0;
goto IL_0052;
}
IL_0052:
{
bool L_14 = V_1;
return L_14;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_ReleaseLinkedTextComponent_mBFBB0BB0702503E5492FE5CDC94164363A139696 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* ___targetTextComponent0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_0 = ___targetTextComponent0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_1 = L_1;
bool L_2 = V_1;
if (!L_2)
{
goto IL_000e;
}
}
{
goto IL_004b;
}
IL_000e:
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_3 = ___targetTextComponent0;
NullCheck(L_3);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_4;
L_4 = TMP_Text_get_linkedTextComponent_m84DA92BFD208833ED4C1EC4C4F537F5D594EF4F0(L_3, NULL);
V_0 = L_4;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_5 = V_0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_6;
L_6 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_5, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_2 = L_6;
bool L_7 = V_2;
if (!L_7)
{
goto IL_0028;
}
}
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_8 = V_0;
TMP_Text_ReleaseLinkedTextComponent_mBFBB0BB0702503E5492FE5CDC94164363A139696(__this, L_8, NULL);
}
IL_0028:
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_9 = ___targetTextComponent0;
String_t* L_10 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
NullCheck(L_9);
VirtualActionInvoker1< String_t* >::Invoke(66, L_9, L_10);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_11 = ___targetTextComponent0;
NullCheck(L_11);
TMP_Text_set_firstVisibleCharacter_m343804C8FF610EB13CCB14E8D54C889BC356AD53(L_11, 0, NULL);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_12 = ___targetTextComponent0;
NullCheck(L_12);
TMP_Text_set_linkedTextComponent_m08B4CBAD470F918E2D2E19CE96B2443F38B76D93(L_12, (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9*)NULL, NULL);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* L_13 = ___targetTextComponent0;
NullCheck(L_13);
L_13->___parentLinkedComponent_120 = (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9*)NULL;
Il2CppCodeGenWriteBarrier((void**)(&L_13->___parentLinkedComponent_120), (void*)(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9*)NULL);
}
IL_004b:
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Text_PackUV_m6B919A58FF6988F660ACE59AA97910B31D577905 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___x0, float ___y1, float ___scale2, const RuntimeMethod* method)
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_1;
memset((&V_1), 0, sizeof(V_1));
{
float L_0 = ___x0;
(&V_0)->___x_0 = ((float)il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(L_0, (511.0f)))));
float L_1 = ___y1;
(&V_0)->___y_1 = ((float)il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(L_1, (511.0f)))));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = V_0;
float L_3 = L_2.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = V_0;
float L_5 = L_4.___y_1;
(&V_0)->___x_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_3, (4096.0f))), L_5));
float L_6 = ___scale2;
(&V_0)->___y_1 = L_6;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = V_0;
V_1 = L_7;
goto IL_0047;
}
IL_0047:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8 = V_1;
return L_8;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_PackUV_m66B8E7066DC310AC67BA1FE63494D1A3BA726A00 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, float ___x0, float ___y1, const RuntimeMethod* method)
{
double V_0 = 0.0;
double V_1 = 0.0;
float V_2 = 0.0f;
{
float L_0 = ___x0;
V_0 = ((double)il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(L_0, (511.0f)))));
float L_1 = ___y1;
V_1 = ((double)il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(L_1, (511.0f)))));
double L_2 = V_0;
double L_3 = V_1;
V_2 = ((float)((double)il2cpp_codegen_add(((double)il2cpp_codegen_multiply(L_2, (4096.0))), L_3)));
goto IL_0026;
}
IL_0026:
{
float L_4 = V_2;
return L_4;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_InternalUpdate_mD5C4F3ADB7909023ADCED1033A6EE0D15AAC1781 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
{
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Il2CppChar ___hex0, const RuntimeMethod* method)
{
Il2CppChar V_0 = 0x0;
Il2CppChar V_1 = 0x0;
int32_t V_2 = 0;
{
Il2CppChar L_0 = ___hex0;
V_1 = L_0;
Il2CppChar L_1 = V_1;
V_0 = L_1;
Il2CppChar L_2 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_2, ((int32_t)48))))
{
case 0:
{
goto IL_008f;
}
case 1:
{
goto IL_0093;
}
case 2:
{
goto IL_0097;
}
case 3:
{
goto IL_009b;
}
case 4:
{
goto IL_009f;
}
case 5:
{
goto IL_00a3;
}
case 6:
{
goto IL_00a7;
}
case 7:
{
goto IL_00ab;
}
case 8:
{
goto IL_00af;
}
case 9:
{
goto IL_00b3;
}
case 10:
{
goto IL_00f4;
}
case 11:
{
goto IL_00f4;
}
case 12:
{
goto IL_00f4;
}
case 13:
{
goto IL_00f4;
}
case 14:
{
goto IL_00f4;
}
case 15:
{
goto IL_00f4;
}
case 16:
{
goto IL_00f4;
}
case 17:
{
goto IL_00b8;
}
case 18:
{
goto IL_00bd;
}
case 19:
{
goto IL_00c2;
}
case 20:
{
goto IL_00c7;
}
case 21:
{
goto IL_00cc;
}
case 22:
{
goto IL_00d1;
}
}
}
{
goto IL_006c;
}
IL_006c:
{
Il2CppChar L_3 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_3, ((int32_t)97))))
{
case 0:
{
goto IL_00d6;
}
case 1:
{
goto IL_00db;
}
case 2:
{
goto IL_00e0;
}
case 3:
{
goto IL_00e5;
}
case 4:
{
goto IL_00ea;
}
case 5:
{
goto IL_00ef;
}
}
}
{
goto IL_00f4;
}
IL_008f:
{
V_2 = 0;
goto IL_00f9;
}
IL_0093:
{
V_2 = 1;
goto IL_00f9;
}
IL_0097:
{
V_2 = 2;
goto IL_00f9;
}
IL_009b:
{
V_2 = 3;
goto IL_00f9;
}
IL_009f:
{
V_2 = 4;
goto IL_00f9;
}
IL_00a3:
{
V_2 = 5;
goto IL_00f9;
}
IL_00a7:
{
V_2 = 6;
goto IL_00f9;
}
IL_00ab:
{
V_2 = 7;
goto IL_00f9;
}
IL_00af:
{
V_2 = 8;
goto IL_00f9;
}
IL_00b3:
{
V_2 = ((int32_t)9);
goto IL_00f9;
}
IL_00b8:
{
V_2 = ((int32_t)10);
goto IL_00f9;
}
IL_00bd:
{
V_2 = ((int32_t)11);
goto IL_00f9;
}
IL_00c2:
{
V_2 = ((int32_t)12);
goto IL_00f9;
}
IL_00c7:
{
V_2 = ((int32_t)13);
goto IL_00f9;
}
IL_00cc:
{
V_2 = ((int32_t)14);
goto IL_00f9;
}
IL_00d1:
{
V_2 = ((int32_t)15);
goto IL_00f9;
}
IL_00d6:
{
V_2 = ((int32_t)10);
goto IL_00f9;
}
IL_00db:
{
V_2 = ((int32_t)11);
goto IL_00f9;
}
IL_00e0:
{
V_2 = ((int32_t)12);
goto IL_00f9;
}
IL_00e5:
{
V_2 = ((int32_t)13);
goto IL_00f9;
}
IL_00ea:
{
V_2 = ((int32_t)14);
goto IL_00f9;
}
IL_00ef:
{
V_2 = ((int32_t)15);
goto IL_00f9;
}
IL_00f4:
{
V_2 = ((int32_t)15);
goto IL_00f9;
}
IL_00f9:
{
int32_t L_4 = V_2;
return L_4;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF16_m6A920DAFDD9869F0847B5C3F5B646EBFF4364B38 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___text0, int32_t ___i1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
int32_t L_0 = V_0;
String_t* L_1 = ___text0;
int32_t L_2 = ___i1;
NullCheck(L_1);
Il2CppChar L_3;
L_3 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_1, L_2, NULL);
int32_t L_4;
L_4 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_3, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)(L_4<<((int32_t)12)))));
int32_t L_5 = V_0;
String_t* L_6 = ___text0;
int32_t L_7 = ___i1;
NullCheck(L_6);
Il2CppChar L_8;
L_8 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_6, ((int32_t)il2cpp_codegen_add(L_7, 1)), NULL);
int32_t L_9;
L_9 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_8, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_5, ((int32_t)(L_9<<8))));
int32_t L_10 = V_0;
String_t* L_11 = ___text0;
int32_t L_12 = ___i1;
NullCheck(L_11);
Il2CppChar L_13;
L_13 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_11, ((int32_t)il2cpp_codegen_add(L_12, 2)), NULL);
int32_t L_14;
L_14 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_13, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_10, ((int32_t)(L_14<<4))));
int32_t L_15 = V_0;
String_t* L_16 = ___text0;
int32_t L_17 = ___i1;
NullCheck(L_16);
Il2CppChar L_18;
L_18 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_16, ((int32_t)il2cpp_codegen_add(L_17, 3)), NULL);
int32_t L_19;
L_19 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_18, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_15, L_19));
int32_t L_20 = V_0;
V_1 = L_20;
goto IL_0054;
}
IL_0054:
{
int32_t L_21 = V_1;
return L_21;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF16_m5DCD9865CEC393DE526550744D2F17448FFFB031 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___text0, int32_t ___i1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
int32_t L_0 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = ___text0;
int32_t L_2 = ___i1;
NullCheck(L_1);
int32_t L_3 = L_2;
int32_t L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
int32_t L_5;
L_5 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_4), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)(L_5<<((int32_t)12)))));
int32_t L_6 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = ___text0;
int32_t L_8 = ___i1;
NullCheck(L_7);
int32_t L_9 = ((int32_t)il2cpp_codegen_add(L_8, 1));
int32_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
int32_t L_11;
L_11 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_10), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_6, ((int32_t)(L_11<<8))));
int32_t L_12 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_13 = ___text0;
int32_t L_14 = ___i1;
NullCheck(L_13);
int32_t L_15 = ((int32_t)il2cpp_codegen_add(L_14, 2));
int32_t L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
int32_t L_17;
L_17 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_16), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_12, ((int32_t)(L_17<<4))));
int32_t L_18 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_19 = ___text0;
int32_t L_20 = ___i1;
NullCheck(L_19);
int32_t L_21 = ((int32_t)il2cpp_codegen_add(L_20, 3));
int32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
int32_t L_23;
L_23 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_22), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_18, L_23));
int32_t L_24 = V_0;
V_1 = L_24;
goto IL_0048;
}
IL_0048:
{
int32_t L_25 = V_1;
return L_25;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF16_m75142BDA9CD0E09E00079D51807092CDA41AB293 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* ___text0, int32_t ___i1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
int32_t L_0 = V_0;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_1 = ___text0;
int32_t L_2 = ___i1;
NullCheck(L_1);
int32_t L_3 = L_2;
uint32_t L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
int32_t L_5;
L_5 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_4), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)(L_5<<((int32_t)12)))));
int32_t L_6 = V_0;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_7 = ___text0;
int32_t L_8 = ___i1;
NullCheck(L_7);
int32_t L_9 = ((int32_t)il2cpp_codegen_add(L_8, 1));
uint32_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
int32_t L_11;
L_11 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_10), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_6, ((int32_t)(L_11<<8))));
int32_t L_12 = V_0;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_13 = ___text0;
int32_t L_14 = ___i1;
NullCheck(L_13);
int32_t L_15 = ((int32_t)il2cpp_codegen_add(L_14, 2));
uint32_t L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
int32_t L_17;
L_17 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_16), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_12, ((int32_t)(L_17<<4))));
int32_t L_18 = V_0;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_19 = ___text0;
int32_t L_20 = ___i1;
NullCheck(L_19);
int32_t L_21 = ((int32_t)il2cpp_codegen_add(L_20, 3));
uint32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
int32_t L_23;
L_23 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_22), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_18, L_23));
int32_t L_24 = V_0;
V_1 = L_24;
goto IL_0048;
}
IL_0048:
{
int32_t L_25 = V_1;
return L_25;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF16_m1A6DF3361330C4A1930A8CED3EE9AB1A661FBB69 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, StringBuilder_t* ___text0, int32_t ___i1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
int32_t L_0 = V_0;
StringBuilder_t* L_1 = ___text0;
int32_t L_2 = ___i1;
NullCheck(L_1);
Il2CppChar L_3;
L_3 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_1, L_2, NULL);
int32_t L_4;
L_4 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_3, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)(L_4<<((int32_t)12)))));
int32_t L_5 = V_0;
StringBuilder_t* L_6 = ___text0;
int32_t L_7 = ___i1;
NullCheck(L_6);
Il2CppChar L_8;
L_8 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_6, ((int32_t)il2cpp_codegen_add(L_7, 1)), NULL);
int32_t L_9;
L_9 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_8, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_5, ((int32_t)(L_9<<8))));
int32_t L_10 = V_0;
StringBuilder_t* L_11 = ___text0;
int32_t L_12 = ___i1;
NullCheck(L_11);
Il2CppChar L_13;
L_13 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_11, ((int32_t)il2cpp_codegen_add(L_12, 2)), NULL);
int32_t L_14;
L_14 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_13, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_10, ((int32_t)(L_14<<4))));
int32_t L_15 = V_0;
StringBuilder_t* L_16 = ___text0;
int32_t L_17 = ___i1;
NullCheck(L_16);
Il2CppChar L_18;
L_18 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_16, ((int32_t)il2cpp_codegen_add(L_17, 3)), NULL);
int32_t L_19;
L_19 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_18, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_15, L_19));
int32_t L_20 = V_0;
V_1 = L_20;
goto IL_0054;
}
IL_0054:
{
int32_t L_21 = V_1;
return L_21;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF16_m6B311F8F9A6775761D65E56B3A14D4300694018C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361 ___text0, int32_t ___i1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
int32_t L_0 = V_0;
int32_t L_1 = ___i1;
uint32_t L_2;
L_2 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___text0), L_1, NULL);
int32_t L_3;
L_3 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_2), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)(L_3<<((int32_t)12)))));
int32_t L_4 = V_0;
int32_t L_5 = ___i1;
uint32_t L_6;
L_6 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___text0), ((int32_t)il2cpp_codegen_add(L_5, 1)), NULL);
int32_t L_7;
L_7 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_6), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_4, ((int32_t)(L_7<<8))));
int32_t L_8 = V_0;
int32_t L_9 = ___i1;
uint32_t L_10;
L_10 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___text0), ((int32_t)il2cpp_codegen_add(L_9, 2)), NULL);
int32_t L_11;
L_11 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_10), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_8, ((int32_t)(L_11<<4))));
int32_t L_12 = V_0;
int32_t L_13 = ___i1;
uint32_t L_14;
L_14 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___text0), ((int32_t)il2cpp_codegen_add(L_13, 3)), NULL);
int32_t L_15;
L_15 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_14), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_12, L_15));
int32_t L_16 = V_0;
V_1 = L_16;
goto IL_005c;
}
IL_005c:
{
int32_t L_17 = V_1;
return L_17;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF32_m0AEBD15BD012872CA6305D7BA0C481FDA82AAC25 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, String_t* ___text0, int32_t ___i1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
int32_t L_0 = V_0;
String_t* L_1 = ___text0;
int32_t L_2 = ___i1;
NullCheck(L_1);
Il2CppChar L_3;
L_3 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_1, L_2, NULL);
int32_t L_4;
L_4 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_3, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)(L_4<<((int32_t)28)))));
int32_t L_5 = V_0;
String_t* L_6 = ___text0;
int32_t L_7 = ___i1;
NullCheck(L_6);
Il2CppChar L_8;
L_8 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_6, ((int32_t)il2cpp_codegen_add(L_7, 1)), NULL);
int32_t L_9;
L_9 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_8, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_5, ((int32_t)(L_9<<((int32_t)24)))));
int32_t L_10 = V_0;
String_t* L_11 = ___text0;
int32_t L_12 = ___i1;
NullCheck(L_11);
Il2CppChar L_13;
L_13 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_11, ((int32_t)il2cpp_codegen_add(L_12, 2)), NULL);
int32_t L_14;
L_14 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_13, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_10, ((int32_t)(L_14<<((int32_t)20)))));
int32_t L_15 = V_0;
String_t* L_16 = ___text0;
int32_t L_17 = ___i1;
NullCheck(L_16);
Il2CppChar L_18;
L_18 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_16, ((int32_t)il2cpp_codegen_add(L_17, 3)), NULL);
int32_t L_19;
L_19 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_18, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_15, ((int32_t)(L_19<<((int32_t)16)))));
int32_t L_20 = V_0;
String_t* L_21 = ___text0;
int32_t L_22 = ___i1;
NullCheck(L_21);
Il2CppChar L_23;
L_23 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_21, ((int32_t)il2cpp_codegen_add(L_22, 4)), NULL);
int32_t L_24;
L_24 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_23, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_20, ((int32_t)(L_24<<((int32_t)12)))));
int32_t L_25 = V_0;
String_t* L_26 = ___text0;
int32_t L_27 = ___i1;
NullCheck(L_26);
Il2CppChar L_28;
L_28 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_26, ((int32_t)il2cpp_codegen_add(L_27, 5)), NULL);
int32_t L_29;
L_29 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_28, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_25, ((int32_t)(L_29<<8))));
int32_t L_30 = V_0;
String_t* L_31 = ___text0;
int32_t L_32 = ___i1;
NullCheck(L_31);
Il2CppChar L_33;
L_33 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_31, ((int32_t)il2cpp_codegen_add(L_32, 6)), NULL);
int32_t L_34;
L_34 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_33, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_30, ((int32_t)(L_34<<4))));
int32_t L_35 = V_0;
String_t* L_36 = ___text0;
int32_t L_37 = ___i1;
NullCheck(L_36);
Il2CppChar L_38;
L_38 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_36, ((int32_t)il2cpp_codegen_add(L_37, 7)), NULL);
int32_t L_39;
L_39 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_38, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_35, L_39));
int32_t L_40 = V_0;
V_1 = L_40;
goto IL_00a8;
}
IL_00a8:
{
int32_t L_41 = V_1;
return L_41;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF32_m5417B3BA725A8B5C3EAD1AB1C8704DCAA7D8112E (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___text0, int32_t ___i1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
int32_t L_0 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = ___text0;
int32_t L_2 = ___i1;
NullCheck(L_1);
int32_t L_3 = L_2;
int32_t L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
int32_t L_5;
L_5 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_4), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)(L_5<<((int32_t)28)))));
int32_t L_6 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = ___text0;
int32_t L_8 = ___i1;
NullCheck(L_7);
int32_t L_9 = ((int32_t)il2cpp_codegen_add(L_8, 1));
int32_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
int32_t L_11;
L_11 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_10), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_6, ((int32_t)(L_11<<((int32_t)24)))));
int32_t L_12 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_13 = ___text0;
int32_t L_14 = ___i1;
NullCheck(L_13);
int32_t L_15 = ((int32_t)il2cpp_codegen_add(L_14, 2));
int32_t L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
int32_t L_17;
L_17 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_16), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_12, ((int32_t)(L_17<<((int32_t)20)))));
int32_t L_18 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_19 = ___text0;
int32_t L_20 = ___i1;
NullCheck(L_19);
int32_t L_21 = ((int32_t)il2cpp_codegen_add(L_20, 3));
int32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
int32_t L_23;
L_23 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_22), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_18, ((int32_t)(L_23<<((int32_t)16)))));
int32_t L_24 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_25 = ___text0;
int32_t L_26 = ___i1;
NullCheck(L_25);
int32_t L_27 = ((int32_t)il2cpp_codegen_add(L_26, 4));
int32_t L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
int32_t L_29;
L_29 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_28), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_24, ((int32_t)(L_29<<((int32_t)12)))));
int32_t L_30 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_31 = ___text0;
int32_t L_32 = ___i1;
NullCheck(L_31);
int32_t L_33 = ((int32_t)il2cpp_codegen_add(L_32, 5));
int32_t L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
int32_t L_35;
L_35 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_34), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_30, ((int32_t)(L_35<<8))));
int32_t L_36 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_37 = ___text0;
int32_t L_38 = ___i1;
NullCheck(L_37);
int32_t L_39 = ((int32_t)il2cpp_codegen_add(L_38, 6));
int32_t L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
int32_t L_41;
L_41 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_40), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_36, ((int32_t)(L_41<<4))));
int32_t L_42 = V_0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_43 = ___text0;
int32_t L_44 = ___i1;
NullCheck(L_43);
int32_t L_45 = ((int32_t)il2cpp_codegen_add(L_44, 7));
int32_t L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
int32_t L_47;
L_47 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_46), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_42, L_47));
int32_t L_48 = V_0;
V_1 = L_48;
goto IL_0090;
}
IL_0090:
{
int32_t L_49 = V_1;
return L_49;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF32_m36AC6F004482AD41D7A6E02C3661FB84CA49C939 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* ___text0, int32_t ___i1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
int32_t L_0 = V_0;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_1 = ___text0;
int32_t L_2 = ___i1;
NullCheck(L_1);
int32_t L_3 = L_2;
uint32_t L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
int32_t L_5;
L_5 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_4), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)(L_5<<((int32_t)28)))));
int32_t L_6 = V_0;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_7 = ___text0;
int32_t L_8 = ___i1;
NullCheck(L_7);
int32_t L_9 = ((int32_t)il2cpp_codegen_add(L_8, 1));
uint32_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
int32_t L_11;
L_11 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_10), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_6, ((int32_t)(L_11<<((int32_t)24)))));
int32_t L_12 = V_0;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_13 = ___text0;
int32_t L_14 = ___i1;
NullCheck(L_13);
int32_t L_15 = ((int32_t)il2cpp_codegen_add(L_14, 2));
uint32_t L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
int32_t L_17;
L_17 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_16), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_12, ((int32_t)(L_17<<((int32_t)20)))));
int32_t L_18 = V_0;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_19 = ___text0;
int32_t L_20 = ___i1;
NullCheck(L_19);
int32_t L_21 = ((int32_t)il2cpp_codegen_add(L_20, 3));
uint32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
int32_t L_23;
L_23 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_22), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_18, ((int32_t)(L_23<<((int32_t)16)))));
int32_t L_24 = V_0;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_25 = ___text0;
int32_t L_26 = ___i1;
NullCheck(L_25);
int32_t L_27 = ((int32_t)il2cpp_codegen_add(L_26, 4));
uint32_t L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
int32_t L_29;
L_29 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_28), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_24, ((int32_t)(L_29<<((int32_t)12)))));
int32_t L_30 = V_0;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_31 = ___text0;
int32_t L_32 = ___i1;
NullCheck(L_31);
int32_t L_33 = ((int32_t)il2cpp_codegen_add(L_32, 5));
uint32_t L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
int32_t L_35;
L_35 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_34), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_30, ((int32_t)(L_35<<8))));
int32_t L_36 = V_0;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_37 = ___text0;
int32_t L_38 = ___i1;
NullCheck(L_37);
int32_t L_39 = ((int32_t)il2cpp_codegen_add(L_38, 6));
uint32_t L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
int32_t L_41;
L_41 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_40), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_36, ((int32_t)(L_41<<4))));
int32_t L_42 = V_0;
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_43 = ___text0;
int32_t L_44 = ___i1;
NullCheck(L_43);
int32_t L_45 = ((int32_t)il2cpp_codegen_add(L_44, 7));
uint32_t L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
int32_t L_47;
L_47 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_46), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_42, L_47));
int32_t L_48 = V_0;
V_1 = L_48;
goto IL_0090;
}
IL_0090:
{
int32_t L_49 = V_1;
return L_49;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF32_mC701D13B98BB4F3EDA7BA77D2FEC84B957DF055D (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, StringBuilder_t* ___text0, int32_t ___i1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
int32_t L_0 = V_0;
StringBuilder_t* L_1 = ___text0;
int32_t L_2 = ___i1;
NullCheck(L_1);
Il2CppChar L_3;
L_3 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_1, L_2, NULL);
int32_t L_4;
L_4 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_3, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)(L_4<<((int32_t)28)))));
int32_t L_5 = V_0;
StringBuilder_t* L_6 = ___text0;
int32_t L_7 = ___i1;
NullCheck(L_6);
Il2CppChar L_8;
L_8 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_6, ((int32_t)il2cpp_codegen_add(L_7, 1)), NULL);
int32_t L_9;
L_9 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_8, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_5, ((int32_t)(L_9<<((int32_t)24)))));
int32_t L_10 = V_0;
StringBuilder_t* L_11 = ___text0;
int32_t L_12 = ___i1;
NullCheck(L_11);
Il2CppChar L_13;
L_13 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_11, ((int32_t)il2cpp_codegen_add(L_12, 2)), NULL);
int32_t L_14;
L_14 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_13, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_10, ((int32_t)(L_14<<((int32_t)20)))));
int32_t L_15 = V_0;
StringBuilder_t* L_16 = ___text0;
int32_t L_17 = ___i1;
NullCheck(L_16);
Il2CppChar L_18;
L_18 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_16, ((int32_t)il2cpp_codegen_add(L_17, 3)), NULL);
int32_t L_19;
L_19 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_18, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_15, ((int32_t)(L_19<<((int32_t)16)))));
int32_t L_20 = V_0;
StringBuilder_t* L_21 = ___text0;
int32_t L_22 = ___i1;
NullCheck(L_21);
Il2CppChar L_23;
L_23 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_21, ((int32_t)il2cpp_codegen_add(L_22, 4)), NULL);
int32_t L_24;
L_24 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_23, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_20, ((int32_t)(L_24<<((int32_t)12)))));
int32_t L_25 = V_0;
StringBuilder_t* L_26 = ___text0;
int32_t L_27 = ___i1;
NullCheck(L_26);
Il2CppChar L_28;
L_28 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_26, ((int32_t)il2cpp_codegen_add(L_27, 5)), NULL);
int32_t L_29;
L_29 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_28, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_25, ((int32_t)(L_29<<8))));
int32_t L_30 = V_0;
StringBuilder_t* L_31 = ___text0;
int32_t L_32 = ___i1;
NullCheck(L_31);
Il2CppChar L_33;
L_33 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_31, ((int32_t)il2cpp_codegen_add(L_32, 6)), NULL);
int32_t L_34;
L_34 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_33, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_30, ((int32_t)(L_34<<4))));
int32_t L_35 = V_0;
StringBuilder_t* L_36 = ___text0;
int32_t L_37 = ___i1;
NullCheck(L_36);
Il2CppChar L_38;
L_38 = StringBuilder_get_Chars_m254FD6F2F75C00B0D353D73B2A4A19316BD7624D(L_36, ((int32_t)il2cpp_codegen_add(L_37, 7)), NULL);
int32_t L_39;
L_39 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_38, NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_35, L_39));
int32_t L_40 = V_0;
V_1 = L_40;
goto IL_00a8;
}
IL_00a8:
{
int32_t L_41 = V_1;
return L_41;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetUTF32_m8969A7CF25219B3D95051380B0BF81E36515FA8B (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361 ___text0, int32_t ___i1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
int32_t L_0 = V_0;
int32_t L_1 = ___i1;
uint32_t L_2;
L_2 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___text0), L_1, NULL);
int32_t L_3;
L_3 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_2), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_0, ((int32_t)(L_3<<((int32_t)28)))));
int32_t L_4 = V_0;
int32_t L_5 = ___i1;
uint32_t L_6;
L_6 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___text0), ((int32_t)il2cpp_codegen_add(L_5, 1)), NULL);
int32_t L_7;
L_7 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_6), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_4, ((int32_t)(L_7<<((int32_t)24)))));
int32_t L_8 = V_0;
int32_t L_9 = ___i1;
uint32_t L_10;
L_10 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___text0), ((int32_t)il2cpp_codegen_add(L_9, 2)), NULL);
int32_t L_11;
L_11 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_10), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_8, ((int32_t)(L_11<<((int32_t)20)))));
int32_t L_12 = V_0;
int32_t L_13 = ___i1;
uint32_t L_14;
L_14 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___text0), ((int32_t)il2cpp_codegen_add(L_13, 3)), NULL);
int32_t L_15;
L_15 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_14), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_12, ((int32_t)(L_15<<((int32_t)16)))));
int32_t L_16 = V_0;
int32_t L_17 = ___i1;
uint32_t L_18;
L_18 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___text0), ((int32_t)il2cpp_codegen_add(L_17, 4)), NULL);
int32_t L_19;
L_19 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_18), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_16, ((int32_t)(L_19<<((int32_t)12)))));
int32_t L_20 = V_0;
int32_t L_21 = ___i1;
uint32_t L_22;
L_22 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___text0), ((int32_t)il2cpp_codegen_add(L_21, 5)), NULL);
int32_t L_23;
L_23 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_22), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_20, ((int32_t)(L_23<<8))));
int32_t L_24 = V_0;
int32_t L_25 = ___i1;
uint32_t L_26;
L_26 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___text0), ((int32_t)il2cpp_codegen_add(L_25, 6)), NULL);
int32_t L_27;
L_27 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_26), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_24, ((int32_t)(L_27<<4))));
int32_t L_28 = V_0;
int32_t L_29 = ___i1;
uint32_t L_30;
L_30 = TextBackingContainer_get_Item_mA0E8BB3275942C3B08087D7E27914F436370C276((&___text0), ((int32_t)il2cpp_codegen_add(L_29, 7)), NULL);
int32_t L_31;
L_31 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, ((int32_t)(uint16_t)L_30), NULL);
V_0 = ((int32_t)il2cpp_codegen_add(L_28, L_31));
int32_t L_32 = V_0;
V_1 = L_32;
goto IL_00b8;
}
IL_00b8:
{
int32_t L_33 = V_1;
return L_33;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B TMP_Text_HexCharsToColor_mFF3D804C9D8FA7A297DE7D2FDD8ACAF56F3AE41F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___hexChars0, int32_t ___tagCount1, const RuntimeMethod* method)
{
bool V_0 = false;
uint8_t V_1 = 0x0;
uint8_t V_2 = 0x0;
uint8_t V_3 = 0x0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_4;
memset((&V_4), 0, sizeof(V_4));
bool V_5 = false;
uint8_t V_6 = 0x0;
uint8_t V_7 = 0x0;
uint8_t V_8 = 0x0;
uint8_t V_9 = 0x0;
bool V_10 = false;
uint8_t V_11 = 0x0;
uint8_t V_12 = 0x0;
uint8_t V_13 = 0x0;
bool V_14 = false;
uint8_t V_15 = 0x0;
uint8_t V_16 = 0x0;
uint8_t V_17 = 0x0;
uint8_t V_18 = 0x0;
bool V_19 = false;
uint8_t V_20 = 0x0;
uint8_t V_21 = 0x0;
uint8_t V_22 = 0x0;
bool V_23 = false;
uint8_t V_24 = 0x0;
uint8_t V_25 = 0x0;
uint8_t V_26 = 0x0;
uint8_t V_27 = 0x0;
bool V_28 = false;
uint8_t V_29 = 0x0;
uint8_t V_30 = 0x0;
uint8_t V_31 = 0x0;
bool V_32 = false;
uint8_t V_33 = 0x0;
uint8_t V_34 = 0x0;
uint8_t V_35 = 0x0;
uint8_t V_36 = 0x0;
{
int32_t L_0 = ___tagCount1;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)4))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0066;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_2 = ___hexChars0;
NullCheck(L_2);
int32_t L_3 = 1;
uint16_t L_4 = (uint16_t)(L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
int32_t L_5;
L_5 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_4, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_6 = ___hexChars0;
NullCheck(L_6);
int32_t L_7 = 1;
uint16_t L_8 = (uint16_t)(L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
int32_t L_9;
L_9 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_8, NULL);
V_1 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_5, ((int32_t)16))), L_9)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_10 = ___hexChars0;
NullCheck(L_10);
int32_t L_11 = 2;
uint16_t L_12 = (uint16_t)(L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
int32_t L_13;
L_13 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_12, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_14 = ___hexChars0;
NullCheck(L_14);
int32_t L_15 = 2;
uint16_t L_16 = (uint16_t)(L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
int32_t L_17;
L_17 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_16, NULL);
V_2 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_13, ((int32_t)16))), L_17)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_18 = ___hexChars0;
NullCheck(L_18);
int32_t L_19 = 3;
uint16_t L_20 = (uint16_t)(L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
int32_t L_21;
L_21 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_20, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_22 = ___hexChars0;
NullCheck(L_22);
int32_t L_23 = 3;
uint16_t L_24 = (uint16_t)(L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
int32_t L_25;
L_25 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_24, NULL);
V_3 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_21, ((int32_t)16))), L_25)));
uint8_t L_26 = V_1;
uint8_t L_27 = V_2;
uint8_t L_28 = V_3;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_29;
memset((&L_29), 0, sizeof(L_29));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_29), L_26, L_27, L_28, (uint8_t)((int32_t)255), NULL);
V_4 = L_29;
goto IL_03e8;
}
IL_0066:
{
int32_t L_30 = ___tagCount1;
V_5 = (bool)((((int32_t)L_30) == ((int32_t)5))? 1 : 0);
bool L_31 = V_5;
if (!L_31)
{
goto IL_00e9;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_32 = ___hexChars0;
NullCheck(L_32);
int32_t L_33 = 1;
uint16_t L_34 = (uint16_t)(L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
int32_t L_35;
L_35 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_34, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_36 = ___hexChars0;
NullCheck(L_36);
int32_t L_37 = 1;
uint16_t L_38 = (uint16_t)(L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
int32_t L_39;
L_39 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_38, NULL);
V_6 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_35, ((int32_t)16))), L_39)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_40 = ___hexChars0;
NullCheck(L_40);
int32_t L_41 = 2;
uint16_t L_42 = (uint16_t)(L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
int32_t L_43;
L_43 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_42, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_44 = ___hexChars0;
NullCheck(L_44);
int32_t L_45 = 2;
uint16_t L_46 = (uint16_t)(L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
int32_t L_47;
L_47 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_46, NULL);
V_7 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_43, ((int32_t)16))), L_47)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_48 = ___hexChars0;
NullCheck(L_48);
int32_t L_49 = 3;
uint16_t L_50 = (uint16_t)(L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
int32_t L_51;
L_51 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_50, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_52 = ___hexChars0;
NullCheck(L_52);
int32_t L_53 = 3;
uint16_t L_54 = (uint16_t)(L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
int32_t L_55;
L_55 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_54, NULL);
V_8 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_51, ((int32_t)16))), L_55)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_56 = ___hexChars0;
NullCheck(L_56);
int32_t L_57 = 4;
uint16_t L_58 = (uint16_t)(L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_57));
int32_t L_59;
L_59 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_58, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_60 = ___hexChars0;
NullCheck(L_60);
int32_t L_61 = 4;
uint16_t L_62 = (uint16_t)(L_60)->GetAt(static_cast<il2cpp_array_size_t>(L_61));
int32_t L_63;
L_63 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_62, NULL);
V_9 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_59, ((int32_t)16))), L_63)));
uint8_t L_64 = V_6;
uint8_t L_65 = V_7;
uint8_t L_66 = V_8;
uint8_t L_67 = V_9;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_68;
memset((&L_68), 0, sizeof(L_68));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_68), L_64, L_65, L_66, L_67, NULL);
V_4 = L_68;
goto IL_03e8;
}
IL_00e9:
{
int32_t L_69 = ___tagCount1;
V_10 = (bool)((((int32_t)L_69) == ((int32_t)7))? 1 : 0);
bool L_70 = V_10;
if (!L_70)
{
goto IL_0156;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_71 = ___hexChars0;
NullCheck(L_71);
int32_t L_72 = 1;
uint16_t L_73 = (uint16_t)(L_71)->GetAt(static_cast<il2cpp_array_size_t>(L_72));
int32_t L_74;
L_74 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_73, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_75 = ___hexChars0;
NullCheck(L_75);
int32_t L_76 = 2;
uint16_t L_77 = (uint16_t)(L_75)->GetAt(static_cast<il2cpp_array_size_t>(L_76));
int32_t L_78;
L_78 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_77, NULL);
V_11 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_74, ((int32_t)16))), L_78)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_79 = ___hexChars0;
NullCheck(L_79);
int32_t L_80 = 3;
uint16_t L_81 = (uint16_t)(L_79)->GetAt(static_cast<il2cpp_array_size_t>(L_80));
int32_t L_82;
L_82 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_81, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_83 = ___hexChars0;
NullCheck(L_83);
int32_t L_84 = 4;
uint16_t L_85 = (uint16_t)(L_83)->GetAt(static_cast<il2cpp_array_size_t>(L_84));
int32_t L_86;
L_86 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_85, NULL);
V_12 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_82, ((int32_t)16))), L_86)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_87 = ___hexChars0;
NullCheck(L_87);
int32_t L_88 = 5;
uint16_t L_89 = (uint16_t)(L_87)->GetAt(static_cast<il2cpp_array_size_t>(L_88));
int32_t L_90;
L_90 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_89, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_91 = ___hexChars0;
NullCheck(L_91);
int32_t L_92 = 6;
uint16_t L_93 = (uint16_t)(L_91)->GetAt(static_cast<il2cpp_array_size_t>(L_92));
int32_t L_94;
L_94 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_93, NULL);
V_13 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_90, ((int32_t)16))), L_94)));
uint8_t L_95 = V_11;
uint8_t L_96 = V_12;
uint8_t L_97 = V_13;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_98;
memset((&L_98), 0, sizeof(L_98));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_98), L_95, L_96, L_97, (uint8_t)((int32_t)255), NULL);
V_4 = L_98;
goto IL_03e8;
}
IL_0156:
{
int32_t L_99 = ___tagCount1;
V_14 = (bool)((((int32_t)L_99) == ((int32_t)((int32_t)9)))? 1 : 0);
bool L_100 = V_14;
if (!L_100)
{
goto IL_01da;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_101 = ___hexChars0;
NullCheck(L_101);
int32_t L_102 = 1;
uint16_t L_103 = (uint16_t)(L_101)->GetAt(static_cast<il2cpp_array_size_t>(L_102));
int32_t L_104;
L_104 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_103, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_105 = ___hexChars0;
NullCheck(L_105);
int32_t L_106 = 2;
uint16_t L_107 = (uint16_t)(L_105)->GetAt(static_cast<il2cpp_array_size_t>(L_106));
int32_t L_108;
L_108 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_107, NULL);
V_15 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_104, ((int32_t)16))), L_108)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_109 = ___hexChars0;
NullCheck(L_109);
int32_t L_110 = 3;
uint16_t L_111 = (uint16_t)(L_109)->GetAt(static_cast<il2cpp_array_size_t>(L_110));
int32_t L_112;
L_112 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_111, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_113 = ___hexChars0;
NullCheck(L_113);
int32_t L_114 = 4;
uint16_t L_115 = (uint16_t)(L_113)->GetAt(static_cast<il2cpp_array_size_t>(L_114));
int32_t L_116;
L_116 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_115, NULL);
V_16 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_112, ((int32_t)16))), L_116)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_117 = ___hexChars0;
NullCheck(L_117);
int32_t L_118 = 5;
uint16_t L_119 = (uint16_t)(L_117)->GetAt(static_cast<il2cpp_array_size_t>(L_118));
int32_t L_120;
L_120 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_119, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_121 = ___hexChars0;
NullCheck(L_121);
int32_t L_122 = 6;
uint16_t L_123 = (uint16_t)(L_121)->GetAt(static_cast<il2cpp_array_size_t>(L_122));
int32_t L_124;
L_124 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_123, NULL);
V_17 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_120, ((int32_t)16))), L_124)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_125 = ___hexChars0;
NullCheck(L_125);
int32_t L_126 = 7;
uint16_t L_127 = (uint16_t)(L_125)->GetAt(static_cast<il2cpp_array_size_t>(L_126));
int32_t L_128;
L_128 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_127, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_129 = ___hexChars0;
NullCheck(L_129);
int32_t L_130 = 8;
uint16_t L_131 = (uint16_t)(L_129)->GetAt(static_cast<il2cpp_array_size_t>(L_130));
int32_t L_132;
L_132 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_131, NULL);
V_18 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_128, ((int32_t)16))), L_132)));
uint8_t L_133 = V_15;
uint8_t L_134 = V_16;
uint8_t L_135 = V_17;
uint8_t L_136 = V_18;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_137;
memset((&L_137), 0, sizeof(L_137));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_137), L_133, L_134, L_135, L_136, NULL);
V_4 = L_137;
goto IL_03e8;
}
IL_01da:
{
int32_t L_138 = ___tagCount1;
V_19 = (bool)((((int32_t)L_138) == ((int32_t)((int32_t)10)))? 1 : 0);
bool L_139 = V_19;
if (!L_139)
{
goto IL_024a;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_140 = ___hexChars0;
NullCheck(L_140);
int32_t L_141 = 7;
uint16_t L_142 = (uint16_t)(L_140)->GetAt(static_cast<il2cpp_array_size_t>(L_141));
int32_t L_143;
L_143 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_142, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_144 = ___hexChars0;
NullCheck(L_144);
int32_t L_145 = 7;
uint16_t L_146 = (uint16_t)(L_144)->GetAt(static_cast<il2cpp_array_size_t>(L_145));
int32_t L_147;
L_147 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_146, NULL);
V_20 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_143, ((int32_t)16))), L_147)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_148 = ___hexChars0;
NullCheck(L_148);
int32_t L_149 = 8;
uint16_t L_150 = (uint16_t)(L_148)->GetAt(static_cast<il2cpp_array_size_t>(L_149));
int32_t L_151;
L_151 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_150, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_152 = ___hexChars0;
NullCheck(L_152);
int32_t L_153 = 8;
uint16_t L_154 = (uint16_t)(L_152)->GetAt(static_cast<il2cpp_array_size_t>(L_153));
int32_t L_155;
L_155 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_154, NULL);
V_21 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_151, ((int32_t)16))), L_155)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_156 = ___hexChars0;
NullCheck(L_156);
int32_t L_157 = ((int32_t)9);
uint16_t L_158 = (uint16_t)(L_156)->GetAt(static_cast<il2cpp_array_size_t>(L_157));
int32_t L_159;
L_159 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_158, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_160 = ___hexChars0;
NullCheck(L_160);
int32_t L_161 = ((int32_t)9);
uint16_t L_162 = (uint16_t)(L_160)->GetAt(static_cast<il2cpp_array_size_t>(L_161));
int32_t L_163;
L_163 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_162, NULL);
V_22 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_159, ((int32_t)16))), L_163)));
uint8_t L_164 = V_20;
uint8_t L_165 = V_21;
uint8_t L_166 = V_22;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_167;
memset((&L_167), 0, sizeof(L_167));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_167), L_164, L_165, L_166, (uint8_t)((int32_t)255), NULL);
V_4 = L_167;
goto IL_03e8;
}
IL_024a:
{
int32_t L_168 = ___tagCount1;
V_23 = (bool)((((int32_t)L_168) == ((int32_t)((int32_t)11)))? 1 : 0);
bool L_169 = V_23;
if (!L_169)
{
goto IL_02d2;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_170 = ___hexChars0;
NullCheck(L_170);
int32_t L_171 = 7;
uint16_t L_172 = (uint16_t)(L_170)->GetAt(static_cast<il2cpp_array_size_t>(L_171));
int32_t L_173;
L_173 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_172, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_174 = ___hexChars0;
NullCheck(L_174);
int32_t L_175 = 7;
uint16_t L_176 = (uint16_t)(L_174)->GetAt(static_cast<il2cpp_array_size_t>(L_175));
int32_t L_177;
L_177 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_176, NULL);
V_24 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_173, ((int32_t)16))), L_177)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_178 = ___hexChars0;
NullCheck(L_178);
int32_t L_179 = 8;
uint16_t L_180 = (uint16_t)(L_178)->GetAt(static_cast<il2cpp_array_size_t>(L_179));
int32_t L_181;
L_181 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_180, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_182 = ___hexChars0;
NullCheck(L_182);
int32_t L_183 = 8;
uint16_t L_184 = (uint16_t)(L_182)->GetAt(static_cast<il2cpp_array_size_t>(L_183));
int32_t L_185;
L_185 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_184, NULL);
V_25 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_181, ((int32_t)16))), L_185)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_186 = ___hexChars0;
NullCheck(L_186);
int32_t L_187 = ((int32_t)9);
uint16_t L_188 = (uint16_t)(L_186)->GetAt(static_cast<il2cpp_array_size_t>(L_187));
int32_t L_189;
L_189 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_188, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_190 = ___hexChars0;
NullCheck(L_190);
int32_t L_191 = ((int32_t)9);
uint16_t L_192 = (uint16_t)(L_190)->GetAt(static_cast<il2cpp_array_size_t>(L_191));
int32_t L_193;
L_193 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_192, NULL);
V_26 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_189, ((int32_t)16))), L_193)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_194 = ___hexChars0;
NullCheck(L_194);
int32_t L_195 = ((int32_t)10);
uint16_t L_196 = (uint16_t)(L_194)->GetAt(static_cast<il2cpp_array_size_t>(L_195));
int32_t L_197;
L_197 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_196, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_198 = ___hexChars0;
NullCheck(L_198);
int32_t L_199 = ((int32_t)10);
uint16_t L_200 = (uint16_t)(L_198)->GetAt(static_cast<il2cpp_array_size_t>(L_199));
int32_t L_201;
L_201 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_200, NULL);
V_27 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_197, ((int32_t)16))), L_201)));
uint8_t L_202 = V_24;
uint8_t L_203 = V_25;
uint8_t L_204 = V_26;
uint8_t L_205 = V_27;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_206;
memset((&L_206), 0, sizeof(L_206));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_206), L_202, L_203, L_204, L_205, NULL);
V_4 = L_206;
goto IL_03e8;
}
IL_02d2:
{
int32_t L_207 = ___tagCount1;
V_28 = (bool)((((int32_t)L_207) == ((int32_t)((int32_t)13)))? 1 : 0);
bool L_208 = V_28;
if (!L_208)
{
goto IL_0344;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_209 = ___hexChars0;
NullCheck(L_209);
int32_t L_210 = 7;
uint16_t L_211 = (uint16_t)(L_209)->GetAt(static_cast<il2cpp_array_size_t>(L_210));
int32_t L_212;
L_212 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_211, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_213 = ___hexChars0;
NullCheck(L_213);
int32_t L_214 = 8;
uint16_t L_215 = (uint16_t)(L_213)->GetAt(static_cast<il2cpp_array_size_t>(L_214));
int32_t L_216;
L_216 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_215, NULL);
V_29 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_212, ((int32_t)16))), L_216)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_217 = ___hexChars0;
NullCheck(L_217);
int32_t L_218 = ((int32_t)9);
uint16_t L_219 = (uint16_t)(L_217)->GetAt(static_cast<il2cpp_array_size_t>(L_218));
int32_t L_220;
L_220 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_219, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_221 = ___hexChars0;
NullCheck(L_221);
int32_t L_222 = ((int32_t)10);
uint16_t L_223 = (uint16_t)(L_221)->GetAt(static_cast<il2cpp_array_size_t>(L_222));
int32_t L_224;
L_224 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_223, NULL);
V_30 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_220, ((int32_t)16))), L_224)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_225 = ___hexChars0;
NullCheck(L_225);
int32_t L_226 = ((int32_t)11);
uint16_t L_227 = (uint16_t)(L_225)->GetAt(static_cast<il2cpp_array_size_t>(L_226));
int32_t L_228;
L_228 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_227, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_229 = ___hexChars0;
NullCheck(L_229);
int32_t L_230 = ((int32_t)12);
uint16_t L_231 = (uint16_t)(L_229)->GetAt(static_cast<il2cpp_array_size_t>(L_230));
int32_t L_232;
L_232 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_231, NULL);
V_31 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_228, ((int32_t)16))), L_232)));
uint8_t L_233 = V_29;
uint8_t L_234 = V_30;
uint8_t L_235 = V_31;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_236;
memset((&L_236), 0, sizeof(L_236));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_236), L_233, L_234, L_235, (uint8_t)((int32_t)255), NULL);
V_4 = L_236;
goto IL_03e8;
}
IL_0344:
{
int32_t L_237 = ___tagCount1;
V_32 = (bool)((((int32_t)L_237) == ((int32_t)((int32_t)15)))? 1 : 0);
bool L_238 = V_32;
if (!L_238)
{
goto IL_03cb;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_239 = ___hexChars0;
NullCheck(L_239);
int32_t L_240 = 7;
uint16_t L_241 = (uint16_t)(L_239)->GetAt(static_cast<il2cpp_array_size_t>(L_240));
int32_t L_242;
L_242 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_241, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_243 = ___hexChars0;
NullCheck(L_243);
int32_t L_244 = 8;
uint16_t L_245 = (uint16_t)(L_243)->GetAt(static_cast<il2cpp_array_size_t>(L_244));
int32_t L_246;
L_246 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_245, NULL);
V_33 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_242, ((int32_t)16))), L_246)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_247 = ___hexChars0;
NullCheck(L_247);
int32_t L_248 = ((int32_t)9);
uint16_t L_249 = (uint16_t)(L_247)->GetAt(static_cast<il2cpp_array_size_t>(L_248));
int32_t L_250;
L_250 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_249, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_251 = ___hexChars0;
NullCheck(L_251);
int32_t L_252 = ((int32_t)10);
uint16_t L_253 = (uint16_t)(L_251)->GetAt(static_cast<il2cpp_array_size_t>(L_252));
int32_t L_254;
L_254 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_253, NULL);
V_34 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_250, ((int32_t)16))), L_254)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_255 = ___hexChars0;
NullCheck(L_255);
int32_t L_256 = ((int32_t)11);
uint16_t L_257 = (uint16_t)(L_255)->GetAt(static_cast<il2cpp_array_size_t>(L_256));
int32_t L_258;
L_258 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_257, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_259 = ___hexChars0;
NullCheck(L_259);
int32_t L_260 = ((int32_t)12);
uint16_t L_261 = (uint16_t)(L_259)->GetAt(static_cast<il2cpp_array_size_t>(L_260));
int32_t L_262;
L_262 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_261, NULL);
V_35 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_258, ((int32_t)16))), L_262)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_263 = ___hexChars0;
NullCheck(L_263);
int32_t L_264 = ((int32_t)13);
uint16_t L_265 = (uint16_t)(L_263)->GetAt(static_cast<il2cpp_array_size_t>(L_264));
int32_t L_266;
L_266 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_265, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_267 = ___hexChars0;
NullCheck(L_267);
int32_t L_268 = ((int32_t)14);
uint16_t L_269 = (uint16_t)(L_267)->GetAt(static_cast<il2cpp_array_size_t>(L_268));
int32_t L_270;
L_270 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_269, NULL);
V_36 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_266, ((int32_t)16))), L_270)));
uint8_t L_271 = V_33;
uint8_t L_272 = V_34;
uint8_t L_273 = V_35;
uint8_t L_274 = V_36;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_275;
memset((&L_275), 0, sizeof(L_275));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_275), L_271, L_272, L_273, L_274, NULL);
V_4 = L_275;
goto IL_03e8;
}
IL_03cb:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_276;
memset((&L_276), 0, sizeof(L_276));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_276), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), NULL);
V_4 = L_276;
goto IL_03e8;
}
IL_03e8:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_277 = V_4;
return L_277;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B TMP_Text_HexCharsToColor_mAB24870B76767E96CBCE96AF48D78744FBAEA2E7 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___hexChars0, int32_t ___startIndex1, int32_t ___length2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
uint8_t V_1 = 0x0;
uint8_t V_2 = 0x0;
uint8_t V_3 = 0x0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_4;
memset((&V_4), 0, sizeof(V_4));
bool V_5 = false;
uint8_t V_6 = 0x0;
uint8_t V_7 = 0x0;
uint8_t V_8 = 0x0;
uint8_t V_9 = 0x0;
{
int32_t L_0 = ___length2;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)7))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0072;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_2 = ___hexChars0;
int32_t L_3 = ___startIndex1;
NullCheck(L_2);
int32_t L_4 = ((int32_t)il2cpp_codegen_add(L_3, 1));
uint16_t L_5 = (uint16_t)(L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
int32_t L_6;
L_6 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_5, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_7 = ___hexChars0;
int32_t L_8 = ___startIndex1;
NullCheck(L_7);
int32_t L_9 = ((int32_t)il2cpp_codegen_add(L_8, 2));
uint16_t L_10 = (uint16_t)(L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
int32_t L_11;
L_11 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_10, NULL);
V_1 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_6, ((int32_t)16))), L_11)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_12 = ___hexChars0;
int32_t L_13 = ___startIndex1;
NullCheck(L_12);
int32_t L_14 = ((int32_t)il2cpp_codegen_add(L_13, 3));
uint16_t L_15 = (uint16_t)(L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
int32_t L_16;
L_16 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_15, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_17 = ___hexChars0;
int32_t L_18 = ___startIndex1;
NullCheck(L_17);
int32_t L_19 = ((int32_t)il2cpp_codegen_add(L_18, 4));
uint16_t L_20 = (uint16_t)(L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
int32_t L_21;
L_21 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_20, NULL);
V_2 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_16, ((int32_t)16))), L_21)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_22 = ___hexChars0;
int32_t L_23 = ___startIndex1;
NullCheck(L_22);
int32_t L_24 = ((int32_t)il2cpp_codegen_add(L_23, 5));
uint16_t L_25 = (uint16_t)(L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
int32_t L_26;
L_26 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_25, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_27 = ___hexChars0;
int32_t L_28 = ___startIndex1;
NullCheck(L_27);
int32_t L_29 = ((int32_t)il2cpp_codegen_add(L_28, 6));
uint16_t L_30 = (uint16_t)(L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
int32_t L_31;
L_31 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_30, NULL);
V_3 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_26, ((int32_t)16))), L_31)));
uint8_t L_32 = V_1;
uint8_t L_33 = V_2;
uint8_t L_34 = V_3;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_35;
memset((&L_35), 0, sizeof(L_35));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_35), L_32, L_33, L_34, (uint8_t)((int32_t)255), NULL);
V_4 = L_35;
goto IL_010f;
}
IL_0072:
{
int32_t L_36 = ___length2;
V_5 = (bool)((((int32_t)L_36) == ((int32_t)((int32_t)9)))? 1 : 0);
bool L_37 = V_5;
if (!L_37)
{
goto IL_0106;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_38 = ___hexChars0;
int32_t L_39 = ___startIndex1;
NullCheck(L_38);
int32_t L_40 = ((int32_t)il2cpp_codegen_add(L_39, 1));
uint16_t L_41 = (uint16_t)(L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
int32_t L_42;
L_42 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_41, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_43 = ___hexChars0;
int32_t L_44 = ___startIndex1;
NullCheck(L_43);
int32_t L_45 = ((int32_t)il2cpp_codegen_add(L_44, 2));
uint16_t L_46 = (uint16_t)(L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
int32_t L_47;
L_47 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_46, NULL);
V_6 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_42, ((int32_t)16))), L_47)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_48 = ___hexChars0;
int32_t L_49 = ___startIndex1;
NullCheck(L_48);
int32_t L_50 = ((int32_t)il2cpp_codegen_add(L_49, 3));
uint16_t L_51 = (uint16_t)(L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
int32_t L_52;
L_52 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_51, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_53 = ___hexChars0;
int32_t L_54 = ___startIndex1;
NullCheck(L_53);
int32_t L_55 = ((int32_t)il2cpp_codegen_add(L_54, 4));
uint16_t L_56 = (uint16_t)(L_53)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
int32_t L_57;
L_57 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_56, NULL);
V_7 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_52, ((int32_t)16))), L_57)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_58 = ___hexChars0;
int32_t L_59 = ___startIndex1;
NullCheck(L_58);
int32_t L_60 = ((int32_t)il2cpp_codegen_add(L_59, 5));
uint16_t L_61 = (uint16_t)(L_58)->GetAt(static_cast<il2cpp_array_size_t>(L_60));
int32_t L_62;
L_62 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_61, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_63 = ___hexChars0;
int32_t L_64 = ___startIndex1;
NullCheck(L_63);
int32_t L_65 = ((int32_t)il2cpp_codegen_add(L_64, 6));
uint16_t L_66 = (uint16_t)(L_63)->GetAt(static_cast<il2cpp_array_size_t>(L_65));
int32_t L_67;
L_67 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_66, NULL);
V_8 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_62, ((int32_t)16))), L_67)));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_68 = ___hexChars0;
int32_t L_69 = ___startIndex1;
NullCheck(L_68);
int32_t L_70 = ((int32_t)il2cpp_codegen_add(L_69, 7));
uint16_t L_71 = (uint16_t)(L_68)->GetAt(static_cast<il2cpp_array_size_t>(L_70));
int32_t L_72;
L_72 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_71, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_73 = ___hexChars0;
int32_t L_74 = ___startIndex1;
NullCheck(L_73);
int32_t L_75 = ((int32_t)il2cpp_codegen_add(L_74, 8));
uint16_t L_76 = (uint16_t)(L_73)->GetAt(static_cast<il2cpp_array_size_t>(L_75));
int32_t L_77;
L_77 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_76, NULL);
V_9 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_72, ((int32_t)16))), L_77)));
uint8_t L_78 = V_6;
uint8_t L_79 = V_7;
uint8_t L_80 = V_8;
uint8_t L_81 = V_9;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_82;
memset((&L_82), 0, sizeof(L_82));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_82), L_78, L_79, L_80, L_81, NULL);
V_4 = L_82;
goto IL_010f;
}
IL_0106:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_83 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___s_colorWhite_57;
V_4 = L_83;
goto IL_010f;
}
IL_010f:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_84 = V_4;
return L_84;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_Text_GetAttributeParameters_mA3AE2EA072B750B11D4FA5FB08F3026062B3CB5E (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___chars0, int32_t ___startIndex1, int32_t ___length2, SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C** ___parameters3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
bool V_2 = false;
int32_t V_3 = 0;
{
int32_t L_0 = ___startIndex1;
V_0 = L_0;
V_1 = 0;
goto IL_002b;
}
IL_0007:
{
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C** L_1 = ___parameters3;
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_2 = *((SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C**)L_1);
int32_t L_3 = V_1;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_4 = ___chars0;
int32_t L_5 = ___startIndex1;
int32_t L_6 = ___length2;
float L_7;
L_7 = TMP_Text_ConvertToFloat_m3A00B254D2DEC8796A64339BF2370E2FF0A76869(__this, L_4, L_5, L_6, (&V_0), NULL);
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (float)L_7);
int32_t L_8 = ___length2;
int32_t L_9 = V_0;
int32_t L_10 = ___startIndex1;
___length2 = ((int32_t)il2cpp_codegen_subtract(L_8, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_9, L_10)), 1))));
int32_t L_11 = V_0;
___startIndex1 = ((int32_t)il2cpp_codegen_add(L_11, 1));
int32_t L_12 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add(L_12, 1));
}
IL_002b:
{
int32_t L_13 = V_0;
int32_t L_14 = ___startIndex1;
int32_t L_15 = ___length2;
V_2 = (bool)((((int32_t)L_13) < ((int32_t)((int32_t)il2cpp_codegen_add(L_14, L_15))))? 1 : 0);
bool L_16 = V_2;
if (L_16)
{
goto IL_0007;
}
}
{
int32_t L_17 = V_1;
V_3 = L_17;
goto IL_0039;
}
IL_0039:
{
int32_t L_18 = V_3;
return L_18;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___chars0, int32_t ___startIndex1, int32_t ___length2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
float V_1 = 0.0f;
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_0 = ___chars0;
int32_t L_1 = ___startIndex1;
int32_t L_2 = ___length2;
float L_3;
L_3 = TMP_Text_ConvertToFloat_m3A00B254D2DEC8796A64339BF2370E2FF0A76869(__this, L_0, L_1, L_2, (&V_0), NULL);
V_1 = L_3;
goto IL_000f;
}
IL_000f:
{
float L_4 = V_1;
return L_4;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TMP_Text_ConvertToFloat_m3A00B254D2DEC8796A64339BF2370E2FF0A76869 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___chars0, int32_t ___startIndex1, int32_t ___length2, int32_t* ___lastIndex3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
bool V_1 = false;
float V_2 = 0.0f;
int32_t V_3 = 0;
float V_4 = 0.0f;
bool V_5 = false;
float V_6 = 0.0f;
bool V_7 = false;
bool V_8 = false;
int32_t V_9 = 0;
uint32_t V_10 = 0;
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 G_B11_0 = 0;
int32_t G_B22_0 = 0;
{
int32_t L_0 = ___startIndex1;
V_5 = (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0);
bool L_1 = V_5;
if (!L_1)
{
goto IL_001c;
}
}
{
int32_t* L_2 = ___lastIndex3;
*((int32_t*)L_2) = (int32_t)0;
V_6 = (-32768.0f);
goto IL_0169;
}
IL_001c:
{
int32_t L_3 = ___startIndex1;
int32_t L_4 = ___length2;
V_0 = ((int32_t)il2cpp_codegen_add(L_3, L_4));
V_1 = (bool)1;
V_2 = (0.0f);
V_3 = 1;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_5 = ___chars0;
int32_t L_6 = ___startIndex1;
NullCheck(L_5);
int32_t L_7 = L_6;
uint16_t L_8 = (uint16_t)(L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
V_7 = (bool)((((int32_t)L_8) == ((int32_t)((int32_t)43)))? 1 : 0);
bool L_9 = V_7;
if (!L_9)
{
goto IL_0042;
}
}
{
V_3 = 1;
int32_t L_10 = ___startIndex1;
___startIndex1 = ((int32_t)il2cpp_codegen_add(L_10, 1));
goto IL_0058;
}
IL_0042:
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_11 = ___chars0;
int32_t L_12 = ___startIndex1;
NullCheck(L_11);
int32_t L_13 = L_12;
uint16_t L_14 = (uint16_t)(L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
V_8 = (bool)((((int32_t)L_14) == ((int32_t)((int32_t)45)))? 1 : 0);
bool L_15 = V_8;
if (!L_15)
{
goto IL_0058;
}
}
{
V_3 = (-1);
int32_t L_16 = ___startIndex1;
___startIndex1 = ((int32_t)il2cpp_codegen_add(L_16, 1));
}
IL_0058:
{
V_4 = (0.0f);
int32_t L_17 = ___startIndex1;
V_9 = L_17;
goto IL_0139;
}
IL_0067:
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_18 = ___chars0;
int32_t L_19 = V_9;
NullCheck(L_18);
int32_t L_20 = L_19;
uint16_t L_21 = (uint16_t)(L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
V_10 = L_21;
uint32_t L_22 = V_10;
if ((!(((uint32_t)L_22) >= ((uint32_t)((int32_t)48)))))
{
goto IL_007a;
}
}
{
uint32_t L_23 = V_10;
if ((!(((uint32_t)L_23) > ((uint32_t)((int32_t)57)))))
{
goto IL_0082;
}
}
IL_007a:
{
uint32_t L_24 = V_10;
G_B11_0 = ((((int32_t)L_24) == ((int32_t)((int32_t)46)))? 1 : 0);
goto IL_0083;
}
IL_0082:
{
G_B11_0 = 1;
}
IL_0083:
{
V_11 = (bool)G_B11_0;
bool L_25 = V_11;
if (!L_25)
{
goto IL_00df;
}
}
{
uint32_t L_26 = V_10;
V_12 = (bool)((((int32_t)L_26) == ((int32_t)((int32_t)46)))? 1 : 0);
bool L_27 = V_12;
if (!L_27)
{
goto IL_00a4;
}
}
{
V_1 = (bool)0;
V_2 = (0.100000001f);
goto IL_0133;
}
IL_00a4:
{
bool L_28 = V_1;
V_13 = L_28;
bool L_29 = V_13;
if (!L_29)
{
goto IL_00c2;
}
}
{
float L_30 = V_4;
uint32_t L_31 = V_10;
int32_t L_32 = V_3;
V_4 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_30, (10.0f))), ((float)((int64_t)il2cpp_codegen_multiply(((int64_t)(uint64_t)((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_31, ((int32_t)48))))), ((int64_t)L_32))))));
goto IL_00dd;
}
IL_00c2:
{
float L_33 = V_4;
uint32_t L_34 = V_10;
float L_35 = V_2;
int32_t L_36 = V_3;
V_4 = ((float)il2cpp_codegen_add(L_33, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)((double)(uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_34, ((int32_t)48))))), L_35)), ((float)L_36)))));
float L_37 = V_2;
V_2 = ((float)il2cpp_codegen_multiply(L_37, (0.100000001f)));
}
IL_00dd:
{
goto IL_0133;
}
IL_00df:
{
uint32_t L_38 = V_10;
V_14 = (bool)((((int32_t)L_38) == ((int32_t)((int32_t)44)))? 1 : 0);
bool L_39 = V_14;
if (!L_39)
{
goto IL_0132;
}
}
{
int32_t L_40 = V_9;
int32_t L_41 = V_0;
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_40, 1))) >= ((int32_t)L_41)))
{
goto IL_00ff;
}
}
{
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_42 = ___chars0;
int32_t L_43 = V_9;
NullCheck(L_42);
int32_t L_44 = ((int32_t)il2cpp_codegen_add(L_43, 1));
uint16_t L_45 = (uint16_t)(L_42)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
G_B22_0 = ((((int32_t)L_45) == ((int32_t)((int32_t)32)))? 1 : 0);
goto IL_0100;
}
IL_00ff:
{
G_B22_0 = 0;
}
IL_0100:
{
V_15 = (bool)G_B22_0;
bool L_46 = V_15;
if (!L_46)
{
goto IL_010f;
}
}
{
int32_t* L_47 = ___lastIndex3;
int32_t L_48 = V_9;
*((int32_t*)L_47) = (int32_t)((int32_t)il2cpp_codegen_add(L_48, 1));
goto IL_0114;
}
IL_010f:
{
int32_t* L_49 = ___lastIndex3;
int32_t L_50 = V_9;
*((int32_t*)L_49) = (int32_t)L_50;
}
IL_0114:
{
float L_51 = V_4;
V_16 = (bool)((((float)L_51) > ((float)(32767.0f)))? 1 : 0);
bool L_52 = V_16;
if (!L_52)
{
goto IL_012c;
}
}
{
V_6 = (-32768.0f);
goto IL_0169;
}
IL_012c:
{
float L_53 = V_4;
V_6 = L_53;
goto IL_0169;
}
IL_0132:
{
}
IL_0133:
{
int32_t L_54 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add(L_54, 1));
}
IL_0139:
{
int32_t L_55 = V_9;
int32_t L_56 = V_0;
V_17 = (bool)((((int32_t)L_55) < ((int32_t)L_56))? 1 : 0);
bool L_57 = V_17;
if (L_57)
{
goto IL_0067;
}
}
{
int32_t* L_58 = ___lastIndex3;
int32_t L_59 = V_0;
*((int32_t*)L_58) = (int32_t)L_59;
float L_60 = V_4;
V_18 = (bool)((((float)L_60) > ((float)(32767.0f)))? 1 : 0);
bool L_61 = V_18;
if (!L_61)
{
goto IL_0163;
}
}
{
V_6 = (-32768.0f);
goto IL_0169;
}
IL_0163:
{
float L_62 = V_4;
V_6 = L_62;
goto IL_0169;
}
IL_0169:
{
float L_63 = V_6;
return L_63;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_Text_ValidateHtmlTag_mCA56FCCE3DC46EF51927B96CD7F91B1097A0EEBA (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* ___chars0, int32_t ___startIndex1, int32_t* ___endIndex2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m98B2ED14D5EBBED4D53F00F785FC2B5FE87FE3F5_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_mC909CC888641BC8E1E29C8AB1C790C637C9B390E_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisTMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB_m7546617D59DD4AF34FA2D67F11F82C658194F5F8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m5F15FBF7AC2FCDC8C169ED260201B75AB8CB50F3_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisTMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39_m7904B83E27E07EAAE6AFD7AD2270D77A6B2F210B_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextInfo_Resize_TisTMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6_m8FFB7A047A39033B809EBE3DC8756EF04721A6B3_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Add_m57810DE15A45E439F6648C54DFE507C3E56AA72A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Add_m7384E96876DE9397A2E5C59711743F69132E536E_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Add_mE1377C8125BB8D09F1F8133EC5C7B41757E592BA_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_CurrentItem_mF7764B34297632B9645EBCA34E55AECCDE58D367_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Peek_mC8569734890F2DED4A76435029774AE618C4B3B5_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Pop_mBB6CFCE314680FC6801E9D68AF1974BCFD350CBF_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Push_m044F03B5DB751956253506A126DF3382E86CBD9B_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Push_mA474FC826EA9F947DACE0C8050322C961ABE97FB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Remove_m012CED006CD62BD452498A862676A1E775138717_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Remove_m0353A4D9760AB41F66944B4BC0975E2EA8282C7A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Remove_m7EAFE41E986CC289AFE14769631B2E5BAEC446AF_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Remove_m9E2E06D1B36F92004CA676136D0E3F0BDCD1630C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Remove_mA98ACB867032B9BD34CB3B5717D2B9E3D6028652_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Remove_mB944EB7E1D1A02A96C48B1AA7EE7A2D7C232745D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1_Remove_mB9D97F9A4BDE45ED0CA012B3EC5AB86E8747B06A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral10AFEF67C3DFA56498662B12A8647359768C0E9F);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2770A633C3121057FB1B03FB7E4E4A3C21E9D5BF);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3CF41D991C7F2555D83F628B4B3B26444D917083);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE37CF7E47CB9000C903DB247EEF917A2B2043256);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
uint8_t V_1 = 0x0;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
bool V_5 = false;
bool V_6 = false;
int32_t V_7 = 0;
int32_t V_8 = 0;
int32_t V_9 = 0;
int32_t V_10 = 0;
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;
int32_t V_20 = 0;
bool V_21 = false;
bool V_22 = false;
bool V_23 = false;
bool V_24 = false;
bool V_25 = false;
bool V_26 = false;
bool V_27 = false;
bool V_28 = false;
bool V_29 = false;
bool V_30 = false;
bool V_31 = false;
bool V_32 = false;
bool V_33 = false;
bool V_34 = false;
bool V_35 = false;
bool V_36 = false;
bool V_37 = false;
bool V_38 = false;
bool V_39 = false;
float V_40 = 0.0f;
float V_41 = 0.0f;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_42;
memset((&V_42), 0, sizeof(V_42));
TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 V_43;
memset((&V_43), 0, sizeof(V_43));
HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B V_44;
memset((&V_44), 0, sizeof(V_44));
int32_t V_45 = 0;
int32_t V_46 = 0;
int32_t V_47 = 0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* V_48 = NULL;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* V_49 = NULL;
int32_t V_50 = 0;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* V_51 = NULL;
int32_t V_52 = 0;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* V_53 = NULL;
int32_t V_54 = 0;
int32_t V_55 = 0;
int32_t V_56 = 0;
bool V_57 = false;
bool V_58 = false;
bool V_59 = false;
bool V_60 = false;
bool V_61 = false;
bool V_62 = false;
bool V_63 = false;
bool V_64 = false;
bool V_65 = false;
bool V_66 = false;
bool V_67 = false;
bool V_68 = false;
int32_t V_69 = 0;
int32_t V_70 = 0;
int32_t V_71 = 0;
int32_t V_72 = 0;
int32_t V_73 = 0;
bool V_74 = false;
bool V_75 = false;
bool V_76 = false;
bool V_77 = false;
bool V_78 = false;
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 V_79;
memset((&V_79), 0, sizeof(V_79));
bool V_80 = false;
bool V_81 = false;
bool V_82 = false;
bool V_83 = false;
bool V_84 = false;
bool V_85 = false;
bool V_86 = false;
int32_t V_87 = 0;
int32_t V_88 = 0;
bool V_89 = false;
bool V_90 = false;
int32_t V_91 = 0;
int32_t V_92 = 0;
bool V_93 = false;
int32_t V_94 = 0;
int32_t V_95 = 0;
bool V_96 = false;
bool V_97 = false;
int32_t V_98 = 0;
int32_t V_99 = 0;
bool V_100 = false;
bool V_101 = false;
bool V_102 = false;
bool V_103 = false;
bool V_104 = false;
bool V_105 = false;
bool V_106 = false;
bool V_107 = false;
bool V_108 = false;
bool V_109 = false;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B V_110;
memset((&V_110), 0, sizeof(V_110));
bool V_111 = false;
bool V_112 = false;
bool V_113 = false;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B V_114;
memset((&V_114), 0, sizeof(V_114));
bool V_115 = false;
int32_t V_116 = 0;
int32_t V_117 = 0;
bool V_118 = false;
bool V_119 = false;
int32_t V_120 = 0;
bool V_121 = false;
bool V_122 = false;
bool V_123 = false;
int32_t V_124 = 0;
int32_t V_125 = 0;
bool V_126 = false;
int32_t V_127 = 0;
int32_t V_128 = 0;
bool V_129 = false;
bool V_130 = false;
bool V_131 = false;
bool V_132 = false;
int32_t V_133 = 0;
int32_t V_134 = 0;
bool V_135 = false;
bool V_136 = false;
bool V_137 = false;
int32_t V_138 = 0;
int32_t V_139 = 0;
int32_t V_140 = 0;
int32_t V_141 = 0;
bool V_142 = false;
bool V_143 = false;
int32_t V_144 = 0;
int32_t V_145 = 0;
bool V_146 = false;
bool V_147 = false;
bool V_148 = false;
int32_t V_149 = 0;
int32_t V_150 = 0;
bool V_151 = false;
int32_t V_152 = 0;
int32_t V_153 = 0;
bool V_154 = false;
int32_t V_155 = 0;
int32_t V_156 = 0;
bool V_157 = false;
bool V_158 = false;
bool V_159 = false;
bool V_160 = false;
bool V_161 = false;
bool V_162 = false;
bool V_163 = false;
bool V_164 = false;
bool V_165 = false;
bool V_166 = false;
bool V_167 = false;
int32_t V_168 = 0;
bool V_169 = false;
bool V_170 = false;
int32_t V_171 = 0;
int32_t V_172 = 0;
int32_t V_173 = 0;
int32_t V_174 = 0;
int32_t V_175 = 0;
int32_t V_176 = 0;
bool V_177 = false;
bool V_178 = false;
bool V_179 = false;
bool V_180 = false;
bool V_181 = false;
bool V_182 = false;
bool V_183 = false;
bool V_184 = false;
bool V_185 = false;
bool V_186 = false;
bool V_187 = false;
bool V_188 = false;
bool V_189 = false;
bool V_190 = false;
int32_t V_191 = 0;
int32_t V_192 = 0;
bool V_193 = false;
int32_t V_194 = 0;
int32_t V_195 = 0;
int32_t V_196 = 0;
int32_t V_197 = 0;
int32_t V_198 = 0;
int32_t V_199 = 0;
bool V_200 = false;
int32_t V_201 = 0;
int32_t V_202 = 0;
bool V_203 = false;
int32_t V_204 = 0;
int32_t V_205 = 0;
bool V_206 = false;
bool V_207 = false;
int32_t V_208 = 0;
int32_t V_209 = 0;
bool V_210 = false;
int32_t V_211 = 0;
int32_t V_212 = 0;
bool V_213 = false;
int32_t V_214 = 0;
int32_t V_215 = 0;
bool V_216 = false;
bool V_217 = false;
int32_t V_218 = 0;
bool V_219 = false;
bool V_220 = false;
int32_t G_B11_0 = 0;
int32_t G_B13_0 = 0;
int32_t G_B27_0 = 0;
int32_t G_B56_0 = 0;
int32_t G_B65_0 = 0;
int32_t G_B73_0 = 0;
int32_t G_B80_0 = 0;
int32_t G_B82_0 = 0;
int32_t G_B87_0 = 0;
int32_t G_B92_0 = 0;
int32_t G_B97_0 = 0;
int32_t G_B102_0 = 0;
int32_t G_B107_0 = 0;
int32_t G_B503_0 = 0;
int32_t G_B507_0 = 0;
int32_t G_B520_0 = 0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B523_0 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B522_0 = NULL;
uint8_t G_B524_0 = 0x0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B524_1 = NULL;
int32_t G_B535_0 = 0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B538_0 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B537_0 = NULL;
uint8_t G_B539_0 = 0x0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B539_1 = NULL;
float G_B565_0 = 0.0f;
TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 G_B565_1;
memset((&G_B565_1), 0, sizeof(G_B565_1));
float G_B564_0 = 0.0f;
TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 G_B564_1;
memset((&G_B564_1), 0, sizeof(G_B564_1));
float G_B566_0 = 0.0f;
float G_B566_1 = 0.0f;
TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 G_B566_2;
memset((&G_B566_2), 0, sizeof(G_B566_2));
int32_t G_B571_0 = 0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B574_0 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B573_0 = NULL;
uint8_t G_B575_0 = 0x0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* G_B575_1 = NULL;
float G_B583_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B583_1 = NULL;
float G_B582_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B582_1 = NULL;
float G_B584_0 = 0.0f;
float G_B584_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B584_2 = NULL;
float G_B586_0 = 0.0f;
float G_B585_0 = 0.0f;
float G_B587_0 = 0.0f;
float G_B587_1 = 0.0f;
float G_B592_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B592_1 = NULL;
float G_B591_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B591_1 = NULL;
float G_B593_0 = 0.0f;
float G_B593_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B593_2 = NULL;
float G_B600_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B600_1 = NULL;
float G_B599_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B599_1 = NULL;
float G_B601_0 = 0.0f;
float G_B601_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B601_2 = NULL;
float G_B603_0 = 0.0f;
float G_B602_0 = 0.0f;
float G_B604_0 = 0.0f;
float G_B604_1 = 0.0f;
float G_B609_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B609_1 = NULL;
float G_B608_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B608_1 = NULL;
float G_B610_0 = 0.0f;
float G_B610_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B610_2 = NULL;
float G_B658_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B658_1 = NULL;
float G_B657_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B657_1 = NULL;
float G_B659_0 = 0.0f;
float G_B659_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B659_2 = NULL;
float G_B662_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B662_1 = NULL;
float G_B661_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B661_1 = NULL;
float G_B663_0 = 0.0f;
float G_B663_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B663_2 = NULL;
float G_B673_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B673_1 = NULL;
float G_B672_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B672_1 = NULL;
float G_B674_0 = 0.0f;
float G_B674_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B674_2 = NULL;
float G_B677_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B677_1 = NULL;
float G_B676_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B676_1 = NULL;
float G_B678_0 = 0.0f;
float G_B678_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B678_2 = NULL;
int32_t G_B703_0 = 0;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* G_B708_0 = NULL;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* G_B707_0 = NULL;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* G_B709_0 = NULL;
int32_t G_B717_0 = 0;
int32_t G_B722_0 = 0;
int32_t G_B735_0 = 0;
float G_B750_0 = 0.0f;
float G_B750_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B750_2 = NULL;
float G_B749_0 = 0.0f;
float G_B749_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B749_2 = NULL;
float G_B751_0 = 0.0f;
float G_B751_1 = 0.0f;
float G_B751_2 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B751_3 = NULL;
float G_B754_0 = 0.0f;
float G_B754_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B754_2 = NULL;
float G_B753_0 = 0.0f;
float G_B753_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B753_2 = NULL;
float G_B755_0 = 0.0f;
float G_B755_1 = 0.0f;
float G_B755_2 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B755_3 = NULL;
int32_t G_B766_0 = 0;
int32_t G_B774_0 = 0;
float G_B803_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B803_1 = NULL;
float G_B802_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B802_1 = NULL;
float G_B804_0 = 0.0f;
float G_B804_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B804_2 = NULL;
int32_t G_B812_0 = 0;
int32_t G_B817_0 = 0;
int32_t G_B822_0 = 0;
int32_t G_B827_0 = 0;
int32_t G_B880_0 = 0;
float G_B889_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B889_1 = NULL;
float G_B888_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B888_1 = NULL;
float G_B890_0 = 0.0f;
float G_B890_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B890_2 = NULL;
float G_B893_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B893_1 = NULL;
float G_B892_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B892_1 = NULL;
float G_B894_0 = 0.0f;
float G_B894_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B894_2 = NULL;
float G_B908_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B908_1 = NULL;
float G_B907_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B907_1 = NULL;
float G_B909_0 = 0.0f;
float G_B909_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B909_2 = NULL;
float G_B912_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B912_1 = NULL;
float G_B911_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B911_1 = NULL;
float G_B913_0 = 0.0f;
float G_B913_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B913_2 = NULL;
float G_B925_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B925_1 = NULL;
float G_B924_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B924_1 = NULL;
float G_B926_0 = 0.0f;
float G_B926_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B926_2 = NULL;
float G_B929_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B929_1 = NULL;
float G_B928_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B928_1 = NULL;
float G_B930_0 = 0.0f;
float G_B930_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B930_2 = NULL;
float G_B940_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B940_1 = NULL;
float G_B939_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B939_1 = NULL;
float G_B941_0 = 0.0f;
float G_B941_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B941_2 = NULL;
float G_B944_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B944_1 = NULL;
float G_B943_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B943_1 = NULL;
float G_B945_0 = 0.0f;
float G_B945_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B945_2 = NULL;
int32_t G_B952_0 = 0;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* G_B970_0 = NULL;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* G_B969_0 = NULL;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* G_B971_0 = NULL;
int32_t G_B1026_0 = 0;
int32_t G_B1033_0 = 0;
float G_B1065_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1065_1 = NULL;
float G_B1064_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1064_1 = NULL;
float G_B1066_0 = 0.0f;
float G_B1066_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1066_2 = NULL;
float G_B1069_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1069_1 = NULL;
float G_B1068_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1068_1 = NULL;
float G_B1070_0 = 0.0f;
float G_B1070_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1070_2 = NULL;
float G_B1073_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1073_1 = NULL;
float G_B1072_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1072_1 = NULL;
float G_B1074_0 = 0.0f;
float G_B1074_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1074_2 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1077_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1076_0 = NULL;
float G_B1078_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1078_1 = NULL;
float G_B1090_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1090_1 = NULL;
float G_B1089_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1089_1 = NULL;
float G_B1091_0 = 0.0f;
float G_B1091_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1091_2 = NULL;
float G_B1094_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1094_1 = NULL;
float G_B1093_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1093_1 = NULL;
float G_B1095_0 = 0.0f;
float G_B1095_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1095_2 = NULL;
float G_B1098_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1098_1 = NULL;
float G_B1097_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1097_1 = NULL;
float G_B1099_0 = 0.0f;
float G_B1099_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1099_2 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1102_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1101_0 = NULL;
float G_B1103_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1103_1 = NULL;
float G_B1110_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1110_1 = NULL;
float G_B1109_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1109_1 = NULL;
float G_B1111_0 = 0.0f;
float G_B1111_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1111_2 = NULL;
float G_B1114_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1114_1 = NULL;
float G_B1113_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1113_1 = NULL;
float G_B1115_0 = 0.0f;
float G_B1115_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1115_2 = NULL;
float G_B1118_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1118_1 = NULL;
float G_B1117_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1117_1 = NULL;
float G_B1119_0 = 0.0f;
float G_B1119_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1119_2 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1122_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1121_0 = NULL;
float G_B1123_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1123_1 = NULL;
int32_t G_B1128_0 = 0;
float G_B1138_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1138_1 = NULL;
float G_B1137_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1137_1 = NULL;
float G_B1139_0 = 0.0f;
float G_B1139_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1139_2 = NULL;
float G_B1142_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1142_1 = NULL;
float G_B1141_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1141_1 = NULL;
float G_B1143_0 = 0.0f;
float G_B1143_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1143_2 = NULL;
float G_B1146_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1146_1 = NULL;
float G_B1145_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1145_1 = NULL;
float G_B1147_0 = 0.0f;
float G_B1147_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1147_2 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1150_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1149_0 = NULL;
float G_B1151_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1151_1 = NULL;
float G_B1158_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1158_1 = NULL;
float G_B1157_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1157_1 = NULL;
float G_B1159_0 = 0.0f;
float G_B1159_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1159_2 = NULL;
float G_B1162_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1162_1 = NULL;
float G_B1161_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1161_1 = NULL;
float G_B1163_0 = 0.0f;
float G_B1163_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1163_2 = NULL;
float G_B1166_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1166_1 = NULL;
float G_B1165_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1165_1 = NULL;
float G_B1167_0 = 0.0f;
float G_B1167_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1167_2 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1170_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1169_0 = NULL;
float G_B1171_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1171_1 = NULL;
float G_B1178_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1178_1 = NULL;
float G_B1177_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1177_1 = NULL;
float G_B1179_0 = 0.0f;
float G_B1179_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1179_2 = NULL;
float G_B1182_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1182_1 = NULL;
float G_B1181_0 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1181_1 = NULL;
float G_B1183_0 = 0.0f;
float G_B1183_1 = 0.0f;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1183_2 = NULL;
float G_B1186_0 = 0.0f;
float G_B1185_0 = 0.0f;
float G_B1187_0 = 0.0f;
float G_B1187_1 = 0.0f;
{
V_0 = 0;
V_1 = (uint8_t)0;
V_2 = 0;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_0 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1 = V_2;
NullCheck(L_0);
((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1)))->___nameHashCode_0 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_2 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_3 = V_2;
NullCheck(L_2);
((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_3)))->___valueHashCode_1 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_4 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_5 = V_2;
NullCheck(L_4);
((L_4)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_5)))->___valueStartIndex_3 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_6 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_7 = V_2;
NullCheck(L_6);
((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)))->___valueLength_4 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_8 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_9 = V_2;
NullCheck(L_8);
int32_t L_10 = 0;
V_7 = L_10;
((L_8)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_9)))->___valueType_2 = L_10;
int32_t L_11 = V_7;
V_3 = L_11;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_12 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_13 = V_2;
NullCheck(L_12);
int32_t L_14 = 0;
V_8 = L_14;
((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13)))->___unitType_5 = L_14;
int32_t L_15 = V_8;
V_4 = L_15;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_16 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_16);
((L_16)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___nameHashCode_0 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_17 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_17);
((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->___nameHashCode_0 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_18 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_18);
((L_18)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))->___nameHashCode_0 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_19 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_19);
((L_19)->GetAddressAt(static_cast<il2cpp_array_size_t>(4)))->___nameHashCode_0 = 0;
int32_t* L_20 = ___endIndex2;
int32_t L_21 = ___startIndex1;
*((int32_t*)L_20) = (int32_t)L_21;
V_5 = (bool)0;
V_6 = (bool)0;
int32_t L_22 = ___startIndex1;
V_9 = L_22;
goto IL_066f;
}
IL_00cf:
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_23 = ___chars0;
int32_t L_24 = V_9;
NullCheck(L_23);
int32_t L_25 = ((L_23)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_24)))->___unicode_0;
V_10 = L_25;
int32_t L_26 = V_10;
V_11 = (bool)((((int32_t)L_26) == ((int32_t)((int32_t)62)))? 1 : 0);
bool L_27 = V_11;
if (!L_27)
{
goto IL_0100;
}
}
{
V_6 = (bool)1;
int32_t* L_28 = ___endIndex2;
int32_t L_29 = V_9;
*((int32_t*)L_28) = (int32_t)L_29;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_30 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
int32_t L_31 = V_0;
NullCheck(L_30);
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(L_31), (Il2CppChar)0);
goto IL_06af;
}
IL_0100:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_32 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
int32_t L_33 = V_0;
int32_t L_34 = V_10;
NullCheck(L_32);
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(L_33), (Il2CppChar)((int32_t)(uint16_t)L_34));
int32_t L_35 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add(L_35, 1));
uint8_t L_36 = V_1;
V_12 = (bool)((((int32_t)L_36) == ((int32_t)1))? 1 : 0);
bool L_37 = V_12;
if (!L_37)
{
goto IL_056a;
}
}
{
int32_t L_38 = V_3;
V_13 = (bool)((((int32_t)L_38) == ((int32_t)0))? 1 : 0);
bool L_39 = V_13;
if (!L_39)
{
goto IL_02b0;
}
}
{
int32_t L_40 = V_10;
if ((((int32_t)L_40) == ((int32_t)((int32_t)43))))
{
goto IL_0150;
}
}
{
int32_t L_41 = V_10;
if ((((int32_t)L_41) == ((int32_t)((int32_t)45))))
{
goto IL_0150;
}
}
{
int32_t L_42 = V_10;
if ((((int32_t)L_42) == ((int32_t)((int32_t)46))))
{
goto IL_0150;
}
}
{
int32_t L_43 = V_10;
if ((((int32_t)L_43) < ((int32_t)((int32_t)48))))
{
goto IL_014d;
}
}
{
int32_t L_44 = V_10;
G_B11_0 = ((((int32_t)((((int32_t)L_44) > ((int32_t)((int32_t)57)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_014e;
}
IL_014d:
{
G_B11_0 = 0;
}
IL_014e:
{
G_B13_0 = G_B11_0;
goto IL_0151;
}
IL_0150:
{
G_B13_0 = 1;
}
IL_0151:
{
V_14 = (bool)G_B13_0;
bool L_45 = V_14;
if (!L_45)
{
goto IL_01a0;
}
}
{
V_4 = 0;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_46 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_47 = V_2;
NullCheck(L_46);
int32_t L_48 = 1;
V_7 = L_48;
((L_46)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_47)))->___valueType_2 = L_48;
int32_t L_49 = V_7;
V_3 = L_49;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_50 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_51 = V_2;
NullCheck(L_50);
int32_t L_52 = V_0;
((L_50)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_51)))->___valueStartIndex_3 = ((int32_t)il2cpp_codegen_subtract(L_52, 1));
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_53 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_54 = V_2;
NullCheck(L_53);
int32_t* L_55 = (&((L_53)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_54)))->___valueLength_4);
int32_t* L_56 = L_55;
int32_t L_57 = *((int32_t*)L_56);
*((int32_t*)L_56) = (int32_t)((int32_t)il2cpp_codegen_add(L_57, 1));
goto IL_02aa;
}
IL_01a0:
{
int32_t L_58 = V_10;
V_15 = (bool)((((int32_t)L_58) == ((int32_t)((int32_t)35)))? 1 : 0);
bool L_59 = V_15;
if (!L_59)
{
goto IL_01f5;
}
}
{
V_4 = 0;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_60 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_61 = V_2;
NullCheck(L_60);
int32_t L_62 = 4;
V_7 = L_62;
((L_60)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_61)))->___valueType_2 = L_62;
int32_t L_63 = V_7;
V_3 = L_63;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_64 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_65 = V_2;
NullCheck(L_64);
int32_t L_66 = V_0;
((L_64)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_65)))->___valueStartIndex_3 = ((int32_t)il2cpp_codegen_subtract(L_66, 1));
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_67 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_68 = V_2;
NullCheck(L_67);
int32_t* L_69 = (&((L_67)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_68)))->___valueLength_4);
int32_t* L_70 = L_69;
int32_t L_71 = *((int32_t*)L_70);
*((int32_t*)L_70) = (int32_t)((int32_t)il2cpp_codegen_add(L_71, 1));
goto IL_02aa;
}
IL_01f5:
{
int32_t L_72 = V_10;
V_16 = (bool)((((int32_t)L_72) == ((int32_t)((int32_t)34)))? 1 : 0);
bool L_73 = V_16;
if (!L_73)
{
goto IL_0230;
}
}
{
V_4 = 0;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_74 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_75 = V_2;
NullCheck(L_74);
int32_t L_76 = 2;
V_7 = L_76;
((L_74)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_75)))->___valueType_2 = L_76;
int32_t L_77 = V_7;
V_3 = L_77;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_78 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_79 = V_2;
NullCheck(L_78);
int32_t L_80 = V_0;
((L_78)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_79)))->___valueStartIndex_3 = L_80;
goto IL_02aa;
}
IL_0230:
{
V_4 = 0;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_81 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_82 = V_2;
NullCheck(L_81);
int32_t L_83 = 2;
V_7 = L_83;
((L_81)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_82)))->___valueType_2 = L_83;
int32_t L_84 = V_7;
V_3 = L_84;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_85 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_86 = V_2;
NullCheck(L_85);
int32_t L_87 = V_0;
((L_85)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_86)))->___valueStartIndex_3 = ((int32_t)il2cpp_codegen_subtract(L_87, 1));
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_88 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_89 = V_2;
NullCheck(L_88);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_90 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_91 = V_2;
NullCheck(L_90);
int32_t L_92 = ((L_90)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_91)))->___valueHashCode_1;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_93 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_94 = V_2;
NullCheck(L_93);
int32_t L_95 = ((L_93)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_94)))->___valueHashCode_1;
int32_t L_96 = V_10;
((L_88)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_89)))->___valueHashCode_1 = ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)(L_92<<5)), L_95))^L_96));
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_97 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_98 = V_2;
NullCheck(L_97);
int32_t* L_99 = (&((L_97)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_98)))->___valueLength_4);
int32_t* L_100 = L_99;
int32_t L_101 = *((int32_t*)L_100);
*((int32_t*)L_100) = (int32_t)((int32_t)il2cpp_codegen_add(L_101, 1));
}
IL_02aa:
{
goto IL_0569;
}
IL_02b0:
{
int32_t L_102 = V_3;
V_17 = (bool)((((int32_t)L_102) == ((int32_t)1))? 1 : 0);
bool L_103 = V_17;
if (!L_103)
{
goto IL_03d9;
}
}
{
int32_t L_104 = V_10;
if ((((int32_t)L_104) == ((int32_t)((int32_t)112))))
{
goto IL_02d9;
}
}
{
int32_t L_105 = V_10;
if ((((int32_t)L_105) == ((int32_t)((int32_t)101))))
{
goto IL_02d9;
}
}
{
int32_t L_106 = V_10;
if ((((int32_t)L_106) == ((int32_t)((int32_t)37))))
{
goto IL_02d9;
}
}
{
int32_t L_107 = V_10;
G_B27_0 = ((((int32_t)L_107) == ((int32_t)((int32_t)32)))? 1 : 0);
goto IL_02da;
}
IL_02d9:
{
G_B27_0 = 1;
}
IL_02da:
{
V_18 = (bool)G_B27_0;
bool L_108 = V_18;
if (!L_108)
{
goto IL_03af;
}
}
{
V_1 = (uint8_t)2;
V_3 = 0;
int32_t L_109 = V_10;
V_20 = L_109;
int32_t L_110 = V_20;
V_19 = L_110;
int32_t L_111 = V_19;
if ((((int32_t)L_111) == ((int32_t)((int32_t)37))))
{
goto IL_0316;
}
}
{
goto IL_02f8;
}
IL_02f8:
{
int32_t L_112 = V_19;
if ((((int32_t)L_112) == ((int32_t)((int32_t)101))))
{
goto IL_0300;
}
}
{
goto IL_032c;
}
IL_0300:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_113 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_114 = V_2;
NullCheck(L_113);
int32_t L_115 = 1;
V_4 = L_115;
((L_113)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_114)))->___unitType_5 = L_115;
goto IL_0342;
}
IL_0316:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_116 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_117 = V_2;
NullCheck(L_116);
int32_t L_118 = 2;
V_4 = L_118;
((L_116)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_117)))->___unitType_5 = L_118;
goto IL_0342;
}
IL_032c:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_119 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_120 = V_2;
NullCheck(L_119);
int32_t L_121 = 0;
V_4 = L_121;
((L_119)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_120)))->___unitType_5 = L_121;
goto IL_0342;
}
IL_0342:
{
int32_t L_122 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_122, 1));
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_123 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_124 = V_2;
NullCheck(L_123);
((L_123)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_124)))->___nameHashCode_0 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_125 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_126 = V_2;
NullCheck(L_125);
((L_125)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_126)))->___valueHashCode_1 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_127 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_128 = V_2;
NullCheck(L_127);
((L_127)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_128)))->___valueType_2 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_129 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_130 = V_2;
NullCheck(L_129);
((L_129)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_130)))->___unitType_5 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_131 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_132 = V_2;
NullCheck(L_131);
((L_131)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_132)))->___valueStartIndex_3 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_133 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_134 = V_2;
NullCheck(L_133);
((L_133)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_134)))->___valueLength_4 = 0;
goto IL_03d3;
}
IL_03af:
{
uint8_t L_135 = V_1;
V_21 = (bool)((((int32_t)((((int32_t)L_135) == ((int32_t)2))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_136 = V_21;
if (!L_136)
{
goto IL_03d3;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_137 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_138 = V_2;
NullCheck(L_137);
int32_t* L_139 = (&((L_137)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_138)))->___valueLength_4);
int32_t* L_140 = L_139;
int32_t L_141 = *((int32_t*)L_140);
*((int32_t*)L_140) = (int32_t)((int32_t)il2cpp_codegen_add(L_141, 1));
}
IL_03d3:
{
goto IL_0568;
}
IL_03d9:
{
int32_t L_142 = V_3;
V_22 = (bool)((((int32_t)L_142) == ((int32_t)4))? 1 : 0);
bool L_143 = V_22;
if (!L_143)
{
goto IL_0488;
}
}
{
int32_t L_144 = V_10;
V_23 = (bool)((((int32_t)((((int32_t)L_144) == ((int32_t)((int32_t)32)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_145 = V_23;
if (!L_145)
{
goto IL_040f;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_146 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_147 = V_2;
NullCheck(L_146);
int32_t* L_148 = (&((L_146)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_147)))->___valueLength_4);
int32_t* L_149 = L_148;
int32_t L_150 = *((int32_t*)L_149);
*((int32_t*)L_149) = (int32_t)((int32_t)il2cpp_codegen_add(L_150, 1));
goto IL_0482;
}
IL_040f:
{
V_1 = (uint8_t)2;
V_3 = 0;
V_4 = 0;
int32_t L_151 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_151, 1));
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_152 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_153 = V_2;
NullCheck(L_152);
((L_152)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_153)))->___nameHashCode_0 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_154 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_155 = V_2;
NullCheck(L_154);
((L_154)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_155)))->___valueType_2 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_156 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_157 = V_2;
NullCheck(L_156);
((L_156)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_157)))->___unitType_5 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_158 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_159 = V_2;
NullCheck(L_158);
((L_158)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_159)))->___valueHashCode_1 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_160 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_161 = V_2;
NullCheck(L_160);
((L_160)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_161)))->___valueStartIndex_3 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_162 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_163 = V_2;
NullCheck(L_162);
((L_162)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_163)))->___valueLength_4 = 0;
}
IL_0482:
{
goto IL_0568;
}
IL_0488:
{
int32_t L_164 = V_3;
V_24 = (bool)((((int32_t)L_164) == ((int32_t)2))? 1 : 0);
bool L_165 = V_24;
if (!L_165)
{
goto IL_0568;
}
}
{
int32_t L_166 = V_10;
V_25 = (bool)((((int32_t)((((int32_t)L_166) == ((int32_t)((int32_t)34)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_167 = V_25;
if (!L_167)
{
goto IL_04f4;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_168 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_169 = V_2;
NullCheck(L_168);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_170 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_171 = V_2;
NullCheck(L_170);
int32_t L_172 = ((L_170)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_171)))->___valueHashCode_1;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_173 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_174 = V_2;
NullCheck(L_173);
int32_t L_175 = ((L_173)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_174)))->___valueHashCode_1;
int32_t L_176 = V_10;
((L_168)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_169)))->___valueHashCode_1 = ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)(L_172<<5)), L_175))^L_176));
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_177 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_178 = V_2;
NullCheck(L_177);
int32_t* L_179 = (&((L_177)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_178)))->___valueLength_4);
int32_t* L_180 = L_179;
int32_t L_181 = *((int32_t*)L_180);
*((int32_t*)L_180) = (int32_t)((int32_t)il2cpp_codegen_add(L_181, 1));
goto IL_0567;
}
IL_04f4:
{
V_1 = (uint8_t)2;
V_3 = 0;
V_4 = 0;
int32_t L_182 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_182, 1));
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_183 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_184 = V_2;
NullCheck(L_183);
((L_183)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_184)))->___nameHashCode_0 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_185 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_186 = V_2;
NullCheck(L_185);
((L_185)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_186)))->___valueType_2 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_187 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_188 = V_2;
NullCheck(L_187);
((L_187)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_188)))->___unitType_5 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_189 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_190 = V_2;
NullCheck(L_189);
((L_189)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_190)))->___valueHashCode_1 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_191 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_192 = V_2;
NullCheck(L_191);
((L_191)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_192)))->___valueStartIndex_3 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_193 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_194 = V_2;
NullCheck(L_193);
((L_193)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_194)))->___valueLength_4 = 0;
}
IL_0567:
{
}
IL_0568:
{
}
IL_0569:
{
}
IL_056a:
{
int32_t L_195 = V_10;
V_26 = (bool)((((int32_t)L_195) == ((int32_t)((int32_t)61)))? 1 : 0);
bool L_196 = V_26;
if (!L_196)
{
goto IL_0578;
}
}
{
V_1 = (uint8_t)1;
}
IL_0578:
{
uint8_t L_197 = V_1;
if (L_197)
{
goto IL_0583;
}
}
{
int32_t L_198 = V_10;
G_B56_0 = ((((int32_t)L_198) == ((int32_t)((int32_t)32)))? 1 : 0);
goto IL_0584;
}
IL_0583:
{
G_B56_0 = 0;
}
IL_0584:
{
V_27 = (bool)G_B56_0;
bool L_199 = V_27;
if (!L_199)
{
goto IL_0613;
}
}
{
bool L_200 = V_5;
V_28 = L_200;
bool L_201 = V_28;
if (!L_201)
{
goto IL_059e;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_059e:
{
V_5 = (bool)1;
V_1 = (uint8_t)2;
V_3 = 0;
V_4 = 0;
int32_t L_202 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add(L_202, 1));
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_203 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_204 = V_2;
NullCheck(L_203);
((L_203)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_204)))->___nameHashCode_0 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_205 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_206 = V_2;
NullCheck(L_205);
((L_205)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_206)))->___valueType_2 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_207 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_208 = V_2;
NullCheck(L_207);
((L_207)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_208)))->___unitType_5 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_209 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_210 = V_2;
NullCheck(L_209);
((L_209)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_210)))->___valueHashCode_1 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_211 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_212 = V_2;
NullCheck(L_211);
((L_211)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_212)))->___valueStartIndex_3 = 0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_213 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_214 = V_2;
NullCheck(L_213);
((L_213)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_214)))->___valueLength_4 = 0;
}
IL_0613:
{
uint8_t L_215 = V_1;
V_30 = (bool)((((int32_t)L_215) == ((int32_t)0))? 1 : 0);
bool L_216 = V_30;
if (!L_216)
{
goto IL_0653;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_217 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_218 = V_2;
NullCheck(L_217);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_219 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_220 = V_2;
NullCheck(L_219);
int32_t L_221 = ((L_219)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_220)))->___nameHashCode_0;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_222 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_223 = V_2;
NullCheck(L_222);
int32_t L_224 = ((L_222)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_223)))->___nameHashCode_0;
int32_t L_225 = V_10;
((L_217)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_218)))->___nameHashCode_0 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(((int32_t)(L_221<<3)), L_224)), L_225));
}
IL_0653:
{
uint8_t L_226 = V_1;
if ((!(((uint32_t)L_226) == ((uint32_t)2))))
{
goto IL_065f;
}
}
{
int32_t L_227 = V_10;
G_B65_0 = ((((int32_t)L_227) == ((int32_t)((int32_t)32)))? 1 : 0);
goto IL_0660;
}
IL_065f:
{
G_B65_0 = 0;
}
IL_0660:
{
V_31 = (bool)G_B65_0;
bool L_228 = V_31;
if (!L_228)
{
goto IL_0668;
}
}
{
V_1 = (uint8_t)0;
}
IL_0668:
{
int32_t L_229 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add(L_229, 1));
}
IL_066f:
{
int32_t L_230 = V_9;
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_231 = ___chars0;
NullCheck(L_231);
if ((((int32_t)L_230) >= ((int32_t)((int32_t)(((RuntimeArray*)L_231)->max_length)))))
{
goto IL_06a5;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_232 = ___chars0;
int32_t L_233 = V_9;
NullCheck(L_232);
int32_t L_234 = ((L_232)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_233)))->___unicode_0;
if (!L_234)
{
goto IL_06a5;
}
}
{
int32_t L_235 = V_0;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_236 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_236);
if ((((int32_t)L_235) >= ((int32_t)((int32_t)(((RuntimeArray*)L_236)->max_length)))))
{
goto IL_06a5;
}
}
{
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_237 = ___chars0;
int32_t L_238 = V_9;
NullCheck(L_237);
int32_t L_239 = ((L_237)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_238)))->___unicode_0;
G_B73_0 = ((((int32_t)((((int32_t)L_239) == ((int32_t)((int32_t)60)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_06a6;
}
IL_06a5:
{
G_B73_0 = 0;
}
IL_06a6:
{
V_32 = (bool)G_B73_0;
bool L_240 = V_32;
if (L_240)
{
goto IL_00cf;
}
}
IL_06af:
{
bool L_241 = V_6;
V_33 = (bool)((((int32_t)L_241) == ((int32_t)0))? 1 : 0);
bool L_242 = V_33;
if (!L_242)
{
goto IL_06c3;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_06c3:
{
bool L_243 = __this->___tag_NoParsing_195;
if (!L_243)
{
goto IL_0701;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_244 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_244);
int32_t L_245 = ((L_244)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___nameHashCode_0;
if ((((int32_t)L_245) == ((int32_t)((int32_t)53822163))))
{
goto IL_06fe;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_246 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_246);
int32_t L_247 = ((L_246)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___nameHashCode_0;
G_B80_0 = ((((int32_t)((((int32_t)L_247) == ((int32_t)((int32_t)49429939)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_06ff;
}
IL_06fe:
{
G_B80_0 = 0;
}
IL_06ff:
{
G_B82_0 = G_B80_0;
goto IL_0702;
}
IL_0701:
{
G_B82_0 = 0;
}
IL_0702:
{
V_34 = (bool)G_B82_0;
bool L_248 = V_34;
if (!L_248)
{
goto IL_0710;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_0710:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_249 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_249);
int32_t L_250 = ((L_249)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___nameHashCode_0;
if ((((int32_t)L_250) == ((int32_t)((int32_t)53822163))))
{
goto IL_0740;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_251 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_251);
int32_t L_252 = ((L_251)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___nameHashCode_0;
G_B87_0 = ((((int32_t)L_252) == ((int32_t)((int32_t)49429939)))? 1 : 0);
goto IL_0741;
}
IL_0740:
{
G_B87_0 = 1;
}
IL_0741:
{
V_35 = (bool)G_B87_0;
bool L_253 = V_35;
if (!L_253)
{
goto IL_0757;
}
}
{
__this->___tag_NoParsing_195 = (bool)0;
V_29 = (bool)1;
goto IL_46ef;
}
IL_0757:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_254 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_254);
int32_t L_255 = 0;
uint16_t L_256 = (uint16_t)(L_254)->GetAt(static_cast<il2cpp_array_size_t>(L_255));
if ((!(((uint32_t)L_256) == ((uint32_t)((int32_t)35)))))
{
goto IL_0768;
}
}
{
int32_t L_257 = V_0;
G_B92_0 = ((((int32_t)L_257) == ((int32_t)4))? 1 : 0);
goto IL_0769;
}
IL_0768:
{
G_B92_0 = 0;
}
IL_0769:
{
V_36 = (bool)G_B92_0;
bool L_258 = V_36;
if (!L_258)
{
goto IL_079c;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_259 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
int32_t L_260 = V_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_261;
L_261 = TMP_Text_HexCharsToColor_mFF3D804C9D8FA7A297DE7D2FDD8ACAF56F3AE41F(__this, L_259, L_260, NULL);
__this->___m_htmlColor_228 = L_261;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_262 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_263 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_262, L_263, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_079c:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_264 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_264);
int32_t L_265 = 0;
uint16_t L_266 = (uint16_t)(L_264)->GetAt(static_cast<il2cpp_array_size_t>(L_265));
if ((!(((uint32_t)L_266) == ((uint32_t)((int32_t)35)))))
{
goto IL_07ad;
}
}
{
int32_t L_267 = V_0;
G_B97_0 = ((((int32_t)L_267) == ((int32_t)5))? 1 : 0);
goto IL_07ae;
}
IL_07ad:
{
G_B97_0 = 0;
}
IL_07ae:
{
V_37 = (bool)G_B97_0;
bool L_268 = V_37;
if (!L_268)
{
goto IL_07e1;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_269 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
int32_t L_270 = V_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_271;
L_271 = TMP_Text_HexCharsToColor_mFF3D804C9D8FA7A297DE7D2FDD8ACAF56F3AE41F(__this, L_269, L_270, NULL);
__this->___m_htmlColor_228 = L_271;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_272 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_273 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_272, L_273, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_07e1:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_274 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_274);
int32_t L_275 = 0;
uint16_t L_276 = (uint16_t)(L_274)->GetAt(static_cast<il2cpp_array_size_t>(L_275));
if ((!(((uint32_t)L_276) == ((uint32_t)((int32_t)35)))))
{
goto IL_07f2;
}
}
{
int32_t L_277 = V_0;
G_B102_0 = ((((int32_t)L_277) == ((int32_t)7))? 1 : 0);
goto IL_07f3;
}
IL_07f2:
{
G_B102_0 = 0;
}
IL_07f3:
{
V_38 = (bool)G_B102_0;
bool L_278 = V_38;
if (!L_278)
{
goto IL_0826;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_279 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
int32_t L_280 = V_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_281;
L_281 = TMP_Text_HexCharsToColor_mFF3D804C9D8FA7A297DE7D2FDD8ACAF56F3AE41F(__this, L_279, L_280, NULL);
__this->___m_htmlColor_228 = L_281;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_282 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_283 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_282, L_283, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_0826:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_284 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_284);
int32_t L_285 = 0;
uint16_t L_286 = (uint16_t)(L_284)->GetAt(static_cast<il2cpp_array_size_t>(L_285));
if ((!(((uint32_t)L_286) == ((uint32_t)((int32_t)35)))))
{
goto IL_0838;
}
}
{
int32_t L_287 = V_0;
G_B107_0 = ((((int32_t)L_287) == ((int32_t)((int32_t)9)))? 1 : 0);
goto IL_0839;
}
IL_0838:
{
G_B107_0 = 0;
}
IL_0839:
{
V_39 = (bool)G_B107_0;
bool L_288 = V_39;
if (!L_288)
{
goto IL_086c;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_289 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
int32_t L_290 = V_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_291;
L_291 = TMP_Text_HexCharsToColor_mFF3D804C9D8FA7A297DE7D2FDD8ACAF56F3AE41F(__this, L_289, L_290, NULL);
__this->___m_htmlColor_228 = L_291;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_292 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_293 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_292, L_293, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_086c:
{
V_40 = (0.0f);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_294 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_294);
int32_t L_295 = ((L_294)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___nameHashCode_0;
V_56 = L_295;
int32_t L_296 = V_56;
V_55 = L_296;
int32_t L_297 = V_55;
if ((((int32_t)L_297) > ((int32_t)((int32_t)186622))))
{
goto IL_0e61;
}
}
{
int32_t L_298 = V_55;
if ((((int32_t)L_298) > ((int32_t)((int32_t)2963))))
{
goto IL_0b71;
}
}
{
int32_t L_299 = V_55;
if ((((int32_t)L_299) > ((int32_t)((int32_t)98))))
{
goto IL_0a0b;
}
}
{
int32_t L_300 = V_55;
if ((((int32_t)L_300) > ((int32_t)((int32_t)-855002522))))
{
goto IL_096a;
}
}
{
int32_t L_301 = V_55;
if ((((int32_t)L_301) > ((int32_t)((int32_t)-1690034531))))
{
goto IL_0915;
}
}
{
int32_t L_302 = V_55;
if ((((int32_t)L_302) > ((int32_t)((int32_t)-1883544150))))
{
goto IL_08e8;
}
}
{
int32_t L_303 = V_55;
if ((((int32_t)L_303) == ((int32_t)((int32_t)-1885698441))))
{
goto IL_1fea;
}
}
{
goto IL_08d7;
}
IL_08d7:
{
int32_t L_304 = V_55;
if ((((int32_t)L_304) == ((int32_t)((int32_t)-1883544150))))
{
goto IL_3cb7;
}
}
{
goto IL_46e9;
}
IL_08e8:
{
int32_t L_305 = V_55;
if ((((int32_t)L_305) == ((int32_t)((int32_t)-1847322671))))
{
goto IL_3d88;
}
}
{
goto IL_08f6;
}
IL_08f6:
{
int32_t L_306 = V_55;
if ((((int32_t)L_306) == ((int32_t)((int32_t)-1831660941))))
{
goto IL_3d1e;
}
}
{
goto IL_0904;
}
IL_0904:
{
int32_t L_307 = V_55;
if ((((int32_t)L_307) == ((int32_t)((int32_t)-1690034531))))
{
goto IL_42bb;
}
}
{
goto IL_46e9;
}
IL_0915:
{
int32_t L_308 = V_55;
if ((((int32_t)L_308) > ((int32_t)((int32_t)-1632103439))))
{
goto IL_093d;
}
}
{
int32_t L_309 = V_55;
if ((((int32_t)L_309) == ((int32_t)((int32_t)-1668324918))))
{
goto IL_3cb7;
}
}
{
goto IL_092c;
}
IL_092c:
{
int32_t L_310 = V_55;
if ((((int32_t)L_310) == ((int32_t)((int32_t)-1632103439))))
{
goto IL_3d88;
}
}
{
goto IL_46e9;
}
IL_093d:
{
int32_t L_311 = V_55;
if ((((int32_t)L_311) == ((int32_t)((int32_t)-1616441709))))
{
goto IL_3d1e;
}
}
{
goto IL_094b;
}
IL_094b:
{
int32_t L_312 = V_55;
if ((((int32_t)L_312) == ((int32_t)((int32_t)-884817987))))
{
goto IL_42bb;
}
}
{
goto IL_0959;
}
IL_0959:
{
int32_t L_313 = V_55;
if ((((int32_t)L_313) == ((int32_t)((int32_t)-855002522))))
{
goto IL_41bb;
}
}
{
goto IL_46e9;
}
IL_096a:
{
int32_t L_314 = V_55;
if ((((int32_t)L_314) > ((int32_t)((int32_t)-330774850))))
{
goto IL_09c8;
}
}
{
int32_t L_315 = V_55;
if ((((int32_t)L_315) > ((int32_t)((int32_t)-842656867))))
{
goto IL_099b;
}
}
{
int32_t L_316 = V_55;
if ((((int32_t)L_316) == ((int32_t)((int32_t)-842693512))))
{
goto IL_43bb;
}
}
{
goto IL_098a;
}
IL_098a:
{
int32_t L_317 = V_55;
if ((((int32_t)L_317) == ((int32_t)((int32_t)-842656867))))
{
goto IL_35ea;
}
}
{
goto IL_46e9;
}
IL_099b:
{
int32_t L_318 = V_55;
if ((((int32_t)L_318) == ((int32_t)((int32_t)-445573839))))
{
goto IL_44df;
}
}
{
goto IL_09a9;
}
IL_09a9:
{
int32_t L_319 = V_55;
if ((((int32_t)L_319) == ((int32_t)((int32_t)-445537194))))
{
goto IL_36c2;
}
}
{
goto IL_09b7;
}
IL_09b7:
{
int32_t L_320 = V_55;
if ((((int32_t)L_320) == ((int32_t)((int32_t)-330774850))))
{
goto IL_1e8d;
}
}
{
goto IL_46e9;
}
IL_09c8:
{
int32_t L_321 = V_55;
if ((((int32_t)L_321) > ((int32_t)((int32_t)73))))
{
goto IL_09e7;
}
}
{
int32_t L_322 = V_55;
if ((((int32_t)L_322) == ((int32_t)((int32_t)66))))
{
goto IL_145b;
}
}
{
goto IL_09d9;
}
IL_09d9:
{
int32_t L_323 = V_55;
if ((((int32_t)L_323) == ((int32_t)((int32_t)73))))
{
goto IL_14de;
}
}
{
goto IL_46e9;
}
IL_09e7:
{
int32_t L_324 = V_55;
if ((((int32_t)L_324) == ((int32_t)((int32_t)83))))
{
goto IL_160f;
}
}
{
goto IL_09f2;
}
IL_09f2:
{
int32_t L_325 = V_55;
if ((((int32_t)L_325) == ((int32_t)((int32_t)85))))
{
goto IL_174f;
}
}
{
goto IL_09fd;
}
IL_09fd:
{
int32_t L_326 = V_55;
if ((((int32_t)L_326) == ((int32_t)((int32_t)98))))
{
goto IL_145b;
}
}
{
goto IL_46e9;
}
IL_0a0b:
{
int32_t L_327 = V_55;
if ((((int32_t)L_327) > ((int32_t)((int32_t)434))))
{
goto IL_0abe;
}
}
{
int32_t L_328 = V_55;
if ((((int32_t)L_328) > ((int32_t)((int32_t)402))))
{
goto IL_0a69;
}
}
{
int32_t L_329 = V_55;
if ((((int32_t)L_329) > ((int32_t)((int32_t)115))))
{
goto IL_0a3f;
}
}
{
int32_t L_330 = V_55;
if ((((int32_t)L_330) == ((int32_t)((int32_t)105))))
{
goto IL_14de;
}
}
{
goto IL_0a31;
}
IL_0a31:
{
int32_t L_331 = V_55;
if ((((int32_t)L_331) == ((int32_t)((int32_t)115))))
{
goto IL_160f;
}
}
{
goto IL_46e9;
}
IL_0a3f:
{
int32_t L_332 = V_55;
if ((((int32_t)L_332) == ((int32_t)((int32_t)117))))
{
goto IL_174f;
}
}
{
goto IL_0a4a;
}
IL_0a4a:
{
int32_t L_333 = V_55;
if ((((int32_t)L_333) == ((int32_t)((int32_t)395))))
{
goto IL_1489;
}
}
{
goto IL_0a58;
}
IL_0a58:
{
int32_t L_334 = V_55;
if ((((int32_t)L_334) == ((int32_t)((int32_t)402))))
{
goto IL_15bc;
}
}
{
goto IL_46e9;
}
IL_0a69:
{
int32_t L_335 = V_55;
if ((((int32_t)L_335) > ((int32_t)((int32_t)414))))
{
goto IL_0a91;
}
}
{
int32_t L_336 = V_55;
if ((((int32_t)L_336) == ((int32_t)((int32_t)412))))
{
goto IL_16f9;
}
}
{
goto IL_0a80;
}
IL_0a80:
{
int32_t L_337 = V_55;
if ((((int32_t)L_337) == ((int32_t)((int32_t)414))))
{
goto IL_1837;
}
}
{
goto IL_46e9;
}
IL_0a91:
{
int32_t L_338 = V_55;
if ((((int32_t)L_338) == ((int32_t)((int32_t)426))))
{
goto IL_29c4;
}
}
{
goto IL_0a9f;
}
IL_0a9f:
{
int32_t L_339 = V_55;
if ((((int32_t)L_339) == ((int32_t)((int32_t)427))))
{
goto IL_1489;
}
}
{
goto IL_0aad;
}
IL_0aad:
{
int32_t L_340 = V_55;
if ((((int32_t)L_340) == ((int32_t)((int32_t)434))))
{
goto IL_15bc;
}
}
{
goto IL_46e9;
}
IL_0abe:
{
int32_t L_341 = V_55;
if ((((int32_t)L_341) > ((int32_t)((int32_t)670))))
{
goto IL_0b1c;
}
}
{
int32_t L_342 = V_55;
if ((((int32_t)L_342) > ((int32_t)((int32_t)446))))
{
goto IL_0aef;
}
}
{
int32_t L_343 = V_55;
if ((((int32_t)L_343) == ((int32_t)((int32_t)444))))
{
goto IL_16f9;
}
}
{
goto IL_0ade;
}
IL_0ade:
{
int32_t L_344 = V_55;
if ((((int32_t)L_344) == ((int32_t)((int32_t)446))))
{
goto IL_1837;
}
}
{
goto IL_46e9;
}
IL_0aef:
{
int32_t L_345 = V_55;
if ((((int32_t)L_345) == ((int32_t)((int32_t)656))))
{
goto IL_46df;
}
}
{
goto IL_0afd;
}
IL_0afd:
{
int32_t L_346 = V_55;
if ((((int32_t)L_346) == ((int32_t)((int32_t)660))))
{
goto IL_46d5;
}
}
{
goto IL_0b0b;
}
IL_0b0b:
{
int32_t L_347 = V_55;
if ((((int32_t)L_347) == ((int32_t)((int32_t)670))))
{
goto IL_46cb;
}
}
{
goto IL_46e9;
}
IL_0b1c:
{
int32_t L_348 = V_55;
if ((((int32_t)L_348) > ((int32_t)((int32_t)916))))
{
goto IL_0b44;
}
}
{
int32_t L_349 = V_55;
if ((((int32_t)L_349) == ((int32_t)((int32_t)912))))
{
goto IL_46df;
}
}
{
goto IL_0b33;
}
IL_0b33:
{
int32_t L_350 = V_55;
if ((((int32_t)L_350) == ((int32_t)((int32_t)916))))
{
goto IL_46d5;
}
}
{
goto IL_46e9;
}
IL_0b44:
{
int32_t L_351 = V_55;
if ((((int32_t)L_351) == ((int32_t)((int32_t)926))))
{
goto IL_46cb;
}
}
{
goto IL_0b52;
}
IL_0b52:
{
int32_t L_352 = V_55;
if ((((int32_t)L_352) == ((int32_t)((int32_t)2959))))
{
goto IL_46e4;
}
}
{
goto IL_0b60;
}
IL_0b60:
{
int32_t L_353 = V_55;
if ((((int32_t)L_353) == ((int32_t)((int32_t)2963))))
{
goto IL_46da;
}
}
{
goto IL_46e9;
}
IL_0b71:
{
int32_t L_354 = V_55;
if ((((int32_t)L_354) > ((int32_t)((int32_t)31169))))
{
goto IL_0cef;
}
}
{
int32_t L_355 = V_55;
if ((((int32_t)L_355) > ((int32_t)((int32_t)6566))))
{
goto IL_0c3c;
}
}
{
int32_t L_356 = V_55;
if ((((int32_t)L_356) > ((int32_t)((int32_t)4556))))
{
goto IL_0be7;
}
}
{
int32_t L_357 = V_55;
if ((((int32_t)L_357) > ((int32_t)((int32_t)3215))))
{
goto IL_0bba;
}
}
{
int32_t L_358 = V_55;
if ((((int32_t)L_358) == ((int32_t)((int32_t)2973))))
{
goto IL_46d0;
}
}
{
goto IL_0ba9;
}
IL_0ba9:
{
int32_t L_359 = V_55;
if ((((int32_t)L_359) == ((int32_t)((int32_t)3215))))
{
goto IL_46e4;
}
}
{
goto IL_46e9;
}
IL_0bba:
{
int32_t L_360 = V_55;
if ((((int32_t)L_360) == ((int32_t)((int32_t)3219))))
{
goto IL_46da;
}
}
{
goto IL_0bc8;
}
IL_0bc8:
{
int32_t L_361 = V_55;
if ((((int32_t)L_361) == ((int32_t)((int32_t)3229))))
{
goto IL_46d0;
}
}
{
goto IL_0bd6;
}
IL_0bd6:
{
int32_t L_362 = V_55;
if ((((int32_t)L_362) == ((int32_t)((int32_t)4556))))
{
goto IL_202b;
}
}
{
goto IL_46e9;
}
IL_0be7:
{
int32_t L_363 = V_55;
if ((((int32_t)L_363) > ((int32_t)((int32_t)4742))))
{
goto IL_0c0f;
}
}
{
int32_t L_364 = V_55;
if ((((int32_t)L_364) == ((int32_t)((int32_t)4728))))
{
goto IL_1b33;
}
}
{
goto IL_0bfe;
}
IL_0bfe:
{
int32_t L_365 = V_55;
if ((((int32_t)L_365) == ((int32_t)((int32_t)4742))))
{
goto IL_1ce0;
}
}
{
goto IL_46e9;
}
IL_0c0f:
{
int32_t L_366 = V_55;
if ((((int32_t)L_366) == ((int32_t)((int32_t)6380))))
{
goto IL_202b;
}
}
{
goto IL_0c1d;
}
IL_0c1d:
{
int32_t L_367 = V_55;
if ((((int32_t)L_367) == ((int32_t)((int32_t)6552))))
{
goto IL_1b33;
}
}
{
goto IL_0c2b;
}
IL_0c2b:
{
int32_t L_368 = V_55;
if ((((int32_t)L_368) == ((int32_t)((int32_t)6566))))
{
goto IL_1ce0;
}
}
{
goto IL_46e9;
}
IL_0c3c:
{
int32_t L_369 = V_55;
if ((((int32_t)L_369) > ((int32_t)((int32_t)22673))))
{
goto IL_0c9a;
}
}
{
int32_t L_370 = V_55;
if ((((int32_t)L_370) > ((int32_t)((int32_t)20849))))
{
goto IL_0c6d;
}
}
{
int32_t L_371 = V_55;
if ((((int32_t)L_371) == ((int32_t)((int32_t)20677))))
{
goto IL_2102;
}
}
{
goto IL_0c5c;
}
IL_0c5c:
{
int32_t L_372 = V_55;
if ((((int32_t)L_372) == ((int32_t)((int32_t)20849))))
{
goto IL_1c26;
}
}
{
goto IL_46e9;
}
IL_0c6d:
{
int32_t L_373 = V_55;
if ((((int32_t)L_373) == ((int32_t)((int32_t)20863))))
{
goto IL_1dd3;
}
}
{
goto IL_0c7b;
}
IL_0c7b:
{
int32_t L_374 = V_55;
if ((((int32_t)L_374) == ((int32_t)((int32_t)22501))))
{
goto IL_2102;
}
}
{
goto IL_0c89;
}
IL_0c89:
{
int32_t L_375 = V_55;
if ((((int32_t)L_375) == ((int32_t)((int32_t)22673))))
{
goto IL_1c26;
}
}
{
goto IL_46e9;
}
IL_0c9a:
{
int32_t L_376 = V_55;
if ((((int32_t)L_376) > ((int32_t)((int32_t)28511))))
{
goto IL_0cc2;
}
}
{
int32_t L_377 = V_55;
if ((((int32_t)L_377) == ((int32_t)((int32_t)22687))))
{
goto IL_1dd3;
}
}
{
goto IL_0cb1;
}
IL_0cb1:
{
int32_t L_378 = V_55;
if ((((int32_t)L_378) == ((int32_t)((int32_t)28511))))
{
goto IL_23cc;
}
}
{
goto IL_46e9;
}
IL_0cc2:
{
int32_t L_379 = V_55;
if ((((int32_t)L_379) == ((int32_t)((int32_t)30245))))
{
goto IL_189b;
}
}
{
goto IL_0cd0;
}
IL_0cd0:
{
int32_t L_380 = V_55;
if ((((int32_t)L_380) == ((int32_t)((int32_t)30266))))
{
goto IL_29cc;
}
}
{
goto IL_0cde;
}
IL_0cde:
{
int32_t L_381 = V_55;
if ((((int32_t)L_381) == ((int32_t)((int32_t)31169))))
{
goto IL_2238;
}
}
{
goto IL_46e9;
}
IL_0cef:
{
int32_t L_382 = V_55;
if ((((int32_t)L_382) > ((int32_t)((int32_t)143092))))
{
goto IL_0dae;
}
}
{
int32_t L_383 = V_55;
if ((((int32_t)L_383) > ((int32_t)((int32_t)43066))))
{
goto IL_0d59;
}
}
{
int32_t L_384 = V_55;
if ((((int32_t)L_384) > ((int32_t)((int32_t)32745))))
{
goto IL_0d2c;
}
}
{
int32_t L_385 = V_55;
if ((((int32_t)L_385) == ((int32_t)((int32_t)31191))))
{
goto IL_21e6;
}
}
{
goto IL_0d1b;
}
IL_0d1b:
{
int32_t L_386 = V_55;
if ((((int32_t)L_386) == ((int32_t)((int32_t)32745))))
{
goto IL_2256;
}
}
{
goto IL_46e9;
}
IL_0d2c:
{
int32_t L_387 = V_55;
if ((((int32_t)L_387) == ((int32_t)((int32_t)41311))))
{
goto IL_23cc;
}
}
{
goto IL_0d3a;
}
IL_0d3a:
{
int32_t L_388 = V_55;
if ((((int32_t)L_388) == ((int32_t)((int32_t)43045))))
{
goto IL_189b;
}
}
{
goto IL_0d48;
}
IL_0d48:
{
int32_t L_389 = V_55;
if ((((int32_t)L_389) == ((int32_t)((int32_t)43066))))
{
goto IL_29cc;
}
}
{
goto IL_46e9;
}
IL_0d59:
{
int32_t L_390 = V_55;
if ((((int32_t)L_390) > ((int32_t)((int32_t)43991))))
{
goto IL_0d81;
}
}
{
int32_t L_391 = V_55;
if ((((int32_t)L_391) == ((int32_t)((int32_t)43969))))
{
goto IL_2238;
}
}
{
goto IL_0d70;
}
IL_0d70:
{
int32_t L_392 = V_55;
if ((((int32_t)L_392) == ((int32_t)((int32_t)43991))))
{
goto IL_21e6;
}
}
{
goto IL_46e9;
}
IL_0d81:
{
int32_t L_393 = V_55;
if ((((int32_t)L_393) == ((int32_t)((int32_t)45545))))
{
goto IL_2256;
}
}
{
goto IL_0d8f;
}
IL_0d8f:
{
int32_t L_394 = V_55;
if ((((int32_t)L_394) == ((int32_t)((int32_t)141358))))
{
goto IL_26bf;
}
}
{
goto IL_0d9d;
}
IL_0d9d:
{
int32_t L_395 = V_55;
if ((((int32_t)L_395) == ((int32_t)((int32_t)143092))))
{
goto IL_1ad6;
}
}
{
goto IL_46e9;
}
IL_0dae:
{
int32_t L_396 = V_55;
if ((((int32_t)L_396) > ((int32_t)((int32_t)155892))))
{
goto IL_0e0c;
}
}
{
int32_t L_397 = V_55;
if ((((int32_t)L_397) > ((int32_t)((int32_t)144016))))
{
goto IL_0ddf;
}
}
{
int32_t L_398 = V_55;
if ((((int32_t)L_398) == ((int32_t)((int32_t)143113))))
{
goto IL_2b17;
}
}
{
goto IL_0dce;
}
IL_0dce:
{
int32_t L_399 = V_55;
if ((((int32_t)L_399) == ((int32_t)((int32_t)144016))))
{
goto IL_2247;
}
}
{
goto IL_46e9;
}
IL_0ddf:
{
int32_t L_400 = V_55;
if ((((int32_t)L_400) == ((int32_t)((int32_t)145592))))
{
goto IL_23b3;
}
}
{
goto IL_0ded;
}
IL_0ded:
{
int32_t L_401 = V_55;
if ((((int32_t)L_401) == ((int32_t)((int32_t)154158))))
{
goto IL_26bf;
}
}
{
goto IL_0dfb;
}
IL_0dfb:
{
int32_t L_402 = V_55;
if ((((int32_t)L_402) == ((int32_t)((int32_t)155892))))
{
goto IL_1ad6;
}
}
{
goto IL_46e9;
}
IL_0e0c:
{
int32_t L_403 = V_55;
if ((((int32_t)L_403) > ((int32_t)((int32_t)156816))))
{
goto IL_0e34;
}
}
{
int32_t L_404 = V_55;
if ((((int32_t)L_404) == ((int32_t)((int32_t)155913))))
{
goto IL_2b17;
}
}
{
goto IL_0e23;
}
IL_0e23:
{
int32_t L_405 = V_55;
if ((((int32_t)L_405) == ((int32_t)((int32_t)156816))))
{
goto IL_2247;
}
}
{
goto IL_46e9;
}
IL_0e34:
{
int32_t L_406 = V_55;
if ((((int32_t)L_406) == ((int32_t)((int32_t)158392))))
{
goto IL_23b3;
}
}
{
goto IL_0e42;
}
IL_0e42:
{
int32_t L_407 = V_55;
if ((((int32_t)L_407) == ((int32_t)((int32_t)186285))))
{
goto IL_2bb7;
}
}
{
goto IL_0e50;
}
IL_0e50:
{
int32_t L_408 = V_55;
if ((((int32_t)L_408) == ((int32_t)((int32_t)186622))))
{
goto IL_2966;
}
}
{
goto IL_46e9;
}
IL_0e61:
{
int32_t L_409 = V_55;
if ((((int32_t)L_409) > ((int32_t)((int32_t)6886018))))
{
goto IL_115d;
}
}
{
int32_t L_410 = V_55;
if ((((int32_t)L_410) > ((int32_t)((int32_t)1071884))))
{
goto IL_0feb;
}
}
{
int32_t L_411 = V_55;
if ((((int32_t)L_411) > ((int32_t)((int32_t)315682))))
{
goto IL_0f38;
}
}
{
int32_t L_412 = V_55;
if ((((int32_t)L_412) > ((int32_t)((int32_t)237918))))
{
goto IL_0ee3;
}
}
{
int32_t L_413 = V_55;
if ((((int32_t)L_413) > ((int32_t)((int32_t)226050))))
{
goto IL_0eb6;
}
}
{
int32_t L_414 = V_55;
if ((((int32_t)L_414) == ((int32_t)((int32_t)192323))))
{
goto IL_2d9a;
}
}
{
goto IL_0ea5;
}
IL_0ea5:
{
int32_t L_415 = V_55;
if ((((int32_t)L_415) == ((int32_t)((int32_t)226050))))
{
goto IL_45ba;
}
}
{
goto IL_46e9;
}
IL_0eb6:
{
int32_t L_416 = V_55;
if ((((int32_t)L_416) == ((int32_t)((int32_t)227814))))
{
goto IL_46c1;
}
}
{
goto IL_0ec4;
}
IL_0ec4:
{
int32_t L_417 = V_55;
if ((((int32_t)L_417) == ((int32_t)((int32_t)230446))))
{
goto IL_2896;
}
}
{
goto IL_0ed2;
}
IL_0ed2:
{
int32_t L_418 = V_55;
if ((((int32_t)L_418) == ((int32_t)((int32_t)237918))))
{
goto IL_2ce0;
}
}
{
goto IL_46e9;
}
IL_0ee3:
{
int32_t L_419 = V_55;
if ((((int32_t)L_419) > ((int32_t)((int32_t)276254))))
{
goto IL_0f0b;
}
}
{
int32_t L_420 = V_55;
if ((((int32_t)L_420) == ((int32_t)((int32_t)275917))))
{
goto IL_2bb7;
}
}
{
goto IL_0efa;
}
IL_0efa:
{
int32_t L_421 = V_55;
if ((((int32_t)L_421) == ((int32_t)((int32_t)276254))))
{
goto IL_2966;
}
}
{
goto IL_46e9;
}
IL_0f0b:
{
int32_t L_422 = V_55;
if ((((int32_t)L_422) == ((int32_t)((int32_t)280416))))
{
goto IL_34cd;
}
}
{
goto IL_0f19;
}
IL_0f19:
{
int32_t L_423 = V_55;
if ((((int32_t)L_423) == ((int32_t)((int32_t)281955))))
{
goto IL_2d9a;
}
}
{
goto IL_0f27;
}
IL_0f27:
{
int32_t L_424 = V_55;
if ((((int32_t)L_424) == ((int32_t)((int32_t)315682))))
{
goto IL_45ba;
}
}
{
goto IL_46e9;
}
IL_0f38:
{
int32_t L_425 = V_55;
if ((((int32_t)L_425) > ((int32_t)((int32_t)982252))))
{
goto IL_0f96;
}
}
{
int32_t L_426 = V_55;
if ((((int32_t)L_426) > ((int32_t)((int32_t)320078))))
{
goto IL_0f69;
}
}
{
int32_t L_427 = V_55;
if ((((int32_t)L_427) == ((int32_t)((int32_t)317446))))
{
goto IL_46c1;
}
}
{
goto IL_0f58;
}
IL_0f58:
{
int32_t L_428 = V_55;
if ((((int32_t)L_428) == ((int32_t)((int32_t)320078))))
{
goto IL_2896;
}
}
{
goto IL_46e9;
}
IL_0f69:
{
int32_t L_429 = V_55;
if ((((int32_t)L_429) == ((int32_t)((int32_t)327550))))
{
goto IL_2ce0;
}
}
{
goto IL_0f77;
}
IL_0f77:
{
int32_t L_430 = V_55;
if ((((int32_t)L_430) == ((int32_t)((int32_t)976214))))
{
goto IL_2cc7;
}
}
{
goto IL_0f85;
}
IL_0f85:
{
int32_t L_431 = V_55;
if ((((int32_t)L_431) == ((int32_t)((int32_t)982252))))
{
goto IL_34d5;
}
}
{
goto IL_46e9;
}
IL_0f96:
{
int32_t L_432 = V_55;
if ((((int32_t)L_432) > ((int32_t)((int32_t)1017743))))
{
goto IL_0fbe;
}
}
{
int32_t L_433 = V_55;
if ((((int32_t)L_433) == ((int32_t)((int32_t)1015979))))
{
goto IL_4633;
}
}
{
goto IL_0fad;
}
IL_0fad:
{
int32_t L_434 = V_55;
if ((((int32_t)L_434) == ((int32_t)((int32_t)1017743))))
{
goto IL_46c6;
}
}
{
goto IL_46e9;
}
IL_0fbe:
{
int32_t L_435 = V_55;
if ((((int32_t)L_435) == ((int32_t)((int32_t)1027847))))
{
goto IL_2d87;
}
}
{
goto IL_0fcc;
}
IL_0fcc:
{
int32_t L_436 = V_55;
if ((((int32_t)L_436) == ((int32_t)((int32_t)1065846))))
{
goto IL_2cc7;
}
}
{
goto IL_0fda;
}
IL_0fda:
{
int32_t L_437 = V_55;
if ((((int32_t)L_437) == ((int32_t)((int32_t)1071884))))
{
goto IL_34d5;
}
}
{
goto IL_46e9;
}
IL_0feb:
{
int32_t L_438 = V_55;
if ((((int32_t)L_438) > ((int32_t)((int32_t)1619421))))
{
goto IL_10aa;
}
}
{
int32_t L_439 = V_55;
if ((((int32_t)L_439) > ((int32_t)((int32_t)1356515))))
{
goto IL_1055;
}
}
{
int32_t L_440 = V_55;
if ((((int32_t)L_440) > ((int32_t)((int32_t)1107375))))
{
goto IL_1028;
}
}
{
int32_t L_441 = V_55;
if ((((int32_t)L_441) == ((int32_t)((int32_t)1105611))))
{
goto IL_4633;
}
}
{
goto IL_1017;
}
IL_1017:
{
int32_t L_442 = V_55;
if ((((int32_t)L_442) == ((int32_t)((int32_t)1107375))))
{
goto IL_46c6;
}
}
{
goto IL_46e9;
}
IL_1028:
{
int32_t L_443 = V_55;
if ((((int32_t)L_443) == ((int32_t)((int32_t)1117479))))
{
goto IL_2d87;
}
}
{
goto IL_1036;
}
IL_1036:
{
int32_t L_444 = V_55;
if ((((int32_t)L_444) == ((int32_t)((int32_t)1286342))))
{
goto IL_4501;
}
}
{
goto IL_1044;
}
IL_1044:
{
int32_t L_445 = V_55;
if ((((int32_t)L_445) == ((int32_t)((int32_t)1356515))))
{
goto IL_32dd;
}
}
{
goto IL_46e9;
}
IL_1055:
{
int32_t L_446 = V_55;
if ((((int32_t)L_446) > ((int32_t)((int32_t)1482398))))
{
goto IL_107d;
}
}
{
int32_t L_447 = V_55;
if ((((int32_t)L_447) == ((int32_t)((int32_t)1441524))))
{
goto IL_34ee;
}
}
{
goto IL_106c;
}
IL_106c:
{
int32_t L_448 = V_55;
if ((((int32_t)L_448) == ((int32_t)((int32_t)1482398))))
{
goto IL_3dcd;
}
}
{
goto IL_46e9;
}
IL_107d:
{
int32_t L_449 = V_55;
if ((((int32_t)L_449) == ((int32_t)((int32_t)1524585))))
{
goto IL_3404;
}
}
{
goto IL_108b;
}
IL_108b:
{
int32_t L_450 = V_55;
if ((((int32_t)L_450) == ((int32_t)((int32_t)1600507))))
{
goto IL_4642;
}
}
{
goto IL_1099;
}
IL_1099:
{
int32_t L_451 = V_55;
if ((((int32_t)L_451) == ((int32_t)((int32_t)1619421))))
{
goto IL_36d5;
}
}
{
goto IL_46e9;
}
IL_10aa:
{
int32_t L_452 = V_55;
if ((((int32_t)L_452) > ((int32_t)((int32_t)2109854))))
{
goto IL_1108;
}
}
{
int32_t L_453 = V_55;
if ((((int32_t)L_453) > ((int32_t)((int32_t)1913798))))
{
goto IL_10db;
}
}
{
int32_t L_454 = V_55;
if ((((int32_t)L_454) == ((int32_t)((int32_t)1750458))))
{
goto IL_29bc;
}
}
{
goto IL_10ca;
}
IL_10ca:
{
int32_t L_455 = V_55;
if ((((int32_t)L_455) == ((int32_t)((int32_t)1913798))))
{
goto IL_4501;
}
}
{
goto IL_46e9;
}
IL_10db:
{
int32_t L_456 = V_55;
if ((((int32_t)L_456) == ((int32_t)((int32_t)1983971))))
{
goto IL_32dd;
}
}
{
goto IL_10e9;
}
IL_10e9:
{
int32_t L_457 = V_55;
if ((((int32_t)L_457) == ((int32_t)((int32_t)2068980))))
{
goto IL_34ee;
}
}
{
goto IL_10f7;
}
IL_10f7:
{
int32_t L_458 = V_55;
if ((((int32_t)L_458) == ((int32_t)((int32_t)2109854))))
{
goto IL_3dcd;
}
}
{
goto IL_46e9;
}
IL_1108:
{
int32_t L_459 = V_55;
if ((((int32_t)L_459) > ((int32_t)((int32_t)2227963))))
{
goto IL_1130;
}
}
{
int32_t L_460 = V_55;
if ((((int32_t)L_460) == ((int32_t)((int32_t)2152041))))
{
goto IL_3404;
}
}
{
goto IL_111f;
}
IL_111f:
{
int32_t L_461 = V_55;
if ((((int32_t)L_461) == ((int32_t)((int32_t)2227963))))
{
goto IL_4642;
}
}
{
goto IL_46e9;
}
IL_1130:
{
int32_t L_462 = V_55;
if ((((int32_t)L_462) == ((int32_t)((int32_t)2246877))))
{
goto IL_36d5;
}
}
{
goto IL_113e;
}
IL_113e:
{
int32_t L_463 = V_55;
if ((((int32_t)L_463) == ((int32_t)((int32_t)6815845))))
{
goto IL_455e;
}
}
{
goto IL_114c;
}
IL_114c:
{
int32_t L_464 = V_55;
if ((((int32_t)L_464) == ((int32_t)((int32_t)6886018))))
{
goto IL_3393;
}
}
{
goto IL_46e9;
}
IL_115d:
{
int32_t L_465 = V_55;
if ((((int32_t)L_465) > ((int32_t)((int32_t)54741026))))
{
goto IL_12db;
}
}
{
int32_t L_466 = V_55;
if ((((int32_t)L_466) > ((int32_t)((int32_t)7757466))))
{
goto IL_1228;
}
}
{
int32_t L_467 = V_55;
if ((((int32_t)L_467) > ((int32_t)((int32_t)7443301))))
{
goto IL_11d3;
}
}
{
int32_t L_468 = V_55;
if ((((int32_t)L_468) > ((int32_t)((int32_t)7011901))))
{
goto IL_11a6;
}
}
{
int32_t L_469 = V_55;
if ((((int32_t)L_469) == ((int32_t)((int32_t)6971027))))
{
goto IL_35d1;
}
}
{
goto IL_1195;
}
IL_1195:
{
int32_t L_470 = V_55;
if ((((int32_t)L_470) == ((int32_t)((int32_t)7011901))))
{
goto IL_419d;
}
}
{
goto IL_46e9;
}
IL_11a6:
{
int32_t L_471 = V_55;
if ((((int32_t)L_471) == ((int32_t)((int32_t)7054088))))
{
goto IL_34ba;
}
}
{
goto IL_11b4;
}
IL_11b4:
{
int32_t L_472 = V_55;
if ((((int32_t)L_472) == ((int32_t)((int32_t)7130010))))
{
goto IL_46b5;
}
}
{
goto IL_11c2;
}
IL_11c2:
{
int32_t L_473 = V_55;
if ((((int32_t)L_473) == ((int32_t)((int32_t)7443301))))
{
goto IL_455e;
}
}
{
goto IL_46e9;
}
IL_11d3:
{
int32_t L_474 = V_55;
if ((((int32_t)L_474) > ((int32_t)((int32_t)7598483))))
{
goto IL_11fb;
}
}
{
int32_t L_475 = V_55;
if ((((int32_t)L_475) == ((int32_t)((int32_t)7513474))))
{
goto IL_3393;
}
}
{
goto IL_11ea;
}
IL_11ea:
{
int32_t L_476 = V_55;
if ((((int32_t)L_476) == ((int32_t)((int32_t)7598483))))
{
goto IL_35d1;
}
}
{
goto IL_46e9;
}
IL_11fb:
{
int32_t L_477 = V_55;
if ((((int32_t)L_477) == ((int32_t)((int32_t)7639357))))
{
goto IL_419d;
}
}
{
goto IL_1209;
}
IL_1209:
{
int32_t L_478 = V_55;
if ((((int32_t)L_478) == ((int32_t)((int32_t)7681544))))
{
goto IL_34ba;
}
}
{
goto IL_1217;
}
IL_1217:
{
int32_t L_479 = V_55;
if ((((int32_t)L_479) == ((int32_t)((int32_t)7757466))))
{
goto IL_46b5;
}
}
{
goto IL_46e9;
}
IL_1228:
{
int32_t L_480 = V_55;
if ((((int32_t)L_480) > ((int32_t)((int32_t)15115642))))
{
goto IL_1286;
}
}
{
int32_t L_481 = V_55;
if ((((int32_t)L_481) > ((int32_t)((int32_t)10723418))))
{
goto IL_1259;
}
}
{
int32_t L_482 = V_55;
if ((((int32_t)L_482) == ((int32_t)((int32_t)9133802))))
{
goto IL_3cf9;
}
}
{
goto IL_1248;
}
IL_1248:
{
int32_t L_483 = V_55;
if ((((int32_t)L_483) == ((int32_t)((int32_t)10723418))))
{
goto IL_44f2;
}
}
{
goto IL_46e9;
}
IL_1259:
{
int32_t L_484 = V_55;
if ((((int32_t)L_484) == ((int32_t)((int32_t)11642281))))
{
goto IL_2111;
}
}
{
goto IL_1267;
}
IL_1267:
{
int32_t L_485 = V_55;
if ((((int32_t)L_485) == ((int32_t)((int32_t)13526026))))
{
goto IL_3cf9;
}
}
{
goto IL_1275;
}
IL_1275:
{
int32_t L_486 = V_55;
if ((((int32_t)L_486) == ((int32_t)((int32_t)15115642))))
{
goto IL_44f2;
}
}
{
goto IL_46e9;
}
IL_1286:
{
int32_t L_487 = V_55;
if ((((int32_t)L_487) > ((int32_t)((int32_t)47840323))))
{
goto IL_12ae;
}
}
{
int32_t L_488 = V_55;
if ((((int32_t)L_488) == ((int32_t)((int32_t)16034505))))
{
goto IL_2111;
}
}
{
goto IL_129d;
}
IL_129d:
{
int32_t L_489 = V_55;
if ((((int32_t)L_489) == ((int32_t)((int32_t)47840323))))
{
goto IL_3d1e;
}
}
{
goto IL_46e9;
}
IL_12ae:
{
int32_t L_490 = V_55;
if ((((int32_t)L_490) == ((int32_t)((int32_t)50348802))))
{
goto IL_21d3;
}
}
{
goto IL_12bc;
}
IL_12bc:
{
int32_t L_491 = V_55;
if ((((int32_t)L_491) == ((int32_t)((int32_t)52232547))))
{
goto IL_3d1e;
}
}
{
goto IL_12ca;
}
IL_12ca:
{
int32_t L_492 = V_55;
if ((((int32_t)L_492) == ((int32_t)((int32_t)54741026))))
{
goto IL_21d3;
}
}
{
goto IL_46e9;
}
IL_12db:
{
int32_t L_493 = V_55;
if ((((int32_t)L_493) > ((int32_t)((int32_t)514803617))))
{
goto IL_139a;
}
}
{
int32_t L_494 = V_55;
if ((((int32_t)L_494) > ((int32_t)((int32_t)340349191))))
{
goto IL_1345;
}
}
{
int32_t L_495 = V_55;
if ((((int32_t)L_495) > ((int32_t)((int32_t)72669687))))
{
goto IL_1318;
}
}
{
int32_t L_496 = V_55;
if ((((int32_t)L_496) == ((int32_t)((int32_t)69403544))))
{
goto IL_3159;
}
}
{
goto IL_1307;
}
IL_1307:
{
int32_t L_497 = V_55;
if ((((int32_t)L_497) == ((int32_t)((int32_t)72669687))))
{
goto IL_26fb;
}
}
{
goto IL_46e9;
}
IL_1318:
{
int32_t L_498 = V_55;
if ((((int32_t)L_498) == ((int32_t)((int32_t)100149144))))
{
goto IL_3159;
}
}
{
goto IL_1326;
}
IL_1326:
{
int32_t L_499 = V_55;
if ((((int32_t)L_499) == ((int32_t)((int32_t)103415287))))
{
goto IL_26fb;
}
}
{
goto IL_1334;
}
IL_1334:
{
int32_t L_500 = V_55;
if ((((int32_t)L_500) == ((int32_t)((int32_t)340349191))))
{
goto IL_32c4;
}
}
{
goto IL_46e9;
}
IL_1345:
{
int32_t L_501 = V_55;
if ((((int32_t)L_501) > ((int32_t)((int32_t)371094791))))
{
goto IL_136d;
}
}
{
int32_t L_502 = V_55;
if ((((int32_t)L_502) == ((int32_t)((int32_t)343615334))))
{
goto IL_2867;
}
}
{
goto IL_135c;
}
IL_135c:
{
int32_t L_503 = V_55;
if ((((int32_t)L_503) == ((int32_t)((int32_t)371094791))))
{
goto IL_32c4;
}
}
{
goto IL_46e9;
}
IL_136d:
{
int32_t L_504 = V_55;
if ((((int32_t)L_504) == ((int32_t)((int32_t)374360934))))
{
goto IL_2867;
}
}
{
goto IL_137b;
}
IL_137b:
{
int32_t L_505 = V_55;
if ((((int32_t)L_505) == ((int32_t)((int32_t)457225591))))
{
goto IL_1fea;
}
}
{
goto IL_1389;
}
IL_1389:
{
int32_t L_506 = V_55;
if ((((int32_t)L_506) == ((int32_t)((int32_t)514803617))))
{
goto IL_3c94;
}
}
{
goto IL_46e9;
}
IL_139a:
{
int32_t L_507 = V_55;
if ((((int32_t)L_507) > ((int32_t)((int32_t)781906058))))
{
goto IL_13f8;
}
}
{
int32_t L_508 = V_55;
if ((((int32_t)L_508) > ((int32_t)((int32_t)566686826))))
{
goto IL_13cb;
}
}
{
int32_t L_509 = V_55;
if ((((int32_t)L_509) == ((int32_t)((int32_t)551025096))))
{
goto IL_3d63;
}
}
{
goto IL_13ba;
}
IL_13ba:
{
int32_t L_510 = V_55;
if ((((int32_t)L_510) == ((int32_t)((int32_t)566686826))))
{
goto IL_3cf9;
}
}
{
goto IL_46e9;
}
IL_13cb:
{
int32_t L_511 = V_55;
if ((((int32_t)L_511) == ((int32_t)((int32_t)730022849))))
{
goto IL_3c94;
}
}
{
goto IL_13d9;
}
IL_13d9:
{
int32_t L_512 = V_55;
if ((((int32_t)L_512) == ((int32_t)((int32_t)766244328))))
{
goto IL_3d63;
}
}
{
goto IL_13e7;
}
IL_13e7:
{
int32_t L_513 = V_55;
if ((((int32_t)L_513) == ((int32_t)((int32_t)781906058))))
{
goto IL_3cf9;
}
}
{
goto IL_46e9;
}
IL_13f8:
{
int32_t L_514 = V_55;
if ((((int32_t)L_514) > ((int32_t)((int32_t)1109386397))))
{
goto IL_142e;
}
}
{
int32_t L_515 = V_55;
if ((((int32_t)L_515) == ((int32_t)((int32_t)1100728678))))
{
goto IL_41bb;
}
}
{
goto IL_140f;
}
IL_140f:
{
int32_t L_516 = V_55;
if ((((int32_t)L_516) == ((int32_t)((int32_t)1109349752))))
{
goto IL_43bb;
}
}
{
goto IL_141d;
}
IL_141d:
{
int32_t L_517 = V_55;
if ((((int32_t)L_517) == ((int32_t)((int32_t)1109386397))))
{
goto IL_35ea;
}
}
{
goto IL_46e9;
}
IL_142e:
{
int32_t L_518 = V_55;
if ((((int32_t)L_518) == ((int32_t)((int32_t)1897350193))))
{
goto IL_44df;
}
}
{
goto IL_143c;
}
IL_143c:
{
int32_t L_519 = V_55;
if ((((int32_t)L_519) == ((int32_t)((int32_t)1897386838))))
{
goto IL_36c2;
}
}
{
goto IL_144a;
}
IL_144a:
{
int32_t L_520 = V_55;
if ((((int32_t)L_520) == ((int32_t)((int32_t)2012149182))))
{
goto IL_1e8d;
}
}
{
goto IL_46e9;
}
IL_145b:
{
int32_t L_521 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_521|1));
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_522 = (&__this->___m_fontStyleStack_92);
uint8_t L_523;
L_523 = TMP_FontStyleStack_Add_m86B65684B67DF2CA334037A30E9876C0F02D454A(L_522, 1, NULL);
__this->___m_FontWeightInternal_80 = ((int32_t)700);
V_29 = (bool)1;
goto IL_46ef;
}
IL_1489:
{
int32_t L_524 = __this->___m_fontStyle_90;
V_57 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_524&1))) == ((int32_t)1))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_525 = V_57;
if (!L_525)
{
goto IL_14d6;
}
}
{
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_526 = (&__this->___m_fontStyleStack_92);
uint8_t L_527;
L_527 = TMP_FontStyleStack_Remove_mF44A8D00AA01FCBED6B6FD0A43A8D77990D2A26E(L_526, 1, NULL);
V_58 = (bool)((((int32_t)L_527) == ((int32_t)0))? 1 : 0);
bool L_528 = V_58;
if (!L_528)
{
goto IL_14d5;
}
}
{
int32_t L_529 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_529&((int32_t)-2)));
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4* L_530 = (&__this->___m_FontWeightStack_81);
int32_t L_531;
L_531 = TMP_TextProcessingStack_1_Peek_mC8569734890F2DED4A76435029774AE618C4B3B5(L_530, TMP_TextProcessingStack_1_Peek_mC8569734890F2DED4A76435029774AE618C4B3B5_RuntimeMethod_var);
__this->___m_FontWeightInternal_80 = L_531;
}
IL_14d5:
{
}
IL_14d6:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_14de:
{
int32_t L_532 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_532|2));
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_533 = (&__this->___m_fontStyleStack_92);
uint8_t L_534;
L_534 = TMP_FontStyleStack_Add_m86B65684B67DF2CA334037A30E9876C0F02D454A(L_533, 2, NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_535 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_535);
int32_t L_536 = ((L_535)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___nameHashCode_0;
if ((((int32_t)L_536) == ((int32_t)((int32_t)276531))))
{
goto IL_1529;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_537 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_537);
int32_t L_538 = ((L_537)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___nameHashCode_0;
G_B503_0 = ((((int32_t)L_538) == ((int32_t)((int32_t)186899)))? 1 : 0);
goto IL_152a;
}
IL_1529:
{
G_B503_0 = 1;
}
IL_152a:
{
V_59 = (bool)G_B503_0;
bool L_539 = V_59;
if (!L_539)
{
goto IL_1591;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_540 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_541 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_541);
int32_t L_542 = ((L_541)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_543 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_543);
int32_t L_544 = ((L_543)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___valueLength_4;
float L_545;
L_545 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_540, L_542, L_544, NULL);
__this->___m_ItalicAngle_241 = il2cpp_codegen_cast_double_to_int<int32_t>(L_545);
int32_t L_546 = __this->___m_ItalicAngle_241;
if ((((int32_t)L_546) < ((int32_t)((int32_t)-180))))
{
goto IL_157f;
}
}
{
int32_t L_547 = __this->___m_ItalicAngle_241;
G_B507_0 = ((((int32_t)L_547) > ((int32_t)((int32_t)180)))? 1 : 0);
goto IL_1580;
}
IL_157f:
{
G_B507_0 = 1;
}
IL_1580:
{
V_60 = (bool)G_B507_0;
bool L_548 = V_60;
if (!L_548)
{
goto IL_158e;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_158e:
{
goto IL_15a2;
}
IL_1591:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_549 = __this->___m_currentFontAsset_43;
NullCheck(L_549);
uint8_t L_550 = L_549->___italicStyle_42;
__this->___m_ItalicAngle_241 = L_550;
}
IL_15a2:
{
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* L_551 = (&__this->___m_ItalicAngleStack_240);
int32_t L_552 = __this->___m_ItalicAngle_241;
TMP_TextProcessingStack_1_Add_m57810DE15A45E439F6648C54DFE507C3E56AA72A(L_551, L_552, TMP_TextProcessingStack_1_Add_m57810DE15A45E439F6648C54DFE507C3E56AA72A_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_15bc:
{
int32_t L_553 = __this->___m_fontStyle_90;
V_61 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_553&2))) == ((int32_t)2))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_554 = V_61;
if (!L_554)
{
goto IL_1607;
}
}
{
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* L_555 = (&__this->___m_ItalicAngleStack_240);
int32_t L_556;
L_556 = TMP_TextProcessingStack_1_Remove_m0353A4D9760AB41F66944B4BC0975E2EA8282C7A(L_555, TMP_TextProcessingStack_1_Remove_m0353A4D9760AB41F66944B4BC0975E2EA8282C7A_RuntimeMethod_var);
__this->___m_ItalicAngle_241 = L_556;
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_557 = (&__this->___m_fontStyleStack_92);
uint8_t L_558;
L_558 = TMP_FontStyleStack_Remove_mF44A8D00AA01FCBED6B6FD0A43A8D77990D2A26E(L_557, 2, NULL);
V_62 = (bool)((((int32_t)L_558) == ((int32_t)0))? 1 : 0);
bool L_559 = V_62;
if (!L_559)
{
goto IL_1606;
}
}
{
int32_t L_560 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_560&((int32_t)-3)));
}
IL_1606:
{
}
IL_1607:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_160f:
{
int32_t L_561 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_561|((int32_t)64)));
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_562 = (&__this->___m_fontStyleStack_92);
uint8_t L_563;
L_563 = TMP_FontStyleStack_Add_m86B65684B67DF2CA334037A30E9876C0F02D454A(L_562, ((int32_t)64), NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_564 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_564);
int32_t L_565 = ((L_564)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___nameHashCode_0;
if ((((int32_t)L_565) == ((int32_t)((int32_t)281955))))
{
goto IL_165c;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_566 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_566);
int32_t L_567 = ((L_566)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___nameHashCode_0;
G_B520_0 = ((((int32_t)L_567) == ((int32_t)((int32_t)192323)))? 1 : 0);
goto IL_165d;
}
IL_165c:
{
G_B520_0 = 1;
}
IL_165d:
{
V_63 = (bool)G_B520_0;
bool L_568 = V_63;
if (!L_568)
{
goto IL_16d3;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_569 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_570 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_570);
int32_t L_571 = ((L_570)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_572 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_572);
int32_t L_573 = ((L_572)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___valueLength_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_574;
L_574 = TMP_Text_HexCharsToColor_mAB24870B76767E96CBCE96AF48D78744FBAEA2E7(__this, L_569, L_571, L_573, NULL);
__this->___m_strikethroughColor_59 = L_574;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_575 = (&__this->___m_strikethroughColor_59);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_576 = (&__this->___m_htmlColor_228);
uint8_t L_577 = L_576->___a_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_578 = (&__this->___m_strikethroughColor_59);
uint8_t L_579 = L_578->___a_4;
if ((((int32_t)L_577) < ((int32_t)L_579)))
{
G_B523_0 = L_575;
goto IL_16c0;
}
G_B522_0 = L_575;
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_580 = (&__this->___m_strikethroughColor_59);
uint8_t L_581 = L_580->___a_4;
G_B524_0 = L_581;
G_B524_1 = G_B522_0;
goto IL_16cb;
}
IL_16c0:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_582 = (&__this->___m_htmlColor_228);
uint8_t L_583 = L_582->___a_4;
G_B524_0 = L_583;
G_B524_1 = G_B523_0;
}
IL_16cb:
{
G_B524_1->___a_4 = G_B524_0;
goto IL_16df;
}
IL_16d3:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_584 = __this->___m_htmlColor_228;
__this->___m_strikethroughColor_59 = L_584;
}
IL_16df:
{
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_585 = (&__this->___m_strikethroughColorStack_231);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_586 = __this->___m_strikethroughColor_59;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_585, L_586, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_16f9:
{
int32_t L_587 = __this->___m_fontStyle_90;
V_64 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_587&((int32_t)64)))) == ((int32_t)((int32_t)64)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_588 = V_64;
if (!L_588)
{
goto IL_1736;
}
}
{
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_589 = (&__this->___m_fontStyleStack_92);
uint8_t L_590;
L_590 = TMP_FontStyleStack_Remove_mF44A8D00AA01FCBED6B6FD0A43A8D77990D2A26E(L_589, ((int32_t)64), NULL);
V_65 = (bool)((((int32_t)L_590) == ((int32_t)0))? 1 : 0);
bool L_591 = V_65;
if (!L_591)
{
goto IL_1735;
}
}
{
int32_t L_592 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_592&((int32_t)-65)));
}
IL_1735:
{
}
IL_1736:
{
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_593 = (&__this->___m_strikethroughColorStack_231);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_594;
L_594 = TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954(L_593, TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954_RuntimeMethod_var);
__this->___m_strikethroughColor_59 = L_594;
V_29 = (bool)1;
goto IL_46ef;
}
IL_174f:
{
int32_t L_595 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_595|4));
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_596 = (&__this->___m_fontStyleStack_92);
uint8_t L_597;
L_597 = TMP_FontStyleStack_Add_m86B65684B67DF2CA334037A30E9876C0F02D454A(L_596, 4, NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_598 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_598);
int32_t L_599 = ((L_598)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___nameHashCode_0;
if ((((int32_t)L_599) == ((int32_t)((int32_t)281955))))
{
goto IL_179a;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_600 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_600);
int32_t L_601 = ((L_600)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___nameHashCode_0;
G_B535_0 = ((((int32_t)L_601) == ((int32_t)((int32_t)192323)))? 1 : 0);
goto IL_179b;
}
IL_179a:
{
G_B535_0 = 1;
}
IL_179b:
{
V_66 = (bool)G_B535_0;
bool L_602 = V_66;
if (!L_602)
{
goto IL_1811;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_603 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_604 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_604);
int32_t L_605 = ((L_604)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_606 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_606);
int32_t L_607 = ((L_606)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___valueLength_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_608;
L_608 = TMP_Text_HexCharsToColor_mAB24870B76767E96CBCE96AF48D78744FBAEA2E7(__this, L_603, L_605, L_607, NULL);
__this->___m_underlineColor_58 = L_608;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_609 = (&__this->___m_underlineColor_58);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_610 = (&__this->___m_htmlColor_228);
uint8_t L_611 = L_610->___a_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_612 = (&__this->___m_underlineColor_58);
uint8_t L_613 = L_612->___a_4;
if ((((int32_t)L_611) < ((int32_t)L_613)))
{
G_B538_0 = L_609;
goto IL_17fe;
}
G_B537_0 = L_609;
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_614 = (&__this->___m_underlineColor_58);
uint8_t L_615 = L_614->___a_4;
G_B539_0 = L_615;
G_B539_1 = G_B537_0;
goto IL_1809;
}
IL_17fe:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_616 = (&__this->___m_htmlColor_228);
uint8_t L_617 = L_616->___a_4;
G_B539_0 = L_617;
G_B539_1 = G_B538_0;
}
IL_1809:
{
G_B539_1->___a_4 = G_B539_0;
goto IL_181d;
}
IL_1811:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_618 = __this->___m_htmlColor_228;
__this->___m_underlineColor_58 = L_618;
}
IL_181d:
{
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_619 = (&__this->___m_underlineColorStack_230);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_620 = __this->___m_underlineColor_58;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_619, L_620, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_1837:
{
int32_t L_621 = __this->___m_fontStyle_90;
V_67 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_621&4))) == ((int32_t)4))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_622 = V_67;
if (!L_622)
{
goto IL_1882;
}
}
{
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_623 = (&__this->___m_underlineColorStack_230);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_624;
L_624 = TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954(L_623, TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954_RuntimeMethod_var);
__this->___m_underlineColor_58 = L_624;
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_625 = (&__this->___m_fontStyleStack_92);
uint8_t L_626;
L_626 = TMP_FontStyleStack_Remove_mF44A8D00AA01FCBED6B6FD0A43A8D77990D2A26E(L_625, 4, NULL);
V_68 = (bool)((((int32_t)L_626) == ((int32_t)0))? 1 : 0);
bool L_627 = V_68;
if (!L_627)
{
goto IL_1881;
}
}
{
int32_t L_628 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_628&((int32_t)-5)));
}
IL_1881:
{
}
IL_1882:
{
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_629 = (&__this->___m_underlineColorStack_230);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_630;
L_630 = TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954(L_629, TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954_RuntimeMethod_var);
__this->___m_underlineColor_58 = L_630;
V_29 = (bool)1;
goto IL_46ef;
}
IL_189b:
{
int32_t L_631 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_631|((int32_t)512)));
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_632 = (&__this->___m_fontStyleStack_92);
uint8_t L_633;
L_633 = TMP_FontStyleStack_Add_m86B65684B67DF2CA334037A30E9876C0F02D454A(L_632, ((int32_t)512), NULL);
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&V_42), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)0, (uint8_t)((int32_t)64), NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6_il2cpp_TypeInfo_var);
TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 L_634;
L_634 = TMP_Offset_get_zero_m8D8E8D2E46EAB0DFFED647AC5EEB41A5B2AA2339(NULL);
V_43 = L_634;
V_69 = 0;
goto IL_1a5b;
}
IL_18e1:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_635 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_636 = V_69;
NullCheck(L_635);
int32_t L_637 = ((L_635)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_636)))->___nameHashCode_0;
V_70 = L_637;
int32_t L_638 = V_70;
V_73 = L_638;
int32_t L_639 = V_73;
V_72 = L_639;
int32_t L_640 = V_72;
if ((((int32_t)L_640) > ((int32_t)((int32_t)43045))))
{
goto IL_191f;
}
}
{
int32_t L_641 = V_72;
if ((((int32_t)L_641) == ((int32_t)((int32_t)30245))))
{
goto IL_193b;
}
}
{
goto IL_1911;
}
IL_1911:
{
int32_t L_642 = V_72;
if ((((int32_t)L_642) == ((int32_t)((int32_t)43045))))
{
goto IL_193b;
}
}
{
goto IL_1a54;
}
IL_191f:
{
int32_t L_643 = V_72;
if ((((int32_t)L_643) == ((int32_t)((int32_t)281955))))
{
goto IL_1987;
}
}
{
goto IL_192a;
}
IL_192a:
{
int32_t L_644 = V_72;
if ((((int32_t)L_644) == ((int32_t)((int32_t)15087385))))
{
goto IL_19bb;
}
}
{
goto IL_1a54;
}
IL_193b:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_645 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_646 = V_69;
NullCheck(L_645);
int32_t L_647 = ((L_645)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_646)))->___valueType_2;
V_74 = (bool)((((int32_t)L_647) == ((int32_t)4))? 1 : 0);
bool L_648 = V_74;
if (!L_648)
{
goto IL_1982;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_649 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_650 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_650);
int32_t L_651 = ((L_650)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_652 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_652);
int32_t L_653 = ((L_652)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_654;
L_654 = TMP_Text_HexCharsToColor_mAB24870B76767E96CBCE96AF48D78744FBAEA2E7(__this, L_649, L_651, L_653, NULL);
V_42 = L_654;
}
IL_1982:
{
goto IL_1a54;
}
IL_1987:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_655 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_656 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_657 = V_69;
NullCheck(L_656);
int32_t L_658 = ((L_656)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_657)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_659 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_660 = V_69;
NullCheck(L_659);
int32_t L_661 = ((L_659)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_660)))->___valueLength_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_662;
L_662 = TMP_Text_HexCharsToColor_mAB24870B76767E96CBCE96AF48D78744FBAEA2E7(__this, L_655, L_658, L_661, NULL);
V_42 = L_662;
goto IL_1a54;
}
IL_19bb:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_663 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_664 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_665 = V_69;
NullCheck(L_664);
int32_t L_666 = ((L_664)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_665)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_667 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_668 = V_69;
NullCheck(L_667);
int32_t L_669 = ((L_667)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_668)))->___valueLength_4;
int32_t L_670;
L_670 = TMP_Text_GetAttributeParameters_mA3AE2EA072B750B11D4FA5FB08F3026062B3CB5E(__this, L_663, L_666, L_669, (&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_attributeParameterValues_191), NULL);
V_71 = L_670;
int32_t L_671 = V_71;
V_75 = (bool)((((int32_t)((((int32_t)L_671) == ((int32_t)4))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_672 = V_75;
if (!L_672)
{
goto IL_1a05;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_1a05:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_673 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_attributeParameterValues_191;
NullCheck(L_673);
int32_t L_674 = 0;
float L_675 = (L_673)->GetAt(static_cast<il2cpp_array_size_t>(L_674));
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_676 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_attributeParameterValues_191;
NullCheck(L_676);
int32_t L_677 = 1;
float L_678 = (L_676)->GetAt(static_cast<il2cpp_array_size_t>(L_677));
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_679 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_attributeParameterValues_191;
NullCheck(L_679);
int32_t L_680 = 2;
float L_681 = (L_679)->GetAt(static_cast<il2cpp_array_size_t>(L_680));
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_682 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_attributeParameterValues_191;
NullCheck(L_682);
int32_t L_683 = 3;
float L_684 = (L_682)->GetAt(static_cast<il2cpp_array_size_t>(L_683));
TMP_Offset__ctor_mE88A176987DB6F468CA09553D74E86E1B48AA81C((&V_43), L_675, L_678, L_681, L_684, NULL);
TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 L_685 = V_43;
float L_686 = __this->___m_fontSize_75;
bool L_687 = __this->___m_isOrthographic_129;
if (L_687)
{
G_B565_0 = ((float)il2cpp_codegen_multiply(L_686, (0.00999999978f)));
G_B565_1 = L_685;
goto IL_1a45;
}
G_B564_0 = ((float)il2cpp_codegen_multiply(L_686, (0.00999999978f)));
G_B564_1 = L_685;
}
{
G_B566_0 = (0.100000001f);
G_B566_1 = G_B564_0;
G_B566_2 = G_B564_1;
goto IL_1a4a;
}
IL_1a45:
{
G_B566_0 = (1.0f);
G_B566_1 = G_B565_0;
G_B566_2 = G_B565_1;
}
IL_1a4a:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6_il2cpp_TypeInfo_var);
TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 L_688;
L_688 = TMP_Offset_op_Multiply_mC618A5520464FC68B05E5B08985D3FA94204DF75(G_B566_2, ((float)il2cpp_codegen_multiply(G_B566_1, G_B566_0)), NULL);
V_43 = L_688;
goto IL_1a54;
}
IL_1a54:
{
int32_t L_689 = V_69;
V_69 = ((int32_t)il2cpp_codegen_add(L_689, 1));
}
IL_1a5b:
{
int32_t L_690 = V_69;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_691 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_691);
if ((((int32_t)L_690) >= ((int32_t)((int32_t)(((RuntimeArray*)L_691)->max_length)))))
{
goto IL_1a7c;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_692 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_693 = V_69;
NullCheck(L_692);
int32_t L_694 = ((L_692)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_693)))->___nameHashCode_0;
G_B571_0 = ((!(((uint32_t)L_694) <= ((uint32_t)0)))? 1 : 0);
goto IL_1a7d;
}
IL_1a7c:
{
G_B571_0 = 0;
}
IL_1a7d:
{
V_76 = (bool)G_B571_0;
bool L_695 = V_76;
if (L_695)
{
goto IL_18e1;
}
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_696 = (&__this->___m_htmlColor_228);
uint8_t L_697 = L_696->___a_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_698 = V_42;
uint8_t L_699 = L_698.___a_4;
if ((((int32_t)L_697) < ((int32_t)L_699)))
{
G_B574_0 = (&V_42);
goto IL_1aa5;
}
G_B573_0 = (&V_42);
}
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_700 = V_42;
uint8_t L_701 = L_700.___a_4;
G_B575_0 = L_701;
G_B575_1 = G_B573_0;
goto IL_1ab0;
}
IL_1aa5:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_702 = (&__this->___m_htmlColor_228);
uint8_t L_703 = L_702->___a_4;
G_B575_0 = L_703;
G_B575_1 = G_B574_0;
}
IL_1ab0:
{
G_B575_1->___a_4 = G_B575_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_704 = V_42;
TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 L_705 = V_43;
HighlightState__ctor_m25791146FF94DD76C2FAAAF47C1735C01D9F47B2((&V_44), L_704, L_705, NULL);
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D* L_706 = (&__this->___m_HighlightStateStack_232);
HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B L_707 = V_44;
TMP_TextProcessingStack_1_Push_m044F03B5DB751956253506A126DF3382E86CBD9B(L_706, L_707, TMP_TextProcessingStack_1_Push_m044F03B5DB751956253506A126DF3382E86CBD9B_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_1ad6:
{
int32_t L_708 = __this->___m_fontStyle_90;
V_77 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_708&((int32_t)512)))) == ((int32_t)((int32_t)512)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_709 = V_77;
if (!L_709)
{
goto IL_1b2b;
}
}
{
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D* L_710 = (&__this->___m_HighlightStateStack_232);
HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B L_711;
L_711 = TMP_TextProcessingStack_1_Remove_mA98ACB867032B9BD34CB3B5717D2B9E3D6028652(L_710, TMP_TextProcessingStack_1_Remove_mA98ACB867032B9BD34CB3B5717D2B9E3D6028652_RuntimeMethod_var);
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_712 = (&__this->___m_fontStyleStack_92);
uint8_t L_713;
L_713 = TMP_FontStyleStack_Remove_mF44A8D00AA01FCBED6B6FD0A43A8D77990D2A26E(L_712, ((int32_t)512), NULL);
V_78 = (bool)((((int32_t)L_713) == ((int32_t)0))? 1 : 0);
bool L_714 = V_78;
if (!L_714)
{
goto IL_1b2a;
}
}
{
int32_t L_715 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_715&((int32_t)-513)));
}
IL_1b2a:
{
}
IL_1b2b:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_1b33:
{
float L_716 = __this->___m_fontScaleMultiplier_188;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_717 = __this->___m_currentFontAsset_43;
NullCheck(L_717);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_718;
L_718 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_717, NULL);
V_79 = L_718;
float L_719;
L_719 = FaceInfo_get_subscriptSize_mF6264BFB215FDE6C94A45D2F8FC946ADFCDD2E31((&V_79), NULL);
if ((((float)L_719) > ((float)(0.0f))))
{
G_B583_0 = L_716;
G_B583_1 = __this;
goto IL_1b5c;
}
G_B582_0 = L_716;
G_B582_1 = __this;
}
{
G_B584_0 = (1.0f);
G_B584_1 = G_B582_0;
G_B584_2 = G_B582_1;
goto IL_1b70;
}
IL_1b5c:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_720 = __this->___m_currentFontAsset_43;
NullCheck(L_720);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_721;
L_721 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_720, NULL);
V_79 = L_721;
float L_722;
L_722 = FaceInfo_get_subscriptSize_mF6264BFB215FDE6C94A45D2F8FC946ADFCDD2E31((&V_79), NULL);
G_B584_0 = L_722;
G_B584_1 = G_B583_0;
G_B584_2 = G_B583_1;
}
IL_1b70:
{
NullCheck(G_B584_2);
G_B584_2->___m_fontScaleMultiplier_188 = ((float)il2cpp_codegen_multiply(G_B584_1, G_B584_0));
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_723 = (&__this->___m_baselineOffsetStack_245);
float L_724 = __this->___m_baselineOffset_244;
TMP_TextProcessingStack_1_Push_mA474FC826EA9F947DACE0C8050322C961ABE97FB(L_723, L_724, TMP_TextProcessingStack_1_Push_mA474FC826EA9F947DACE0C8050322C961ABE97FB_RuntimeMethod_var);
float L_725 = __this->___m_currentFontSize_76;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_726 = __this->___m_currentFontAsset_43;
NullCheck(L_726);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_727;
L_727 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_726, NULL);
V_79 = L_727;
int32_t L_728;
L_728 = FaceInfo_get_pointSize_m7EF7429A4725AB715931A220F6BB498C3D6BF7CB((&V_79), NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_729 = __this->___m_currentFontAsset_43;
NullCheck(L_729);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_730;
L_730 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_729, NULL);
V_79 = L_730;
float L_731;
L_731 = FaceInfo_get_scale_mC475A572AD4956B47D8B9F8D90DC69BBBB102FCD((&V_79), NULL);
bool L_732 = __this->___m_isOrthographic_129;
if (L_732)
{
G_B586_0 = ((float)il2cpp_codegen_multiply(((float)(L_725/((float)L_728))), L_731));
goto IL_1bc8;
}
G_B585_0 = ((float)il2cpp_codegen_multiply(((float)(L_725/((float)L_728))), L_731));
}
{
G_B587_0 = (0.100000001f);
G_B587_1 = G_B585_0;
goto IL_1bcd;
}
IL_1bc8:
{
G_B587_0 = (1.0f);
G_B587_1 = G_B586_0;
}
IL_1bcd:
{
V_41 = ((float)il2cpp_codegen_multiply(G_B587_1, G_B587_0));
float L_733 = __this->___m_baselineOffset_244;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_734 = __this->___m_currentFontAsset_43;
NullCheck(L_734);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_735;
L_735 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_734, NULL);
V_79 = L_735;
float L_736;
L_736 = FaceInfo_get_subscriptOffset_mF1D3E68AC3D449CBC73AA0CBF5B8A187C6C5285A((&V_79), NULL);
float L_737 = V_41;
float L_738 = __this->___m_fontScaleMultiplier_188;
__this->___m_baselineOffset_244 = ((float)il2cpp_codegen_add(L_733, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_736, L_737)), L_738))));
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_739 = (&__this->___m_fontStyleStack_92);
uint8_t L_740;
L_740 = TMP_FontStyleStack_Add_m86B65684B67DF2CA334037A30E9876C0F02D454A(L_739, ((int32_t)256), NULL);
int32_t L_741 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_741|((int32_t)256)));
V_29 = (bool)1;
goto IL_46ef;
}
IL_1c26:
{
int32_t L_742 = __this->___m_FontStyleInternal_91;
V_80 = (bool)((((int32_t)((int32_t)((int32_t)L_742&((int32_t)256)))) == ((int32_t)((int32_t)256)))? 1 : 0);
bool L_743 = V_80;
if (!L_743)
{
goto IL_1cd8;
}
}
{
float L_744 = __this->___m_fontScaleMultiplier_188;
V_81 = (bool)((((float)L_744) < ((float)(1.0f)))? 1 : 0);
bool L_745 = V_81;
if (!L_745)
{
goto IL_1cac;
}
}
{
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_746 = (&__this->___m_baselineOffsetStack_245);
float L_747;
L_747 = TMP_TextProcessingStack_1_Pop_mBB6CFCE314680FC6801E9D68AF1974BCFD350CBF(L_746, TMP_TextProcessingStack_1_Pop_mBB6CFCE314680FC6801E9D68AF1974BCFD350CBF_RuntimeMethod_var);
__this->___m_baselineOffset_244 = L_747;
float L_748 = __this->___m_fontScaleMultiplier_188;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_749 = __this->___m_currentFontAsset_43;
NullCheck(L_749);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_750;
L_750 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_749, NULL);
V_79 = L_750;
float L_751;
L_751 = FaceInfo_get_subscriptSize_mF6264BFB215FDE6C94A45D2F8FC946ADFCDD2E31((&V_79), NULL);
if ((((float)L_751) > ((float)(0.0f))))
{
G_B592_0 = L_748;
G_B592_1 = __this;
goto IL_1c91;
}
G_B591_0 = L_748;
G_B591_1 = __this;
}
{
G_B593_0 = (1.0f);
G_B593_1 = G_B591_0;
G_B593_2 = G_B591_1;
goto IL_1ca5;
}
IL_1c91:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_752 = __this->___m_currentFontAsset_43;
NullCheck(L_752);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_753;
L_753 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_752, NULL);
V_79 = L_753;
float L_754;
L_754 = FaceInfo_get_subscriptSize_mF6264BFB215FDE6C94A45D2F8FC946ADFCDD2E31((&V_79), NULL);
G_B593_0 = L_754;
G_B593_1 = G_B592_0;
G_B593_2 = G_B592_1;
}
IL_1ca5:
{
NullCheck(G_B593_2);
G_B593_2->___m_fontScaleMultiplier_188 = ((float)(G_B593_1/G_B593_0));
}
IL_1cac:
{
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_755 = (&__this->___m_fontStyleStack_92);
uint8_t L_756;
L_756 = TMP_FontStyleStack_Remove_mF44A8D00AA01FCBED6B6FD0A43A8D77990D2A26E(L_755, ((int32_t)256), NULL);
V_82 = (bool)((((int32_t)L_756) == ((int32_t)0))? 1 : 0);
bool L_757 = V_82;
if (!L_757)
{
goto IL_1cd7;
}
}
{
int32_t L_758 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_758&((int32_t)-257)));
}
IL_1cd7:
{
}
IL_1cd8:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_1ce0:
{
float L_759 = __this->___m_fontScaleMultiplier_188;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_760 = __this->___m_currentFontAsset_43;
NullCheck(L_760);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_761;
L_761 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_760, NULL);
V_79 = L_761;
float L_762;
L_762 = FaceInfo_get_superscriptSize_mC3ABE7C70559A8214294CDA598B17FD62BDC2EE0((&V_79), NULL);
if ((((float)L_762) > ((float)(0.0f))))
{
G_B600_0 = L_759;
G_B600_1 = __this;
goto IL_1d09;
}
G_B599_0 = L_759;
G_B599_1 = __this;
}
{
G_B601_0 = (1.0f);
G_B601_1 = G_B599_0;
G_B601_2 = G_B599_1;
goto IL_1d1d;
}
IL_1d09:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_763 = __this->___m_currentFontAsset_43;
NullCheck(L_763);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_764;
L_764 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_763, NULL);
V_79 = L_764;
float L_765;
L_765 = FaceInfo_get_superscriptSize_mC3ABE7C70559A8214294CDA598B17FD62BDC2EE0((&V_79), NULL);
G_B601_0 = L_765;
G_B601_1 = G_B600_0;
G_B601_2 = G_B600_1;
}
IL_1d1d:
{
NullCheck(G_B601_2);
G_B601_2->___m_fontScaleMultiplier_188 = ((float)il2cpp_codegen_multiply(G_B601_1, G_B601_0));
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_766 = (&__this->___m_baselineOffsetStack_245);
float L_767 = __this->___m_baselineOffset_244;
TMP_TextProcessingStack_1_Push_mA474FC826EA9F947DACE0C8050322C961ABE97FB(L_766, L_767, TMP_TextProcessingStack_1_Push_mA474FC826EA9F947DACE0C8050322C961ABE97FB_RuntimeMethod_var);
float L_768 = __this->___m_currentFontSize_76;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_769 = __this->___m_currentFontAsset_43;
NullCheck(L_769);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_770;
L_770 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_769, NULL);
V_79 = L_770;
int32_t L_771;
L_771 = FaceInfo_get_pointSize_m7EF7429A4725AB715931A220F6BB498C3D6BF7CB((&V_79), NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_772 = __this->___m_currentFontAsset_43;
NullCheck(L_772);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_773;
L_773 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_772, NULL);
V_79 = L_773;
float L_774;
L_774 = FaceInfo_get_scale_mC475A572AD4956B47D8B9F8D90DC69BBBB102FCD((&V_79), NULL);
bool L_775 = __this->___m_isOrthographic_129;
if (L_775)
{
G_B603_0 = ((float)il2cpp_codegen_multiply(((float)(L_768/((float)L_771))), L_774));
goto IL_1d75;
}
G_B602_0 = ((float)il2cpp_codegen_multiply(((float)(L_768/((float)L_771))), L_774));
}
{
G_B604_0 = (0.100000001f);
G_B604_1 = G_B602_0;
goto IL_1d7a;
}
IL_1d75:
{
G_B604_0 = (1.0f);
G_B604_1 = G_B603_0;
}
IL_1d7a:
{
V_41 = ((float)il2cpp_codegen_multiply(G_B604_1, G_B604_0));
float L_776 = __this->___m_baselineOffset_244;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_777 = __this->___m_currentFontAsset_43;
NullCheck(L_777);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_778;
L_778 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_777, NULL);
V_79 = L_778;
float L_779;
L_779 = FaceInfo_get_superscriptOffset_m8D462DB86414D8507C7D1CC6881DA9EC896FB80A((&V_79), NULL);
float L_780 = V_41;
float L_781 = __this->___m_fontScaleMultiplier_188;
__this->___m_baselineOffset_244 = ((float)il2cpp_codegen_add(L_776, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_779, L_780)), L_781))));
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_782 = (&__this->___m_fontStyleStack_92);
uint8_t L_783;
L_783 = TMP_FontStyleStack_Add_m86B65684B67DF2CA334037A30E9876C0F02D454A(L_782, ((int32_t)128), NULL);
int32_t L_784 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_784|((int32_t)128)));
V_29 = (bool)1;
goto IL_46ef;
}
IL_1dd3:
{
int32_t L_785 = __this->___m_FontStyleInternal_91;
V_83 = (bool)((((int32_t)((int32_t)((int32_t)L_785&((int32_t)128)))) == ((int32_t)((int32_t)128)))? 1 : 0);
bool L_786 = V_83;
if (!L_786)
{
goto IL_1e85;
}
}
{
float L_787 = __this->___m_fontScaleMultiplier_188;
V_84 = (bool)((((float)L_787) < ((float)(1.0f)))? 1 : 0);
bool L_788 = V_84;
if (!L_788)
{
goto IL_1e59;
}
}
{
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_789 = (&__this->___m_baselineOffsetStack_245);
float L_790;
L_790 = TMP_TextProcessingStack_1_Pop_mBB6CFCE314680FC6801E9D68AF1974BCFD350CBF(L_789, TMP_TextProcessingStack_1_Pop_mBB6CFCE314680FC6801E9D68AF1974BCFD350CBF_RuntimeMethod_var);
__this->___m_baselineOffset_244 = L_790;
float L_791 = __this->___m_fontScaleMultiplier_188;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_792 = __this->___m_currentFontAsset_43;
NullCheck(L_792);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_793;
L_793 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_792, NULL);
V_79 = L_793;
float L_794;
L_794 = FaceInfo_get_superscriptSize_mC3ABE7C70559A8214294CDA598B17FD62BDC2EE0((&V_79), NULL);
if ((((float)L_794) > ((float)(0.0f))))
{
G_B609_0 = L_791;
G_B609_1 = __this;
goto IL_1e3e;
}
G_B608_0 = L_791;
G_B608_1 = __this;
}
{
G_B610_0 = (1.0f);
G_B610_1 = G_B608_0;
G_B610_2 = G_B608_1;
goto IL_1e52;
}
IL_1e3e:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_795 = __this->___m_currentFontAsset_43;
NullCheck(L_795);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_796;
L_796 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_795, NULL);
V_79 = L_796;
float L_797;
L_797 = FaceInfo_get_superscriptSize_mC3ABE7C70559A8214294CDA598B17FD62BDC2EE0((&V_79), NULL);
G_B610_0 = L_797;
G_B610_1 = G_B609_0;
G_B610_2 = G_B609_1;
}
IL_1e52:
{
NullCheck(G_B610_2);
G_B610_2->___m_fontScaleMultiplier_188 = ((float)(G_B610_1/G_B610_0));
}
IL_1e59:
{
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_798 = (&__this->___m_fontStyleStack_92);
uint8_t L_799;
L_799 = TMP_FontStyleStack_Remove_mF44A8D00AA01FCBED6B6FD0A43A8D77990D2A26E(L_798, ((int32_t)128), NULL);
V_85 = (bool)((((int32_t)L_799) == ((int32_t)0))? 1 : 0);
bool L_800 = V_85;
if (!L_800)
{
goto IL_1e84;
}
}
{
int32_t L_801 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_801&((int32_t)-129)));
}
IL_1e84:
{
}
IL_1e85:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_1e8d:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_802 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_803 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_803);
int32_t L_804 = ((L_803)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_805 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_805);
int32_t L_806 = ((L_805)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_807;
L_807 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_802, L_804, L_806, NULL);
V_40 = L_807;
float L_808 = V_40;
V_86 = (bool)((((float)L_808) == ((float)(-32768.0f)))? 1 : 0);
bool L_809 = V_86;
if (!L_809)
{
goto IL_1ed1;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_1ed1:
{
float L_810 = V_40;
V_88 = il2cpp_codegen_cast_double_to_int<int32_t>(L_810);
int32_t L_811 = V_88;
V_87 = L_811;
int32_t L_812 = V_87;
if ((((int32_t)L_812) > ((int32_t)((int32_t)400))))
{
goto IL_1f1b;
}
}
{
int32_t L_813 = V_87;
if ((((int32_t)L_813) > ((int32_t)((int32_t)200))))
{
goto IL_1f02;
}
}
{
int32_t L_814 = V_87;
if ((((int32_t)L_814) == ((int32_t)((int32_t)100))))
{
goto IL_1f5e;
}
}
{
goto IL_1ef4;
}
IL_1ef4:
{
int32_t L_815 = V_87;
if ((((int32_t)L_815) == ((int32_t)((int32_t)200))))
{
goto IL_1f68;
}
}
{
goto IL_1fd0;
}
IL_1f02:
{
int32_t L_816 = V_87;
if ((((int32_t)L_816) == ((int32_t)((int32_t)300))))
{
goto IL_1f75;
}
}
{
goto IL_1f0d;
}
IL_1f0d:
{
int32_t L_817 = V_87;
if ((((int32_t)L_817) == ((int32_t)((int32_t)400))))
{
goto IL_1f82;
}
}
{
goto IL_1fd0;
}
IL_1f1b:
{
int32_t L_818 = V_87;
if ((((int32_t)L_818) > ((int32_t)((int32_t)600))))
{
goto IL_1f3d;
}
}
{
int32_t L_819 = V_87;
if ((((int32_t)L_819) == ((int32_t)((int32_t)500))))
{
goto IL_1f8f;
}
}
{
goto IL_1f2f;
}
IL_1f2f:
{
int32_t L_820 = V_87;
if ((((int32_t)L_820) == ((int32_t)((int32_t)600))))
{
goto IL_1f9c;
}
}
{
goto IL_1fd0;
}
IL_1f3d:
{
int32_t L_821 = V_87;
if ((((int32_t)L_821) == ((int32_t)((int32_t)700))))
{
goto IL_1fa9;
}
}
{
goto IL_1f48;
}
IL_1f48:
{
int32_t L_822 = V_87;
if ((((int32_t)L_822) == ((int32_t)((int32_t)800))))
{
goto IL_1fb6;
}
}
{
goto IL_1f53;
}
IL_1f53:
{
int32_t L_823 = V_87;
if ((((int32_t)L_823) == ((int32_t)((int32_t)900))))
{
goto IL_1fc3;
}
}
{
goto IL_1fd0;
}
IL_1f5e:
{
__this->___m_FontWeightInternal_80 = ((int32_t)100);
goto IL_1fd0;
}
IL_1f68:
{
__this->___m_FontWeightInternal_80 = ((int32_t)200);
goto IL_1fd0;
}
IL_1f75:
{
__this->___m_FontWeightInternal_80 = ((int32_t)300);
goto IL_1fd0;
}
IL_1f82:
{
__this->___m_FontWeightInternal_80 = ((int32_t)400);
goto IL_1fd0;
}
IL_1f8f:
{
__this->___m_FontWeightInternal_80 = ((int32_t)500);
goto IL_1fd0;
}
IL_1f9c:
{
__this->___m_FontWeightInternal_80 = ((int32_t)600);
goto IL_1fd0;
}
IL_1fa9:
{
__this->___m_FontWeightInternal_80 = ((int32_t)700);
goto IL_1fd0;
}
IL_1fb6:
{
__this->___m_FontWeightInternal_80 = ((int32_t)800);
goto IL_1fd0;
}
IL_1fc3:
{
__this->___m_FontWeightInternal_80 = ((int32_t)900);
goto IL_1fd0;
}
IL_1fd0:
{
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4* L_824 = (&__this->___m_FontWeightStack_81);
int32_t L_825 = __this->___m_FontWeightInternal_80;
TMP_TextProcessingStack_1_Add_mE1377C8125BB8D09F1F8133EC5C7B41757E592BA(L_824, L_825, TMP_TextProcessingStack_1_Add_mE1377C8125BB8D09F1F8133EC5C7B41757E592BA_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_1fea:
{
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4* L_826 = (&__this->___m_FontWeightStack_81);
int32_t L_827;
L_827 = TMP_TextProcessingStack_1_Remove_mB9D97F9A4BDE45ED0CA012B3EC5AB86E8747B06A(L_826, TMP_TextProcessingStack_1_Remove_mB9D97F9A4BDE45ED0CA012B3EC5AB86E8747B06A_RuntimeMethod_var);
int32_t L_828 = __this->___m_FontStyleInternal_91;
V_89 = (bool)((((int32_t)L_828) == ((int32_t)1))? 1 : 0);
bool L_829 = V_89;
if (!L_829)
{
goto IL_2012;
}
}
{
__this->___m_FontWeightInternal_80 = ((int32_t)700);
goto IL_2023;
}
IL_2012:
{
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4* L_830 = (&__this->___m_FontWeightStack_81);
int32_t L_831;
L_831 = TMP_TextProcessingStack_1_Peek_mC8569734890F2DED4A76435029774AE618C4B3B5(L_830, TMP_TextProcessingStack_1_Peek_mC8569734890F2DED4A76435029774AE618C4B3B5_RuntimeMethod_var);
__this->___m_FontWeightInternal_80 = L_831;
}
IL_2023:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_202b:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_832 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_833 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_833);
int32_t L_834 = ((L_833)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_835 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_835);
int32_t L_836 = ((L_835)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_837;
L_837 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_832, L_834, L_836, NULL);
V_40 = L_837;
float L_838 = V_40;
V_90 = (bool)((((float)L_838) == ((float)(-32768.0f)))? 1 : 0);
bool L_839 = V_90;
if (!L_839)
{
goto IL_206f;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_206f:
{
int32_t L_840 = V_4;
V_92 = L_840;
int32_t L_841 = V_92;
V_91 = L_841;
int32_t L_842 = V_91;
switch (L_842)
{
case 0:
{
goto IL_208c;
}
case 1:
{
goto IL_20b1;
}
case 2:
{
goto IL_20dd;
}
}
}
{
goto IL_20fa;
}
IL_208c:
{
float L_843 = V_40;
bool L_844 = __this->___m_isOrthographic_129;
if (L_844)
{
G_B658_0 = L_843;
G_B658_1 = __this;
goto IL_209e;
}
G_B657_0 = L_843;
G_B657_1 = __this;
}
{
G_B659_0 = (0.100000001f);
G_B659_1 = G_B657_0;
G_B659_2 = G_B657_1;
goto IL_20a3;
}
IL_209e:
{
G_B659_0 = (1.0f);
G_B659_1 = G_B658_0;
G_B659_2 = G_B658_1;
}
IL_20a3:
{
NullCheck(G_B659_2);
G_B659_2->___m_xAdvance_246 = ((float)il2cpp_codegen_multiply(G_B659_1, G_B659_0));
V_29 = (bool)1;
goto IL_46ef;
}
IL_20b1:
{
float L_845 = V_40;
float L_846 = __this->___m_currentFontSize_76;
bool L_847 = __this->___m_isOrthographic_129;
if (L_847)
{
G_B662_0 = ((float)il2cpp_codegen_multiply(L_845, L_846));
G_B662_1 = __this;
goto IL_20ca;
}
G_B661_0 = ((float)il2cpp_codegen_multiply(L_845, L_846));
G_B661_1 = __this;
}
{
G_B663_0 = (0.100000001f);
G_B663_1 = G_B661_0;
G_B663_2 = G_B661_1;
goto IL_20cf;
}
IL_20ca:
{
G_B663_0 = (1.0f);
G_B663_1 = G_B662_0;
G_B663_2 = G_B662_1;
}
IL_20cf:
{
NullCheck(G_B663_2);
G_B663_2->___m_xAdvance_246 = ((float)il2cpp_codegen_multiply(G_B663_1, G_B663_0));
V_29 = (bool)1;
goto IL_46ef;
}
IL_20dd:
{
float L_848 = __this->___m_marginWidth_151;
float L_849 = V_40;
__this->___m_xAdvance_246 = ((float)(((float)il2cpp_codegen_multiply(L_848, L_849))/(100.0f)));
V_29 = (bool)1;
goto IL_46ef;
}
IL_20fa:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_2102:
{
__this->___m_isIgnoringAlignment_115 = (bool)0;
V_29 = (bool)1;
goto IL_46ef;
}
IL_2111:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_850 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_851 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_851);
int32_t L_852 = ((L_851)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_853 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_853);
int32_t L_854 = ((L_853)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_855;
L_855 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_850, L_852, L_854, NULL);
V_40 = L_855;
float L_856 = V_40;
V_93 = (bool)((((float)L_856) == ((float)(-32768.0f)))? 1 : 0);
bool L_857 = V_93;
if (!L_857)
{
goto IL_2155;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_2155:
{
int32_t L_858 = V_4;
V_95 = L_858;
int32_t L_859 = V_95;
V_94 = L_859;
int32_t L_860 = V_94;
switch (L_860)
{
case 0:
{
goto IL_2172;
}
case 1:
{
goto IL_2197;
}
case 2:
{
goto IL_21c3;
}
}
}
{
goto IL_21cb;
}
IL_2172:
{
float L_861 = V_40;
bool L_862 = __this->___m_isOrthographic_129;
if (L_862)
{
G_B673_0 = L_861;
G_B673_1 = __this;
goto IL_2184;
}
G_B672_0 = L_861;
G_B672_1 = __this;
}
{
G_B674_0 = (0.100000001f);
G_B674_1 = G_B672_0;
G_B674_2 = G_B672_1;
goto IL_2189;
}
IL_2184:
{
G_B674_0 = (1.0f);
G_B674_1 = G_B673_0;
G_B674_2 = G_B673_1;
}
IL_2189:
{
NullCheck(G_B674_2);
G_B674_2->___m_baselineOffset_244 = ((float)il2cpp_codegen_multiply(G_B674_1, G_B674_0));
V_29 = (bool)1;
goto IL_46ef;
}
IL_2197:
{
float L_863 = V_40;
bool L_864 = __this->___m_isOrthographic_129;
if (L_864)
{
G_B677_0 = L_863;
G_B677_1 = __this;
goto IL_21a9;
}
G_B676_0 = L_863;
G_B676_1 = __this;
}
{
G_B678_0 = (0.100000001f);
G_B678_1 = G_B676_0;
G_B678_2 = G_B676_1;
goto IL_21ae;
}
IL_21a9:
{
G_B678_0 = (1.0f);
G_B678_1 = G_B677_0;
G_B678_2 = G_B677_1;
}
IL_21ae:
{
float L_865 = __this->___m_currentFontSize_76;
NullCheck(G_B678_2);
G_B678_2->___m_baselineOffset_244 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(G_B678_1, G_B678_0)), L_865));
V_29 = (bool)1;
goto IL_46ef;
}
IL_21c3:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_21cb:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_21d3:
{
__this->___m_baselineOffset_244 = (0.0f);
V_29 = (bool)1;
goto IL_46ef;
}
IL_21e6:
{
int32_t L_866 = __this->___m_overflowMode_117;
V_96 = (bool)((((int32_t)L_866) == ((int32_t)5))? 1 : 0);
bool L_867 = V_96;
if (!L_867)
{
goto IL_2230;
}
}
{
float L_868 = __this->___tag_LineIndent_192;
float L_869 = __this->___tag_Indent_193;
__this->___m_xAdvance_246 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add((0.0f), L_868)), L_869));
__this->___m_lineOffset_226 = (0.0f);
int32_t L_870 = __this->___m_pageNumber_216;
__this->___m_pageNumber_216 = ((int32_t)il2cpp_codegen_add(L_870, 1));
__this->___m_isNewPage_147 = (bool)1;
}
IL_2230:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_2238:
{
__this->___m_isNonBreakingSpace_114 = (bool)1;
V_29 = (bool)1;
goto IL_46ef;
}
IL_2247:
{
__this->___m_isNonBreakingSpace_114 = (bool)0;
V_29 = (bool)1;
goto IL_46ef;
}
IL_2256:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_871 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_872 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_872);
int32_t L_873 = ((L_872)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_874 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_874);
int32_t L_875 = ((L_874)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_876;
L_876 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_871, L_873, L_875, NULL);
V_40 = L_876;
float L_877 = V_40;
V_97 = (bool)((((float)L_877) == ((float)(-32768.0f)))? 1 : 0);
bool L_878 = V_97;
if (!L_878)
{
goto IL_229a;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_229a:
{
int32_t L_879 = V_4;
V_99 = L_879;
int32_t L_880 = V_99;
V_98 = L_880;
int32_t L_881 = V_98;
switch (L_881)
{
case 0:
{
goto IL_22ba;
}
case 1:
{
goto IL_2353;
}
case 2:
{
goto IL_237c;
}
}
}
{
goto IL_23ab;
}
IL_22ba:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_882 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_882);
int32_t L_883 = 5;
uint16_t L_884 = (uint16_t)(L_882)->GetAt(static_cast<il2cpp_array_size_t>(L_883));
V_100 = (bool)((((int32_t)L_884) == ((int32_t)((int32_t)43)))? 1 : 0);
bool L_885 = V_100;
if (!L_885)
{
goto IL_22f5;
}
}
{
float L_886 = __this->___m_fontSize_75;
float L_887 = V_40;
__this->___m_currentFontSize_76 = ((float)il2cpp_codegen_add(L_886, L_887));
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_888 = (&__this->___m_sizeStack_78);
float L_889 = __this->___m_currentFontSize_76;
TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE(L_888, L_889, TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_22f5:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_890 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_890);
int32_t L_891 = 5;
uint16_t L_892 = (uint16_t)(L_890)->GetAt(static_cast<il2cpp_array_size_t>(L_891));
V_101 = (bool)((((int32_t)L_892) == ((int32_t)((int32_t)45)))? 1 : 0);
bool L_893 = V_101;
if (!L_893)
{
goto IL_2330;
}
}
{
float L_894 = __this->___m_fontSize_75;
float L_895 = V_40;
__this->___m_currentFontSize_76 = ((float)il2cpp_codegen_add(L_894, L_895));
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_896 = (&__this->___m_sizeStack_78);
float L_897 = __this->___m_currentFontSize_76;
TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE(L_896, L_897, TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2330:
{
float L_898 = V_40;
__this->___m_currentFontSize_76 = L_898;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_899 = (&__this->___m_sizeStack_78);
float L_900 = __this->___m_currentFontSize_76;
TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE(L_899, L_900, TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2353:
{
float L_901 = __this->___m_fontSize_75;
float L_902 = V_40;
__this->___m_currentFontSize_76 = ((float)il2cpp_codegen_multiply(L_901, L_902));
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_903 = (&__this->___m_sizeStack_78);
float L_904 = __this->___m_currentFontSize_76;
TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE(L_903, L_904, TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_237c:
{
float L_905 = __this->___m_fontSize_75;
float L_906 = V_40;
__this->___m_currentFontSize_76 = ((float)(((float)il2cpp_codegen_multiply(L_905, L_906))/(100.0f)));
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_907 = (&__this->___m_sizeStack_78);
float L_908 = __this->___m_currentFontSize_76;
TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE(L_907, L_908, TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_23ab:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_23b3:
{
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_909 = (&__this->___m_sizeStack_78);
float L_910;
L_910 = TMP_TextProcessingStack_1_Remove_m9E2E06D1B36F92004CA676136D0E3F0BDCD1630C(L_909, TMP_TextProcessingStack_1_Remove_m9E2E06D1B36F92004CA676136D0E3F0BDCD1630C_RuntimeMethod_var);
__this->___m_currentFontSize_76 = L_910;
V_29 = (bool)1;
goto IL_46ef;
}
IL_23cc:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_911 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_911);
int32_t L_912 = ((L_911)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueHashCode_1;
V_45 = L_912;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_913 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_913);
int32_t L_914 = ((L_913)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___nameHashCode_0;
V_46 = L_914;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_915 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_915);
int32_t L_916 = ((L_915)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___valueHashCode_1;
V_47 = L_916;
int32_t L_917 = V_45;
if ((((int32_t)L_917) == ((int32_t)((int32_t)764638571))))
{
goto IL_2416;
}
}
{
int32_t L_918 = V_45;
G_B703_0 = ((((int32_t)L_918) == ((int32_t)((int32_t)523367755)))? 1 : 0);
goto IL_2417;
}
IL_2416:
{
G_B703_0 = 1;
}
IL_2417:
{
V_102 = (bool)G_B703_0;
bool L_919 = V_102;
if (!L_919)
{
goto IL_246f;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_920 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47;
NullCheck(L_920);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_921 = ((L_920)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___fontAsset_1;
__this->___m_currentFontAsset_43 = L_921;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentFontAsset_43), (void*)L_921);
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_922 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47;
NullCheck(L_922);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_923 = ((L_922)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___material_3;
__this->___m_currentMaterial_46 = L_923;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentMaterial_46), (void*)L_923);
__this->___m_currentMaterialIndex_50 = 0;
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_924 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47;
NullCheck(L_924);
int32_t L_925 = 0;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_926 = (L_924)->GetAt(static_cast<il2cpp_array_size_t>(L_925));
TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49), L_926, TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_246f:
{
int32_t L_927 = V_45;
bool L_928;
L_928 = MaterialReferenceManager_TryGetFontAsset_m2A3E5301004C96F262F336D554F64B1217D26231(L_927, (&V_48), NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_929 = V_48;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_930;
L_930 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_929, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_103 = L_930;
bool L_931 = V_103;
if (!L_931)
{
goto IL_2534;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_932 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___OnFontAssetRequest_165;
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C* L_933 = L_932;
if (L_933)
{
G_B708_0 = L_933;
goto IL_2497;
}
G_B707_0 = L_933;
}
{
G_B709_0 = ((TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160*)(NULL));
goto IL_24c8;
}
IL_2497:
{
int32_t L_934 = V_45;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_935 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_936 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_936);
int32_t L_937 = ((L_936)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_938 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_938);
int32_t L_939 = ((L_938)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
String_t* L_940;
L_940 = String_CreateString_mB7B3AC2AF28010538650051A9000369B1CD6BAB6(NULL, L_935, L_937, L_939, NULL);
NullCheck(G_B708_0);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_941;
L_941 = Func_3_Invoke_m36A5EFCA14CE1A166B116BAD920834A5E3C74223_inline(G_B708_0, L_934, L_940, NULL);
G_B709_0 = L_941;
}
IL_24c8:
{
V_48 = G_B709_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_942 = V_48;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_943;
L_943 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_942, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_104 = L_943;
bool L_944 = V_104;
if (!L_944)
{
goto IL_2515;
}
}
{
String_t* L_945;
L_945 = TMP_Settings_get_defaultFontAssetPath_m839245F25AC624824660B9A7C2A8B0D7F5FFCC99(NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_946 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_947 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_947);
int32_t L_948 = ((L_947)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_949 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_949);
int32_t L_950 = ((L_949)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
String_t* L_951;
L_951 = String_CreateString_mB7B3AC2AF28010538650051A9000369B1CD6BAB6(NULL, L_946, L_948, L_950, NULL);
String_t* L_952;
L_952 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_945, L_951, NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_953;
L_953 = Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m5F15FBF7AC2FCDC8C169ED260201B75AB8CB50F3(L_952, Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m5F15FBF7AC2FCDC8C169ED260201B75AB8CB50F3_RuntimeMethod_var);
V_48 = L_953;
}
IL_2515:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_954 = V_48;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_955;
L_955 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_954, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_105 = L_955;
bool L_956 = V_105;
if (!L_956)
{
goto IL_252b;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_252b:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_957 = V_48;
MaterialReferenceManager_AddFontAsset_m6792FB2A583AFD91FF776D0D29737E723F38F039(L_957, NULL);
}
IL_2534:
{
int32_t L_958 = V_46;
if (L_958)
{
goto IL_253f;
}
}
{
int32_t L_959 = V_47;
G_B717_0 = ((((int32_t)L_959) == ((int32_t)0))? 1 : 0);
goto IL_2540;
}
IL_253f:
{
G_B717_0 = 0;
}
IL_2540:
{
V_106 = (bool)G_B717_0;
bool L_960 = V_106;
if (!L_960)
{
goto IL_2592;
}
}
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_961 = V_48;
NullCheck(L_961);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_962 = ((TMP_Asset_t135A047D4F5CBBA9CD356B762B55AB164122B969*)L_961)->___material_6;
__this->___m_currentMaterial_46 = L_962;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentMaterial_46), (void*)L_962);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_963 = __this->___m_currentMaterial_46;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_964 = V_48;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* L_965 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceIndexLookup_48;
int32_t L_966;
L_966 = MaterialReference_AddMaterialReference_mB50C19EBDE894D9F7BF7281A40BE052ABABC69BF(L_963, L_964, (&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47), L_965, NULL);
__this->___m_currentMaterialIndex_50 = L_966;
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_967 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47;
int32_t L_968 = __this->___m_currentMaterialIndex_50;
NullCheck(L_967);
int32_t L_969 = L_968;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_970 = (L_967)->GetAt(static_cast<il2cpp_array_size_t>(L_969));
TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49), L_970, TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0_RuntimeMethod_var);
goto IL_26af;
}
IL_2592:
{
int32_t L_971 = V_46;
if ((((int32_t)L_971) == ((int32_t)((int32_t)103415287))))
{
goto IL_25a6;
}
}
{
int32_t L_972 = V_46;
G_B722_0 = ((((int32_t)L_972) == ((int32_t)((int32_t)72669687)))? 1 : 0);
goto IL_25a7;
}
IL_25a6:
{
G_B722_0 = 1;
}
IL_25a7:
{
V_107 = (bool)G_B722_0;
bool L_973 = V_107;
if (!L_973)
{
goto IL_26a7;
}
}
{
int32_t L_974 = V_47;
bool L_975;
L_975 = MaterialReferenceManager_TryGetMaterial_m24D3BA8401616B78412735D1E9206B77AB4A124E(L_974, (&V_49), NULL);
V_108 = L_975;
bool L_976 = V_108;
if (!L_976)
{
goto IL_2607;
}
}
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_977 = V_49;
__this->___m_currentMaterial_46 = L_977;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentMaterial_46), (void*)L_977);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_978 = __this->___m_currentMaterial_46;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_979 = V_48;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* L_980 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceIndexLookup_48;
int32_t L_981;
L_981 = MaterialReference_AddMaterialReference_mB50C19EBDE894D9F7BF7281A40BE052ABABC69BF(L_978, L_979, (&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47), L_980, NULL);
__this->___m_currentMaterialIndex_50 = L_981;
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_982 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47;
int32_t L_983 = __this->___m_currentMaterialIndex_50;
NullCheck(L_982);
int32_t L_984 = L_983;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_985 = (L_982)->GetAt(static_cast<il2cpp_array_size_t>(L_984));
TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49), L_985, TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0_RuntimeMethod_var);
goto IL_26a4;
}
IL_2607:
{
String_t* L_986;
L_986 = TMP_Settings_get_defaultFontAssetPath_m839245F25AC624824660B9A7C2A8B0D7F5FFCC99(NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_987 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_988 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_988);
int32_t L_989 = ((L_988)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_990 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_990);
int32_t L_991 = ((L_990)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___valueLength_4;
String_t* L_992;
L_992 = String_CreateString_mB7B3AC2AF28010538650051A9000369B1CD6BAB6(NULL, L_987, L_989, L_991, NULL);
String_t* L_993;
L_993 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_986, L_992, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_994;
L_994 = Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_mC909CC888641BC8E1E29C8AB1C790C637C9B390E(L_993, Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_mC909CC888641BC8E1E29C8AB1C790C637C9B390E_RuntimeMethod_var);
V_49 = L_994;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_995 = V_49;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_996;
L_996 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_995, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_109 = L_996;
bool L_997 = V_109;
if (!L_997)
{
goto IL_2659;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_2659:
{
int32_t L_998 = V_47;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_999 = V_49;
MaterialReferenceManager_AddFontMaterial_mE3C0E0ABEDE58AC212AFD4CFE7938F234C70BBE9(L_998, L_999, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1000 = V_49;
__this->___m_currentMaterial_46 = L_1000;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentMaterial_46), (void*)L_1000);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1001 = __this->___m_currentMaterial_46;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1002 = V_48;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* L_1003 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceIndexLookup_48;
int32_t L_1004;
L_1004 = MaterialReference_AddMaterialReference_mB50C19EBDE894D9F7BF7281A40BE052ABABC69BF(L_1001, L_1002, (&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47), L_1003, NULL);
__this->___m_currentMaterialIndex_50 = L_1004;
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_1005 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47;
int32_t L_1006 = __this->___m_currentMaterialIndex_50;
NullCheck(L_1005);
int32_t L_1007 = L_1006;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_1008 = (L_1005)->GetAt(static_cast<il2cpp_array_size_t>(L_1007));
TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49), L_1008, TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0_RuntimeMethod_var);
}
IL_26a4:
{
goto IL_26af;
}
IL_26a7:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_26af:
{
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1009 = V_48;
__this->___m_currentFontAsset_43 = L_1009;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentFontAsset_43), (void*)L_1009);
V_29 = (bool)1;
goto IL_46ef;
}
IL_26bf:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_1010;
L_1010 = TMP_TextProcessingStack_1_Remove_mB944EB7E1D1A02A96C48B1AA7EE7A2D7C232745D((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49), TMP_TextProcessingStack_1_Remove_mB944EB7E1D1A02A96C48B1AA7EE7A2D7C232745D_RuntimeMethod_var);
V_110 = L_1010;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_1011 = V_110;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1012 = L_1011.___fontAsset_1;
__this->___m_currentFontAsset_43 = L_1012;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentFontAsset_43), (void*)L_1012);
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_1013 = V_110;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1014 = L_1013.___material_3;
__this->___m_currentMaterial_46 = L_1014;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentMaterial_46), (void*)L_1014);
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_1015 = V_110;
int32_t L_1016 = L_1015.___index_0;
__this->___m_currentMaterialIndex_50 = L_1016;
V_29 = (bool)1;
goto IL_46ef;
}
IL_26fb:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1017 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1017);
int32_t L_1018 = ((L_1017)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueHashCode_1;
V_47 = L_1018;
int32_t L_1019 = V_47;
if ((((int32_t)L_1019) == ((int32_t)((int32_t)764638571))))
{
goto IL_2721;
}
}
{
int32_t L_1020 = V_47;
G_B735_0 = ((((int32_t)L_1020) == ((int32_t)((int32_t)523367755)))? 1 : 0);
goto IL_2722;
}
IL_2721:
{
G_B735_0 = 1;
}
IL_2722:
{
V_111 = (bool)G_B735_0;
bool L_1021 = V_111;
if (!L_1021)
{
goto IL_2764;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_1022 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47;
NullCheck(L_1022);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1023 = ((L_1022)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___material_3;
__this->___m_currentMaterial_46 = L_1023;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentMaterial_46), (void*)L_1023);
__this->___m_currentMaterialIndex_50 = 0;
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_1024 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47;
NullCheck(L_1024);
int32_t L_1025 = 0;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_1026 = (L_1024)->GetAt(static_cast<il2cpp_array_size_t>(L_1025));
TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49), L_1026, TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2764:
{
int32_t L_1027 = V_47;
bool L_1028;
L_1028 = MaterialReferenceManager_TryGetMaterial_m24D3BA8401616B78412735D1E9206B77AB4A124E(L_1027, (&V_49), NULL);
V_112 = L_1028;
bool L_1029 = V_112;
if (!L_1029)
{
goto IL_27be;
}
}
{
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1030 = V_49;
__this->___m_currentMaterial_46 = L_1030;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentMaterial_46), (void*)L_1030);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1031 = __this->___m_currentMaterial_46;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1032 = __this->___m_currentFontAsset_43;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* L_1033 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceIndexLookup_48;
int32_t L_1034;
L_1034 = MaterialReference_AddMaterialReference_mB50C19EBDE894D9F7BF7281A40BE052ABABC69BF(L_1031, L_1032, (&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47), L_1033, NULL);
__this->___m_currentMaterialIndex_50 = L_1034;
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_1035 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47;
int32_t L_1036 = __this->___m_currentMaterialIndex_50;
NullCheck(L_1035);
int32_t L_1037 = L_1036;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_1038 = (L_1035)->GetAt(static_cast<il2cpp_array_size_t>(L_1037));
TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49), L_1038, TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0_RuntimeMethod_var);
goto IL_285f;
}
IL_27be:
{
String_t* L_1039;
L_1039 = TMP_Settings_get_defaultFontAssetPath_m839245F25AC624824660B9A7C2A8B0D7F5FFCC99(NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1040 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1041 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1041);
int32_t L_1042 = ((L_1041)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1043 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1043);
int32_t L_1044 = ((L_1043)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
String_t* L_1045;
L_1045 = String_CreateString_mB7B3AC2AF28010538650051A9000369B1CD6BAB6(NULL, L_1040, L_1042, L_1044, NULL);
String_t* L_1046;
L_1046 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_1039, L_1045, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1047;
L_1047 = Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_mC909CC888641BC8E1E29C8AB1C790C637C9B390E(L_1046, Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_mC909CC888641BC8E1E29C8AB1C790C637C9B390E_RuntimeMethod_var);
V_49 = L_1047;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1048 = V_49;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1049;
L_1049 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1048, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_113 = L_1049;
bool L_1050 = V_113;
if (!L_1050)
{
goto IL_2810;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_2810:
{
int32_t L_1051 = V_47;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1052 = V_49;
MaterialReferenceManager_AddFontMaterial_mE3C0E0ABEDE58AC212AFD4CFE7938F234C70BBE9(L_1051, L_1052, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1053 = V_49;
__this->___m_currentMaterial_46 = L_1053;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentMaterial_46), (void*)L_1053);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1054 = __this->___m_currentMaterial_46;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1055 = __this->___m_currentFontAsset_43;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* L_1056 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceIndexLookup_48;
int32_t L_1057;
L_1057 = MaterialReference_AddMaterialReference_mB50C19EBDE894D9F7BF7281A40BE052ABABC69BF(L_1054, L_1055, (&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47), L_1056, NULL);
__this->___m_currentMaterialIndex_50 = L_1057;
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_1058 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47;
int32_t L_1059 = __this->___m_currentMaterialIndex_50;
NullCheck(L_1058);
int32_t L_1060 = L_1059;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_1061 = (L_1058)->GetAt(static_cast<il2cpp_array_size_t>(L_1060));
TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49), L_1061, TMP_TextProcessingStack_1_Add_mD61B554AE7C68CBE0C4A37E850D85991F75750F0_RuntimeMethod_var);
}
IL_285f:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_2867:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_1062;
L_1062 = TMP_TextProcessingStack_1_Remove_mB944EB7E1D1A02A96C48B1AA7EE7A2D7C232745D((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49), TMP_TextProcessingStack_1_Remove_mB944EB7E1D1A02A96C48B1AA7EE7A2D7C232745D_RuntimeMethod_var);
V_114 = L_1062;
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_1063 = V_114;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1064 = L_1063.___material_3;
__this->___m_currentMaterial_46 = L_1064;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentMaterial_46), (void*)L_1064);
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B L_1065 = V_114;
int32_t L_1066 = L_1065.___index_0;
__this->___m_currentMaterialIndex_50 = L_1066;
V_29 = (bool)1;
goto IL_46ef;
}
IL_2896:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1067 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1068 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1068);
int32_t L_1069 = ((L_1068)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1070 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1070);
int32_t L_1071 = ((L_1070)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1072;
L_1072 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1067, L_1069, L_1071, NULL);
V_40 = L_1072;
float L_1073 = V_40;
V_115 = (bool)((((float)L_1073) == ((float)(-32768.0f)))? 1 : 0);
bool L_1074 = V_115;
if (!L_1074)
{
goto IL_28da;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_28da:
{
int32_t L_1075 = V_4;
V_117 = L_1075;
int32_t L_1076 = V_117;
V_116 = L_1076;
int32_t L_1077 = V_116;
switch (L_1077)
{
case 0:
{
goto IL_28f7;
}
case 1:
{
goto IL_2923;
}
case 2:
{
goto IL_2956;
}
}
}
{
goto IL_295e;
}
IL_28f7:
{
float L_1078 = __this->___m_xAdvance_246;
float L_1079 = V_40;
bool L_1080 = __this->___m_isOrthographic_129;
if (L_1080)
{
G_B750_0 = L_1079;
G_B750_1 = L_1078;
G_B750_2 = __this;
goto IL_290f;
}
G_B749_0 = L_1079;
G_B749_1 = L_1078;
G_B749_2 = __this;
}
{
G_B751_0 = (0.100000001f);
G_B751_1 = G_B749_0;
G_B751_2 = G_B749_1;
G_B751_3 = G_B749_2;
goto IL_2914;
}
IL_290f:
{
G_B751_0 = (1.0f);
G_B751_1 = G_B750_0;
G_B751_2 = G_B750_1;
G_B751_3 = G_B750_2;
}
IL_2914:
{
NullCheck(G_B751_3);
G_B751_3->___m_xAdvance_246 = ((float)il2cpp_codegen_add(G_B751_2, ((float)il2cpp_codegen_multiply(G_B751_1, G_B751_0))));
V_29 = (bool)1;
goto IL_46ef;
}
IL_2923:
{
float L_1081 = __this->___m_xAdvance_246;
float L_1082 = V_40;
bool L_1083 = __this->___m_isOrthographic_129;
if (L_1083)
{
G_B754_0 = L_1082;
G_B754_1 = L_1081;
G_B754_2 = __this;
goto IL_293b;
}
G_B753_0 = L_1082;
G_B753_1 = L_1081;
G_B753_2 = __this;
}
{
G_B755_0 = (0.100000001f);
G_B755_1 = G_B753_0;
G_B755_2 = G_B753_1;
G_B755_3 = G_B753_2;
goto IL_2940;
}
IL_293b:
{
G_B755_0 = (1.0f);
G_B755_1 = G_B754_0;
G_B755_2 = G_B754_1;
G_B755_3 = G_B754_2;
}
IL_2940:
{
float L_1084 = __this->___m_currentFontSize_76;
NullCheck(G_B755_3);
G_B755_3->___m_xAdvance_246 = ((float)il2cpp_codegen_add(G_B755_2, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(G_B755_1, G_B755_0)), L_1084))));
V_29 = (bool)1;
goto IL_46ef;
}
IL_2956:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_295e:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_2966:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1085 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1085);
int32_t L_1086 = ((L_1085)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
V_118 = (bool)((((int32_t)((((int32_t)L_1086) == ((int32_t)3))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_1087 = V_118;
if (!L_1087)
{
goto IL_298a;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_298a:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* L_1088 = (&__this->___m_htmlColor_228);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1089 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_1089);
int32_t L_1090 = 7;
uint16_t L_1091 = (uint16_t)(L_1089)->GetAt(static_cast<il2cpp_array_size_t>(L_1090));
int32_t L_1092;
L_1092 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_1091, NULL);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1093 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_1093);
int32_t L_1094 = 8;
uint16_t L_1095 = (uint16_t)(L_1093)->GetAt(static_cast<il2cpp_array_size_t>(L_1094));
int32_t L_1096;
L_1096 = TMP_Text_HexToInt_m608FA8E451B2D296D60F096CB890714F72C5596B(__this, L_1095, NULL);
L_1088->___a_4 = (uint8_t)((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_1092, ((int32_t)16))), L_1096)));
V_29 = (bool)1;
goto IL_46ef;
}
IL_29bc:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_29c4:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_29cc:
{
bool L_1097 = __this->___m_isParsingText_196;
if (!L_1097)
{
goto IL_29df;
}
}
{
bool L_1098 = __this->___m_isCalculatingPreferredValues_182;
G_B766_0 = ((((int32_t)L_1098) == ((int32_t)0))? 1 : 0);
goto IL_29e0;
}
IL_29df:
{
G_B766_0 = 0;
}
IL_29e0:
{
V_119 = (bool)G_B766_0;
bool L_1099 = V_119;
if (!L_1099)
{
goto IL_2b0f;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1100 = __this->___m_textInfo_154;
NullCheck(L_1100);
int32_t L_1101 = L_1100->___linkCount_7;
V_120 = L_1101;
int32_t L_1102 = V_120;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1103 = __this->___m_textInfo_154;
NullCheck(L_1103);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_1104 = L_1103->___linkInfo_13;
NullCheck(L_1104);
V_121 = (bool)((((int32_t)((int32_t)il2cpp_codegen_add(L_1102, 1))) > ((int32_t)((int32_t)(((RuntimeArray*)L_1104)->max_length))))? 1 : 0);
bool L_1105 = V_121;
if (!L_1105)
{
goto IL_2a25;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1106 = __this->___m_textInfo_154;
NullCheck(L_1106);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E** L_1107 = (&L_1106->___linkInfo_13);
int32_t L_1108 = V_120;
il2cpp_codegen_runtime_class_init_inline(TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D_il2cpp_TypeInfo_var);
TMP_TextInfo_Resize_TisTMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6_m8FFB7A047A39033B809EBE3DC8756EF04721A6B3(L_1107, ((int32_t)il2cpp_codegen_add(L_1108, 1)), TMP_TextInfo_Resize_TisTMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6_m8FFB7A047A39033B809EBE3DC8756EF04721A6B3_RuntimeMethod_var);
}
IL_2a25:
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1109 = __this->___m_textInfo_154;
NullCheck(L_1109);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_1110 = L_1109->___linkInfo_13;
int32_t L_1111 = V_120;
NullCheck(L_1110);
((L_1110)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1111)))->___textComponent_0 = __this;
Il2CppCodeGenWriteBarrier((void**)(&((L_1110)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1111)))->___textComponent_0), (void*)__this);
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1112 = __this->___m_textInfo_154;
NullCheck(L_1112);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_1113 = L_1112->___linkInfo_13;
int32_t L_1114 = V_120;
NullCheck(L_1113);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1115 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1115);
int32_t L_1116 = ((L_1115)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueHashCode_1;
((L_1113)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1114)))->___hashCode_1 = L_1116;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1117 = __this->___m_textInfo_154;
NullCheck(L_1117);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_1118 = L_1117->___linkInfo_13;
int32_t L_1119 = V_120;
NullCheck(L_1118);
int32_t L_1120 = __this->___m_characterCount_209;
((L_1118)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1119)))->___linkTextfirstCharacterIndex_4 = L_1120;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1121 = __this->___m_textInfo_154;
NullCheck(L_1121);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_1122 = L_1121->___linkInfo_13;
int32_t L_1123 = V_120;
NullCheck(L_1122);
int32_t L_1124 = ___startIndex1;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1125 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1125);
int32_t L_1126 = ((L_1125)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
((L_1122)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1123)))->___linkIdFirstCharacterIndex_2 = ((int32_t)il2cpp_codegen_add(L_1124, L_1126));
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1127 = __this->___m_textInfo_154;
NullCheck(L_1127);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_1128 = L_1127->___linkInfo_13;
int32_t L_1129 = V_120;
NullCheck(L_1128);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1130 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1130);
int32_t L_1131 = ((L_1130)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
((L_1128)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1129)))->___linkIdLength_3 = L_1131;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1132 = __this->___m_textInfo_154;
NullCheck(L_1132);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_1133 = L_1132->___linkInfo_13;
int32_t L_1134 = V_120;
NullCheck(L_1133);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1135 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1136 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1136);
int32_t L_1137 = ((L_1136)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1138 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1138);
int32_t L_1139 = ((L_1138)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
TMP_LinkInfo_SetLinkID_m9E9A1B09A536609EC636A3F6D14498F70C6C487A(((L_1133)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1134))), L_1135, L_1137, L_1139, NULL);
}
IL_2b0f:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_2b17:
{
bool L_1140 = __this->___m_isParsingText_196;
if (!L_1140)
{
goto IL_2b2a;
}
}
{
bool L_1141 = __this->___m_isCalculatingPreferredValues_182;
G_B774_0 = ((((int32_t)L_1141) == ((int32_t)0))? 1 : 0);
goto IL_2b2b;
}
IL_2b2a:
{
G_B774_0 = 0;
}
IL_2b2b:
{
V_122 = (bool)G_B774_0;
bool L_1142 = V_122;
if (!L_1142)
{
goto IL_2baf;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1143 = __this->___m_textInfo_154;
NullCheck(L_1143);
int32_t L_1144 = L_1143->___linkCount_7;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1145 = __this->___m_textInfo_154;
NullCheck(L_1145);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_1146 = L_1145->___linkInfo_13;
NullCheck(L_1146);
V_123 = (bool)((((int32_t)L_1144) < ((int32_t)((int32_t)(((RuntimeArray*)L_1146)->max_length))))? 1 : 0);
bool L_1147 = V_123;
if (!L_1147)
{
goto IL_2bae;
}
}
{
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1148 = __this->___m_textInfo_154;
NullCheck(L_1148);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_1149 = L_1148->___linkInfo_13;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1150 = __this->___m_textInfo_154;
NullCheck(L_1150);
int32_t L_1151 = L_1150->___linkCount_7;
NullCheck(L_1149);
int32_t L_1152 = __this->___m_characterCount_209;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1153 = __this->___m_textInfo_154;
NullCheck(L_1153);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_1154 = L_1153->___linkInfo_13;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1155 = __this->___m_textInfo_154;
NullCheck(L_1155);
int32_t L_1156 = L_1155->___linkCount_7;
NullCheck(L_1154);
int32_t L_1157 = ((L_1154)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1156)))->___linkTextfirstCharacterIndex_4;
((L_1149)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1151)))->___linkTextLength_5 = ((int32_t)il2cpp_codegen_subtract(L_1152, L_1157));
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1158 = __this->___m_textInfo_154;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1159 = L_1158;
NullCheck(L_1159);
int32_t L_1160 = L_1159->___linkCount_7;
NullCheck(L_1159);
L_1159->___linkCount_7 = ((int32_t)il2cpp_codegen_add(L_1160, 1));
}
IL_2bae:
{
}
IL_2baf:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_2bb7:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1161 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1161);
int32_t L_1162 = ((L_1161)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueHashCode_1;
V_125 = L_1162;
int32_t L_1163 = V_125;
V_124 = L_1163;
int32_t L_1164 = V_124;
if ((((int32_t)L_1164) > ((int32_t)((int32_t)-458210101))))
{
goto IL_2bf2;
}
}
{
int32_t L_1165 = V_124;
if ((((int32_t)L_1165) == ((int32_t)((int32_t)-523808257))))
{
goto IL_2c7c;
}
}
{
goto IL_2be4;
}
IL_2be4:
{
int32_t L_1166 = V_124;
if ((((int32_t)L_1166) == ((int32_t)((int32_t)-458210101))))
{
goto IL_2c5b;
}
}
{
goto IL_2cbf;
}
IL_2bf2:
{
int32_t L_1167 = V_124;
if ((((int32_t)L_1167) == ((int32_t)((int32_t)3774683))))
{
goto IL_2c19;
}
}
{
goto IL_2bfd;
}
IL_2bfd:
{
int32_t L_1168 = V_124;
if ((((int32_t)L_1168) == ((int32_t)((int32_t)122383428))))
{
goto IL_2c9d;
}
}
{
goto IL_2c0b;
}
IL_2c0b:
{
int32_t L_1169 = V_124;
if ((((int32_t)L_1169) == ((int32_t)((int32_t)136703040))))
{
goto IL_2c3a;
}
}
{
goto IL_2cbf;
}
IL_2c19:
{
__this->___m_lineJustification_97 = 1;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0* L_1170 = (&__this->___m_lineJustificationStack_98);
int32_t L_1171 = __this->___m_lineJustification_97;
TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514(L_1170, L_1171, TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2c3a:
{
__this->___m_lineJustification_97 = 4;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0* L_1172 = (&__this->___m_lineJustificationStack_98);
int32_t L_1173 = __this->___m_lineJustification_97;
TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514(L_1172, L_1173, TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2c5b:
{
__this->___m_lineJustification_97 = 2;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0* L_1174 = (&__this->___m_lineJustificationStack_98);
int32_t L_1175 = __this->___m_lineJustification_97;
TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514(L_1174, L_1175, TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2c7c:
{
__this->___m_lineJustification_97 = 8;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0* L_1176 = (&__this->___m_lineJustificationStack_98);
int32_t L_1177 = __this->___m_lineJustification_97;
TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514(L_1176, L_1177, TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2c9d:
{
__this->___m_lineJustification_97 = ((int32_t)16);
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0* L_1178 = (&__this->___m_lineJustificationStack_98);
int32_t L_1179 = __this->___m_lineJustification_97;
TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514(L_1178, L_1179, TMP_TextProcessingStack_1_Add_m1D98E03F57B5549F92AAB8CDED54C467241F9514_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2cbf:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_2cc7:
{
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0* L_1180 = (&__this->___m_lineJustificationStack_98);
int32_t L_1181;
L_1181 = TMP_TextProcessingStack_1_Remove_m7EAFE41E986CC289AFE14769631B2E5BAEC446AF(L_1180, TMP_TextProcessingStack_1_Remove_m7EAFE41E986CC289AFE14769631B2E5BAEC446AF_RuntimeMethod_var);
__this->___m_lineJustification_97 = L_1181;
V_29 = (bool)1;
goto IL_46ef;
}
IL_2ce0:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1182 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1183 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1183);
int32_t L_1184 = ((L_1183)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1185 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1185);
int32_t L_1186 = ((L_1185)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1187;
L_1187 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1182, L_1184, L_1186, NULL);
V_40 = L_1187;
float L_1188 = V_40;
V_126 = (bool)((((float)L_1188) == ((float)(-32768.0f)))? 1 : 0);
bool L_1189 = V_126;
if (!L_1189)
{
goto IL_2d24;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_2d24:
{
int32_t L_1190 = V_4;
V_128 = L_1190;
int32_t L_1191 = V_128;
V_127 = L_1191;
int32_t L_1192 = V_127;
switch (L_1192)
{
case 0:
{
goto IL_2d41;
}
case 1:
{
goto IL_2d60;
}
case 2:
{
goto IL_2d68;
}
}
}
{
goto IL_2d7f;
}
IL_2d41:
{
float L_1193 = V_40;
bool L_1194 = __this->___m_isOrthographic_129;
if (L_1194)
{
G_B803_0 = L_1193;
G_B803_1 = __this;
goto IL_2d53;
}
G_B802_0 = L_1193;
G_B802_1 = __this;
}
{
G_B804_0 = (0.100000001f);
G_B804_1 = G_B802_0;
G_B804_2 = G_B802_1;
goto IL_2d58;
}
IL_2d53:
{
G_B804_0 = (1.0f);
G_B804_1 = G_B803_0;
G_B804_2 = G_B803_1;
}
IL_2d58:
{
NullCheck(G_B804_2);
G_B804_2->___m_width_153 = ((float)il2cpp_codegen_multiply(G_B804_1, G_B804_0));
goto IL_2d7f;
}
IL_2d60:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_2d68:
{
float L_1195 = __this->___m_marginWidth_151;
float L_1196 = V_40;
__this->___m_width_153 = ((float)(((float)il2cpp_codegen_multiply(L_1195, L_1196))/(100.0f)));
goto IL_2d7f;
}
IL_2d7f:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_2d87:
{
__this->___m_width_153 = (-1.0f);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2d9a:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1197 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_1197);
int32_t L_1198 = 6;
uint16_t L_1199 = (uint16_t)(L_1197)->GetAt(static_cast<il2cpp_array_size_t>(L_1198));
if ((!(((uint32_t)L_1199) == ((uint32_t)((int32_t)35)))))
{
goto IL_2dac;
}
}
{
int32_t L_1200 = V_0;
G_B812_0 = ((((int32_t)L_1200) == ((int32_t)((int32_t)10)))? 1 : 0);
goto IL_2dad;
}
IL_2dac:
{
G_B812_0 = 0;
}
IL_2dad:
{
V_129 = (bool)G_B812_0;
bool L_1201 = V_129;
if (!L_1201)
{
goto IL_2de0;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1202 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
int32_t L_1203 = V_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1204;
L_1204 = TMP_Text_HexCharsToColor_mFF3D804C9D8FA7A297DE7D2FDD8ACAF56F3AE41F(__this, L_1202, L_1203, NULL);
__this->___m_htmlColor_228 = L_1204;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1205 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1206 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1205, L_1206, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2de0:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1207 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_1207);
int32_t L_1208 = 6;
uint16_t L_1209 = (uint16_t)(L_1207)->GetAt(static_cast<il2cpp_array_size_t>(L_1208));
if ((!(((uint32_t)L_1209) == ((uint32_t)((int32_t)35)))))
{
goto IL_2df2;
}
}
{
int32_t L_1210 = V_0;
G_B817_0 = ((((int32_t)L_1210) == ((int32_t)((int32_t)11)))? 1 : 0);
goto IL_2df3;
}
IL_2df2:
{
G_B817_0 = 0;
}
IL_2df3:
{
V_130 = (bool)G_B817_0;
bool L_1211 = V_130;
if (!L_1211)
{
goto IL_2e26;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1212 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
int32_t L_1213 = V_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1214;
L_1214 = TMP_Text_HexCharsToColor_mFF3D804C9D8FA7A297DE7D2FDD8ACAF56F3AE41F(__this, L_1212, L_1213, NULL);
__this->___m_htmlColor_228 = L_1214;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1215 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1216 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1215, L_1216, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2e26:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1217 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_1217);
int32_t L_1218 = 6;
uint16_t L_1219 = (uint16_t)(L_1217)->GetAt(static_cast<il2cpp_array_size_t>(L_1218));
if ((!(((uint32_t)L_1219) == ((uint32_t)((int32_t)35)))))
{
goto IL_2e38;
}
}
{
int32_t L_1220 = V_0;
G_B822_0 = ((((int32_t)L_1220) == ((int32_t)((int32_t)13)))? 1 : 0);
goto IL_2e39;
}
IL_2e38:
{
G_B822_0 = 0;
}
IL_2e39:
{
V_131 = (bool)G_B822_0;
bool L_1221 = V_131;
if (!L_1221)
{
goto IL_2e6c;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1222 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
int32_t L_1223 = V_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1224;
L_1224 = TMP_Text_HexCharsToColor_mFF3D804C9D8FA7A297DE7D2FDD8ACAF56F3AE41F(__this, L_1222, L_1223, NULL);
__this->___m_htmlColor_228 = L_1224;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1225 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1226 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1225, L_1226, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2e6c:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1227 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
NullCheck(L_1227);
int32_t L_1228 = 6;
uint16_t L_1229 = (uint16_t)(L_1227)->GetAt(static_cast<il2cpp_array_size_t>(L_1228));
if ((!(((uint32_t)L_1229) == ((uint32_t)((int32_t)35)))))
{
goto IL_2e7e;
}
}
{
int32_t L_1230 = V_0;
G_B827_0 = ((((int32_t)L_1230) == ((int32_t)((int32_t)15)))? 1 : 0);
goto IL_2e7f;
}
IL_2e7e:
{
G_B827_0 = 0;
}
IL_2e7f:
{
V_132 = (bool)G_B827_0;
bool L_1231 = V_132;
if (!L_1231)
{
goto IL_2eb2;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1232 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
int32_t L_1233 = V_0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1234;
L_1234 = TMP_Text_HexCharsToColor_mFF3D804C9D8FA7A297DE7D2FDD8ACAF56F3AE41F(__this, L_1232, L_1233, NULL);
__this->___m_htmlColor_228 = L_1234;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1235 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1236 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1235, L_1236, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2eb2:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1237 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1237);
int32_t L_1238 = ((L_1237)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueHashCode_1;
V_134 = L_1238;
int32_t L_1239 = V_134;
V_133 = L_1239;
int32_t L_1240 = V_133;
if ((((int32_t)L_1240) > ((int32_t)((int32_t)3680713))))
{
goto IL_2f23;
}
}
{
int32_t L_1241 = V_133;
if ((((int32_t)L_1241) > ((int32_t)((int32_t)-36881330))))
{
goto IL_2ef9;
}
}
{
int32_t L_1242 = V_133;
if ((((int32_t)L_1242) == ((int32_t)((int32_t)-992792864))))
{
goto IL_2fa2;
}
}
{
goto IL_2ee8;
}
IL_2ee8:
{
int32_t L_1243 = V_133;
if ((((int32_t)L_1243) == ((int32_t)((int32_t)-36881330))))
{
goto IL_30f1;
}
}
{
goto IL_3151;
}
IL_2ef9:
{
int32_t L_1244 = V_133;
if ((((int32_t)L_1244) == ((int32_t)((int32_t)125395))))
{
goto IL_2f78;
}
}
{
goto IL_2f04;
}
IL_2f04:
{
int32_t L_1245 = V_133;
if ((((int32_t)L_1245) == ((int32_t)((int32_t)3573310))))
{
goto IL_2fdb;
}
}
{
goto IL_2f12;
}
IL_2f12:
{
int32_t L_1246 = V_133;
if ((((int32_t)L_1246) == ((int32_t)((int32_t)3680713))))
{
goto IL_3005;
}
}
{
goto IL_3151;
}
IL_2f23:
{
int32_t L_1247 = V_133;
if ((((int32_t)L_1247) > ((int32_t)((int32_t)117905991))))
{
goto IL_2f4b;
}
}
{
int32_t L_1248 = V_133;
if ((((int32_t)L_1248) == ((int32_t)((int32_t)26556144))))
{
goto IL_30bc;
}
}
{
goto IL_2f3a;
}
IL_2f3a:
{
int32_t L_1249 = V_133;
if ((((int32_t)L_1249) == ((int32_t)((int32_t)117905991))))
{
goto IL_303e;
}
}
{
goto IL_3151;
}
IL_2f4b:
{
int32_t L_1250 = V_133;
if ((((int32_t)L_1250) == ((int32_t)((int32_t)121463835))))
{
goto IL_3068;
}
}
{
goto IL_2f59;
}
IL_2f59:
{
int32_t L_1251 = V_133;
if ((((int32_t)L_1251) == ((int32_t)((int32_t)140357351))))
{
goto IL_3092;
}
}
{
goto IL_2f67;
}
IL_2f67:
{
int32_t L_1252 = V_133;
if ((((int32_t)L_1252) == ((int32_t)((int32_t)554054276))))
{
goto IL_3127;
}
}
{
goto IL_3151;
}
IL_2f78:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1253;
L_1253 = Color_get_red_mA2E53E7173FDC97E68E335049AB0FAAEE43A844D_inline(NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1254;
L_1254 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_1253, NULL);
__this->___m_htmlColor_228 = L_1254;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1255 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1256 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1255, L_1256, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2fa2:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1257;
memset((&L_1257), 0, sizeof(L_1257));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_1257), (uint8_t)((int32_t)173), (uint8_t)((int32_t)216), (uint8_t)((int32_t)230), (uint8_t)((int32_t)255), NULL);
__this->___m_htmlColor_228 = L_1257;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1258 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1259 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1258, L_1259, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_2fdb:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1260;
L_1260 = Color_get_blue_mF04A26CE61D6DA3C0D8B1C4720901B1028C7AB87_inline(NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1261;
L_1261 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_1260, NULL);
__this->___m_htmlColor_228 = L_1261;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1262 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1263 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1262, L_1263, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_3005:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1264;
memset((&L_1264), 0, sizeof(L_1264));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_1264), (uint8_t)((int32_t)128), (uint8_t)((int32_t)128), (uint8_t)((int32_t)128), (uint8_t)((int32_t)255), NULL);
__this->___m_htmlColor_228 = L_1264;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1265 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1266 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1265, L_1266, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_303e:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1267;
L_1267 = Color_get_black_mB50217951591A045844C61E7FF31EEE3FEF16737_inline(NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1268;
L_1268 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_1267, NULL);
__this->___m_htmlColor_228 = L_1268;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1269 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1270 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1269, L_1270, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_3068:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1271;
L_1271 = Color_get_green_mEB001F2CD8C68C6BBAEF9101990B779D3AA2A6EF_inline(NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1272;
L_1272 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_1271, NULL);
__this->___m_htmlColor_228 = L_1272;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1273 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1274 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1273, L_1274, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_3092:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1275;
L_1275 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1276;
L_1276 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_1275, NULL);
__this->___m_htmlColor_228 = L_1276;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1277 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1278 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1277, L_1278, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_30bc:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1279;
memset((&L_1279), 0, sizeof(L_1279));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_1279), (uint8_t)((int32_t)255), (uint8_t)((int32_t)128), (uint8_t)0, (uint8_t)((int32_t)255), NULL);
__this->___m_htmlColor_228 = L_1279;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1280 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1281 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1280, L_1281, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_30f1:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1282;
memset((&L_1282), 0, sizeof(L_1282));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_1282), (uint8_t)((int32_t)160), (uint8_t)((int32_t)32), (uint8_t)((int32_t)240), (uint8_t)((int32_t)255), NULL);
__this->___m_htmlColor_228 = L_1282;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1283 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1284 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1283, L_1284, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_3127:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1285;
L_1285 = Color_get_yellow_m66637FA14383E8D74F24AE256B577CE1D55D469F_inline(NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1286;
L_1286 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_1285, NULL);
__this->___m_htmlColor_228 = L_1286;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1287 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1288 = __this->___m_htmlColor_228;
TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626(L_1287, L_1288, TMP_TextProcessingStack_1_Add_mC8764ACE7AB5066989D59D13300D4C9777B27626_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_3151:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3159:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1289 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1289);
int32_t L_1290 = ((L_1289)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueHashCode_1;
V_50 = L_1290;
int32_t L_1291 = V_50;
bool L_1292;
L_1292 = MaterialReferenceManager_TryGetColorGradientPreset_m874B43FD78065DFFD31E3A477AE686CD445504CE(L_1291, (&V_51), NULL);
V_135 = L_1292;
bool L_1293 = V_135;
if (!L_1293)
{
goto IL_3186;
}
}
{
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_1294 = V_51;
__this->___m_colorGradientPreset_233 = L_1294;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_colorGradientPreset_233), (void*)L_1294);
goto IL_31fb;
}
IL_3186:
{
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_1295 = V_51;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1296;
L_1296 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1295, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_136 = L_1296;
bool L_1297 = V_136;
if (!L_1297)
{
goto IL_31d2;
}
}
{
String_t* L_1298;
L_1298 = TMP_Settings_get_defaultColorGradientPresetsPath_mBB00B879E09F5B4ABC9D92E1CDA90D1C11236798(NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1299 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1300 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1300);
int32_t L_1301 = ((L_1300)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1302 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1302);
int32_t L_1303 = ((L_1302)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
String_t* L_1304;
L_1304 = String_CreateString_mB7B3AC2AF28010538650051A9000369B1CD6BAB6(NULL, L_1299, L_1301, L_1303, NULL);
String_t* L_1305;
L_1305 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_1298, L_1304, NULL);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_1306;
L_1306 = Resources_Load_TisTMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB_m7546617D59DD4AF34FA2D67F11F82C658194F5F8(L_1305, Resources_Load_TisTMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB_m7546617D59DD4AF34FA2D67F11F82C658194F5F8_RuntimeMethod_var);
V_51 = L_1306;
}
IL_31d2:
{
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_1307 = V_51;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1308;
L_1308 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1307, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_137 = L_1308;
bool L_1309 = V_137;
if (!L_1309)
{
goto IL_31e8;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_31e8:
{
int32_t L_1310 = V_50;
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_1311 = V_51;
MaterialReferenceManager_AddColorGradientPreset_m3BDD6F313678612D54E151D7DF901F43319CBCB5(L_1310, L_1311, NULL);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_1312 = V_51;
__this->___m_colorGradientPreset_233 = L_1312;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_colorGradientPreset_233), (void*)L_1312);
}
IL_31fb:
{
__this->___m_colorGradientPresetIsTinted_235 = (bool)0;
V_138 = 1;
goto IL_327f;
}
IL_3207:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1313 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1314 = V_138;
NullCheck(L_1313);
int32_t L_1315 = ((L_1313)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1314)))->___nameHashCode_0;
V_139 = L_1315;
int32_t L_1316 = V_139;
V_141 = L_1316;
int32_t L_1317 = V_141;
V_140 = L_1317;
int32_t L_1318 = V_140;
if ((((int32_t)L_1318) == ((int32_t)((int32_t)33019))))
{
goto IL_3239;
}
}
{
goto IL_322e;
}
IL_322e:
{
int32_t L_1319 = V_140;
if ((((int32_t)L_1319) == ((int32_t)((int32_t)45819))))
{
goto IL_3239;
}
}
{
goto IL_3278;
}
IL_3239:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1320 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1321 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1322 = V_138;
NullCheck(L_1321);
int32_t L_1323 = ((L_1321)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1322)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1324 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1325 = V_138;
NullCheck(L_1324);
int32_t L_1326 = ((L_1324)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1325)))->___valueLength_4;
float L_1327;
L_1327 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1320, L_1323, L_1326, NULL);
__this->___m_colorGradientPresetIsTinted_235 = (bool)((((int32_t)((((float)L_1327) == ((float)(0.0f)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_3278;
}
IL_3278:
{
int32_t L_1328 = V_138;
V_138 = ((int32_t)il2cpp_codegen_add(L_1328, 1));
}
IL_327f:
{
int32_t L_1329 = V_138;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1330 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1330);
if ((((int32_t)L_1329) >= ((int32_t)((int32_t)(((RuntimeArray*)L_1330)->max_length)))))
{
goto IL_32a0;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1331 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1332 = V_138;
NullCheck(L_1331);
int32_t L_1333 = ((L_1331)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1332)))->___nameHashCode_0;
G_B880_0 = ((!(((uint32_t)L_1333) <= ((uint32_t)0)))? 1 : 0);
goto IL_32a1;
}
IL_32a0:
{
G_B880_0 = 0;
}
IL_32a1:
{
V_142 = (bool)G_B880_0;
bool L_1334 = V_142;
if (L_1334)
{
goto IL_3207;
}
}
{
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C* L_1335 = (&__this->___m_colorGradientStack_234);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_1336 = __this->___m_colorGradientPreset_233;
TMP_TextProcessingStack_1_Add_m7384E96876DE9397A2E5C59711743F69132E536E(L_1335, L_1336, TMP_TextProcessingStack_1_Add_m7384E96876DE9397A2E5C59711743F69132E536E_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_32c4:
{
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C* L_1337 = (&__this->___m_colorGradientStack_234);
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB* L_1338;
L_1338 = TMP_TextProcessingStack_1_Remove_m012CED006CD62BD452498A862676A1E775138717(L_1337, TMP_TextProcessingStack_1_Remove_m012CED006CD62BD452498A862676A1E775138717_RuntimeMethod_var);
__this->___m_colorGradientPreset_233 = L_1338;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_colorGradientPreset_233), (void*)L_1338);
V_29 = (bool)1;
goto IL_46ef;
}
IL_32dd:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1339 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1340 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1340);
int32_t L_1341 = ((L_1340)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1342 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1342);
int32_t L_1343 = ((L_1342)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1344;
L_1344 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1339, L_1341, L_1343, NULL);
V_40 = L_1344;
float L_1345 = V_40;
V_143 = (bool)((((float)L_1345) == ((float)(-32768.0f)))? 1 : 0);
bool L_1346 = V_143;
if (!L_1346)
{
goto IL_3321;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3321:
{
int32_t L_1347 = V_4;
V_145 = L_1347;
int32_t L_1348 = V_145;
V_144 = L_1348;
int32_t L_1349 = V_144;
switch (L_1349)
{
case 0:
{
goto IL_333e;
}
case 1:
{
goto IL_335d;
}
case 2:
{
goto IL_3383;
}
}
}
{
goto IL_338b;
}
IL_333e:
{
float L_1350 = V_40;
bool L_1351 = __this->___m_isOrthographic_129;
if (L_1351)
{
G_B889_0 = L_1350;
G_B889_1 = __this;
goto IL_3350;
}
G_B888_0 = L_1350;
G_B888_1 = __this;
}
{
G_B890_0 = (0.100000001f);
G_B890_1 = G_B888_0;
G_B890_2 = G_B888_1;
goto IL_3355;
}
IL_3350:
{
G_B890_0 = (1.0f);
G_B890_1 = G_B889_0;
G_B890_2 = G_B889_1;
}
IL_3355:
{
NullCheck(G_B890_2);
G_B890_2->___m_cSpacing_101 = ((float)il2cpp_codegen_multiply(G_B890_1, G_B890_0));
goto IL_338b;
}
IL_335d:
{
float L_1352 = V_40;
bool L_1353 = __this->___m_isOrthographic_129;
if (L_1353)
{
G_B893_0 = L_1352;
G_B893_1 = __this;
goto IL_336f;
}
G_B892_0 = L_1352;
G_B892_1 = __this;
}
{
G_B894_0 = (0.100000001f);
G_B894_1 = G_B892_0;
G_B894_2 = G_B892_1;
goto IL_3374;
}
IL_336f:
{
G_B894_0 = (1.0f);
G_B894_1 = G_B893_0;
G_B894_2 = G_B893_1;
}
IL_3374:
{
float L_1354 = __this->___m_currentFontSize_76;
NullCheck(G_B894_2);
G_B894_2->___m_cSpacing_101 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(G_B894_1, G_B894_0)), L_1354));
goto IL_338b;
}
IL_3383:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_338b:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_3393:
{
bool L_1355 = __this->___m_isParsingText_196;
V_146 = (bool)((((int32_t)L_1355) == ((int32_t)0))? 1 : 0);
bool L_1356 = V_146;
if (!L_1356)
{
goto IL_33aa;
}
}
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_33aa:
{
int32_t L_1357 = __this->___m_characterCount_209;
V_147 = (bool)((((int32_t)L_1357) > ((int32_t)0))? 1 : 0);
bool L_1358 = V_147;
if (!L_1358)
{
goto IL_33f1;
}
}
{
float L_1359 = __this->___m_xAdvance_246;
float L_1360 = __this->___m_cSpacing_101;
__this->___m_xAdvance_246 = ((float)il2cpp_codegen_subtract(L_1359, L_1360));
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D* L_1361 = __this->___m_textInfo_154;
NullCheck(L_1361);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_1362 = L_1361->___characterInfo_11;
int32_t L_1363 = __this->___m_characterCount_209;
NullCheck(L_1362);
float L_1364 = __this->___m_xAdvance_246;
((L_1362)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_1363, 1)))))->___xAdvance_24 = L_1364;
}
IL_33f1:
{
__this->___m_cSpacing_101 = (0.0f);
V_29 = (bool)1;
goto IL_46ef;
}
IL_3404:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1365 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1366 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1366);
int32_t L_1367 = ((L_1366)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1368 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1368);
int32_t L_1369 = ((L_1368)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1370;
L_1370 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1365, L_1367, L_1369, NULL);
V_40 = L_1370;
float L_1371 = V_40;
V_148 = (bool)((((float)L_1371) == ((float)(-32768.0f)))? 1 : 0);
bool L_1372 = V_148;
if (!L_1372)
{
goto IL_3448;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3448:
{
int32_t L_1373 = V_4;
V_150 = L_1373;
int32_t L_1374 = V_150;
V_149 = L_1374;
int32_t L_1375 = V_149;
switch (L_1375)
{
case 0:
{
goto IL_3465;
}
case 1:
{
goto IL_3484;
}
case 2:
{
goto IL_34aa;
}
}
}
{
goto IL_34b2;
}
IL_3465:
{
float L_1376 = V_40;
bool L_1377 = __this->___m_isOrthographic_129;
if (L_1377)
{
G_B908_0 = L_1376;
G_B908_1 = __this;
goto IL_3477;
}
G_B907_0 = L_1376;
G_B907_1 = __this;
}
{
G_B909_0 = (0.100000001f);
G_B909_1 = G_B907_0;
G_B909_2 = G_B907_1;
goto IL_347c;
}
IL_3477:
{
G_B909_0 = (1.0f);
G_B909_1 = G_B908_0;
G_B909_2 = G_B908_1;
}
IL_347c:
{
NullCheck(G_B909_2);
G_B909_2->___m_monoSpacing_102 = ((float)il2cpp_codegen_multiply(G_B909_1, G_B909_0));
goto IL_34b2;
}
IL_3484:
{
float L_1378 = V_40;
bool L_1379 = __this->___m_isOrthographic_129;
if (L_1379)
{
G_B912_0 = L_1378;
G_B912_1 = __this;
goto IL_3496;
}
G_B911_0 = L_1378;
G_B911_1 = __this;
}
{
G_B913_0 = (0.100000001f);
G_B913_1 = G_B911_0;
G_B913_2 = G_B911_1;
goto IL_349b;
}
IL_3496:
{
G_B913_0 = (1.0f);
G_B913_1 = G_B912_0;
G_B913_2 = G_B912_1;
}
IL_349b:
{
float L_1380 = __this->___m_currentFontSize_76;
NullCheck(G_B913_2);
G_B913_2->___m_monoSpacing_102 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(G_B913_1, G_B913_0)), L_1380));
goto IL_34b2;
}
IL_34aa:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_34b2:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_34ba:
{
__this->___m_monoSpacing_102 = (0.0f);
V_29 = (bool)1;
goto IL_46ef;
}
IL_34cd:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_34d5:
{
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3* L_1381 = (&__this->___m_colorStack_229);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1382;
L_1382 = TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954(L_1381, TMP_TextProcessingStack_1_Remove_m792087385F4161B0E373D73E556BFC52484AB954_RuntimeMethod_var);
__this->___m_htmlColor_228 = L_1382;
V_29 = (bool)1;
goto IL_46ef;
}
IL_34ee:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1383 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1384 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1384);
int32_t L_1385 = ((L_1384)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1386 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1386);
int32_t L_1387 = ((L_1386)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1388;
L_1388 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1383, L_1385, L_1387, NULL);
V_40 = L_1388;
float L_1389 = V_40;
V_151 = (bool)((((float)L_1389) == ((float)(-32768.0f)))? 1 : 0);
bool L_1390 = V_151;
if (!L_1390)
{
goto IL_3532;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3532:
{
int32_t L_1391 = V_4;
V_153 = L_1391;
int32_t L_1392 = V_153;
V_152 = L_1392;
int32_t L_1393 = V_152;
switch (L_1393)
{
case 0:
{
goto IL_354f;
}
case 1:
{
goto IL_356e;
}
case 2:
{
goto IL_3594;
}
}
}
{
goto IL_35ab;
}
IL_354f:
{
float L_1394 = V_40;
bool L_1395 = __this->___m_isOrthographic_129;
if (L_1395)
{
G_B925_0 = L_1394;
G_B925_1 = __this;
goto IL_3561;
}
G_B924_0 = L_1394;
G_B924_1 = __this;
}
{
G_B926_0 = (0.100000001f);
G_B926_1 = G_B924_0;
G_B926_2 = G_B924_1;
goto IL_3566;
}
IL_3561:
{
G_B926_0 = (1.0f);
G_B926_1 = G_B925_0;
G_B926_2 = G_B925_1;
}
IL_3566:
{
NullCheck(G_B926_2);
G_B926_2->___tag_Indent_193 = ((float)il2cpp_codegen_multiply(G_B926_1, G_B926_0));
goto IL_35ab;
}
IL_356e:
{
float L_1396 = V_40;
bool L_1397 = __this->___m_isOrthographic_129;
if (L_1397)
{
G_B929_0 = L_1396;
G_B929_1 = __this;
goto IL_3580;
}
G_B928_0 = L_1396;
G_B928_1 = __this;
}
{
G_B930_0 = (0.100000001f);
G_B930_1 = G_B928_0;
G_B930_2 = G_B928_1;
goto IL_3585;
}
IL_3580:
{
G_B930_0 = (1.0f);
G_B930_1 = G_B929_0;
G_B930_2 = G_B929_1;
}
IL_3585:
{
float L_1398 = __this->___m_currentFontSize_76;
NullCheck(G_B930_2);
G_B930_2->___tag_Indent_193 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(G_B930_1, G_B930_0)), L_1398));
goto IL_35ab;
}
IL_3594:
{
float L_1399 = __this->___m_marginWidth_151;
float L_1400 = V_40;
__this->___tag_Indent_193 = ((float)(((float)il2cpp_codegen_multiply(L_1399, L_1400))/(100.0f)));
goto IL_35ab;
}
IL_35ab:
{
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_1401 = (&__this->___m_indentStack_194);
float L_1402 = __this->___tag_Indent_193;
TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE(L_1401, L_1402, TMP_TextProcessingStack_1_Add_mA885E696AD6CD56757ED8A8E8D4A81F6DA2301EE_RuntimeMethod_var);
float L_1403 = __this->___tag_Indent_193;
__this->___m_xAdvance_246 = L_1403;
V_29 = (bool)1;
goto IL_46ef;
}
IL_35d1:
{
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9* L_1404 = (&__this->___m_indentStack_194);
float L_1405;
L_1405 = TMP_TextProcessingStack_1_Remove_m9E2E06D1B36F92004CA676136D0E3F0BDCD1630C(L_1404, TMP_TextProcessingStack_1_Remove_m9E2E06D1B36F92004CA676136D0E3F0BDCD1630C_RuntimeMethod_var);
__this->___tag_Indent_193 = L_1405;
V_29 = (bool)1;
goto IL_46ef;
}
IL_35ea:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1406 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1407 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1407);
int32_t L_1408 = ((L_1407)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1409 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1409);
int32_t L_1410 = ((L_1409)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1411;
L_1411 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1406, L_1408, L_1410, NULL);
V_40 = L_1411;
float L_1412 = V_40;
V_154 = (bool)((((float)L_1412) == ((float)(-32768.0f)))? 1 : 0);
bool L_1413 = V_154;
if (!L_1413)
{
goto IL_362e;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_362e:
{
int32_t L_1414 = V_4;
V_156 = L_1414;
int32_t L_1415 = V_156;
V_155 = L_1415;
int32_t L_1416 = V_155;
switch (L_1416)
{
case 0:
{
goto IL_364b;
}
case 1:
{
goto IL_366a;
}
case 2:
{
goto IL_3690;
}
}
}
{
goto IL_36a7;
}
IL_364b:
{
float L_1417 = V_40;
bool L_1418 = __this->___m_isOrthographic_129;
if (L_1418)
{
G_B940_0 = L_1417;
G_B940_1 = __this;
goto IL_365d;
}
G_B939_0 = L_1417;
G_B939_1 = __this;
}
{
G_B941_0 = (0.100000001f);
G_B941_1 = G_B939_0;
G_B941_2 = G_B939_1;
goto IL_3662;
}
IL_365d:
{
G_B941_0 = (1.0f);
G_B941_1 = G_B940_0;
G_B941_2 = G_B940_1;
}
IL_3662:
{
NullCheck(G_B941_2);
G_B941_2->___tag_LineIndent_192 = ((float)il2cpp_codegen_multiply(G_B941_1, G_B941_0));
goto IL_36a7;
}
IL_366a:
{
float L_1419 = V_40;
bool L_1420 = __this->___m_isOrthographic_129;
if (L_1420)
{
G_B944_0 = L_1419;
G_B944_1 = __this;
goto IL_367c;
}
G_B943_0 = L_1419;
G_B943_1 = __this;
}
{
G_B945_0 = (0.100000001f);
G_B945_1 = G_B943_0;
G_B945_2 = G_B943_1;
goto IL_3681;
}
IL_367c:
{
G_B945_0 = (1.0f);
G_B945_1 = G_B944_0;
G_B945_2 = G_B944_1;
}
IL_3681:
{
float L_1421 = __this->___m_currentFontSize_76;
NullCheck(G_B945_2);
G_B945_2->___tag_LineIndent_192 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(G_B945_1, G_B945_0)), L_1421));
goto IL_36a7;
}
IL_3690:
{
float L_1422 = __this->___m_marginWidth_151;
float L_1423 = V_40;
__this->___tag_LineIndent_192 = ((float)(((float)il2cpp_codegen_multiply(L_1422, L_1423))/(100.0f)));
goto IL_36a7;
}
IL_36a7:
{
float L_1424 = __this->___m_xAdvance_246;
float L_1425 = __this->___tag_LineIndent_192;
__this->___m_xAdvance_246 = ((float)il2cpp_codegen_add(L_1424, L_1425));
V_29 = (bool)1;
goto IL_46ef;
}
IL_36c2:
{
__this->___tag_LineIndent_192 = (0.0f);
V_29 = (bool)1;
goto IL_46ef;
}
IL_36d5:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1426 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1426);
int32_t L_1427 = ((L_1426)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueHashCode_1;
V_52 = L_1427;
__this->___m_spriteIndex_254 = (-1);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1428 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1428);
int32_t L_1429 = ((L_1428)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueType_2;
if (!L_1429)
{
goto IL_3715;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1430 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1430);
int32_t L_1431 = ((L_1430)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueType_2;
G_B952_0 = ((((int32_t)L_1431) == ((int32_t)1))? 1 : 0);
goto IL_3716;
}
IL_3715:
{
G_B952_0 = 1;
}
IL_3716:
{
V_157 = (bool)G_B952_0;
bool L_1432 = V_157;
if (!L_1432)
{
goto IL_37d2;
}
}
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1433 = __this->___m_spriteAsset_64;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1434;
L_1434 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1433, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_158 = L_1434;
bool L_1435 = V_158;
if (!L_1435)
{
goto IL_3742;
}
}
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1436 = __this->___m_spriteAsset_64;
__this->___m_currentSpriteAsset_252 = L_1436;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentSpriteAsset_252), (void*)L_1436);
goto IL_37b2;
}
IL_3742:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1437 = __this->___m_defaultSpriteAsset_251;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1438;
L_1438 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1437, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_159 = L_1438;
bool L_1439 = V_159;
if (!L_1439)
{
goto IL_3764;
}
}
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1440 = __this->___m_defaultSpriteAsset_251;
__this->___m_currentSpriteAsset_252 = L_1440;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentSpriteAsset_252), (void*)L_1440);
goto IL_37b2;
}
IL_3764:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1441 = __this->___m_defaultSpriteAsset_251;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1442;
L_1442 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1441, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_160 = L_1442;
bool L_1443 = V_160;
if (!L_1443)
{
goto IL_37b2;
}
}
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1444;
L_1444 = TMP_Settings_get_defaultSpriteAsset_m1A6D796CB68107284294DAB40442F2CFFA26A672(NULL);
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1445;
L_1445 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1444, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_161 = L_1445;
bool L_1446 = V_161;
if (!L_1446)
{
goto IL_3795;
}
}
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1447;
L_1447 = TMP_Settings_get_defaultSpriteAsset_m1A6D796CB68107284294DAB40442F2CFFA26A672(NULL);
__this->___m_defaultSpriteAsset_251 = L_1447;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_defaultSpriteAsset_251), (void*)L_1447);
goto IL_37a5;
}
IL_3795:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1448;
L_1448 = Resources_Load_TisTMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39_m7904B83E27E07EAAE6AFD7AD2270D77A6B2F210B(_stringLiteral3CF41D991C7F2555D83F628B4B3B26444D917083, Resources_Load_TisTMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39_m7904B83E27E07EAAE6AFD7AD2270D77A6B2F210B_RuntimeMethod_var);
__this->___m_defaultSpriteAsset_251 = L_1448;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_defaultSpriteAsset_251), (void*)L_1448);
}
IL_37a5:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1449 = __this->___m_defaultSpriteAsset_251;
__this->___m_currentSpriteAsset_252 = L_1449;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentSpriteAsset_252), (void*)L_1449);
}
IL_37b2:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1450 = __this->___m_currentSpriteAsset_252;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1451;
L_1451 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1450, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_162 = L_1451;
bool L_1452 = V_162;
if (!L_1452)
{
goto IL_37cc;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_37cc:
{
goto IL_38b7;
}
IL_37d2:
{
int32_t L_1453 = V_52;
bool L_1454;
L_1454 = MaterialReferenceManager_TryGetSpriteAsset_m9B41FCA12C297EAD46D171500B95C037C75A855F(L_1453, (&V_53), NULL);
V_163 = L_1454;
bool L_1455 = V_163;
if (!L_1455)
{
goto IL_37f1;
}
}
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1456 = V_53;
__this->___m_currentSpriteAsset_252 = L_1456;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentSpriteAsset_252), (void*)L_1456);
goto IL_38b6;
}
IL_37f1:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1457 = V_53;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1458;
L_1458 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1457, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_164 = L_1458;
bool L_1459 = V_164;
if (!L_1459)
{
goto IL_388d;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_1460 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___OnSpriteAssetRequest_166;
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5* L_1461 = L_1460;
if (L_1461)
{
G_B970_0 = L_1461;
goto IL_3810;
}
G_B969_0 = L_1461;
}
{
G_B971_0 = ((TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39*)(NULL));
goto IL_3841;
}
IL_3810:
{
int32_t L_1462 = V_52;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1463 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1464 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1464);
int32_t L_1465 = ((L_1464)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1466 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1466);
int32_t L_1467 = ((L_1466)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
String_t* L_1468;
L_1468 = String_CreateString_mB7B3AC2AF28010538650051A9000369B1CD6BAB6(NULL, L_1463, L_1465, L_1467, NULL);
NullCheck(G_B970_0);
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1469;
L_1469 = Func_3_Invoke_mF3662697FD5DD101C572638213BE85D28F686C4B_inline(G_B970_0, L_1462, L_1468, NULL);
G_B971_0 = L_1469;
}
IL_3841:
{
V_53 = G_B971_0;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1470 = V_53;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1471;
L_1471 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1470, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_165 = L_1471;
bool L_1472 = V_165;
if (!L_1472)
{
goto IL_388c;
}
}
{
String_t* L_1473;
L_1473 = TMP_Settings_get_defaultSpriteAssetPath_m0697504D0CD5728F61DE0E1DA9379B8E8CF62E11(NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1474 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1475 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1475);
int32_t L_1476 = ((L_1475)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1477 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1477);
int32_t L_1478 = ((L_1477)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
String_t* L_1479;
L_1479 = String_CreateString_mB7B3AC2AF28010538650051A9000369B1CD6BAB6(NULL, L_1474, L_1476, L_1478, NULL);
String_t* L_1480;
L_1480 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_1473, L_1479, NULL);
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1481;
L_1481 = Resources_Load_TisTMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39_m7904B83E27E07EAAE6AFD7AD2270D77A6B2F210B(L_1480, Resources_Load_TisTMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39_m7904B83E27E07EAAE6AFD7AD2270D77A6B2F210B_RuntimeMethod_var);
V_53 = L_1481;
}
IL_388c:
{
}
IL_388d:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1482 = V_53;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1483;
L_1483 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1482, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
V_166 = L_1483;
bool L_1484 = V_166;
if (!L_1484)
{
goto IL_38a3;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_38a3:
{
int32_t L_1485 = V_52;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1486 = V_53;
MaterialReferenceManager_AddSpriteAsset_mD012F5C582F67AECA204F814452BBB3D1FB69E63(L_1485, L_1486, NULL);
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1487 = V_53;
__this->___m_currentSpriteAsset_252 = L_1487;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentSpriteAsset_252), (void*)L_1487);
}
IL_38b6:
{
}
IL_38b7:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1488 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1488);
int32_t L_1489 = ((L_1488)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueType_2;
V_167 = (bool)((((int32_t)L_1489) == ((int32_t)1))? 1 : 0);
bool L_1490 = V_167;
if (!L_1490)
{
goto IL_3943;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1491 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1492 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1492);
int32_t L_1493 = ((L_1492)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1494 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1494);
int32_t L_1495 = ((L_1494)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1496;
L_1496 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1491, L_1493, L_1495, NULL);
V_168 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1496);
int32_t L_1497 = V_168;
V_169 = (bool)((((int32_t)L_1497) == ((int32_t)((int32_t)-32768)))? 1 : 0);
bool L_1498 = V_169;
if (!L_1498)
{
goto IL_3916;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3916:
{
int32_t L_1499 = V_168;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1500 = __this->___m_currentSpriteAsset_252;
NullCheck(L_1500);
List_1_t2F39287A7FAAAD3D4A84C8C4EF6D748502C1DACC* L_1501;
L_1501 = TMP_SpriteAsset_get_spriteCharacterTable_m2F591ADE7DC8DE042B8A32AF84AC169C19CB9D2A(L_1500, NULL);
NullCheck(L_1501);
int32_t L_1502;
L_1502 = List_1_get_Count_m98B2ED14D5EBBED4D53F00F785FC2B5FE87FE3F5_inline(L_1501, List_1_get_Count_m98B2ED14D5EBBED4D53F00F785FC2B5FE87FE3F5_RuntimeMethod_var);
V_170 = (bool)((((int32_t)L_1499) > ((int32_t)((int32_t)il2cpp_codegen_subtract(L_1502, 1))))? 1 : 0);
bool L_1503 = V_170;
if (!L_1503)
{
goto IL_393a;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_393a:
{
int32_t L_1504 = V_168;
__this->___m_spriteIndex_254 = L_1504;
}
IL_3943:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1505 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___s_colorWhite_57;
__this->___m_spriteColor_67 = L_1505;
__this->___m_tintSprite_66 = (bool)0;
V_171 = 0;
goto IL_3c1d;
}
IL_395d:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1506 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1507 = V_171;
NullCheck(L_1506);
int32_t L_1508 = ((L_1506)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1507)))->___nameHashCode_0;
V_172 = L_1508;
V_173 = 0;
int32_t L_1509 = V_172;
V_176 = L_1509;
int32_t L_1510 = V_176;
V_175 = L_1510;
int32_t L_1511 = V_175;
if ((((int32_t)L_1511) > ((int32_t)((int32_t)43347))))
{
goto IL_39d4;
}
}
{
int32_t L_1512 = V_175;
if ((((int32_t)L_1512) > ((int32_t)((int32_t)30547))))
{
goto IL_39aa;
}
}
{
int32_t L_1513 = V_175;
if ((((int32_t)L_1513) == ((int32_t)((int32_t)26705))))
{
goto IL_3b58;
}
}
{
goto IL_399c;
}
IL_399c:
{
int32_t L_1514 = V_175;
if ((((int32_t)L_1514) == ((int32_t)((int32_t)30547))))
{
goto IL_3a23;
}
}
{
goto IL_3bee;
}
IL_39aa:
{
int32_t L_1515 = V_175;
if ((((int32_t)L_1515) == ((int32_t)((int32_t)33019))))
{
goto IL_3ade;
}
}
{
goto IL_39b8;
}
IL_39b8:
{
int32_t L_1516 = V_175;
if ((((int32_t)L_1516) == ((int32_t)((int32_t)39505))))
{
goto IL_3b58;
}
}
{
goto IL_39c6;
}
IL_39c6:
{
int32_t L_1517 = V_175;
if ((((int32_t)L_1517) == ((int32_t)((int32_t)43347))))
{
goto IL_3a23;
}
}
{
goto IL_3bee;
}
IL_39d4:
{
int32_t L_1518 = V_175;
if ((((int32_t)L_1518) > ((int32_t)((int32_t)192323))))
{
goto IL_39fc;
}
}
{
int32_t L_1519 = V_175;
if ((((int32_t)L_1519) == ((int32_t)((int32_t)45819))))
{
goto IL_3ade;
}
}
{
goto IL_39eb;
}
IL_39eb:
{
int32_t L_1520 = V_175;
if ((((int32_t)L_1520) == ((int32_t)((int32_t)192323))))
{
goto IL_3b20;
}
}
{
goto IL_3bee;
}
IL_39fc:
{
int32_t L_1521 = V_175;
if ((((int32_t)L_1521) == ((int32_t)((int32_t)205930))))
{
goto IL_3a68;
}
}
{
goto IL_3a07;
}
IL_3a07:
{
int32_t L_1522 = V_175;
if ((((int32_t)L_1522) == ((int32_t)((int32_t)281955))))
{
goto IL_3b20;
}
}
{
goto IL_3a15;
}
IL_3a15:
{
int32_t L_1523 = V_175;
if ((((int32_t)L_1523) == ((int32_t)((int32_t)295562))))
{
goto IL_3a68;
}
}
{
goto IL_3bee;
}
IL_3a23:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1524 = __this->___m_currentSpriteAsset_252;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1525 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1526 = V_171;
NullCheck(L_1525);
int32_t L_1527 = ((L_1525)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1526)))->___valueHashCode_1;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1528;
L_1528 = TMP_SpriteAsset_SearchForSpriteByHashCode_m95F9A3A7C67245EF2C5E16F51F7CD627D005427D(L_1524, L_1527, (bool)1, (&V_173), NULL);
__this->___m_currentSpriteAsset_252 = L_1528;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_currentSpriteAsset_252), (void*)L_1528);
int32_t L_1529 = V_173;
V_177 = (bool)((((int32_t)L_1529) == ((int32_t)(-1)))? 1 : 0);
bool L_1530 = V_177;
if (!L_1530)
{
goto IL_3a5b;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3a5b:
{
int32_t L_1531 = V_173;
__this->___m_spriteIndex_254 = L_1531;
goto IL_3c16;
}
IL_3a68:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1532 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1533 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1533);
int32_t L_1534 = ((L_1533)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1535 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1535);
int32_t L_1536 = ((L_1535)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->___valueLength_4;
float L_1537;
L_1537 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1532, L_1534, L_1536, NULL);
V_173 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1537);
int32_t L_1538 = V_173;
V_178 = (bool)((((int32_t)L_1538) == ((int32_t)((int32_t)-32768)))? 1 : 0);
bool L_1539 = V_178;
if (!L_1539)
{
goto IL_3aad;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3aad:
{
int32_t L_1540 = V_173;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1541 = __this->___m_currentSpriteAsset_252;
NullCheck(L_1541);
List_1_t2F39287A7FAAAD3D4A84C8C4EF6D748502C1DACC* L_1542;
L_1542 = TMP_SpriteAsset_get_spriteCharacterTable_m2F591ADE7DC8DE042B8A32AF84AC169C19CB9D2A(L_1541, NULL);
NullCheck(L_1542);
int32_t L_1543;
L_1543 = List_1_get_Count_m98B2ED14D5EBBED4D53F00F785FC2B5FE87FE3F5_inline(L_1542, List_1_get_Count_m98B2ED14D5EBBED4D53F00F785FC2B5FE87FE3F5_RuntimeMethod_var);
V_179 = (bool)((((int32_t)L_1540) > ((int32_t)((int32_t)il2cpp_codegen_subtract(L_1543, 1))))? 1 : 0);
bool L_1544 = V_179;
if (!L_1544)
{
goto IL_3ad1;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3ad1:
{
int32_t L_1545 = V_173;
__this->___m_spriteIndex_254 = L_1545;
goto IL_3c16;
}
IL_3ade:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1546 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1547 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1548 = V_171;
NullCheck(L_1547);
int32_t L_1549 = ((L_1547)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1548)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1550 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1551 = V_171;
NullCheck(L_1550);
int32_t L_1552 = ((L_1550)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1551)))->___valueLength_4;
float L_1553;
L_1553 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1546, L_1549, L_1552, NULL);
__this->___m_tintSprite_66 = (bool)((((int32_t)((((float)L_1553) == ((float)(0.0f)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_3c16;
}
IL_3b20:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1554 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1555 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1556 = V_171;
NullCheck(L_1555);
int32_t L_1557 = ((L_1555)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1556)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1558 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1559 = V_171;
NullCheck(L_1558);
int32_t L_1560 = ((L_1558)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1559)))->___valueLength_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1561;
L_1561 = TMP_Text_HexCharsToColor_mAB24870B76767E96CBCE96AF48D78744FBAEA2E7(__this, L_1554, L_1557, L_1560, NULL);
__this->___m_spriteColor_67 = L_1561;
goto IL_3c16;
}
IL_3b58:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1562 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1563 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1564 = V_171;
NullCheck(L_1563);
int32_t L_1565 = ((L_1563)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1564)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1566 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1567 = V_171;
NullCheck(L_1566);
int32_t L_1568 = ((L_1566)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1567)))->___valueLength_4;
int32_t L_1569;
L_1569 = TMP_Text_GetAttributeParameters_mA3AE2EA072B750B11D4FA5FB08F3026062B3CB5E(__this, L_1562, L_1565, L_1568, (&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_attributeParameterValues_191), NULL);
V_174 = L_1569;
int32_t L_1570 = V_174;
V_180 = (bool)((((int32_t)((((int32_t)L_1570) == ((int32_t)3))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_1571 = V_180;
if (!L_1571)
{
goto IL_3ba2;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3ba2:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_1572 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_attributeParameterValues_191;
NullCheck(L_1572);
int32_t L_1573 = 0;
float L_1574 = (L_1572)->GetAt(static_cast<il2cpp_array_size_t>(L_1573));
__this->___m_spriteIndex_254 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1574);
bool L_1575 = __this->___m_isParsingText_196;
V_181 = L_1575;
bool L_1576 = V_181;
if (!L_1576)
{
goto IL_3bec;
}
}
{
TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4* L_1577;
L_1577 = TMP_Text_get_spriteAnimator_m3DB8B24C845D9BE3C1E117F39DE45F202D7F9321(__this, NULL);
int32_t L_1578 = __this->___m_characterCount_209;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1579 = __this->___m_currentSpriteAsset_252;
int32_t L_1580 = __this->___m_spriteIndex_254;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_1581 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_attributeParameterValues_191;
NullCheck(L_1581);
int32_t L_1582 = 1;
float L_1583 = (L_1581)->GetAt(static_cast<il2cpp_array_size_t>(L_1582));
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_1584 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_attributeParameterValues_191;
NullCheck(L_1584);
int32_t L_1585 = 2;
float L_1586 = (L_1584)->GetAt(static_cast<il2cpp_array_size_t>(L_1585));
NullCheck(L_1577);
TMP_SpriteAnimator_DoSpriteAnimation_m02F535CA423940D067CABC1F1FE45745409510FC(L_1577, L_1578, L_1579, L_1580, il2cpp_codegen_cast_double_to_int<int32_t>(L_1583), il2cpp_codegen_cast_double_to_int<int32_t>(L_1586), NULL);
}
IL_3bec:
{
goto IL_3c16;
}
IL_3bee:
{
int32_t L_1587 = V_172;
if ((((int32_t)L_1587) == ((int32_t)((int32_t)2246877))))
{
goto IL_3c05;
}
}
{
int32_t L_1588 = V_172;
G_B1026_0 = ((((int32_t)((((int32_t)L_1588) == ((int32_t)((int32_t)1619421)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_3c06;
}
IL_3c05:
{
G_B1026_0 = 0;
}
IL_3c06:
{
V_182 = (bool)G_B1026_0;
bool L_1589 = V_182;
if (!L_1589)
{
goto IL_3c14;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3c14:
{
goto IL_3c16;
}
IL_3c16:
{
int32_t L_1590 = V_171;
V_171 = ((int32_t)il2cpp_codegen_add(L_1590, 1));
}
IL_3c1d:
{
int32_t L_1591 = V_171;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1592 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1592);
if ((((int32_t)L_1591) >= ((int32_t)((int32_t)(((RuntimeArray*)L_1592)->max_length)))))
{
goto IL_3c3e;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1593 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1594 = V_171;
NullCheck(L_1593);
int32_t L_1595 = ((L_1593)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1594)))->___nameHashCode_0;
G_B1033_0 = ((!(((uint32_t)L_1595) <= ((uint32_t)0)))? 1 : 0);
goto IL_3c3f;
}
IL_3c3e:
{
G_B1033_0 = 0;
}
IL_3c3f:
{
V_183 = (bool)G_B1033_0;
bool L_1596 = V_183;
if (L_1596)
{
goto IL_395d;
}
}
{
int32_t L_1597 = __this->___m_spriteIndex_254;
V_184 = (bool)((((int32_t)L_1597) == ((int32_t)(-1)))? 1 : 0);
bool L_1598 = V_184;
if (!L_1598)
{
goto IL_3c5f;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3c5f:
{
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1599 = __this->___m_currentSpriteAsset_252;
NullCheck(L_1599);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1600 = ((TMP_Asset_t135A047D4F5CBBA9CD356B762B55AB164122B969*)L_1599)->___material_6;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39* L_1601 = __this->___m_currentSpriteAsset_252;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* L_1602 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceIndexLookup_48;
int32_t L_1603;
L_1603 = MaterialReference_AddMaterialReference_m10CD58333F42D11909FB7D396C51A4AE6707FE55(L_1600, L_1601, (&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47), L_1602, NULL);
__this->___m_currentMaterialIndex_50 = L_1603;
__this->___m_textElementType_247 = 1;
V_29 = (bool)1;
goto IL_46ef;
}
IL_3c94:
{
int32_t L_1604 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_1604|8));
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_1605 = (&__this->___m_fontStyleStack_92);
uint8_t L_1606;
L_1606 = TMP_FontStyleStack_Add_m86B65684B67DF2CA334037A30E9876C0F02D454A(L_1605, 8, NULL);
V_29 = (bool)1;
goto IL_46ef;
}
IL_3cb7:
{
int32_t L_1607 = __this->___m_fontStyle_90;
V_185 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_1607&8))) == ((int32_t)8))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_1608 = V_185;
if (!L_1608)
{
goto IL_3cf1;
}
}
{
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_1609 = (&__this->___m_fontStyleStack_92);
uint8_t L_1610;
L_1610 = TMP_FontStyleStack_Remove_mF44A8D00AA01FCBED6B6FD0A43A8D77990D2A26E(L_1609, 8, NULL);
V_186 = (bool)((((int32_t)L_1610) == ((int32_t)0))? 1 : 0);
bool L_1611 = V_186;
if (!L_1611)
{
goto IL_3cf0;
}
}
{
int32_t L_1612 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_1612&((int32_t)-9)));
}
IL_3cf0:
{
}
IL_3cf1:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_3cf9:
{
int32_t L_1613 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_1613|((int32_t)16)));
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_1614 = (&__this->___m_fontStyleStack_92);
uint8_t L_1615;
L_1615 = TMP_FontStyleStack_Add_m86B65684B67DF2CA334037A30E9876C0F02D454A(L_1614, ((int32_t)16), NULL);
V_29 = (bool)1;
goto IL_46ef;
}
IL_3d1e:
{
int32_t L_1616 = __this->___m_fontStyle_90;
V_187 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_1616&((int32_t)16)))) == ((int32_t)((int32_t)16)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_1617 = V_187;
if (!L_1617)
{
goto IL_3d5b;
}
}
{
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_1618 = (&__this->___m_fontStyleStack_92);
uint8_t L_1619;
L_1619 = TMP_FontStyleStack_Remove_mF44A8D00AA01FCBED6B6FD0A43A8D77990D2A26E(L_1618, ((int32_t)16), NULL);
V_188 = (bool)((((int32_t)L_1619) == ((int32_t)0))? 1 : 0);
bool L_1620 = V_188;
if (!L_1620)
{
goto IL_3d5a;
}
}
{
int32_t L_1621 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_1621&((int32_t)-17)));
}
IL_3d5a:
{
}
IL_3d5b:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_3d63:
{
int32_t L_1622 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_1622|((int32_t)32)));
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_1623 = (&__this->___m_fontStyleStack_92);
uint8_t L_1624;
L_1624 = TMP_FontStyleStack_Add_m86B65684B67DF2CA334037A30E9876C0F02D454A(L_1623, ((int32_t)32), NULL);
V_29 = (bool)1;
goto IL_46ef;
}
IL_3d88:
{
int32_t L_1625 = __this->___m_fontStyle_90;
V_189 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_1625&((int32_t)32)))) == ((int32_t)((int32_t)32)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_1626 = V_189;
if (!L_1626)
{
goto IL_3dc5;
}
}
{
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC* L_1627 = (&__this->___m_fontStyleStack_92);
uint8_t L_1628;
L_1628 = TMP_FontStyleStack_Remove_mF44A8D00AA01FCBED6B6FD0A43A8D77990D2A26E(L_1627, ((int32_t)32), NULL);
V_190 = (bool)((((int32_t)L_1628) == ((int32_t)0))? 1 : 0);
bool L_1629 = V_190;
if (!L_1629)
{
goto IL_3dc4;
}
}
{
int32_t L_1630 = __this->___m_FontStyleInternal_91;
__this->___m_FontStyleInternal_91 = ((int32_t)((int32_t)L_1630&((int32_t)-33)));
}
IL_3dc4:
{
}
IL_3dc5:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_3dcd:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1631 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1631);
int32_t L_1632 = ((L_1631)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueType_2;
V_192 = L_1632;
int32_t L_1633 = V_192;
V_191 = L_1633;
int32_t L_1634 = V_191;
if (!L_1634)
{
goto IL_3f02;
}
}
{
goto IL_3dec;
}
IL_3dec:
{
int32_t L_1635 = V_191;
if ((((int32_t)L_1635) == ((int32_t)1)))
{
goto IL_3df6;
}
}
{
goto IL_4195;
}
IL_3df6:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1636 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1637 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1637);
int32_t L_1638 = ((L_1637)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1639 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1639);
int32_t L_1640 = ((L_1639)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1641;
L_1641 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1636, L_1638, L_1640, NULL);
V_40 = L_1641;
float L_1642 = V_40;
V_193 = (bool)((((float)L_1642) == ((float)(-32768.0f)))? 1 : 0);
bool L_1643 = V_193;
if (!L_1643)
{
goto IL_3e3a;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3e3a:
{
int32_t L_1644 = V_4;
V_195 = L_1644;
int32_t L_1645 = V_195;
V_194 = L_1645;
int32_t L_1646 = V_194;
switch (L_1646)
{
case 0:
{
goto IL_3e57;
}
case 1:
{
goto IL_3e76;
}
case 2:
{
goto IL_3e9c;
}
}
}
{
goto IL_3ece;
}
IL_3e57:
{
float L_1647 = V_40;
bool L_1648 = __this->___m_isOrthographic_129;
if (L_1648)
{
G_B1065_0 = L_1647;
G_B1065_1 = __this;
goto IL_3e69;
}
G_B1064_0 = L_1647;
G_B1064_1 = __this;
}
{
G_B1066_0 = (0.100000001f);
G_B1066_1 = G_B1064_0;
G_B1066_2 = G_B1064_1;
goto IL_3e6e;
}
IL_3e69:
{
G_B1066_0 = (1.0f);
G_B1066_1 = G_B1065_0;
G_B1066_2 = G_B1065_1;
}
IL_3e6e:
{
NullCheck(G_B1066_2);
G_B1066_2->___m_marginLeft_149 = ((float)il2cpp_codegen_multiply(G_B1066_1, G_B1066_0));
goto IL_3ece;
}
IL_3e76:
{
float L_1649 = V_40;
bool L_1650 = __this->___m_isOrthographic_129;
if (L_1650)
{
G_B1069_0 = L_1649;
G_B1069_1 = __this;
goto IL_3e88;
}
G_B1068_0 = L_1649;
G_B1068_1 = __this;
}
{
G_B1070_0 = (0.100000001f);
G_B1070_1 = G_B1068_0;
G_B1070_2 = G_B1068_1;
goto IL_3e8d;
}
IL_3e88:
{
G_B1070_0 = (1.0f);
G_B1070_1 = G_B1069_0;
G_B1070_2 = G_B1069_1;
}
IL_3e8d:
{
float L_1651 = __this->___m_currentFontSize_76;
NullCheck(G_B1070_2);
G_B1070_2->___m_marginLeft_149 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(G_B1070_1, G_B1070_0)), L_1651));
goto IL_3ece;
}
IL_3e9c:
{
float L_1652 = __this->___m_marginWidth_151;
float L_1653 = __this->___m_width_153;
if ((!(((float)L_1653) == ((float)(-1.0f)))))
{
G_B1073_0 = L_1652;
G_B1073_1 = __this;
goto IL_3eb7;
}
G_B1072_0 = L_1652;
G_B1072_1 = __this;
}
{
G_B1074_0 = (0.0f);
G_B1074_1 = G_B1072_0;
G_B1074_2 = G_B1072_1;
goto IL_3ebd;
}
IL_3eb7:
{
float L_1654 = __this->___m_width_153;
G_B1074_0 = L_1654;
G_B1074_1 = G_B1073_0;
G_B1074_2 = G_B1073_1;
}
IL_3ebd:
{
float L_1655 = V_40;
NullCheck(G_B1074_2);
G_B1074_2->___m_marginLeft_149 = ((float)(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(G_B1074_1, G_B1074_0)), L_1655))/(100.0f)));
goto IL_3ece;
}
IL_3ece:
{
float L_1656 = __this->___m_marginLeft_149;
if ((((float)L_1656) >= ((float)(0.0f))))
{
G_B1077_0 = __this;
goto IL_3ee3;
}
G_B1076_0 = __this;
}
{
G_B1078_0 = (0.0f);
G_B1078_1 = G_B1076_0;
goto IL_3ee9;
}
IL_3ee3:
{
float L_1657 = __this->___m_marginLeft_149;
G_B1078_0 = L_1657;
G_B1078_1 = G_B1077_0;
}
IL_3ee9:
{
NullCheck(G_B1078_1);
G_B1078_1->___m_marginLeft_149 = G_B1078_0;
float L_1658 = __this->___m_marginLeft_149;
__this->___m_marginRight_150 = L_1658;
V_29 = (bool)1;
goto IL_46ef;
}
IL_3f02:
{
V_196 = 1;
goto IL_4162;
}
IL_3f0a:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1659 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1660 = V_196;
NullCheck(L_1659);
int32_t L_1661 = ((L_1659)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1660)))->___nameHashCode_0;
V_197 = L_1661;
int32_t L_1662 = V_197;
V_199 = L_1662;
int32_t L_1663 = V_199;
V_198 = L_1663;
int32_t L_1664 = V_198;
if ((((int32_t)L_1664) == ((int32_t)((int32_t)42823))))
{
goto IL_3f42;
}
}
{
goto IL_3f31;
}
IL_3f31:
{
int32_t L_1665 = V_198;
if ((((int32_t)L_1665) == ((int32_t)((int32_t)315620))))
{
goto IL_4050;
}
}
{
goto IL_415b;
}
IL_3f42:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1666 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1667 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1668 = V_196;
NullCheck(L_1667);
int32_t L_1669 = ((L_1667)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1668)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1670 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1671 = V_196;
NullCheck(L_1670);
int32_t L_1672 = ((L_1670)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1671)))->___valueLength_4;
float L_1673;
L_1673 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1666, L_1669, L_1672, NULL);
V_40 = L_1673;
float L_1674 = V_40;
V_200 = (bool)((((float)L_1674) == ((float)(-32768.0f)))? 1 : 0);
bool L_1675 = V_200;
if (!L_1675)
{
goto IL_3f88;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_3f88:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1676 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1677 = V_196;
NullCheck(L_1676);
int32_t L_1678 = ((L_1676)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1677)))->___unitType_5;
V_202 = L_1678;
int32_t L_1679 = V_202;
V_201 = L_1679;
int32_t L_1680 = V_201;
switch (L_1680)
{
case 0:
{
goto IL_3fb4;
}
case 1:
{
goto IL_3fd3;
}
case 2:
{
goto IL_3ff9;
}
}
}
{
goto IL_402b;
}
IL_3fb4:
{
float L_1681 = V_40;
bool L_1682 = __this->___m_isOrthographic_129;
if (L_1682)
{
G_B1090_0 = L_1681;
G_B1090_1 = __this;
goto IL_3fc6;
}
G_B1089_0 = L_1681;
G_B1089_1 = __this;
}
{
G_B1091_0 = (0.100000001f);
G_B1091_1 = G_B1089_0;
G_B1091_2 = G_B1089_1;
goto IL_3fcb;
}
IL_3fc6:
{
G_B1091_0 = (1.0f);
G_B1091_1 = G_B1090_0;
G_B1091_2 = G_B1090_1;
}
IL_3fcb:
{
NullCheck(G_B1091_2);
G_B1091_2->___m_marginLeft_149 = ((float)il2cpp_codegen_multiply(G_B1091_1, G_B1091_0));
goto IL_402b;
}
IL_3fd3:
{
float L_1683 = V_40;
bool L_1684 = __this->___m_isOrthographic_129;
if (L_1684)
{
G_B1094_0 = L_1683;
G_B1094_1 = __this;
goto IL_3fe5;
}
G_B1093_0 = L_1683;
G_B1093_1 = __this;
}
{
G_B1095_0 = (0.100000001f);
G_B1095_1 = G_B1093_0;
G_B1095_2 = G_B1093_1;
goto IL_3fea;
}
IL_3fe5:
{
G_B1095_0 = (1.0f);
G_B1095_1 = G_B1094_0;
G_B1095_2 = G_B1094_1;
}
IL_3fea:
{
float L_1685 = __this->___m_currentFontSize_76;
NullCheck(G_B1095_2);
G_B1095_2->___m_marginLeft_149 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(G_B1095_1, G_B1095_0)), L_1685));
goto IL_402b;
}
IL_3ff9:
{
float L_1686 = __this->___m_marginWidth_151;
float L_1687 = __this->___m_width_153;
if ((!(((float)L_1687) == ((float)(-1.0f)))))
{
G_B1098_0 = L_1686;
G_B1098_1 = __this;
goto IL_4014;
}
G_B1097_0 = L_1686;
G_B1097_1 = __this;
}
{
G_B1099_0 = (0.0f);
G_B1099_1 = G_B1097_0;
G_B1099_2 = G_B1097_1;
goto IL_401a;
}
IL_4014:
{
float L_1688 = __this->___m_width_153;
G_B1099_0 = L_1688;
G_B1099_1 = G_B1098_0;
G_B1099_2 = G_B1098_1;
}
IL_401a:
{
float L_1689 = V_40;
NullCheck(G_B1099_2);
G_B1099_2->___m_marginLeft_149 = ((float)(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(G_B1099_1, G_B1099_0)), L_1689))/(100.0f)));
goto IL_402b;
}
IL_402b:
{
float L_1690 = __this->___m_marginLeft_149;
if ((((float)L_1690) >= ((float)(0.0f))))
{
G_B1102_0 = __this;
goto IL_4040;
}
G_B1101_0 = __this;
}
{
G_B1103_0 = (0.0f);
G_B1103_1 = G_B1101_0;
goto IL_4046;
}
IL_4040:
{
float L_1691 = __this->___m_marginLeft_149;
G_B1103_0 = L_1691;
G_B1103_1 = G_B1102_0;
}
IL_4046:
{
NullCheck(G_B1103_1);
G_B1103_1->___m_marginLeft_149 = G_B1103_0;
goto IL_415b;
}
IL_4050:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1692 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1693 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1694 = V_196;
NullCheck(L_1693);
int32_t L_1695 = ((L_1693)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1694)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1696 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1697 = V_196;
NullCheck(L_1696);
int32_t L_1698 = ((L_1696)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1697)))->___valueLength_4;
float L_1699;
L_1699 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1692, L_1695, L_1698, NULL);
V_40 = L_1699;
float L_1700 = V_40;
V_203 = (bool)((((float)L_1700) == ((float)(-32768.0f)))? 1 : 0);
bool L_1701 = V_203;
if (!L_1701)
{
goto IL_4096;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_4096:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1702 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1703 = V_196;
NullCheck(L_1702);
int32_t L_1704 = ((L_1702)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1703)))->___unitType_5;
V_205 = L_1704;
int32_t L_1705 = V_205;
V_204 = L_1705;
int32_t L_1706 = V_204;
switch (L_1706)
{
case 0:
{
goto IL_40c2;
}
case 1:
{
goto IL_40e1;
}
case 2:
{
goto IL_4107;
}
}
}
{
goto IL_4139;
}
IL_40c2:
{
float L_1707 = V_40;
bool L_1708 = __this->___m_isOrthographic_129;
if (L_1708)
{
G_B1110_0 = L_1707;
G_B1110_1 = __this;
goto IL_40d4;
}
G_B1109_0 = L_1707;
G_B1109_1 = __this;
}
{
G_B1111_0 = (0.100000001f);
G_B1111_1 = G_B1109_0;
G_B1111_2 = G_B1109_1;
goto IL_40d9;
}
IL_40d4:
{
G_B1111_0 = (1.0f);
G_B1111_1 = G_B1110_0;
G_B1111_2 = G_B1110_1;
}
IL_40d9:
{
NullCheck(G_B1111_2);
G_B1111_2->___m_marginRight_150 = ((float)il2cpp_codegen_multiply(G_B1111_1, G_B1111_0));
goto IL_4139;
}
IL_40e1:
{
float L_1709 = V_40;
bool L_1710 = __this->___m_isOrthographic_129;
if (L_1710)
{
G_B1114_0 = L_1709;
G_B1114_1 = __this;
goto IL_40f3;
}
G_B1113_0 = L_1709;
G_B1113_1 = __this;
}
{
G_B1115_0 = (0.100000001f);
G_B1115_1 = G_B1113_0;
G_B1115_2 = G_B1113_1;
goto IL_40f8;
}
IL_40f3:
{
G_B1115_0 = (1.0f);
G_B1115_1 = G_B1114_0;
G_B1115_2 = G_B1114_1;
}
IL_40f8:
{
float L_1711 = __this->___m_currentFontSize_76;
NullCheck(G_B1115_2);
G_B1115_2->___m_marginRight_150 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(G_B1115_1, G_B1115_0)), L_1711));
goto IL_4139;
}
IL_4107:
{
float L_1712 = __this->___m_marginWidth_151;
float L_1713 = __this->___m_width_153;
if ((!(((float)L_1713) == ((float)(-1.0f)))))
{
G_B1118_0 = L_1712;
G_B1118_1 = __this;
goto IL_4122;
}
G_B1117_0 = L_1712;
G_B1117_1 = __this;
}
{
G_B1119_0 = (0.0f);
G_B1119_1 = G_B1117_0;
G_B1119_2 = G_B1117_1;
goto IL_4128;
}
IL_4122:
{
float L_1714 = __this->___m_width_153;
G_B1119_0 = L_1714;
G_B1119_1 = G_B1118_0;
G_B1119_2 = G_B1118_1;
}
IL_4128:
{
float L_1715 = V_40;
NullCheck(G_B1119_2);
G_B1119_2->___m_marginRight_150 = ((float)(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(G_B1119_1, G_B1119_0)), L_1715))/(100.0f)));
goto IL_4139;
}
IL_4139:
{
float L_1716 = __this->___m_marginRight_150;
if ((((float)L_1716) >= ((float)(0.0f))))
{
G_B1122_0 = __this;
goto IL_414e;
}
G_B1121_0 = __this;
}
{
G_B1123_0 = (0.0f);
G_B1123_1 = G_B1121_0;
goto IL_4154;
}
IL_414e:
{
float L_1717 = __this->___m_marginRight_150;
G_B1123_0 = L_1717;
G_B1123_1 = G_B1122_0;
}
IL_4154:
{
NullCheck(G_B1123_1);
G_B1123_1->___m_marginRight_150 = G_B1123_0;
goto IL_415b;
}
IL_415b:
{
int32_t L_1718 = V_196;
V_196 = ((int32_t)il2cpp_codegen_add(L_1718, 1));
}
IL_4162:
{
int32_t L_1719 = V_196;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1720 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1720);
if ((((int32_t)L_1719) >= ((int32_t)((int32_t)(((RuntimeArray*)L_1720)->max_length)))))
{
goto IL_4183;
}
}
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1721 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
int32_t L_1722 = V_196;
NullCheck(L_1721);
int32_t L_1723 = ((L_1721)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1722)))->___nameHashCode_0;
G_B1128_0 = ((!(((uint32_t)L_1723) <= ((uint32_t)0)))? 1 : 0);
goto IL_4184;
}
IL_4183:
{
G_B1128_0 = 0;
}
IL_4184:
{
V_206 = (bool)G_B1128_0;
bool L_1724 = V_206;
if (L_1724)
{
goto IL_3f0a;
}
}
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_4195:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_419d:
{
__this->___m_marginLeft_149 = (0.0f);
__this->___m_marginRight_150 = (0.0f);
V_29 = (bool)1;
goto IL_46ef;
}
IL_41bb:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1725 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1726 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1726);
int32_t L_1727 = ((L_1726)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1728 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1728);
int32_t L_1729 = ((L_1728)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1730;
L_1730 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1725, L_1727, L_1729, NULL);
V_40 = L_1730;
float L_1731 = V_40;
V_207 = (bool)((((float)L_1731) == ((float)(-32768.0f)))? 1 : 0);
bool L_1732 = V_207;
if (!L_1732)
{
goto IL_41ff;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_41ff:
{
int32_t L_1733 = V_4;
V_209 = L_1733;
int32_t L_1734 = V_209;
V_208 = L_1734;
int32_t L_1735 = V_208;
switch (L_1735)
{
case 0:
{
goto IL_421c;
}
case 1:
{
goto IL_423b;
}
case 2:
{
goto IL_4261;
}
}
}
{
goto IL_4293;
}
IL_421c:
{
float L_1736 = V_40;
bool L_1737 = __this->___m_isOrthographic_129;
if (L_1737)
{
G_B1138_0 = L_1736;
G_B1138_1 = __this;
goto IL_422e;
}
G_B1137_0 = L_1736;
G_B1137_1 = __this;
}
{
G_B1139_0 = (0.100000001f);
G_B1139_1 = G_B1137_0;
G_B1139_2 = G_B1137_1;
goto IL_4233;
}
IL_422e:
{
G_B1139_0 = (1.0f);
G_B1139_1 = G_B1138_0;
G_B1139_2 = G_B1138_1;
}
IL_4233:
{
NullCheck(G_B1139_2);
G_B1139_2->___m_marginLeft_149 = ((float)il2cpp_codegen_multiply(G_B1139_1, G_B1139_0));
goto IL_4293;
}
IL_423b:
{
float L_1738 = V_40;
bool L_1739 = __this->___m_isOrthographic_129;
if (L_1739)
{
G_B1142_0 = L_1738;
G_B1142_1 = __this;
goto IL_424d;
}
G_B1141_0 = L_1738;
G_B1141_1 = __this;
}
{
G_B1143_0 = (0.100000001f);
G_B1143_1 = G_B1141_0;
G_B1143_2 = G_B1141_1;
goto IL_4252;
}
IL_424d:
{
G_B1143_0 = (1.0f);
G_B1143_1 = G_B1142_0;
G_B1143_2 = G_B1142_1;
}
IL_4252:
{
float L_1740 = __this->___m_currentFontSize_76;
NullCheck(G_B1143_2);
G_B1143_2->___m_marginLeft_149 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(G_B1143_1, G_B1143_0)), L_1740));
goto IL_4293;
}
IL_4261:
{
float L_1741 = __this->___m_marginWidth_151;
float L_1742 = __this->___m_width_153;
if ((!(((float)L_1742) == ((float)(-1.0f)))))
{
G_B1146_0 = L_1741;
G_B1146_1 = __this;
goto IL_427c;
}
G_B1145_0 = L_1741;
G_B1145_1 = __this;
}
{
G_B1147_0 = (0.0f);
G_B1147_1 = G_B1145_0;
G_B1147_2 = G_B1145_1;
goto IL_4282;
}
IL_427c:
{
float L_1743 = __this->___m_width_153;
G_B1147_0 = L_1743;
G_B1147_1 = G_B1146_0;
G_B1147_2 = G_B1146_1;
}
IL_4282:
{
float L_1744 = V_40;
NullCheck(G_B1147_2);
G_B1147_2->___m_marginLeft_149 = ((float)(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(G_B1147_1, G_B1147_0)), L_1744))/(100.0f)));
goto IL_4293;
}
IL_4293:
{
float L_1745 = __this->___m_marginLeft_149;
if ((((float)L_1745) >= ((float)(0.0f))))
{
G_B1150_0 = __this;
goto IL_42a8;
}
G_B1149_0 = __this;
}
{
G_B1151_0 = (0.0f);
G_B1151_1 = G_B1149_0;
goto IL_42ae;
}
IL_42a8:
{
float L_1746 = __this->___m_marginLeft_149;
G_B1151_0 = L_1746;
G_B1151_1 = G_B1150_0;
}
IL_42ae:
{
NullCheck(G_B1151_1);
G_B1151_1->___m_marginLeft_149 = G_B1151_0;
V_29 = (bool)1;
goto IL_46ef;
}
IL_42bb:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1747 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1748 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1748);
int32_t L_1749 = ((L_1748)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1750 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1750);
int32_t L_1751 = ((L_1750)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1752;
L_1752 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1747, L_1749, L_1751, NULL);
V_40 = L_1752;
float L_1753 = V_40;
V_210 = (bool)((((float)L_1753) == ((float)(-32768.0f)))? 1 : 0);
bool L_1754 = V_210;
if (!L_1754)
{
goto IL_42ff;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_42ff:
{
int32_t L_1755 = V_4;
V_212 = L_1755;
int32_t L_1756 = V_212;
V_211 = L_1756;
int32_t L_1757 = V_211;
switch (L_1757)
{
case 0:
{
goto IL_431c;
}
case 1:
{
goto IL_433b;
}
case 2:
{
goto IL_4361;
}
}
}
{
goto IL_4393;
}
IL_431c:
{
float L_1758 = V_40;
bool L_1759 = __this->___m_isOrthographic_129;
if (L_1759)
{
G_B1158_0 = L_1758;
G_B1158_1 = __this;
goto IL_432e;
}
G_B1157_0 = L_1758;
G_B1157_1 = __this;
}
{
G_B1159_0 = (0.100000001f);
G_B1159_1 = G_B1157_0;
G_B1159_2 = G_B1157_1;
goto IL_4333;
}
IL_432e:
{
G_B1159_0 = (1.0f);
G_B1159_1 = G_B1158_0;
G_B1159_2 = G_B1158_1;
}
IL_4333:
{
NullCheck(G_B1159_2);
G_B1159_2->___m_marginRight_150 = ((float)il2cpp_codegen_multiply(G_B1159_1, G_B1159_0));
goto IL_4393;
}
IL_433b:
{
float L_1760 = V_40;
bool L_1761 = __this->___m_isOrthographic_129;
if (L_1761)
{
G_B1162_0 = L_1760;
G_B1162_1 = __this;
goto IL_434d;
}
G_B1161_0 = L_1760;
G_B1161_1 = __this;
}
{
G_B1163_0 = (0.100000001f);
G_B1163_1 = G_B1161_0;
G_B1163_2 = G_B1161_1;
goto IL_4352;
}
IL_434d:
{
G_B1163_0 = (1.0f);
G_B1163_1 = G_B1162_0;
G_B1163_2 = G_B1162_1;
}
IL_4352:
{
float L_1762 = __this->___m_currentFontSize_76;
NullCheck(G_B1163_2);
G_B1163_2->___m_marginRight_150 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(G_B1163_1, G_B1163_0)), L_1762));
goto IL_4393;
}
IL_4361:
{
float L_1763 = __this->___m_marginWidth_151;
float L_1764 = __this->___m_width_153;
if ((!(((float)L_1764) == ((float)(-1.0f)))))
{
G_B1166_0 = L_1763;
G_B1166_1 = __this;
goto IL_437c;
}
G_B1165_0 = L_1763;
G_B1165_1 = __this;
}
{
G_B1167_0 = (0.0f);
G_B1167_1 = G_B1165_0;
G_B1167_2 = G_B1165_1;
goto IL_4382;
}
IL_437c:
{
float L_1765 = __this->___m_width_153;
G_B1167_0 = L_1765;
G_B1167_1 = G_B1166_0;
G_B1167_2 = G_B1166_1;
}
IL_4382:
{
float L_1766 = V_40;
NullCheck(G_B1167_2);
G_B1167_2->___m_marginRight_150 = ((float)(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(G_B1167_1, G_B1167_0)), L_1766))/(100.0f)));
goto IL_4393;
}
IL_4393:
{
float L_1767 = __this->___m_marginRight_150;
if ((((float)L_1767) >= ((float)(0.0f))))
{
G_B1170_0 = __this;
goto IL_43a8;
}
G_B1169_0 = __this;
}
{
G_B1171_0 = (0.0f);
G_B1171_1 = G_B1169_0;
goto IL_43ae;
}
IL_43a8:
{
float L_1768 = __this->___m_marginRight_150;
G_B1171_0 = L_1768;
G_B1171_1 = G_B1170_0;
}
IL_43ae:
{
NullCheck(G_B1171_1);
G_B1171_1->___m_marginRight_150 = G_B1171_0;
V_29 = (bool)1;
goto IL_46ef;
}
IL_43bb:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1769 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1770 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1770);
int32_t L_1771 = ((L_1770)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1772 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1772);
int32_t L_1773 = ((L_1772)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1774;
L_1774 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1769, L_1771, L_1773, NULL);
V_40 = L_1774;
float L_1775 = V_40;
V_213 = (bool)((((float)L_1775) == ((float)(-32768.0f)))? 1 : 0);
bool L_1776 = V_213;
if (!L_1776)
{
goto IL_43ff;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_43ff:
{
int32_t L_1777 = V_4;
V_215 = L_1777;
int32_t L_1778 = V_215;
V_214 = L_1778;
int32_t L_1779 = V_214;
switch (L_1779)
{
case 0:
{
goto IL_441f;
}
case 1:
{
goto IL_4441;
}
case 2:
{
goto IL_4467;
}
}
}
{
goto IL_44d7;
}
IL_441f:
{
float L_1780 = V_40;
bool L_1781 = __this->___m_isOrthographic_129;
if (L_1781)
{
G_B1178_0 = L_1780;
G_B1178_1 = __this;
goto IL_4431;
}
G_B1177_0 = L_1780;
G_B1177_1 = __this;
}
{
G_B1179_0 = (0.100000001f);
G_B1179_1 = G_B1177_0;
G_B1179_2 = G_B1177_1;
goto IL_4436;
}
IL_4431:
{
G_B1179_0 = (1.0f);
G_B1179_1 = G_B1178_0;
G_B1179_2 = G_B1178_1;
}
IL_4436:
{
NullCheck(G_B1179_2);
G_B1179_2->___m_lineHeight_106 = ((float)il2cpp_codegen_multiply(G_B1179_1, G_B1179_0));
goto IL_44d7;
}
IL_4441:
{
float L_1782 = V_40;
bool L_1783 = __this->___m_isOrthographic_129;
if (L_1783)
{
G_B1182_0 = L_1782;
G_B1182_1 = __this;
goto IL_4453;
}
G_B1181_0 = L_1782;
G_B1181_1 = __this;
}
{
G_B1183_0 = (0.100000001f);
G_B1183_1 = G_B1181_0;
G_B1183_2 = G_B1181_1;
goto IL_4458;
}
IL_4453:
{
G_B1183_0 = (1.0f);
G_B1183_1 = G_B1182_0;
G_B1183_2 = G_B1182_1;
}
IL_4458:
{
float L_1784 = __this->___m_currentFontSize_76;
NullCheck(G_B1183_2);
G_B1183_2->___m_lineHeight_106 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(G_B1183_1, G_B1183_0)), L_1784));
goto IL_44d7;
}
IL_4467:
{
float L_1785 = __this->___m_currentFontSize_76;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1786 = __this->___m_currentFontAsset_43;
NullCheck(L_1786);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_1787;
L_1787 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_1786, NULL);
V_79 = L_1787;
int32_t L_1788;
L_1788 = FaceInfo_get_pointSize_m7EF7429A4725AB715931A220F6BB498C3D6BF7CB((&V_79), NULL);
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1789 = __this->___m_currentFontAsset_43;
NullCheck(L_1789);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_1790;
L_1790 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_1789, NULL);
V_79 = L_1790;
float L_1791;
L_1791 = FaceInfo_get_scale_mC475A572AD4956B47D8B9F8D90DC69BBBB102FCD((&V_79), NULL);
bool L_1792 = __this->___m_isOrthographic_129;
if (L_1792)
{
G_B1186_0 = ((float)il2cpp_codegen_multiply(((float)(L_1785/((float)L_1788))), L_1791));
goto IL_44a7;
}
G_B1185_0 = ((float)il2cpp_codegen_multiply(((float)(L_1785/((float)L_1788))), L_1791));
}
{
G_B1187_0 = (0.100000001f);
G_B1187_1 = G_B1185_0;
goto IL_44ac;
}
IL_44a7:
{
G_B1187_0 = (1.0f);
G_B1187_1 = G_B1186_0;
}
IL_44ac:
{
V_41 = ((float)il2cpp_codegen_multiply(G_B1187_1, G_B1187_0));
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160* L_1793 = __this->___m_fontAsset_42;
NullCheck(L_1793);
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 L_1794;
L_1794 = TMP_FontAsset_get_faceInfo_m1EB979B4CA53AA9EC5B09C445E28C24A477CBA6F(L_1793, NULL);
V_79 = L_1794;
float L_1795;
L_1795 = FaceInfo_get_lineHeight_m528B4A822181FCECF3D4FF1045DF288E5872AB9D((&V_79), NULL);
float L_1796 = V_40;
float L_1797 = V_41;
__this->___m_lineHeight_106 = ((float)il2cpp_codegen_multiply(((float)(((float)il2cpp_codegen_multiply(L_1795, L_1796))/(100.0f))), L_1797));
goto IL_44d7;
}
IL_44d7:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_44df:
{
__this->___m_lineHeight_106 = (-32767.0f);
V_29 = (bool)1;
goto IL_46ef;
}
IL_44f2:
{
__this->___tag_NoParsing_195 = (bool)1;
V_29 = (bool)1;
goto IL_46ef;
}
IL_4501:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1798 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1798);
int32_t L_1799 = ((L_1798)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueHashCode_1;
V_54 = L_1799;
bool L_1800 = __this->___m_isParsingText_196;
V_216 = L_1800;
bool L_1801 = V_216;
if (!L_1801)
{
goto IL_4556;
}
}
{
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* L_1802 = (&__this->___m_actionStack_242);
int32_t L_1803 = V_54;
TMP_TextProcessingStack_1_Add_m57810DE15A45E439F6648C54DFE507C3E56AA72A(L_1802, L_1803, TMP_TextProcessingStack_1_Add_m57810DE15A45E439F6648C54DFE507C3E56AA72A_RuntimeMethod_var);
String_t* L_1804;
L_1804 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_54), NULL);
int32_t* L_1805 = (&__this->___m_characterCount_209);
String_t* L_1806;
L_1806 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(L_1805, NULL);
String_t* L_1807;
L_1807 = String_Concat_m093934F71A9B351911EE46311674ED463B180006(_stringLiteral10AFEF67C3DFA56498662B12A8647359768C0E9F, L_1804, _stringLiteral2770A633C3121057FB1B03FB7E4E4A3C21E9D5BF, L_1806, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(L_1807, NULL);
}
IL_4556:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_455e:
{
bool L_1808 = __this->___m_isParsingText_196;
V_217 = L_1808;
bool L_1809 = V_217;
if (!L_1809)
{
goto IL_45a6;
}
}
{
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* L_1810 = (&__this->___m_actionStack_242);
int32_t L_1811;
L_1811 = TMP_TextProcessingStack_1_CurrentItem_mF7764B34297632B9645EBCA34E55AECCDE58D367(L_1810, TMP_TextProcessingStack_1_CurrentItem_mF7764B34297632B9645EBCA34E55AECCDE58D367_RuntimeMethod_var);
V_218 = L_1811;
String_t* L_1812;
L_1812 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_218), NULL);
int32_t L_1813 = __this->___m_characterCount_209;
V_218 = ((int32_t)il2cpp_codegen_subtract(L_1813, 1));
String_t* L_1814;
L_1814 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_218), NULL);
String_t* L_1815;
L_1815 = String_Concat_m093934F71A9B351911EE46311674ED463B180006(_stringLiteral10AFEF67C3DFA56498662B12A8647359768C0E9F, L_1812, _stringLiteralE37CF7E47CB9000C903DB247EEF917A2B2043256, L_1814, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(L_1815, NULL);
}
IL_45a6:
{
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C* L_1816 = (&__this->___m_actionStack_242);
int32_t L_1817;
L_1817 = TMP_TextProcessingStack_1_Remove_m0353A4D9760AB41F66944B4BC0975E2EA8282C7A(L_1816, TMP_TextProcessingStack_1_Remove_m0353A4D9760AB41F66944B4BC0975E2EA8282C7A_RuntimeMethod_var);
V_29 = (bool)1;
goto IL_46ef;
}
IL_45ba:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1818 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1819 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1819);
int32_t L_1820 = ((L_1819)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1821 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1821);
int32_t L_1822 = ((L_1821)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1823;
L_1823 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1818, L_1820, L_1822, NULL);
V_40 = L_1823;
float L_1824 = V_40;
V_219 = (bool)((((float)L_1824) == ((float)(-32768.0f)))? 1 : 0);
bool L_1825 = V_219;
if (!L_1825)
{
goto IL_45fe;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_45fe:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1826;
L_1826 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1827;
L_1827 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
float L_1828 = V_40;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1829;
memset((&L_1829), 0, sizeof(L_1829));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_1829), L_1828, (1.0f), (1.0f), NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_1830;
L_1830 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(L_1826, L_1827, L_1829, NULL);
__this->___m_FXMatrix_197 = L_1830;
__this->___m_isFXMatrixSet_198 = (bool)1;
V_29 = (bool)1;
goto IL_46ef;
}
IL_4633:
{
__this->___m_isFXMatrixSet_198 = (bool)0;
V_29 = (bool)1;
goto IL_46ef;
}
IL_4642:
{
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1831 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1832 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1832);
int32_t L_1833 = ((L_1832)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueStartIndex_3;
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_1834 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190;
NullCheck(L_1834);
int32_t L_1835 = ((L_1834)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->___valueLength_4;
float L_1836;
L_1836 = TMP_Text_ConvertToFloat_m8C77647DEB5B96F427BA09AFC56A902F3C812D09(__this, L_1831, L_1833, L_1835, NULL);
V_40 = L_1836;
float L_1837 = V_40;
V_220 = (bool)((((float)L_1837) == ((float)(-32768.0f)))? 1 : 0);
bool L_1838 = V_220;
if (!L_1838)
{
goto IL_4683;
}
}
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_4683:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1839;
L_1839 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
float L_1840 = V_40;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1841;
L_1841 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (0.0f), L_1840, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1842;
L_1842 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_1843;
L_1843 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(L_1839, L_1841, L_1842, NULL);
__this->___m_FXMatrix_197 = L_1843;
__this->___m_isFXMatrixSet_198 = (bool)1;
V_29 = (bool)1;
goto IL_46ef;
}
IL_46b5:
{
__this->___m_isFXMatrixSet_198 = (bool)0;
V_29 = (bool)1;
goto IL_46ef;
}
IL_46c1:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_46c6:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_46cb:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_46d0:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_46d5:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_46da:
{
V_29 = (bool)1;
goto IL_46ef;
}
IL_46df:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_46e4:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_46e9:
{
V_29 = (bool)0;
goto IL_46ef;
}
IL_46ef:
{
bool L_1844 = V_29;
return L_1844;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text__ctor_m9E1AC8762428FEF98646584351299FFF499B823C (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1__ctor_m0B52E0D58591313105377840D688BC44FA89CF1C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1__ctor_m476BD28C0A88B4D608008587806134742627AC0A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1__ctor_m490E53F5247CD44A1D3AA446A2B67FF0C8478F42_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1__ctor_m67EF0A267B30BE09CF07E10EEBC69099A33C3706_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1__ctor_m805D9E903893D54322A7E7C30A076C6976CB67A7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1__ctor_mB80A97ACD232E30BBAC0DF6D6E6F4398CE37E32A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1__ctor_mD9A97602F26B38649E5C756C1F60E3128FD594B7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1__ctor_mF51929F261282F2506327912A76AAA1DB96CC4A4_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_U3C_ctorU3Eb__622_0_m4ADE4CF5BF5DB0476C27555136DB926EB976EEFE_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* G_B2_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B2_1 = NULL;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* G_B1_0 = NULL;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9* G_B1_1 = NULL;
{
__this->___m_isRightToLeft_41 = (bool)0;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
L_0 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_1;
L_1 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_0, NULL);
__this->___m_fontColor32_55 = L_1;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_2;
L_2 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
__this->___m_fontColor_56 = L_2;
il2cpp_codegen_runtime_class_init_inline(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_3 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___s_colorWhite_57;
__this->___m_underlineColor_58 = L_3;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_4 = ((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___s_colorWhite_57;
__this->___m_strikethroughColor_59 = L_4;
__this->___m_colorMode_61 = 3;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_5;
L_5 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F L_6;
memset((&L_6), 0, sizeof(L_6));
VertexGradient__ctor_m9B59D99E8B67833BD6CC50F4704614744D271C3A((&L_6), L_5, NULL);
__this->___m_fontColorGradient_62 = L_6;
__this->___m_overrideHtmlColors_71 = (bool)0;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_7;
L_7 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_8;
L_8 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_7, NULL);
__this->___m_faceColor_72 = L_8;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_9;
L_9 = Color_get_black_mB50217951591A045844C61E7FF31EEE3FEF16737_inline(NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_10;
L_10 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_9, NULL);
__this->___m_outlineColor_73 = L_10;
__this->___m_outlineWidth_74 = (0.0f);
__this->___m_fontSize_75 = (-99.0f);
__this->___m_fontSizeBase_77 = (36.0f);
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 L_11;
memset((&L_11), 0, sizeof(L_11));
TMP_TextProcessingStack_1__ctor_m490E53F5247CD44A1D3AA446A2B67FF0C8478F42((&L_11), ((int32_t)16), TMP_TextProcessingStack_1__ctor_m490E53F5247CD44A1D3AA446A2B67FF0C8478F42_RuntimeMethod_var);
__this->___m_sizeStack_78 = L_11;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_sizeStack_78))->___itemStack_0), (void*)NULL);
__this->___m_fontWeight_79 = ((int32_t)400);
__this->___m_FontWeightInternal_80 = ((int32_t)400);
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4 L_12;
memset((&L_12), 0, sizeof(L_12));
TMP_TextProcessingStack_1__ctor_m476BD28C0A88B4D608008587806134742627AC0A((&L_12), 8, TMP_TextProcessingStack_1__ctor_m476BD28C0A88B4D608008587806134742627AC0A_RuntimeMethod_var);
__this->___m_FontWeightStack_81 = L_12;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_FontWeightStack_81))->___itemStack_0), (void*)NULL);
__this->___m_AutoSizeMaxIterationCount_86 = ((int32_t)100);
__this->___m_fontSizeMin_88 = (0.0f);
__this->___m_fontSizeMax_89 = (0.0f);
__this->___m_fontStyle_90 = 0;
__this->___m_FontStyleInternal_91 = 0;
__this->___m_isUsingBold_93 = (bool)0;
__this->___m_HorizontalAlignment_94 = 1;
__this->___m_VerticalAlignment_95 = ((int32_t)256);
__this->___m_textAlignment_96 = ((int32_t)65535);
HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658* L_13 = (HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658*)(HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658*)SZArrayNew(HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0 L_14;
memset((&L_14), 0, sizeof(L_14));
TMP_TextProcessingStack_1__ctor_mD9A97602F26B38649E5C756C1F60E3128FD594B7((&L_14), L_13, TMP_TextProcessingStack_1__ctor_mD9A97602F26B38649E5C756C1F60E3128FD594B7_RuntimeMethod_var);
__this->___m_lineJustificationStack_98 = L_14;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_lineJustificationStack_98))->___itemStack_0), (void*)NULL);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_15 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)4);
__this->___m_textContainerLocalCorners_99 = L_15;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_textContainerLocalCorners_99), (void*)L_15);
__this->___m_characterSpacing_100 = (0.0f);
__this->___m_cSpacing_101 = (0.0f);
__this->___m_monoSpacing_102 = (0.0f);
__this->___m_wordSpacing_103 = (0.0f);
__this->___m_lineSpacing_104 = (0.0f);
__this->___m_lineSpacingDelta_105 = (0.0f);
__this->___m_lineHeight_106 = (-32767.0f);
__this->___m_lineSpacingMax_108 = (0.0f);
__this->___m_paragraphSpacing_109 = (0.0f);
__this->___m_charWidthMaxAdj_110 = (0.0f);
__this->___m_charWidthAdjDelta_111 = (0.0f);
__this->___m_enableWordWrapping_112 = (bool)0;
__this->___m_isCharacterWrappingEnabled_113 = (bool)0;
__this->___m_isNonBreakingSpace_114 = (bool)0;
__this->___m_wordWrappingRatios_116 = (0.400000006f);
__this->___m_overflowMode_117 = 0;
__this->___m_firstOverflowCharacterIndex_118 = (-1);
__this->___m_enableExtraPadding_124 = (bool)0;
__this->___m_isRichText_126 = (bool)1;
__this->___m_parseCtrlCharacters_127 = (bool)1;
__this->___m_isOverlay_128 = (bool)0;
__this->___m_isOrthographic_129 = (bool)0;
__this->___m_isCullingEnabled_130 = (bool)0;
__this->___m_ignoreCulling_133 = (bool)1;
__this->___m_horizontalMapping_134 = 0;
__this->___m_verticalMapping_135 = 0;
__this->___m_uvLineOffset_136 = (0.0f);
__this->___m_renderMode_137 = ((int32_t)255);
__this->___m_VertexBufferAutoSizeReduction_140 = (bool)0;
__this->___m_maxVisibleCharacters_142 = ((int32_t)99999);
__this->___m_maxVisibleWords_143 = ((int32_t)99999);
__this->___m_maxVisibleLines_144 = ((int32_t)99999);
__this->___m_useMaxVisibleDescender_145 = (bool)1;
__this->___m_pageToDisplay_146 = 1;
__this->___m_isNewPage_147 = (bool)0;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_16;
memset((&L_16), 0, sizeof(L_16));
Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline((&L_16), (0.0f), (0.0f), (0.0f), (0.0f), NULL);
__this->___m_margin_148 = L_16;
__this->___m_width_153 = (-1.0f);
il2cpp_codegen_runtime_class_init_inline(U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_il2cpp_TypeInfo_var);
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_17 = ((U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_il2cpp_TypeInfo_var))->___U3CU3E9__622_0_1;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_18 = L_17;
if (L_18)
{
G_B2_0 = L_18;
G_B2_1 = __this;
goto IL_02b7;
}
G_B1_0 = L_18;
G_B1_1 = __this;
}
{
il2cpp_codegen_runtime_class_init_inline(U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_il2cpp_TypeInfo_var);
U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D* L_19 = ((U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_il2cpp_TypeInfo_var))->___U3CU3E9_0;
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_20 = (Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1*)il2cpp_codegen_object_new(Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1_il2cpp_TypeInfo_var);
Action_1__ctor_m9E2BE9EE243D0B58DB2BB48B267776F22CDD158A(L_20, L_19, (intptr_t)((void*)U3CU3Ec_U3C_ctorU3Eb__622_0_m4ADE4CF5BF5DB0476C27555136DB926EB976EEFE_RuntimeMethod_var), NULL);
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1* L_21 = L_20;
((U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_il2cpp_TypeInfo_var))->___U3CU3E9__622_0_1 = L_21;
Il2CppCodeGenWriteBarrier((void**)(&((U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_tB391A89144AD9017CFBAC1E6A3F88D4E8B347A4D_il2cpp_TypeInfo_var))->___U3CU3E9__622_0_1), (void*)L_21);
G_B2_0 = L_21;
G_B2_1 = G_B1_1;
}
IL_02b7:
{
NullCheck(G_B2_1);
G_B2_1->___OnPreRenderText_167 = G_B2_0;
Il2CppCodeGenWriteBarrier((void**)(&G_B2_1->___OnPreRenderText_167), (void*)G_B2_0);
__this->___m_flexibleHeight_169 = (-1.0f);
__this->___m_flexibleWidth_170 = (-1.0f);
__this->___m_layoutPriority_183 = 0;
__this->___tag_LineIndent_192 = (0.0f);
__this->___tag_Indent_193 = (0.0f);
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_22 = (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)SZArrayNew(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 L_23;
memset((&L_23), 0, sizeof(L_23));
TMP_TextProcessingStack_1__ctor_m67EF0A267B30BE09CF07E10EEBC69099A33C3706((&L_23), L_22, TMP_TextProcessingStack_1__ctor_m67EF0A267B30BE09CF07E10EEBC69099A33C3706_RuntimeMethod_var);
__this->___m_indentStack_194 = L_23;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_indentStack_194))->___itemStack_0), (void*)NULL);
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* L_24 = (UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5*)(UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5*)SZArrayNew(UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5_il2cpp_TypeInfo_var, (uint32_t)8);
__this->___m_TextProcessingArray_199 = L_24;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextProcessingArray_199), (void*)L_24);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_25;
memset((&L_25), 0, sizeof(L_25));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_25), (255.0f), (255.0f), (255.0f), (128.0f), NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_26;
L_26 = Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline(L_25, NULL);
__this->___m_htmlColor_228 = L_26;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_27 = (Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259*)(Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259*)SZArrayNew(Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 L_28;
memset((&L_28), 0, sizeof(L_28));
TMP_TextProcessingStack_1__ctor_mF51929F261282F2506327912A76AAA1DB96CC4A4((&L_28), L_27, TMP_TextProcessingStack_1__ctor_mF51929F261282F2506327912A76AAA1DB96CC4A4_RuntimeMethod_var);
__this->___m_colorStack_229 = L_28;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_colorStack_229))->___itemStack_0), (void*)NULL);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_29 = (Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259*)(Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259*)SZArrayNew(Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 L_30;
memset((&L_30), 0, sizeof(L_30));
TMP_TextProcessingStack_1__ctor_mF51929F261282F2506327912A76AAA1DB96CC4A4((&L_30), L_29, TMP_TextProcessingStack_1__ctor_mF51929F261282F2506327912A76AAA1DB96CC4A4_RuntimeMethod_var);
__this->___m_underlineColorStack_230 = L_30;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_underlineColorStack_230))->___itemStack_0), (void*)NULL);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_31 = (Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259*)(Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259*)SZArrayNew(Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 L_32;
memset((&L_32), 0, sizeof(L_32));
TMP_TextProcessingStack_1__ctor_mF51929F261282F2506327912A76AAA1DB96CC4A4((&L_32), L_31, TMP_TextProcessingStack_1__ctor_mF51929F261282F2506327912A76AAA1DB96CC4A4_RuntimeMethod_var);
__this->___m_strikethroughColorStack_231 = L_32;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_strikethroughColorStack_231))->___itemStack_0), (void*)NULL);
HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622* L_33 = (HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622*)(HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622*)SZArrayNew(HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D L_34;
memset((&L_34), 0, sizeof(L_34));
TMP_TextProcessingStack_1__ctor_m805D9E903893D54322A7E7C30A076C6976CB67A7((&L_34), L_33, TMP_TextProcessingStack_1__ctor_m805D9E903893D54322A7E7C30A076C6976CB67A7_RuntimeMethod_var);
__this->___m_HighlightStateStack_232 = L_34;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_HighlightStateStack_232))->___itemStack_0), (void*)NULL);
TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A* L_35 = (TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A*)(TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A*)SZArrayNew(TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C L_36;
memset((&L_36), 0, sizeof(L_36));
TMP_TextProcessingStack_1__ctor_m0B52E0D58591313105377840D688BC44FA89CF1C((&L_36), L_35, TMP_TextProcessingStack_1__ctor_m0B52E0D58591313105377840D688BC44FA89CF1C_RuntimeMethod_var);
__this->___m_colorGradientStack_234 = L_36;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_colorGradientStack_234))->___itemStack_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_colorGradientStack_234))->___m_DefaultItem_2), (void*)NULL);
#endif
__this->___m_tabSpacing_236 = (0.0f);
__this->___m_spacing_237 = (0.0f);
TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2* L_37 = (TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2*)(TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2*)SZArrayNew(TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2_il2cpp_TypeInfo_var, (uint32_t)8);
__this->___m_TextStyleStacks_238 = L_37;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextStyleStacks_238), (void*)L_37);
__this->___m_TextStyleStackDepth_239 = 0;
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_38 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C L_39;
memset((&L_39), 0, sizeof(L_39));
TMP_TextProcessingStack_1__ctor_mB80A97ACD232E30BBAC0DF6D6E6F4398CE37E32A((&L_39), L_38, TMP_TextProcessingStack_1__ctor_mB80A97ACD232E30BBAC0DF6D6E6F4398CE37E32A_RuntimeMethod_var);
__this->___m_ItalicAngleStack_240 = L_39;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_ItalicAngleStack_240))->___itemStack_0), (void*)NULL);
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_40 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C L_41;
memset((&L_41), 0, sizeof(L_41));
TMP_TextProcessingStack_1__ctor_mB80A97ACD232E30BBAC0DF6D6E6F4398CE37E32A((&L_41), L_40, TMP_TextProcessingStack_1__ctor_mB80A97ACD232E30BBAC0DF6D6E6F4398CE37E32A_RuntimeMethod_var);
__this->___m_actionStack_242 = L_41;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_actionStack_242))->___itemStack_0), (void*)NULL);
__this->___m_padding_243 = (0.0f);
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_42 = (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)SZArrayNew(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 L_43;
memset((&L_43), 0, sizeof(L_43));
TMP_TextProcessingStack_1__ctor_m67EF0A267B30BE09CF07E10EEBC69099A33C3706((&L_43), L_42, TMP_TextProcessingStack_1__ctor_m67EF0A267B30BE09CF07E10EEBC69099A33C3706_RuntimeMethod_var);
__this->___m_baselineOffsetStack_245 = L_43;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_baselineOffsetStack_245))->___itemStack_0), (void*)NULL);
__this->___m_spriteCount_253 = 0;
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361 L_44;
memset((&L_44), 0, sizeof(L_44));
TextBackingContainer__ctor_m28ABE283E7734CCAFCB78E5C71E817D495C1699D((&L_44), 4, NULL);
__this->___m_TextBackingArray_259 = L_44;
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___m_TextBackingArray_259))->___m_Array_0), (void*)NULL);
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* L_45 = (DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615*)(DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615*)SZArrayNew(DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615_il2cpp_TypeInfo_var, (uint32_t)((int32_t)10));
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* L_46 = L_45;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_47;
memset((&L_47), 0, sizeof(L_47));
Decimal__ctor_mC089D0AF6A28E017DE6F2F0966D8EBEBFE2DAAF7((&L_47), 5, 0, 0, (bool)0, (uint8_t)1, NULL);
NullCheck(L_46);
(L_46)->SetAt(static_cast<il2cpp_array_size_t>(0), (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F)L_47);
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* L_48 = L_46;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_49;
memset((&L_49), 0, sizeof(L_49));
Decimal__ctor_mC089D0AF6A28E017DE6F2F0966D8EBEBFE2DAAF7((&L_49), 5, 0, 0, (bool)0, (uint8_t)2, NULL);
NullCheck(L_48);
(L_48)->SetAt(static_cast<il2cpp_array_size_t>(1), (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F)L_49);
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* L_50 = L_48;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_51;
memset((&L_51), 0, sizeof(L_51));
Decimal__ctor_mC089D0AF6A28E017DE6F2F0966D8EBEBFE2DAAF7((&L_51), 5, 0, 0, (bool)0, (uint8_t)3, NULL);
NullCheck(L_50);
(L_50)->SetAt(static_cast<il2cpp_array_size_t>(2), (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F)L_51);
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* L_52 = L_50;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_53;
memset((&L_53), 0, sizeof(L_53));
Decimal__ctor_mC089D0AF6A28E017DE6F2F0966D8EBEBFE2DAAF7((&L_53), 5, 0, 0, (bool)0, (uint8_t)4, NULL);
NullCheck(L_52);
(L_52)->SetAt(static_cast<il2cpp_array_size_t>(3), (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F)L_53);
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* L_54 = L_52;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_55;
memset((&L_55), 0, sizeof(L_55));
Decimal__ctor_mC089D0AF6A28E017DE6F2F0966D8EBEBFE2DAAF7((&L_55), 5, 0, 0, (bool)0, (uint8_t)5, NULL);
NullCheck(L_54);
(L_54)->SetAt(static_cast<il2cpp_array_size_t>(4), (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F)L_55);
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* L_56 = L_54;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_57;
memset((&L_57), 0, sizeof(L_57));
Decimal__ctor_mC089D0AF6A28E017DE6F2F0966D8EBEBFE2DAAF7((&L_57), 5, 0, 0, (bool)0, (uint8_t)6, NULL);
NullCheck(L_56);
(L_56)->SetAt(static_cast<il2cpp_array_size_t>(5), (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F)L_57);
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* L_58 = L_56;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_59;
memset((&L_59), 0, sizeof(L_59));
Decimal__ctor_mC089D0AF6A28E017DE6F2F0966D8EBEBFE2DAAF7((&L_59), 5, 0, 0, (bool)0, (uint8_t)7, NULL);
NullCheck(L_58);
(L_58)->SetAt(static_cast<il2cpp_array_size_t>(6), (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F)L_59);
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* L_60 = L_58;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_61;
memset((&L_61), 0, sizeof(L_61));
Decimal__ctor_mC089D0AF6A28E017DE6F2F0966D8EBEBFE2DAAF7((&L_61), 5, 0, 0, (bool)0, (uint8_t)8, NULL);
NullCheck(L_60);
(L_60)->SetAt(static_cast<il2cpp_array_size_t>(7), (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F)L_61);
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* L_62 = L_60;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_63;
memset((&L_63), 0, sizeof(L_63));
Decimal__ctor_mC089D0AF6A28E017DE6F2F0966D8EBEBFE2DAAF7((&L_63), 5, 0, 0, (bool)0, (uint8_t)((int32_t)9), NULL);
NullCheck(L_62);
(L_62)->SetAt(static_cast<il2cpp_array_size_t>(8), (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F)L_63);
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* L_64 = L_62;
Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F L_65;
memset((&L_65), 0, sizeof(L_65));
Decimal__ctor_mC089D0AF6A28E017DE6F2F0966D8EBEBFE2DAAF7((&L_65), 5, 0, 0, (bool)0, (uint8_t)((int32_t)10), NULL);
NullCheck(L_64);
(L_64)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (Decimal_tDA6C877282B2D789CF97C0949661CC11D643969F)L_65);
__this->___k_Power_260 = L_64;
Il2CppCodeGenWriteBarrier((void**)(&__this->___k_Power_260), (void*)L_64);
MaskableGraphic__ctor_mD2E256F950AAAE0E2445971361B5C54D2066E4C2(__this, NULL);
return;
}
}
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text__cctor_m08F26D45B9462DC23A4AB77265441FC49818D0CD (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1__ctor_mBD47E7ABC68BF701705427A3C1C40B77C0DBD1A9_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextProcessingStack_1__ctor_mEF356198B5589E4F781952A625BE5DF2D0CF222A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral491A401AD10238BD1F1C20242CA9D6E07305B338);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral605D352052EE397075103BC56DCC3C5BEED3DF2C);
s_Il2CppMethodInitialized = true;
}
{
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_0 = (MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2*)(MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2*)SZArrayNew(MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2_il2cpp_TypeInfo_var, (uint32_t)4);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferences_47), (void*)L_0);
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* L_1 = (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180*)il2cpp_codegen_object_new(Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F(L_1, Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F_RuntimeMethod_var);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceIndexLookup_48 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceIndexLookup_48), (void*)L_1);
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* L_2 = (MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2*)(MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2*)SZArrayNew(MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9 L_3;
memset((&L_3), 0, sizeof(L_3));
TMP_TextProcessingStack_1__ctor_mBD47E7ABC68BF701705427A3C1C40B77C0DBD1A9((&L_3), L_2, TMP_TextProcessingStack_1__ctor_mBD47E7ABC68BF701705427A3C1C40B77C0DBD1A9_RuntimeMethod_var);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49 = L_3;
Il2CppCodeGenWriteBarrier((void**)&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49))->___itemStack_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49))->___m_DefaultItem_2))->___fontAsset_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49))->___m_DefaultItem_2))->___spriteAsset_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49))->___m_DefaultItem_2))->___material_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_materialReferenceStack_49))->___m_DefaultItem_2))->___fallbackMaterial_6), (void*)NULL);
#endif
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_4;
memset((&L_4), 0, sizeof(L_4));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_4), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), NULL);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___s_colorWhite_57 = L_4;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_5 = (CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)SZArrayNew(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var, (uint32_t)((int32_t)128));
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_htmlTag_189), (void*)L_5);
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* L_6 = (RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D*)(RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D*)SZArrayNew(RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D_il2cpp_TypeInfo_var, (uint32_t)8);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190 = L_6;
Il2CppCodeGenWriteBarrier((void**)(&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_xmlAttribute_190), (void*)L_6);
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_7 = (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)SZArrayNew(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_attributeParameterValues_191 = L_7;
Il2CppCodeGenWriteBarrier((void**)(&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_attributeParameterValues_191), (void*)L_7);
il2cpp_codegen_initobj((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_SavedWordWrapState_203), sizeof(WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A));
il2cpp_codegen_initobj((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_SavedLineState_204), sizeof(WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A));
il2cpp_codegen_initobj((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_SavedEllipsisState_205), sizeof(WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A));
il2cpp_codegen_initobj((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_SavedLastValidState_206), sizeof(WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A));
il2cpp_codegen_initobj((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_SavedSoftLineBreakState_207), sizeof(WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A));
TMP_TextProcessingStack_1_t2DDA00FFC64AF6E3AFD475AB2086D16C34787E0F L_8;
memset((&L_8), 0, sizeof(L_8));
TMP_TextProcessingStack_1__ctor_mEF356198B5589E4F781952A625BE5DF2D0CF222A((&L_8), 8, 8, TMP_TextProcessingStack_1__ctor_mEF356198B5589E4F781952A625BE5DF2D0CF222A_RuntimeMethod_var);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208 = L_8;
Il2CppCodeGenWriteBarrier((void**)&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___itemStack_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___textInfo_35), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___italicAngleStack_42))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___colorStack_43))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___underlineColorStack_44))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___strikethroughColorStack_45))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___highlightColorStack_46))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___highlightStateStack_47))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___colorGradientStack_48))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___colorGradientStack_48))->___m_DefaultItem_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___sizeStack_49))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___indentStack_50))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___fontWeightStack_51))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___styleStack_52))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___baselineStack_53))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___actionStack_54))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___materialReferenceStack_55))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___materialReferenceStack_55))->___m_DefaultItem_2))->___fontAsset_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___materialReferenceStack_55))->___m_DefaultItem_2))->___spriteAsset_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___materialReferenceStack_55))->___m_DefaultItem_2))->___material_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___materialReferenceStack_55))->___m_DefaultItem_2))->___fallbackMaterial_6), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___lineJustificationStack_56))->___itemStack_0), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___currentFontAsset_58), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___currentSpriteAsset_59), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___m_EllipsisInsertionCandidateStack_208))->___m_DefaultItem_2))->___currentMaterial_60), (void*)NULL);
#endif
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD L_9;
memset((&L_9), 0, sizeof(L_9));
ProfilerMarker__ctor_mDD68B0A8B71E0301F592AF8891560150E55699C8_inline((&L_9), _stringLiteral491A401AD10238BD1F1C20242CA9D6E07305B338, NULL);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_ParseTextMarker_256 = L_9;
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD L_10;
memset((&L_10), 0, sizeof(L_10));
ProfilerMarker__ctor_mDD68B0A8B71E0301F592AF8891560150E55699C8_inline((&L_10), _stringLiteral605D352052EE397075103BC56DCC3C5BEED3DF2C, NULL);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_InsertNewLineMarker_257 = L_10;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_11;
memset((&L_11), 0, sizeof(L_11));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_11), (2.14748365E+09f), (2.14748365E+09f), NULL);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveVector2_261 = L_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12;
memset((&L_12), 0, sizeof(L_12));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_12), (-2.14748365E+09f), (-2.14748365E+09f), NULL);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargeNegativeVector2_262 = L_12;
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveFloat_263 = (32767.0f);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargeNegativeFloat_264 = (-32767.0f);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargePositiveInt_265 = ((int32_t)2147483647LL);
((TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields*)il2cpp_codegen_static_fields_for(TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_il2cpp_TypeInfo_var))->___k_LargeNegativeInt_266 = ((int32_t)-2147483647);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->____stringLength_4;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Color_op_Equality_mB2BDC39B0B367BA15AA8DF22F8CB0D02D20BDC71_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___lhs0, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___rhs1, const RuntimeMethod* method)
{
bool V_0 = false;
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0 = ___lhs0;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_1;
L_1 = Color_op_Implicit_m9B3228DAFA8DC57A75DE00CBBF13ED4F1E7B01FF_inline(L_0, NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_2 = ___rhs1;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_3;
L_3 = Color_op_Implicit_m9B3228DAFA8DC57A75DE00CBBF13ED4F1E7B01FF_inline(L_2, NULL);
bool L_4;
L_4 = Vector4_op_Equality_mCEA0E5F229F4AE8C55152F7A8F84345F24F52DC6_inline(L_1, L_3, NULL);
V_0 = L_4;
goto IL_0015;
}
IL_0015:
{
bool L_5 = V_0;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B Color32_op_Implicit_m79AF5E0BDE9CE041CAC4D89CBFA66E71C6DD1B70_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___c0, const RuntimeMethod* method)
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0 = ___c0;
float L_1 = L_0.___r_0;
float L_2;
L_2 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_1, NULL);
float L_3;
L_3 = bankers_roundf(((float)il2cpp_codegen_multiply(L_2, (255.0f))));
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_4 = ___c0;
float L_5 = L_4.___g_1;
float L_6;
L_6 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_5, NULL);
float L_7;
L_7 = bankers_roundf(((float)il2cpp_codegen_multiply(L_6, (255.0f))));
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_8 = ___c0;
float L_9 = L_8.___b_2;
float L_10;
L_10 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_9, NULL);
float L_11;
L_11 = bankers_roundf(((float)il2cpp_codegen_multiply(L_10, (255.0f))));
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_12 = ___c0;
float L_13 = L_12.___a_3;
float L_14;
L_14 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_13, NULL);
float L_15;
L_15 = bankers_roundf(((float)il2cpp_codegen_multiply(L_14, (255.0f))));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_16;
memset((&L_16), 0, sizeof(L_16));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_16), (uint8_t)il2cpp_codegen_cast_floating_point<uint8_t, int32_t, float>(L_3), (uint8_t)il2cpp_codegen_cast_floating_point<uint8_t, int32_t, float>(L_7), (uint8_t)il2cpp_codegen_cast_floating_point<uint8_t, int32_t, float>(L_11), (uint8_t)il2cpp_codegen_cast_floating_point<uint8_t, int32_t, float>(L_15), NULL);
V_0 = L_16;
goto IL_0065;
}
IL_0065:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_17 = V_0;
return L_17;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector4_op_Equality_mCEA0E5F229F4AE8C55152F7A8F84345F24F52DC6_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___lhs0, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___rhs1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
float V_3 = 0.0f;
float V_4 = 0.0f;
bool V_5 = false;
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_0 = ___lhs0;
float L_1 = L_0.___x_1;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_2 = ___rhs1;
float L_3 = L_2.___x_1;
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_4 = ___lhs0;
float L_5 = L_4.___y_2;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_6 = ___rhs1;
float L_7 = L_6.___y_2;
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_8 = ___lhs0;
float L_9 = L_8.___z_3;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_10 = ___rhs1;
float L_11 = L_10.___z_3;
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_12 = ___lhs0;
float L_13 = L_12.___w_4;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_14 = ___rhs1;
float L_15 = L_14.___w_4;
V_3 = ((float)il2cpp_codegen_subtract(L_13, L_15));
float L_16 = V_0;
float L_17 = V_0;
float L_18 = V_1;
float L_19 = V_1;
float L_20 = V_2;
float L_21 = V_2;
float L_22 = V_3;
float L_23 = V_3;
V_4 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_16, L_17)), ((float)il2cpp_codegen_multiply(L_18, L_19)))), ((float)il2cpp_codegen_multiply(L_20, L_21)))), ((float)il2cpp_codegen_multiply(L_22, L_23))));
float L_24 = V_4;
V_5 = (bool)((((float)L_24) < ((float)(9.99999944E-11f)))? 1 : 0);
goto IL_0057;
}
IL_0057:
{
bool L_25 = V_5;
return L_25;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ProfilerMarker_Begin_mD07DB736ADA7D8BAF9D969CC7F3C55848A218C6E_inline (ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD* __this, const RuntimeMethod* method)
{
{
intptr_t L_0 = __this->___m_Ptr_0;
ProfilerUnsafeUtility_BeginSample_mB5106F4E7ECEF54906545665ED23928D14F5FCA7(L_0, NULL);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ProfilerMarker_End_m025AE3EF0F96F6DADC53489A53FC6EE65073DE60_inline (ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD* __this, const RuntimeMethod* method)
{
{
intptr_t L_0 = __this->___m_Ptr_0;
ProfilerUnsafeUtility_EndSample_mFDB4EFB160A9CB817D2F8ED21B88693616B27409(L_0, NULL);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline (int32_t ___value0, int32_t ___min1, int32_t ___max2, const RuntimeMethod* method)
{
bool V_0 = false;
bool V_1 = false;
int32_t V_2 = 0;
{
int32_t L_0 = ___value0;
int32_t L_1 = ___min1;
V_0 = (bool)((((int32_t)L_0) < ((int32_t)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_000e;
}
}
{
int32_t L_3 = ___min1;
___value0 = L_3;
goto IL_0019;
}
IL_000e:
{
int32_t L_4 = ___value0;
int32_t L_5 = ___max2;
V_1 = (bool)((((int32_t)L_4) > ((int32_t)L_5))? 1 : 0);
bool L_6 = V_1;
if (!L_6)
{
goto IL_0019;
}
}
{
int32_t L_7 = ___max2;
___value0 = L_7;
}
IL_0019:
{
int32_t L_8 = ___value0;
V_2 = L_8;
goto IL_001d;
}
IL_001d:
{
int32_t L_9 = V_2;
return L_9;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Min_m888083F74FF5655778F0403BB5E9608BEFDEA8CB_inline (int32_t ___a0, int32_t ___b1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B3_0 = 0;
{
int32_t L_0 = ___a0;
int32_t L_1 = ___b1;
if ((((int32_t)L_0) < ((int32_t)L_1)))
{
goto IL_0008;
}
}
{
int32_t L_2 = ___b1;
G_B3_0 = L_2;
goto IL_0009;
}
IL_0008:
{
int32_t L_3 = ___a0;
G_B3_0 = L_3;
}
IL_0009:
{
V_0 = G_B3_0;
goto IL_000c;
}
IL_000c:
{
int32_t L_4 = V_0;
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, float ___x0, float ___y1, const RuntimeMethod* method)
{
{
float L_0 = ___x0;
__this->___x_0 = L_0;
float L_1 = ___y1;
__this->___y_1 = L_1;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4_inline (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___m_Extents_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
L_1 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_0, (2.0f), NULL);
V_0 = L_1;
goto IL_0014;
}
IL_0014:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = V_0;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___v0, const RuntimeMethod* method)
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___v0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___v0;
float L_3 = L_2.___y_3;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
memset((&L_4), 0, sizeof(L_4));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_4), L_1, L_3, NULL);
V_0 = L_4;
goto IL_0015;
}
IL_0015:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = V_0;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ((Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_il2cpp_TypeInfo_var))->___zeroVector_2;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline (float ___a0, float ___b1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float G_B3_0 = 0.0f;
{
float L_0 = ___a0;
float L_1 = ___b1;
if ((((float)L_0) > ((float)L_1)))
{
goto IL_0008;
}
}
{
float L_2 = ___b1;
G_B3_0 = L_2;
goto IL_0009;
}
IL_0008:
{
float L_3 = ___a0;
G_B3_0 = L_3;
}
IL_0009:
{
V_0 = G_B3_0;
goto IL_000c;
}
IL_000c:
{
float L_4 = V_0;
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline (float ___a0, float ___b1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float G_B3_0 = 0.0f;
{
float L_0 = ___a0;
float L_1 = ___b1;
if ((((float)L_0) < ((float)L_1)))
{
goto IL_0008;
}
}
{
float L_2 = ___b1;
G_B3_0 = L_2;
goto IL_0009;
}
IL_0008:
{
float L_3 = ___a0;
G_B3_0 = L_3;
}
IL_0009:
{
V_0 = G_B3_0;
goto IL_000c;
}
IL_000c:
{
float L_4 = V_0;
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___a0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___b1, const RuntimeMethod* method)
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___a0;
float L_1 = L_0.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___b1;
float L_3 = L_2.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___a0;
float L_5 = L_4.___y_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___b1;
float L_7 = L_6.___y_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
memset((&L_8), 0, sizeof(L_8));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_8), ((float)il2cpp_codegen_add(L_1, L_3)), ((float)il2cpp_codegen_add(L_5, L_7)), NULL);
V_0 = L_8;
goto IL_0023;
}
IL_0023:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9 = V_0;
return L_9;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Division_m57A2DCD71E0CE7420851D705D1951F9238902AAB_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___a0, float ___d1, const RuntimeMethod* method)
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___a0;
float L_1 = L_0.___x_0;
float L_2 = ___d1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = ___a0;
float L_4 = L_3.___y_1;
float L_5 = ___d1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6;
memset((&L_6), 0, sizeof(L_6));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_6), ((float)(L_1/L_2)), ((float)(L_4/L_5)), NULL);
V_0 = L_6;
goto IL_0019;
}
IL_0019:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = V_0;
return L_7;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___v0, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___v0;
float L_1 = L_0.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___v0;
float L_3 = L_2.___y_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
memset((&L_4), 0, sizeof(L_4));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_4), L_1, L_3, (0.0f), NULL);
V_0 = L_4;
goto IL_001a;
}
IL_001a:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = V_0;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Bounds__ctor_mAF7B238B9FBF90C495E5D7951760085A93119C5A_inline (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___center0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___size1, const RuntimeMethod* method)
{
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___center0;
__this->___m_Center_0 = L_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___size1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
L_2 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_1, (0.5f), NULL);
__this->___m_Extents_1 = L_2;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___x0, float ___y1, float ___z2, const RuntimeMethod* method)
{
{
float L_0 = ___x0;
__this->___x_2 = L_0;
float L_1 = ___y1;
__this->___y_3 = L_1;
float L_2 = ___z2;
__this->___z_4 = L_2;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___b1;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___a0;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___b1;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___a0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___b1;
float L_11 = L_10.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
memset((&L_12), 0, sizeof(L_12));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_subtract(L_1, L_3)), ((float)il2cpp_codegen_subtract(L_5, L_7)), ((float)il2cpp_codegen_subtract(L_9, L_11)), NULL);
V_0 = L_12;
goto IL_0030;
}
IL_0030:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
return L_13;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color32_op_Implicit_m47CBB138122B400E0B1F4BFD7C30A6C2C00FCA3E_inline (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___c0, const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_0 = ___c0;
uint8_t L_1 = L_0.___r_1;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_2 = ___c0;
uint8_t L_3 = L_2.___g_2;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_4 = ___c0;
uint8_t L_5 = L_4.___b_3;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_6 = ___c0;
uint8_t L_7 = L_6.___a_4;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_8;
memset((&L_8), 0, sizeof(L_8));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_8), ((float)(((float)L_1)/(255.0f))), ((float)(((float)L_3)/(255.0f))), ((float)(((float)L_5)/(255.0f))), ((float)(((float)L_7)/(255.0f))), NULL);
V_0 = L_8;
goto IL_003d;
}
IL_003d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_9 = V_0;
return L_9;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_op_Multiply_mD0296202733CB2D5342FB7C82B48AEDA63036758_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___a0, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___b1, const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0 = ___a0;
float L_1 = L_0.___r_0;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_2 = ___b1;
float L_3 = L_2.___r_0;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_4 = ___a0;
float L_5 = L_4.___g_1;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_6 = ___b1;
float L_7 = L_6.___g_1;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_8 = ___a0;
float L_9 = L_8.___b_2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_10 = ___b1;
float L_11 = L_10.___b_2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_12 = ___a0;
float L_13 = L_12.___a_3;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_14 = ___b1;
float L_15 = L_14.___a_3;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_16;
memset((&L_16), 0, sizeof(L_16));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_16), ((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)), ((float)il2cpp_codegen_multiply(L_9, L_11)), ((float)il2cpp_codegen_multiply(L_13, L_15)), NULL);
V_0 = L_16;
goto IL_003d;
}
IL_003d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_17 = V_0;
return L_17;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B* __this, uint8_t ___r0, uint8_t ___g1, uint8_t ___b2, uint8_t ___a3, const RuntimeMethod* method)
{
{
__this->___rgba_0 = 0;
uint8_t L_0 = ___r0;
__this->___r_1 = L_0;
uint8_t L_1 = ___g1;
__this->___g_2 = L_1;
uint8_t L_2 = ___b2;
__this->___b_3 = L_2;
uint8_t L_3 = ___a3;
__this->___a_4 = L_3;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___b1;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___a0;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___b1;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___a0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___b1;
float L_11 = L_10.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
memset((&L_12), 0, sizeof(L_12));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_add(L_1, L_3)), ((float)il2cpp_codegen_add(L_5, L_7)), ((float)il2cpp_codegen_add(L_9, L_11)), NULL);
V_0 = L_12;
goto IL_0030;
}
IL_0030:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
return L_13;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector2_op_Equality_m6F2E069A50E787D131261E5CB25FC9E03F95B5E1_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___lhs0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rhs1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
bool V_2 = false;
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___lhs0;
float L_1 = L_0.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___rhs1;
float L_3 = L_2.___x_0;
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___lhs0;
float L_5 = L_4.___y_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___rhs1;
float L_7 = L_6.___y_1;
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
float L_8 = V_0;
float L_9 = V_0;
float L_10 = V_1;
float L_11 = V_1;
V_2 = (bool)((((float)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_8, L_9)), ((float)il2cpp_codegen_multiply(L_10, L_11))))) < ((float)(9.99999944E-11f)))? 1 : 0);
goto IL_002e;
}
IL_002e:
{
bool L_12 = V_2;
return L_12;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_red_mA2E53E7173FDC97E68E335049AB0FAAEE43A844D_inline (const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (1.0f), (0.0f), (0.0f), (1.0f), NULL);
V_0 = L_0;
goto IL_001d;
}
IL_001d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_blue_mF04A26CE61D6DA3C0D8B1C4720901B1028C7AB87_inline (const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (0.0f), (0.0f), (1.0f), (1.0f), NULL);
V_0 = L_0;
goto IL_001d;
}
IL_001d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_black_mB50217951591A045844C61E7FF31EEE3FEF16737_inline (const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (0.0f), (0.0f), (0.0f), (1.0f), NULL);
V_0 = L_0;
goto IL_001d;
}
IL_001d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_green_mEB001F2CD8C68C6BBAEF9101990B779D3AA2A6EF_inline (const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (0.0f), (1.0f), (0.0f), (1.0f), NULL);
V_0 = L_0;
goto IL_001d;
}
IL_001d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline (const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (1.0f), (1.0f), (1.0f), (1.0f), NULL);
V_0 = L_0;
goto IL_001d;
}
IL_001d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_yellow_m66637FA14383E8D74F24AE256B577CE1D55D469F_inline (const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (1.0f), (0.921568632f), (0.0156862754f), (1.0f), NULL);
V_0 = L_0;
goto IL_001d;
}
IL_001d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___zeroVector_5;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ((Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields*)il2cpp_codegen_static_fields_for(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var))->___identityQuaternion_4;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline (float ___x0, float ___y1, float ___z2, const RuntimeMethod* method)
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
memset((&V_0), 0, sizeof(V_0));
{
float L_0 = ___x0;
float L_1 = ___y1;
float L_2 = ___z2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
memset((&L_3), 0, sizeof(L_3));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_3), L_0, L_1, L_2, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
L_4 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_3, (0.0174532924f), NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
L_5 = Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E(L_4, NULL);
V_0 = L_5;
goto IL_001b;
}
IL_001b:
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = V_0;
return L_6;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___oneVector_6;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* __this, float ___x0, float ___y1, float ___z2, float ___w3, const RuntimeMethod* method)
{
{
float L_0 = ___x0;
__this->___x_1 = L_0;
float L_1 = ___y1;
__this->___y_2 = L_1;
float L_2 = ___z2;
__this->___z_3 = L_2;
float L_3 = ___w3;
__this->___w_4 = L_3;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___r0, float ___g1, float ___b2, float ___a3, const RuntimeMethod* method)
{
{
float L_0 = ___r0;
__this->___r_0 = L_0;
float L_1 = ___g1;
__this->___g_1 = L_1;
float L_2 = ___b2;
__this->___b_2 = L_2;
float L_3 = ___a3;
__this->___a_3 = L_3;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ProfilerMarker__ctor_mDD68B0A8B71E0301F592AF8891560150E55699C8_inline (ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD* __this, String_t* ___name0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___name0;
intptr_t L_1;
L_1 = ProfilerUnsafeUtility_CreateMarker_mC5E1AAB8CC1F0342065DF85BA3334445ED754E64(L_0, (uint16_t)1, 0, 0, NULL);
__this->___m_Ptr_0 = L_1;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->____size_2;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* Func_3_Invoke_mDBE7BF61E26769EA19ED04DF5E652E424B50486E_gshared_inline (Func_3_tD48690FA870BA310D4390AE6025ACAC699C152D6* __this, int32_t ___arg10, RuntimeObject* ___arg21, const RuntimeMethod* method)
{
typedef RuntimeObject* (*FunctionPointerType) (RuntimeObject*, int32_t, RuntimeObject*, const RuntimeMethod*);
return ((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___arg10, ___arg21, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 Color_op_Implicit_m9B3228DAFA8DC57A75DE00CBBF13ED4F1E7B01FF_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___c0, const RuntimeMethod* method)
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0 = ___c0;
float L_1 = L_0.___r_0;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_2 = ___c0;
float L_3 = L_2.___g_1;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_4 = ___c0;
float L_5 = L_4.___b_2;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_6 = ___c0;
float L_7 = L_6.___a_3;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_8;
memset((&L_8), 0, sizeof(L_8));
Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline((&L_8), L_1, L_3, L_5, L_7, NULL);
V_0 = L_8;
goto IL_0021;
}
IL_0021:
{
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_9 = V_0;
return L_9;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
float V_1 = 0.0f;
bool V_2 = false;
{
float L_0 = ___value0;
V_0 = (bool)((((float)L_0) < ((float)(0.0f)))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0015;
}
}
{
V_1 = (0.0f);
goto IL_002d;
}
IL_0015:
{
float L_2 = ___value0;
V_2 = (bool)((((float)L_2) > ((float)(1.0f)))? 1 : 0);
bool L_3 = V_2;
if (!L_3)
{
goto IL_0029;
}
}
{
V_1 = (1.0f);
goto IL_002d;
}
IL_0029:
{
float L_4 = ___value0;
V_1 = L_4;
goto IL_002d;
}
IL_002d:
{
float L_5 = V_1;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, float ___d1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
float L_2 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___a0;
float L_4 = L_3.___y_3;
float L_5 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___a0;
float L_7 = L_6.___z_4;
float L_8 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), ((float)il2cpp_codegen_multiply(L_7, L_8)), NULL);
V_0 = L_9;
goto IL_0021;
}
IL_0021:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
return L_10;
}
}
| [
"[email protected]"
] | |
79913eac716de40b226947925a97c5f5f3429fe5 | d990692dd7afdbb2a235ad03ac5209b4f3bb0df9 | /ipc/chromium/src/base/time_win.cc | fa2486882c11f137e199daf409cfc00f95b4319f | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | walkero-gr/timberwolf | 5c33158a19dfeb3781c72c6732d45747d9a3c19e | 90ca7da29b6089d1b14f5ff1d08e586aa2ec041f | refs/heads/master | 2022-09-15T11:13:14.252767 | 2022-09-04T12:39:59 | 2022-09-04T12:39:59 | 291,531,351 | 0 | 0 | NOASSERTION | 2020-08-30T18:46:51 | 2020-08-30T18:46:51 | null | UTF-8 | C++ | false | false | 13,576 | cc | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Windows Timer Primer
//
// A good article: http://www.ddj.com/windows/184416651
// A good mozilla bug: http://bugzilla.mozilla.org/show_bug.cgi?id=363258
//
// The default windows timer, GetSystemTimeAsFileTime is not very precise.
// It is only good to ~15.5ms.
//
// QueryPerformanceCounter is the logical choice for a high-precision timer.
// However, it is known to be buggy on some hardware. Specifically, it can
// sometimes "jump". On laptops, QPC can also be very expensive to call.
// It's 3-4x slower than timeGetTime() on desktops, but can be 10x slower
// on laptops. A unittest exists which will show the relative cost of various
// timers on any system.
//
// The next logical choice is timeGetTime(). timeGetTime has a precision of
// 1ms, but only if you call APIs (timeBeginPeriod()) which affect all other
// applications on the system. By default, precision is only 15.5ms.
// Unfortunately, we don't want to call timeBeginPeriod because we don't
// want to affect other applications. Further, on mobile platforms, use of
// faster multimedia timers can hurt battery life. See the intel
// article about this here:
// http://softwarecommunity.intel.com/articles/eng/1086.htm
//
// To work around all this, we're going to generally use timeGetTime(). We
// will only increase the system-wide timer if we're not running on battery
// power. Using timeBeginPeriod(1) is a requirement in order to make our
// message loop waits have the same resolution that our time measurements
// do. Otherwise, WaitForSingleObject(..., 1) will no less than 15ms when
// there is nothing else to waken the Wait.
#include "base/time.h"
#pragma comment(lib, "winmm.lib")
#include <windows.h>
#include <mmsystem.h>
#include "base/basictypes.h"
#include "base/lock.h"
#include "base/logging.h"
#include "base/cpu.h"
#include "base/singleton.h"
#include "base/system_monitor.h"
using base::Time;
using base::TimeDelta;
using base::TimeTicks;
namespace {
// From MSDN, FILETIME "Contains a 64-bit value representing the number of
// 100-nanosecond intervals since January 1, 1601 (UTC)."
int64 FileTimeToMicroseconds(const FILETIME& ft) {
// Need to bit_cast to fix alignment, then divide by 10 to convert
// 100-nanoseconds to milliseconds. This only works on little-endian
// machines.
return bit_cast<int64, FILETIME>(ft) / 10;
}
void MicrosecondsToFileTime(int64 us, FILETIME* ft) {
DCHECK(us >= 0) << "Time is less than 0, negative values are not "
"representable in FILETIME";
// Multiply by 10 to convert milliseconds to 100-nanoseconds. Bit_cast will
// handle alignment problems. This only works on little-endian machines.
*ft = bit_cast<FILETIME, int64>(us * 10);
}
int64 CurrentWallclockMicroseconds() {
FILETIME ft;
::GetSystemTimeAsFileTime(&ft);
return FileTimeToMicroseconds(ft);
}
// Time between resampling the un-granular clock for this API. 60 seconds.
const int kMaxMillisecondsToAvoidDrift = 60 * Time::kMillisecondsPerSecond;
int64 initial_time = 0;
TimeTicks initial_ticks;
void InitializeClock() {
initial_ticks = TimeTicks::Now();
initial_time = CurrentWallclockMicroseconds();
}
} // namespace
// Time -----------------------------------------------------------------------
// The internal representation of Time uses FILETIME, whose epoch is 1601-01-01
// 00:00:00 UTC. ((1970-1601)*365+89)*24*60*60*1000*1000, where 89 is the
// number of leap year days between 1601 and 1970: (1970-1601)/4 excluding
// 1700, 1800, and 1900.
// static
const int64 Time::kTimeTToMicrosecondsOffset = GG_INT64_C(11644473600000000);
// static
Time Time::Now() {
if (initial_time == 0)
InitializeClock();
// We implement time using the high-resolution timers so that we can get
// timeouts which are smaller than 10-15ms. If we just used
// CurrentWallclockMicroseconds(), we'd have the less-granular timer.
//
// To make this work, we initialize the clock (initial_time) and the
// counter (initial_ctr). To compute the initial time, we can check
// the number of ticks that have elapsed, and compute the delta.
//
// To avoid any drift, we periodically resync the counters to the system
// clock.
while(true) {
TimeTicks ticks = TimeTicks::Now();
// Calculate the time elapsed since we started our timer
TimeDelta elapsed = ticks - initial_ticks;
// Check if enough time has elapsed that we need to resync the clock.
if (elapsed.InMilliseconds() > kMaxMillisecondsToAvoidDrift) {
InitializeClock();
continue;
}
return Time(elapsed + initial_time);
}
}
// static
Time Time::NowFromSystemTime() {
// Force resync.
InitializeClock();
return Time(initial_time);
}
// static
Time Time::FromFileTime(FILETIME ft) {
return Time(FileTimeToMicroseconds(ft));
}
FILETIME Time::ToFileTime() const {
FILETIME utc_ft;
MicrosecondsToFileTime(us_, &utc_ft);
return utc_ft;
}
// static
Time Time::FromExploded(bool is_local, const Exploded& exploded) {
// Create the system struct representing our exploded time. It will either be
// in local time or UTC.
SYSTEMTIME st;
st.wYear = exploded.year;
st.wMonth = exploded.month;
st.wDayOfWeek = exploded.day_of_week;
st.wDay = exploded.day_of_month;
st.wHour = exploded.hour;
st.wMinute = exploded.minute;
st.wSecond = exploded.second;
st.wMilliseconds = exploded.millisecond;
// Convert to FILETIME.
FILETIME ft;
if (!SystemTimeToFileTime(&st, &ft)) {
NOTREACHED() << "Unable to convert time";
return Time(0);
}
// Ensure that it's in UTC.
if (is_local) {
FILETIME utc_ft;
LocalFileTimeToFileTime(&ft, &utc_ft);
return Time(FileTimeToMicroseconds(utc_ft));
}
return Time(FileTimeToMicroseconds(ft));
}
void Time::Explode(bool is_local, Exploded* exploded) const {
// FILETIME in UTC.
FILETIME utc_ft;
MicrosecondsToFileTime(us_, &utc_ft);
// FILETIME in local time if necessary.
BOOL success = TRUE;
FILETIME ft;
if (is_local)
success = FileTimeToLocalFileTime(&utc_ft, &ft);
else
ft = utc_ft;
// FILETIME in SYSTEMTIME (exploded).
SYSTEMTIME st;
if (!success || !FileTimeToSystemTime(&ft, &st)) {
NOTREACHED() << "Unable to convert time, don't know why";
ZeroMemory(exploded, sizeof(exploded));
return;
}
exploded->year = st.wYear;
exploded->month = st.wMonth;
exploded->day_of_week = st.wDayOfWeek;
exploded->day_of_month = st.wDay;
exploded->hour = st.wHour;
exploded->minute = st.wMinute;
exploded->second = st.wSecond;
exploded->millisecond = st.wMilliseconds;
}
// TimeTicks ------------------------------------------------------------------
namespace {
// We define a wrapper to adapt between the __stdcall and __cdecl call of the
// mock function, and to avoid a static constructor. Assigning an import to a
// function pointer directly would require setup code to fetch from the IAT.
DWORD timeGetTimeWrapper() {
return timeGetTime();
}
DWORD (*tick_function)(void) = &timeGetTimeWrapper;
// We use timeGetTime() to implement TimeTicks::Now(). This can be problematic
// because it returns the number of milliseconds since Windows has started,
// which will roll over the 32-bit value every ~49 days. We try to track
// rollover ourselves, which works if TimeTicks::Now() is called at least every
// 49 days.
class NowSingleton : public base::SystemMonitor::PowerObserver {
public:
NowSingleton()
: rollover_(TimeDelta::FromMilliseconds(0)),
last_seen_(0),
hi_res_clock_enabled_(false) {
base::SystemMonitor* system = base::SystemMonitor::Get();
system->AddObserver(this);
UseHiResClock(!system->BatteryPower());
}
~NowSingleton() {
UseHiResClock(false);
base::SystemMonitor* monitor = base::SystemMonitor::Get();
if (monitor)
monitor->RemoveObserver(this);
}
TimeDelta Now() {
AutoLock locked(lock_);
// We should hold the lock while calling tick_function to make sure that
// we keep our last_seen_ stay correctly in sync.
DWORD now = tick_function();
if (now < last_seen_)
rollover_ += TimeDelta::FromMilliseconds(0x100000000I64); // ~49.7 days.
last_seen_ = now;
return TimeDelta::FromMilliseconds(now) + rollover_;
}
// Interfaces for monitoring Power changes.
void OnPowerStateChange(base::SystemMonitor* system) {
UseHiResClock(!system->BatteryPower());
}
void OnSuspend(base::SystemMonitor* system) {}
void OnResume(base::SystemMonitor* system) {}
private:
// Enable or disable the faster multimedia timer.
void UseHiResClock(bool enabled) {
if (enabled == hi_res_clock_enabled_)
return;
if (enabled)
timeBeginPeriod(1);
else
timeEndPeriod(1);
hi_res_clock_enabled_ = enabled;
}
Lock lock_; // To protected last_seen_ and rollover_.
TimeDelta rollover_; // Accumulation of time lost due to rollover.
DWORD last_seen_; // The last timeGetTime value we saw, to detect rollover.
bool hi_res_clock_enabled_;
DISALLOW_COPY_AND_ASSIGN(NowSingleton);
};
// Overview of time counters:
// (1) CPU cycle counter. (Retrieved via RDTSC)
// The CPU counter provides the highest resolution time stamp and is the least
// expensive to retrieve. However, the CPU counter is unreliable and should not
// be used in production. Its biggest issue is that it is per processor and it
// is not synchronized between processors. Also, on some computers, the counters
// will change frequency due to thermal and power changes, and stop in some
// states.
//
// (2) QueryPerformanceCounter (QPC). The QPC counter provides a high-
// resolution (100 nanoseconds) time stamp but is comparatively more expensive
// to retrieve. What QueryPerformanceCounter actually does is up to the HAL.
// (with some help from ACPI).
// According to http://blogs.msdn.com/oldnewthing/archive/2005/09/02/459952.aspx
// in the worst case, it gets the counter from the rollover interrupt on the
// programmable interrupt timer. In best cases, the HAL may conclude that the
// RDTSC counter runs at a constant frequency, then it uses that instead. On
// multiprocessor machines, it will try to verify the values returned from
// RDTSC on each processor are consistent with each other, and apply a handful
// of workarounds for known buggy hardware. In other words, QPC is supposed to
// give consistent result on a multiprocessor computer, but it is unreliable in
// reality due to bugs in BIOS or HAL on some, especially old computers.
// With recent updates on HAL and newer BIOS, QPC is getting more reliable but
// it should be used with caution.
//
// (3) System time. The system time provides a low-resolution (typically 10ms
// to 55 milliseconds) time stamp but is comparatively less expensive to
// retrieve and more reliable.
class HighResNowSingleton {
public:
HighResNowSingleton()
: ticks_per_microsecond_(0.0),
skew_(0) {
InitializeClock();
// On Athlon X2 CPUs (e.g. model 15) QueryPerformanceCounter is
// unreliable. Fallback to low-res clock.
base::CPU cpu;
if (cpu.vendor_name() == "AuthenticAMD" && cpu.family() == 15)
DisableHighResClock();
}
bool IsUsingHighResClock() {
return ticks_per_microsecond_ != 0.0;
}
void DisableHighResClock() {
ticks_per_microsecond_ = 0.0;
}
TimeDelta Now() {
// Our maximum tolerance for QPC drifting.
const int kMaxTimeDrift = 50 * Time::kMicrosecondsPerMillisecond;
if (IsUsingHighResClock()) {
int64 now = UnreliableNow();
// Verify that QPC does not seem to drift.
DCHECK(now - ReliableNow() - skew_ < kMaxTimeDrift);
return TimeDelta::FromMicroseconds(now);
}
// Just fallback to the slower clock.
return Singleton<NowSingleton>::get()->Now();
}
private:
// Synchronize the QPC clock with GetSystemTimeAsFileTime.
void InitializeClock() {
LARGE_INTEGER ticks_per_sec = {0};
if (!QueryPerformanceFrequency(&ticks_per_sec))
return; // Broken, we don't guarantee this function works.
ticks_per_microsecond_ = static_cast<float>(ticks_per_sec.QuadPart) /
static_cast<float>(Time::kMicrosecondsPerSecond);
skew_ = UnreliableNow() - ReliableNow();
}
// Get the number of microseconds since boot in a reliable fashion
int64 UnreliableNow() {
LARGE_INTEGER now;
QueryPerformanceCounter(&now);
return static_cast<int64>(now.QuadPart / ticks_per_microsecond_);
}
// Get the number of microseconds since boot in a reliable fashion
int64 ReliableNow() {
return Singleton<NowSingleton>::get()->Now().InMicroseconds();
}
// Cached clock frequency -> microseconds. This assumes that the clock
// frequency is faster than one microsecond (which is 1MHz, should be OK).
float ticks_per_microsecond_; // 0 indicates QPF failed and we're broken.
int64 skew_; // Skew between lo-res and hi-res clocks (for debugging).
DISALLOW_COPY_AND_ASSIGN(HighResNowSingleton);
};
} // namespace
// static
TimeTicks::TickFunctionType TimeTicks::SetMockTickFunction(
TickFunctionType ticker) {
TickFunctionType old = tick_function;
tick_function = ticker;
return old;
}
// static
TimeTicks TimeTicks::Now() {
return TimeTicks() + Singleton<NowSingleton>::get()->Now();
}
// static
TimeTicks TimeTicks::HighResNow() {
return TimeTicks() + Singleton<HighResNowSingleton>::get()->Now();
}
| [
"[email protected]"
] | |
a6867d2cddb77153cf52fd4da8bde6cae017c287 | eb9b85c5ebeb4f464b3ef3f31f2afa1f0f0118ec | /src/Program/Program.h | 91b527b1629f9b9bdff31345beff05c7c28bc6c0 | [] | no_license | jaankaup/my_opencl_project | d21279ff437f63c97ae5204fd011563e6c85a4ee | bd41cb1403f315d0ce412d8818649aa0308c0e62 | refs/heads/main | 2023-04-06T17:29:57.712474 | 2019-09-30T14:31:28 | 2019-09-30T14:31:28 | 362,106,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,805 | h | #ifndef PROGRAM_H
#define PROGRAM_H
#include <vector>
#include <memory>
#include <string>
#include <glm/glm.hpp>
#include <SDL2/SDL.h>
#include <CL/cl.hpp>
#include "includes.h"
namespace Program {
//struct Tool {
// float v0_amount = 0.0f;
// float v1_amount = 0.0f;
// float v2_amount = 0.0f;
// float v3_amount = 0.0f;
// float v4_amount = 0.0f;
// float v5_amount = 0.0f;
// float v6_amount = 0.0f;
// float v7_amount = 0.0f;
//};
struct RayCamera {
cl_float3 position;
cl_float3 view;
cl_float3 up;
cl_float2 resolution;
cl_float2 fov;
float apertureRadius;
float focalDistance;
};
const static std::string DEFAULT_RENDERING_SHADER = "default_shader";
extern std::unique_ptr<float[]> density_values;
extern std::unique_ptr<glm::vec4[]> case_values;
extern int cube_now;
extern float cube_float;
extern float bSIZE;
extern int x_dim;
extern int y_dim;
extern int z_dim;
extern glm::vec4 bPOS;
extern int v0_amount;
extern int v1_amount;
extern int v2_amount;
extern int v3_amount;
extern int v4_amount;
extern int v5_amount;
extern int v6_amount;
extern int v7_amount;
extern bool rayCamera;
/**
* The main program.
*/
class MainProgram
{
public:
/**
* An initialization member function.
* This member function initializes all the resources that are needed for
* running the application.
* @return the result of the initialization.
*/
bool initialize();
/**
* A method for running the program.
* Initialize method must be called succesfully before calling this method.
*/
void start();
void updateScene();
private:
/**
* This method creates most of the global variables for the program.
*/
void createGlobalProperties();
/**
* This methdod creates the initial textures for the program.
* @param return Returns true if textures was initialized, false
* otherwise.
*/
bool createTextures();
/**
* This method creates the initial shaders for the program.
* @param return Returns true if shaders was initialized, false
* otherwise.
*/
bool createShaders();
/**
* This method creates the main window for the system.
* @param return Returns true if window created succesfully, false
* otherwise.
*/
bool createWindow();
/**
* Creates a GPU_Device object for application.
* @param return Returns true if opencl was initialized, false
* otherwise.
*/
bool createOpenCl();
/**
* This method creates some ininital event handler labmda-functions
* for the application.
*/
void registerHandlers();
void rayTrace(const glm::vec3& pos, const glm::vec3& target, const glm::vec3& up, const float focalDistance);
};
} // namespace Program
#endif
| [
"[email protected]"
] | |
67cd8df765e9b435b90f0b968a2e9eedeb0ed15b | 446d9f1bd98e30b73559d028733b91fa9d1fcac8 | /Cell.cpp | ec567440eaecb6f1ff19ccf5e9b0d5bd3578a4ea | [] | no_license | 0xc010d/sqlite3_module-plist | 456c87ef5ce43f6bc08d9567cf3f4cd41a51ddc3 | 2f81874f36fe95654c59dce4abcf892252a2d35f | refs/heads/master | 2023-07-18T23:39:29.180266 | 2016-01-12T15:17:13 | 2021-09-20T12:58:47 | 408,478,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,336 | cpp | #include "Cell.hpp"
using std::nullptr_t;
using std::make_shared;
template<Cell::Type _type, typename T>
class TemplateCell : public ValueCell
{
protected:
TemplateCell(const T &value) : m_value(value) { }
Cell::Type type() const override { return _type; }
const T m_value;
};
class RowCell : public TemplateCell<Cell::ROW, Cell::Row>
{
public:
RowCell(const Cell::Row &value) : TemplateCell(value) { }
virtual const Cell::Row &rowValue() const override { return m_value; }
virtual const Cell &operator[](const Cell::Name &name) const override {
auto it = m_value.find(name);
return (it != m_value.end()) ? it->second : ValueCell::operator[](name);
}
virtual size_t size() const override { return m_value.size(); }
};
class ColumnCell : public TemplateCell<Cell::COLUMN, Cell::Column>
{
public:
ColumnCell(const Cell::Column &value) : TemplateCell(value) { }
virtual const Cell::Column &columnValue() const override { return m_value; };
virtual const Cell &operator[](const Cell::Index &index) const override { return m_value[index]; }
virtual size_t size() const override { return m_value.size(); }
};
class TextCell : public TemplateCell<Cell::TEXT, Cell::Text>
{
public:
TextCell(const Cell::Text &value) : TemplateCell(value) { }
virtual const Cell::Text &textValue() const override { return m_value; };
};
class IntegerCell : public TemplateCell<Cell::INTEGER, Cell::Integer>
{
public:
IntegerCell(const Cell::Integer &value) : TemplateCell(value) { }
virtual const Cell::Integer &integerValue() const override { return m_value; };
};
class RealCell : public TemplateCell<Cell::REAL, Cell::Real>
{
public:
RealCell(const Cell::Real &value) : TemplateCell(value) { }
virtual const Cell::Real &realValue() const override { return m_value; };
};
class BlobCell : public TemplateCell<Cell::BLOB, Cell::Blob>
{
public:
BlobCell(const Cell::Blob &value) : TemplateCell(value) { }
virtual const Cell::Blob &blobValue() const override { return m_value; };
};
class NullCell : public TemplateCell<Cell::NUL, nullptr_t>
{
public:
NullCell(const nullptr_t &value) : TemplateCell(value) { }
};
Cell::Cell(const Cell::Row &row) : m_ptr(make_shared<RowCell>(row)) { }
Cell::Cell(const Cell::Column &column) : m_ptr(make_shared<ColumnCell>(column)) { }
Cell::Cell(const Cell::Text &text) : m_ptr(make_shared<TextCell>(text)) { }
Cell::Cell(const Cell::Integer &integer) : m_ptr(make_shared<IntegerCell>(integer)) { }
Cell::Cell(const Cell::Real &real) : m_ptr(make_shared<RealCell>(real)) { }
Cell::Cell(const Cell::Blob &blob) : m_ptr(make_shared<BlobCell>(blob)) { }
Cell::Cell(const nullptr_t &null) : m_ptr(make_shared<NullCell>(null)) { }
Cell::Type Cell::type() const { return m_ptr->type(); }
size_t Cell::size() const { return m_ptr->size(); }
size_t ValueCell::size() const { return 1; }
const Cell::Row &ValueCell::rowValue() const
{
static const Cell::Row row;
return row;
}
const Cell::Column &ValueCell::columnValue() const
{
static const Cell::Column column;
return column;
}
const Cell::Text &ValueCell::textValue() const
{
static const Cell::Text text;
return text;
}
const Cell::Integer &ValueCell::integerValue() const
{
static const Cell::Integer integer = 0;
return integer;
}
const Cell::Real &ValueCell::realValue() const
{
static const Cell::Real real = 0;
return real;
}
const Cell::Blob &ValueCell::blobValue() const
{
static const Cell::Blob blob;
return blob;
}
const Cell &ValueCell::operator[](const Cell::Index &) const
{
static const Cell cell;
return cell;
}
const Cell &ValueCell::operator[](const Cell::Name &) const
{
static const Cell cell;
return cell;
}
const Cell::Row &Cell::rowValue() const { return m_ptr->rowValue(); }
const Cell::Column &Cell::columnValue() const { return m_ptr->columnValue(); }
const Cell::Text &Cell::textValue() const { return m_ptr->textValue(); }
const Cell::Integer &Cell::integerValue() const { return m_ptr->integerValue(); }
const Cell::Real &Cell::realValue() const { return m_ptr->realValue(); }
const Cell::Blob &Cell::blobValue() const { return m_ptr->blobValue(); }
const Cell &Cell::operator[](const Cell::Index &index) const {return (*m_ptr)[index];}
const Cell &Cell::operator[](const Cell::Name &key) const {return (*m_ptr)[key];}
Cell _parse(CFDictionaryRef dictionaryRef)
{
Cell::Row row;
CFIndex size = CFDictionaryGetCount(dictionaryRef);
CFStringRef keys[size];
CFTypeRef values[size];
CFDictionaryGetKeysAndValues(dictionaryRef, (const void **)keys, values);
for (CFIndex index = 0; index < size; index++) {
Cell::Name name;
const char *stringPtr = CFStringGetCStringPtr(keys[index], kCFStringEncodingUTF8);
if (stringPtr == NULL) {
CFIndex length = CFStringGetLength(keys[index]);
CFIndex maxSize = CFStringGetMaximumSizeForEncoding(length, kCFStringEncodingUTF8) + 1;
char buffer[maxSize];
if (CFStringGetCString(keys[index], buffer, maxSize, kCFStringEncodingUTF8)) {
name = buffer;
}
}
else {
name = stringPtr;
}
CFTypeRef value = values[index];
auto cell = Cell::parse(value);
row.insert({name, cell});
}
return row;
}
Cell _parse(CFArrayRef arrayRef)
{
Cell::Column column;
CFIndex count = CFArrayGetCount(arrayRef);
for (CFIndex index = 0; index < count; index++) {
CFTypeRef item = CFArrayGetValueAtIndex(arrayRef, index);
auto cell = Cell::parse(item);
column.push_back(cell);
}
return column;
}
Cell _parse(CFStringRef stringRef)
{
const char *stringPtr = CFStringGetCStringPtr(stringRef, kCFStringEncodingUTF8);
if (stringPtr != NULL) {
return (Cell::Text)stringPtr;
}
CFIndex length = CFStringGetLength(stringRef);
CFIndex size = CFStringGetMaximumSizeForEncoding(length, kCFStringEncodingUTF8);
char buffer[size];
if (CFStringGetCString(stringRef, buffer, size, kCFStringEncodingUTF8)) {
return Cell::Text(buffer);
}
return Cell::Text();
}
Cell _parse(CFBooleanRef boolanRef)
{
return (Cell::Integer)(CFBooleanGetValue(boolanRef));
}
Cell _parse(CFNumberRef numberRef)
{
if (CFNumberIsFloatType(numberRef)) {
Cell::Real real;
CFNumberGetValue(numberRef, kCFNumberDoubleType, &real);
return real;
}
Cell::Integer integer;
CFNumberGetValue(numberRef, kCFNumberSInt64Type, &integer);
return integer;
}
Cell _parse(CFDateRef dateRef)
{
return CFDateGetAbsoluteTime(dateRef);
}
Cell _parse(CFDataRef dataRef)
{
Cell::Blob blob;
const UInt8 *buffer = CFDataGetBytePtr(dataRef);
CFIndex length = CFDataGetLength(dataRef);
blob.assign(buffer, buffer + length);
return blob;
}
Cell Cell::parse(const CFTypeRef ref)
{
if (ref == NULL) {
return nullptr;
}
CFTypeID type = CFGetTypeID(ref);
if (type == CFDictionaryGetTypeID()) {
return _parse((CFDictionaryRef)ref);
}
if (type == CFArrayGetTypeID()) {
return _parse((CFArrayRef)ref);
}
if (type == CFStringGetTypeID()) {
return _parse((CFStringRef)ref);
}
if (type == CFBooleanGetTypeID()) {
return _parse((CFBooleanRef)ref);
}
if (type == CFNumberGetTypeID()) {
return _parse((CFNumberRef)ref);
}
if (type == CFDateGetTypeID()) {
return _parse((CFDateRef)ref);
}
if (type == CFDataGetTypeID()) {
return _parse((CFDataRef)ref);
}
return nullptr;
}
| [
"[email protected]"
] | |
4ac586e275c6b77cebf89ab6babb5075ea4e8332 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/openh264/src/codec/decoder/core/inc/error_code.h | 4fbd9258c3a75155af32cbdd1873709603f392f7 | [
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 6,983 | h | /*!
* \copy
* Copyright (c) 2009-2013, Cisco Systems
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT 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.
*
*
* \file error_code.h
*
* \brief Error codes used in Wels decoder side
*
* \date 3/4/2009 Created
*
*************************************************************************************
*/
#ifndef WELS_ERROR_CODE_H__
#define WELS_ERROR_CODE_H__
namespace WelsDec {
typedef enum TagWelsErr {
ERR_NONE = 0,
ERR_INVALID_PARAMETERS = 1,
ERR_MALLOC_FAILED = 2,
ERR_API_FAILED = 3,
ERR_BOUND = 31
} EWelsErr;
/*
* Specified error format:
* ERR_NO = (ERR_LEVEL_FROM (HIGH WORD) << 16) | (ERR_INFO_FROM (LOW WORD))
*
*/
#define GENERATE_ERROR_NO(iErrLevel, iErrInfo) ((iErrLevel << 16) | (iErrInfo & 0xFFFF))
#define ERR_INVALID_INTRA4X4_MODE -1
/* ERR_LEVEL */
//-----------------------------------------------------------------------------------------------------------
enum {
ERR_LEVEL_ACCESS_UNIT = 1,
ERR_LEVEL_NAL_UNIT_HEADER,
ERR_LEVEL_PREFIX_NAL,
ERR_LEVEL_PARAM_SETS,
ERR_LEVEL_SLICE_HEADER,
ERR_LEVEL_SLICE_DATA,
ERR_LEVEL_MB_DATA
};
//-----------------------------------------------------------------------------------------------------------
/* More detailed error information, maximal value is 65535 */
//-----------------------------------------------------------------------------------------------------------
#define ERR_INFO_COMMON_BASE 1
#define ERR_INFO_SYNTAX_BASE 1001
#define ERR_INFO_LOGIC_BASE 10001
enum {
/* Error from common system level: 1-1000 */
ERR_INFO_OUT_OF_MEMORY = ERR_INFO_COMMON_BASE,
ERR_INFO_INVALID_ACCESS,
ERR_INFO_INVALID_PTR,
ERR_INFO_INVALID_PARAM,
ERR_INFO_FILE_NO_FOUND,
ERR_INFO_PATH_NO_FOUND,
ERR_INFO_ACCESS_DENIED,
ERR_INFO_NOT_READY,
ERR_INFO_WRITE_FAULT,
ERR_INFO_READ_FAULT,
ERR_INFO_READ_OVERFLOW,
ERR_INFO_READ_LEADING_ZERO,
ERR_INFO_UNINIT,
/* Error from H.264 syntax elements parser: 1001-10000 */
ERR_INFO_NO_PREFIX_CODE = ERR_INFO_SYNTAX_BASE, // No start prefix code indication
ERR_INFO_NO_PARAM_SETS, // No SPS and/ PPS before sequence header
ERR_INFO_PARAM_SETS_NOT_INTEGRATED, // Parameters sets (sps/pps) are not integrated at all before to decode VCL nal
ERR_INFO_SPS_ID_OVERFLOW,
ERR_INFO_PPS_ID_OVERFLOW,
ERR_INFO_INVALID_PROFILE_IDC,
ERR_INFO_UNMATCHED_LEVEL_IDC,
ERR_INFO_INVALID_POC_TYPE,
ERR_INFO_INVALID_MB_SIZE_INFO,
ERR_INFO_REF_COUNT_OVERFLOW,
ERR_INFO_CROPPING_NO_SUPPORTED,
ERR_INFO_INVALID_CROPPING_DATA,
ERR_INFO_INVALID_SLICEGROUP,
ERR_INFO_INVALID_SLICEGROUP_MAP_TYPE,
ERR_INFO_INVALID_FRAME_NUM,
ERR_INFO_INVALID_IDR_PIC_ID,
ERR_INFO_INVALID_REDUNDANT_PIC_CNT,
ERR_INFO_INVALID_MAX_NUM_REF_FRAMES,
ERR_INFO_INVALID_MAX_MB_SIZE,
ERR_INFO_INVALID_FIRST_MB_IN_SLICE,
ERR_INFO_INVALID_NUM_REF_IDX_L0_ACTIVE_MINUS1,
ERR_INFO_INVALID_SLICE_ALPHA_C0_OFFSET_DIV2,
ERR_INFO_INVALID_SLICE_BETA_OFFSET_DIV2,
ERR_INFO_FMO_INIT_FAIL,
ERR_INFO_SLICE_TYPE_OVERFLOW,
ERR_INFO_INVALID_CABAC_INIT_IDC,
ERR_INFO_INVALID_QP,
ERR_INFO_INVALID_PIC_INIT_QS,
ERR_INFO_INVALID_CHROMA_QP_INDEX_OFFSET,
ERR_INFO_INVALID_PIC_INIT_QP,
ERR_INFO_INVALID_LOG2_MAX_FRAME_NUM_MINUS4,
ERR_INFO_INVALID_LOG2_MAX_PIC_ORDER_CNT_LSB_MINUS4,
ERR_INFO_INVALID_NUM_REF_FRAME_IN_PIC_ORDER_CNT_CYCLE,
ERR_INFO_INVALID_DBLOCKING_IDC,
ERR_INFO_INVALID_MB_TYPE,
ERR_INFO_INVALID_SPS_ID,
ERR_INFO_INVALID_PPS_ID,
ERR_INFO_INVALID_SUB_MB_TYPE,
ERR_INFO_UNAVAILABLE_TOP_BLOCK_FOR_INTRA,
ERR_INFO_UNAVAILABLE_LEFT_BLOCK_FOR_INTRA,
ERR_INFO_INVALID_REF_INDEX,
ERR_INFO_INVALID_CBP,
ERR_INFO_DQUANT_OUT_OF_RANGE,
ERR_INFO_CAVLC_INVALID_PREFIX,
ERR_INFO_CAVLC_INVALID_LEVEL,
ERR_INFO_CAVLC_INVALID_TOTAL_COEFF_OR_TRAILING_ONES,
ERR_INFO_CAVLC_INVALID_ZERO_LEFT,
ERR_INFO_CAVLC_INVALID_RUN_BEFORE,
ERR_INFO_MV_OUT_OF_RANGE,
ERR_INFO_INVALID_I4x4_PRED_MODE,
ERR_INFO_INVALID_I16x16_PRED_MODE,
ERR_INFO_INVALID_I_CHROMA_PRED_MODE,
ERR_INFO_INVALID_LUMA_LOG2_WEIGHT_DENOM,
ERR_INFO_INVALID_CHROMA_LOG2_WEIGHT_DENOM,
ERR_INFO_INVALID_LUMA_WEIGHT,
ERR_INFO_INVALID_CHROMA_WEIGHT,
ERR_INFO_INVALID_LUMA_OFFSET,
ERR_INFO_INVALID_CHROMA_OFFSET,
ERR_INFO_UNSUPPORTED_NON_BASELINE,
ERR_INFO_UNSUPPORTED_FMOTYPE,
ERR_INFO_UNSUPPORTED_MBAFF,
ERR_INFO_UNSUPPORTED_ILP,
ERR_INFO_UNSUPPORTED_CABAC_EL,
ERR_INFO_UNSUPPORTED_SPSI,
ERR_INFO_UNSUPPORTED_MGS,
ERR_INFO_UNSUPPORTED_BIPRED,
ERR_INFO_UNSUPPORTED_WP,
ERR_INFO_UNSUPPORTED_SLICESKIP,
ERR_INFO_FRAMES_LOST,
ERR_INFO_DEPENDENCY_SPATIAL_LAYER_LOST,
ERR_INFO_DEPENDENCY_QUALIT_LAYER_LOST,
ERR_INFO_REFERENCE_PIC_LOST,
ERR_INFO_INVALID_REORDERING,
ERR_INFO_INVALID_MARKING,
ERR_INFO_FMO_NOT_SUPPORTED_IN_BASE_LAYER,
ERR_INFO_INVALID_ESS,
ERR_INFO_INVALID_SLICE_TYPE,
ERR_INFO_INVALID_REF_MARKING,
ERR_INFO_INVALID_REF_REORDERING,
/* Error from corresponding logic, 10001-65535 */
ERR_INFO_NO_IDR_PIC = ERR_INFO_LOGIC_BASE, // NO IDR picture available before sequence header
ERR_INFO_EC_NO_NEIGHBOUR_MBS,
ERR_INFO_EC_UNEXPECTED_MB_TYPE,
ERR_INFO_EC_NO_ENOUGH_NEIGHBOUR_MBS,
ERR_INFO_DUPLICATE_FRAME_NUM,
//for LTR
ERR_INFO_INVALID_MMCO_OPCODE_BASE,
ERR_INFO_INVALID_MMCO_SHORT2UNUSED,
EER_INFO_INVALID_MMCO_LONG2UNUSED,
ERR_INFO_INVALID_MMCO_SHOART2LONG,
ERR_INFO_INVALID_MMCO_REF_NUM_OVERFLOW,
ERR_INFO_INVALID_MMCO_REF_NUM_NOT_ENOUGH,
ERR_INFO_INVALID_MMCO_LONG_TERM_IDX_EXCEED_MAX,
//for CABAC
ERR_CABAC_NO_BS_TO_READ,
//for scaling list
ERR_SCALING_LIST_DELTA_SCALE,
};
//-----------------------------------------------------------------------------------------------------------
} // namespace WelsDec
#endif//WELS_ERROR_CODE_H__
| [
"[email protected]"
] | |
6479e0d6f935832df83cad0511c71103c12daad0 | a0fba5c81df7d408362807c55c0eec609819cb69 | /share/visual_editor/src/ve_scene.cpp | c8e4c2318220415194ed6250ca5cbba727283637 | [] | no_license | cuixiongyi/hiveground-ros-pkg | 23edf94b9f0cb85184fce8a3116226f9733756d1 | 134377e42af9fcc852a3709257a9499edd941242 | refs/heads/master | 2021-01-10T12:41:00.140152 | 2013-07-10T08:11:36 | 2013-07-10T08:11:36 | 53,974,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,321 | cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2013, Imai Laboratory, Keio University.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the Imai Laboratory, nor the name 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.
*
* Author: Mahisorn Wongphati
*/
#include <ve_link.h>
#include <ve_node.h>
#include <ve_scene.h>
#include <QtGui>
using namespace ve;
Scene::Scene(QWidget *parent) :
QGraphicsScene(parent), mode_(MODE_CURSOR), link_temp_(0), line_temp_(0)
{
}
Scene::~Scene()
{
}
void Scene::set_mode(int mode)
{
clear_added_mesurement_items();
mode_ = mode;
}
void Scene::clear_added_mesurement_items()
{
Q_FOREACH(QGraphicsItem* item, added_mesurement_items_)
{
this->removeItem(item);
}
added_mesurement_items_.clear();
}
Node* Scene::node_at(const QPointF& position)
{
QGraphicsItem* item = itemAt(position);
if (!item)
return 0;
Node* node = qgraphicsitem_cast<Node*>(item);
if (!node)
return 0;
return node;
}
Link* Scene::link_at(const QPointF& position)
{
QGraphicsItem* item = itemAt(position);
if (!item)
return 0;
Link* link = qgraphicsitem_cast<Link*>(item);
if (!link)
return 0;
return link;
}
void Scene::mousePressEvent(QGraphicsSceneMouseEvent* event)
{
bool handle = false;
Node* node = node_at(event->scenePos());
Link* link = link_at(event->scenePos());
if (mode_ == MODE_MEASURE_LENGTH)
{
handle = true;
if (measurement_points_.empty() || measurement_points_.size() >= 2)
{
clear_added_mesurement_items();
measurement_points_.clear();
measurement_points_.push_back(event->scenePos());
QGraphicsEllipseItem* p = this->addEllipse(event->scenePos().x() - 1.5, event->scenePos().y() - 1.5, 3.0, 3.0,
QPen(Qt::red, 1));
added_mesurement_items_.push_back(p);
}
else
{
measurement_points_.push_back(event->scenePos());
QGraphicsEllipseItem* p = this->addEllipse(event->scenePos().x() - 1.5, event->scenePos().y() - 1.5, 3.0, 3.0,
QPen(Qt::red, 1));
added_mesurement_items_.push_back(p);
if (measurement_points_.size() == 2)
{
qDebug() << measurement_points_[0] << measurement_points_[1];
QGraphicsLineItem* l1 = this->addLine(measurement_points_[0].x(), measurement_points_[0].y(),
measurement_points_[1].x(), measurement_points_[1].y(),
QPen(Qt::cyan, 1));
added_mesurement_items_.push_back(l1);
float dx = measurement_points_[0].x() - measurement_points_[1].x();
float dy = measurement_points_[0].y() - measurement_points_[1].y();
float dist = sqrt(dx * dx + dy * dy);
QFont sansFont("Helvetica [Cronyx]", 8, QFont::Black);
QGraphicsSimpleTextItem* text1 = this->addSimpleText(QString("dist: %1 px").arg(dist, 0, 'f', 2), sansFont);
text1->setBrush(QBrush(Qt::black));
text1->setPen(QPen(Qt::white, 0.3));
text1->setPos(measurement_points_[1].x(), measurement_points_[1].y());
added_mesurement_items_.push_back(text1);
}
}
}
else if (node)
{
if (mode_ == MODE_ADD_LINK)
{
if (event->buttons() == Qt::LeftButton)
{
handle = true;
if (node->link_out_ == 0)
{
if (link_temp_)
{
qDebug() << "OLD link exist !!!!";
delete link_temp_;
link_temp_ = 0;
}
if (line_temp_)
{
qDebug() << "OLD line exist !!!!";
delete line_temp_;
link_temp_ = 0;
}
line_temp_ = new QGraphicsLineItem(0, this);
line_temp_->setZValue(3.0f);
line_temp_->setPen(QPen(Qt::blue, 2.0f));
QLineF line(node->mapToScene(node->get_node_rect().center()), event->scenePos());
line_temp_->setLine(line);
line_temp_->show();
node_out_temp_ = node;
}
} //if event
} //if mode
else if (mode_ == MODE_ADD_NODE)
{
//add only
handle = true;
}
}
else if (link)
{
//qDebug() << "link selected:" << (int)link;
}
else
{
//open area
if (mode_ == MODE_ADD_NODE)
{
handle = true;
if (event->buttons() == Qt::LeftButton)
{
//qDebug() << "add new node";
Q_EMIT signal_node_added(event->scenePos());
}
}
}
if (!handle)
QGraphicsScene::mousePressEvent(event);
}
void Scene::mouseMoveEvent(QGraphicsSceneMouseEvent* event)
{
//qDebug() << __FUNCTION__;
bool handle = false;
if (line_temp_)
{
if (event->buttons() == Qt::LeftButton)
{
QLineF line = line_temp_->line();
line_temp_->setLine(QLineF(line.p1(), event->scenePos()));
}
else
{
//qDebug() << "delete line temp";
delete line_temp_;
line_temp_ = 0;
}
handle = true;
}
if (!handle)
QGraphicsScene::mouseMoveEvent(event);
}
void Scene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
{
//qDebug() << __FUNCTION__ << event->scenePos();
bool handle = false;
if (line_temp_)
{
delete line_temp_;
line_temp_ = 0;
Node* node = node_at(event->scenePos());
if (node)
{
//qDebug() << "release on node:" << (int)node;
if (event->buttons() == !Qt::LeftButton)
{
if (node != node_out_temp_)
Q_EMIT signal_nodes_linked(node_out_temp_, node);
}
}
}
if (!handle)
QGraphicsScene::mouseReleaseEvent(event);
}
| [
"Mahisorn@localhost"
] | Mahisorn@localhost |
82001d1090299194354197681863052654d8a818 | 670284e5eff2dbc125d54244ca180cdf934fe5cb | /src/MainWindow.cpp | 45027e93108f0c2dc0fb7b7c2a599adff401ac84 | [
"MIT"
] | permissive | qswypary/CourseManagementTool | e4272a46a60b3a08a28efaede252c68cfd40d5de | f8aa1225689dd1e331616c09b80aad2042644393 | refs/heads/master | 2021-01-06T09:12:47.835956 | 2020-02-21T12:42:31 | 2020-02-21T12:42:31 | 241,274,078 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,765 | cpp | #include <sstream>
#include <stdexcept>
#include <QFileDialog>
#include <QMessageBox>
#include <QInputDialog>
#include "MainWindow.h"
#include "ui_MainWindow.h"
#include "DialogDate.h"
const QVector<QString> MainWindow::WEEKDAYS = {tr("周一"), tr("周二"), tr("周三"), tr("周四"),
tr("周五"), tr("周六"), tr("周日")};
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
update_time();
_timerp = new QTimer();
_timerp->start(_time_interval);
connect(_timerp, SIGNAL(timeout()), this, SLOT(update_time()));
_settings_p = std::unique_ptr<QSettings>(new QSettings(_settings_fn, QSettings::IniFormat));
_begin_date = _settings_p->value("begin_date", QVariant(_begin_date)).toDate();
_welcome = _settings_p->value("welcome", QVariant(_welcome)).toString();
ui->labelHello->setText(_welcome);
}
MainWindow::~MainWindow()
{
_settings_p->setValue("welcome", _welcome);
_settings_p->setValue("begin_date", _begin_date);
_settings_p->setValue("last_info_fn", _info_fn);
_settings_p->setValue("last_timetable_fn", _timetable_fn);
_timerp->stop();
delete _timerp;
delete ui;
}
void MainWindow::initialize_after_showing() {
_info_fn = _settings_p->value("last_info_fn", QVariant()).toString();
if (!_info_fn.isEmpty()) load_info_table();
_timetable_fn = _settings_p->value("last_timetable_fn", QVariant()).toString();
if (!_timetable_fn.isEmpty()) load_time_table();
}
void MainWindow::on_action_info_triggered()
{
_info_fn = QFileDialog::getOpenFileName(this, tr("打开"), QString(),
tr("Excel 文件(*.xls *.xlsx);;所有文件(*.*)"));
if (_info_fn.isNull()) return;
load_info_table();
QMessageBox::information(this, tr("载入成功"), tr("课程信息文件载入成功!\n载入时间表文件以显示课表。"));
}
void MainWindow::on_action_time_triggered()
{
_timetable_fn = QFileDialog::getOpenFileName(this, tr("打开"), QString(),
tr("Excel 文件(*.xls *.xlsx);;所有文件(*.*)"));
if (_timetable_fn.isNull()) return;
load_time_table();
QMessageBox::information(this, tr("载入成功"), tr("时间表文件载入成功!"));
}
void MainWindow::update_time() {
QDateTime curr = QDateTime::currentDateTime();
_curr_weekday = curr.date().dayOfWeek();
_curr_time = curr.time();
_curr_week = int(_begin_date.daysTo(curr.date()) / WEEKDAYS.size()) + 1;
update_current_course();
highlight_course(_curr_course.x(), _curr_course.y());
if (_curr_week % 2 == 1) _curr_table = &_odd_week_table;
else _curr_table = &_even_week_table;
std::ostringstream oss;
oss << "第" << _curr_week << "周,"
<< WEEKDAYS[_curr_weekday - 1].toStdString() << ","
<< _curr_time.toString(QString("H:mm")).toStdString();
ui->labelTime->setText(tr(oss.str().c_str()));
}
void MainWindow::on_tableWidgetTimetable_cellDoubleClicked(int row, int column)
{
display_course_info((*_curr_table)[row][column]);
_timerp->start(_time_interval);
}
void MainWindow::on_action_reload_triggered()
{
if (!_info_fn.isEmpty()) load_info_table();
if (!_timetable_fn.isEmpty()) load_time_table();
}
void MainWindow::on_action_date_triggered()
{
DialogDate *dialogp = new DialogDate(this, _begin_date);
connect(dialogp, SIGNAL(to_save_date(QDate)),
this, SLOT(when_saving_date(QDate)));
dialogp->show();
}
void MainWindow::when_saving_date(QDate date) {
_begin_date = date;
update_time();
QMessageBox::information(this, tr("设置成功"), tr("学期开始日设置成功!"));
}
void MainWindow::on_action_welcome_triggered()
{
QString temp = QInputDialog::getText(this, tr("设置欢迎语"), tr("欢迎语:"), QLineEdit::Normal, _welcome);
if (!temp.isNull()) {
_welcome = temp;
ui->labelHello->setText(_welcome);
QMessageBox::information(this, tr("设置成功"), tr("欢迎语设置成功!"));
}
}
void MainWindow::update_current_course() {
int num = 0;
for ( ; num != _course_time.size(); ++num) {
if (_curr_time >= _course_time[num][0]
&& _curr_time < _course_time[num][1])
break;
}
if (num == _course_time.size()) num = -1;
_curr_course = {num, _curr_weekday - 1};
}
void MainWindow::load_table(const QString &filename, std::unique_ptr<QXlsx::Document> &ptr) {
if (!QFile::exists(filename)) {
std::ostringstream oss;
oss << "找不到文件 " << filename.toStdString()
<< "。该文件是否已被移动、重命名或删除?";
QMessageBox::warning(this, tr("载入失败"), tr(oss.str().c_str()));
throw std::invalid_argument("bad filename");
}
ptr = std::unique_ptr<QXlsx::Document>(new QXlsx::Document(filename));
}
void MainWindow::load_info_table() {
try {
load_table(_info_fn, _info_fp);
}
catch (std::invalid_argument) {
_info_fn = QString();
_timetable_fn = QString();
_timetable_fp = std::unique_ptr<QXlsx::Document>();
ui->action_time->setEnabled(false);
ui->action_reload->setEnabled(false);
return;
}
QXlsx::CellRange range = _info_fp->dimension();
int firstR = range.firstRow(), lastR = range.lastRow() + 1;
int firstC = range.firstColumn(), lastC = range.lastColumn() + 1;
int index_col = 0, name_col = 1;
QVector<bool> url_check;
_info_map = QMap<int, CourseInfo>();
_info_header = QVector<QString>();
for (int row = firstR; row != lastR; ++row) {
if (row == firstR) {
for (int col = firstC; col != lastC; ++col) {
_info_header.append(_info_fp->read(row, col).toString());
}
}
else if (row == firstR + 1) {
for (int col = firstC; col != lastC; ++col) {
QString temp = _info_fp->read(row, col).toString();
if (temp == QString("name")) { name_col = col; }
else if (temp == QString("index")) { index_col = col; }
url_check.append(temp == QString("url"));
}
}
else {
int index = _info_fp->read(row, index_col).toInt();
QString name = _info_fp->read(row, name_col).toString();
QVector<QString> content;
for (int col = firstC; col != lastC; ++col) {
content.append(_info_fp->read(row, col).toString());
}
_info_map.insert(index, CourseInfo(name, content));
for (int i = 0; i != url_check.size(); ++i) {
_info_map.find(index).value().set_url(i, url_check[i]);
}
}
}
ui->action_time->setEnabled(true);
ui->action_reload->setEnabled(true);
}
void MainWindow::load_time_table() {
if (!ui->action_time->isEnabled()) return;
try {
load_table(_timetable_fn, _timetable_fp);
}
catch (std::invalid_argument) {
return;
}
QXlsx::CellRange range = _timetable_fp->dimension();
int firstR = range.firstRow(), lastR = range.lastRow() + 1;
int firstC = range.firstColumn();
int week_cnt = WEEKDAYS.size();
int row_num = lastR - firstR;
_course_time = QVector<QVector<QTime>>();
_odd_week_table = _even_week_table = QVector<QVector<int>>();
for (int row = firstR; row != lastR; ++row) {
_course_time.append(QVector<QTime>{_timetable_fp->read(row, firstC).toTime(),
_timetable_fp->read(row, firstC+1).toTime()});
int begC = firstC + 2;
QVector<int> odd_vec, even_vec;
for (int index = 0; index != week_cnt; ++index) {
int col = begC + index*2;
odd_vec.append(_timetable_fp->read(row, col).toInt());
even_vec.append(_timetable_fp->read(row, col+1).toInt());
}
_odd_week_table.append(odd_vec);
_even_week_table.append(even_vec);
}
ui->tableWidgetTimetable->setColumnCount(week_cnt);
ui->tableWidgetTimetable->setRowCount(row_num);
QStringList labels;
for (auto item : WEEKDAYS) {
labels.append(item);
}
ui->tableWidgetTimetable->setHorizontalHeaderLabels(labels);
for (int i = 0; i != row_num; ++i) {
for (int j = 0; j != week_cnt; ++j) {
int num = (*_curr_table)[i][j];
QString name;
if (num != 0) name = _info_map.find(num)->get_name();
ui->tableWidgetTimetable->setItem(i, j, new QTableWidgetItem(name));
}
}
ui->tableWidgetTimetable->verticalHeader()->setSectionResizeMode(QHeaderView::Stretch);
ui->tableWidgetTimetable->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
update_current_course();
show_current_course();
}
void MainWindow::show_current_course() {
highlight_course(_curr_course.x(), _curr_course.y());
if (_curr_course.x() >= 0) {
display_course_info((*_curr_table)[_curr_course.x()][_curr_course.y()]);
}
}
void MainWindow::highlight_course(int x, int y) {
QColor default_color = {255, 255, 255};
for (int row = 0; row != ui->tableWidgetTimetable->rowCount(); ++row) {
for (int col = 0; col != ui->tableWidgetTimetable->columnCount(); ++col) {
ui->tableWidgetTimetable->item(row, col)->setBackground(QBrush(default_color));
}
}
if (x < 0) return;
ui->tableWidgetTimetable->item(x, y)->setBackground(QBrush(_highlight));
}
void MainWindow::display_course_info(int x, int y) {
display_course_info((*_curr_table)[x][y]);
}
void MainWindow::display_course_info(int num) {
while (!_url_labelp.isEmpty()) {
ui->verticalLayout_4->removeWidget(_url_labelp.back());
_url_labelp.back()->deleteLater();
_url_labelp.pop_back();
}
if (num == 0) {
ui->tableWidgetInfo->setVerticalHeaderLabels(QStringList());
ui->tableWidgetInfo->setRowCount(0);
ui->tableWidgetInfo->setColumnCount(0);
return;
}
int row_count = 0;
QStringList labels;
QVector<QString> content;
for (int i = 0; i != _info_header.size(); ++i) {
CourseInfo &course = _info_map.find(num).value();
if (!_info_header[i].isEmpty()
&& !course[i].isEmpty())
{
++row_count;
labels.append(_info_header[i]);
content.append(course[i]);
if (course.is_url(i)) {
QLabel *labelp = new QLabel(ui->verticalFrame);
_url_labelp.append(labelp);
std::ostringstream oss;
oss << "<a href=\"" << course[i].toStdString()
<< "\">相关网址" << _url_labelp.size() << "</a>";
labelp->setText(tr(oss.str().c_str()));
labelp->setFont(QFont("微软雅黑", 12));
labelp->setOpenExternalLinks(true);
ui->verticalLayout_4->addWidget(labelp);
}
}
}
ui->tableWidgetInfo->setRowCount(row_count);
ui->tableWidgetInfo->setColumnCount(1);
ui->tableWidgetInfo->setEditTriggers(QTableWidget::NoEditTriggers);
ui->tableWidgetInfo->setVerticalHeaderLabels(labels);
for (int row = 0; row != content.size(); ++row) {
ui->tableWidgetInfo->setItem(row, 0, new QTableWidgetItem(content[row]));
}
ui->tableWidgetInfo->resizeRowsToContents();
ui->tableWidgetInfo->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
ui->tableWidgetInfo->verticalHeader()->setSectionResizeMode(QHeaderView::Fixed);
}
| [
"[email protected]"
] | |
6b9ab8ea56ba31e37cf1e678a7182ab542f574d7 | 673058dceba4e81adeaf1ebfd979df0cc5902a2c | /bin/Debug/Grent/CPP/WorldServer/WorldServerModule.h | 869b4f7476bb63c57f025be05909c4889d179cfd | [] | no_license | qipa/RpcCoder_SY | c0dbe6e87ad2053d85df1d6d74c9f7058c042e15 | 2a8a196fec927afbb27d35ee1b9bddd9a6591634 | refs/heads/master | 2021-05-14T05:58:12.335735 | 2017-12-11T03:58:28 | 2017-12-11T03:58:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,770 | h | /********************************************************************************************
* Copyright (C), 2011-2025, Ambition. Co., Ltd.
* FileName: ModuleWorldServer.h
* Author: 郭晓波
* Description: 世界服务器模块类,包含以下内容
* ★模块基本信息函数
* ★初始化结束回调函数
* ★时间相当回调函数
* ★用户创建上下线回调函数
* ★模块数据修改及同步回调函数
* ★服务器后台RPC函数
* ★客户端RPC函数
* Version: 1.0
* History:
* <author> <time> <version > <desc>
*
********************************************************************************************/
#ifndef __MODULE_WORLDSERVER_H
#define __MODULE_WORLDSERVER_H
#include "PacketFactory.h"
#include "include/PacketMgr.h"
#include "WorldServerRpc.pb.h"
#include <memory>
class CPlayer;
class CPacket;
extern std::unique_ptr<PacketMgr> g_pPacketMgr;
//世界服务器模块实现类
class ModuleWorldServer
{
public:
//世界服务器模块类的枚举定义
enum ConstWorldServerE
{
MODULE_ID_WORLDSERVER = 8, //世界服务器模块模块ID
RPC_CODE_WORLDSERVER_CHANGESCENE_REQUEST = 851, //世界服务器模块-->通知世界服务器切换场景-->请求
RPC_CODE_WORLDSERVER_ENTERSCENE_REQUEST = 852, //世界服务器模块-->进入场景-->请求
};
public:
//世界服务器模块实现类构造函数
ModuleWorldServer()
{
g_pPacketMgr->registerHandle( RPC_CODE_WORLDSERVER_CHANGESCENE_REQUEST, &ModuleWorldServer::RpcChangeScene);
g_pPacketMgr->registerPacketFacotry( RPC_CODE_WORLDSERVER_CHANGESCENE_REQUEST, new Some_Factory<WorldServerRpcChangeSceneAsk>());
g_pPacketMgr->registerHandle( RPC_CODE_WORLDSERVER_ENTERSCENE_REQUEST, &ModuleWorldServer::RpcEnterScene);
g_pPacketMgr->registerPacketFacotry( RPC_CODE_WORLDSERVER_ENTERSCENE_REQUEST, new Some_Factory<WorldServerRpcEnterSceneAsk>());
}
//世界服务器模块实现类析构函数
~ModuleWorldServer(){}
static ModuleWorldServer Instance()
{
static ModuleWorldServer sInstance;
return sInstance;
}
bool Initialize();
public:
/********************************************************************************************
* Function: RpcChangeScene
* Description: 世界服务器模块-->通知世界服务器切换场景同步调用操作函数
* Input: WorldServerRpcChangeSceneAskWraper& Ask 通知世界服务器切换场景请求
* Output: WorldServerRpcChangeSceneReplyWraper& Reply 通知世界服务器切换场景回应
* Return: int 高16位为系统返回值RpcCallErrorCodeE,获取方法GET_RPC_ERROR_CODE(ret)
* 低16位为操作返回值,获取方法GET_OPERATION_RET_CODE(ret)
********************************************************************************************/
static int RpcChangeScene( CPlayer* pPlayer, CPacket* pPacket );
/********************************************************************************************
* Function: RpcEnterScene
* Description: 世界服务器模块-->进入场景同步调用操作函数
* Input: WorldServerRpcEnterSceneAskWraper& Ask 进入场景请求
* Output: WorldServerRpcEnterSceneReplyWraper& Reply 进入场景回应
* Return: int 高16位为系统返回值RpcCallErrorCodeE,获取方法GET_RPC_ERROR_CODE(ret)
* 低16位为操作返回值,获取方法GET_OPERATION_RET_CODE(ret)
********************************************************************************************/
static int RpcEnterScene( CPlayer* pPlayer, CPacket* pPacket );
};
#endif | [
"[email protected]"
] | |
ab9094c0afc81f8c9a340f73c76c95eb3f30cdd1 | 314c8b50befaa23f0a95320f97ca2961a1904614 | /jmuduo/Pratice_muduo/muduo/net/TcpServer.h | fed02b501d946c17f83e8c53e5a30f1f8123e62a | [] | no_license | hchc32/linux-hc | c9f86d338419ea047ae2efae7b31104dfcac9261 | 35108133a3ea1f5fa7a8ca4a1e850566503e4237 | refs/heads/master | 2023-03-01T17:10:14.092615 | 2021-08-06T23:19:14 | 2021-08-06T23:19:14 | 226,843,078 | 0 | 0 | null | 2023-02-25T08:18:10 | 2019-12-09T10:18:16 | Go | UTF-8 | C++ | false | false | 4,156 | h | // Copyright 2010, Shuo Chen. All rights reserved.
// http://code.google.com/p/muduo/
//
// Use of this source code is governed by a BSD-style license
// that can be found in the License file.
// Author: Shuo Chen (chenshuo at chenshuo dot com)
//
// This is a public header file, it must only include public header files.
#ifndef MUDUO_NET_TCPSERVER_H
#define MUDUO_NET_TCPSERVER_H
#include "../../muduo/base/Atomic.h"
#include "../../muduo/base/Types.h"
#include "../../muduo/net/TcpConnection.h"
#include <map>
namespace muduo
{
namespace net
{
class Acceptor;
class EventLoop;
class EventLoopThreadPool;
///
/// TCP server, supports single-threaded and thread-pool models.
///
/// This is an interface class, so don't expose too much details.
class TcpServer : noncopyable
{
public:
typedef std::function<void(EventLoop*)> ThreadInitCallback;
enum Option
{
kNoReusePort,
kReusePort,
};
//TcpServer(EventLoop* loop, const InetAddress& listenAddr);
TcpServer(EventLoop* loop,
const InetAddress& listenAddr,
const string& nameArg,
Option option = kNoReusePort);
~TcpServer(); // force out-line dtor, for std::unique_ptr members.
//返回服务的端口
const string& ipPort() const { return ipPort_; }
//返回服务的名称
const string& name() const { return name_; }
//返回服务的EventLoop
EventLoop* getLoop() const { return loop_; }
/// Set the number of threads for handling input.
///
/// Always accepts new connection in loop's thread.
/// Must be called before @c start
/// @param numThreads
/// - 0 means all I/O in loop's thread, no thread will created.
/// this is the default value.
/// - 1 means all I/O in another thread.
/// - N means a thread pool with N threads, new connections
/// are assigned on a round-robin basis.
//设置线程池中io线程的数量<不包含mainreactor>
void setThreadNum(int numThreads);
//线程初始化回调函数
void setThreadInitCallback(const ThreadInitCallback& cb)
{ threadInitCallback_ = cb; }
/// valid after calling start()
std::shared_ptr<EventLoopThreadPool> threadPool()
{ return threadPool_; }
/// Starts the server if it's not listening.
///
/// It's harmless to call it multiple times.
/// Thread safe.
//启动
void start();
/// Set connection callback.
/// Not thread safe.
//设置连接到来或者连接关闭的回调函数
void setConnectionCallback(const ConnectionCallback& cb)
{ connectionCallback_ = cb; }
/// Set message callback.
/// Not thread safe.
//设置消息到来的回调函数
void setMessageCallback(const MessageCallback& cb)
{ messageCallback_ = cb; }
/// Set write complete callback.
/// Not thread safe.
void setWriteCompleteCallback(const WriteCompleteCallback& cb)
{ writeCompleteCallback_ = cb; }
private:
/// Not thread safe, but in loop
//Acceptor::accept()之后会回调的函数
void newConnection(int sockfd, const InetAddress& peerAddr);
/// Thread safe.
void removeConnection(const TcpConnectionPtr& conn);
/// Not thread safe, but in loop
void removeConnectionInLoop(const TcpConnectionPtr& conn);
//key - 连接名称 , TcpConnectionPtr - 连接对象的shared_ptr指针
typedef std::map<string, TcpConnectionPtr> ConnectionMap;
EventLoop* loop_; // the acceptor loop,accept所属的EventLoop
const string ipPort_;//服务端口
const string name_;//服务名称
//可以用来绑定和监听套接字
std::unique_ptr<Acceptor> acceptor_; // avoid revealing Acceptor
std::shared_ptr<EventLoopThreadPool> threadPool_;
ConnectionCallback connectionCallback_;//连接到来的回调函数
MessageCallback messageCallback_;//消息到来的回调函数
WriteCompleteCallback writeCompleteCallback_;//写完成回调函数
ThreadInitCallback threadInitCallback_;//线程初始化回调函数
AtomicInt32 started_; //是否已经启动了
// always in loop thread
int nextConnId_; //下一个连接id
ConnectionMap connections_;//连接列表(Map)
};
} // namespace net
} // namespace muduo
#endif // MUDUO_NET_TCPSERVER_H
| [
"[email protected]"
] | |
c46427fb02d0c414ff2524d3711826b03cf6f153 | 9dcca86d62dc69d32f52213f667c8c3d0f59cddb | /DX11Starter/MemoryAllocator.cpp | 08aba9ac1e0b651d01a16c8b90ef9522d8a2aab3 | [] | no_license | jarrettbriody/EtherealEngine | 02ebf5325a145d3145098b7d1f8f9719dd45f3f8 | 0ea3f7ebf777dd5fd47102f5831a485ccc4b70e2 | refs/heads/master | 2023-09-02T00:16:20.375223 | 2021-05-21T02:32:20 | 2021-05-21T02:32:20 | 173,377,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,205 | cpp | #include "pch.h"
#include "MemoryAllocator.h"
MemoryAllocator* MemoryAllocator::instance = nullptr;
MemoryAllocator::MemoryAllocator(unsigned int size, unsigned int alignment, unsigned int maxPools)
{
originalBufferPtr = memoryBuffer = malloc(((size_t)size + alignment) - 1);
const uintptr_t address = reinterpret_cast<uintptr_t>(memoryBuffer);
const size_t mask = alignment - 1;
//assert((alignment & mask) == 0);
const uintptr_t alignedAddress = (address + mask) & ~mask;
memoryBuffer = currentPtr = reinterpret_cast<void*>(alignedAddress);
this->size = size;
this->alignment = alignment;
this->maxPools = maxPools;
pools = new Pool[maxPools];
}
MemoryAllocator::~MemoryAllocator()
{
delete[] pools;
free(originalBufferPtr);
}
bool MemoryAllocator::SetupInstance(unsigned int size, unsigned int alignment, unsigned int maxPools)
{
if (instance == nullptr) {
instance = new MemoryAllocator(size, alignment, maxPools);
return true;
}
return false;
}
MemoryAllocator* MemoryAllocator::GetInstance()
{
return instance;
}
bool MemoryAllocator::DestroyInstance()
{
if (instance != nullptr) {
delete instance;
return true;
}
return false;
}
bool MemoryAllocator::CreatePool(unsigned int pool, unsigned int size, unsigned int slugSize)
{
if (pool > maxPools || pool < 0)
return false;
if (pools[pool].startPtr != nullptr)
return false;
unsigned int alignedSize = size - (size % alignment);
unsigned int alignedBlockSize = slugSize + (alignment - (slugSize % alignment));
if (alignedBlockSize - slugSize < 8) alignedBlockSize += alignment;
if (usedMemory >= this->size || usedMemory + alignedSize >= this->size)
return false;
pools[poolCnt] = { (char*)currentPtr, alignedSize, alignedBlockSize, slugSize, 0, (char*)currentPtr };
currentPtr = (void*)((char*)currentPtr + alignedSize);
usedMemory += alignedSize;
unsigned int blockCount = alignedSize / alignedBlockSize;
char* traversingPtr = (char*)pools[poolCnt].startPtr;
char* nextTraversingPtr = traversingPtr;
uintptr_t castedPtrToStore;// = reinterpret_cast<uintptr_t>(traversingPtr);
//memcpy(traversingPtr, &castedPtrToStore, sizeof(char*));
for (size_t i = 0; i < blockCount - 1; i++)
{
nextTraversingPtr = nextTraversingPtr + alignedBlockSize;
castedPtrToStore = reinterpret_cast<uintptr_t>(nextTraversingPtr);
memcpy(traversingPtr, &castedPtrToStore, sizeof(char*));
traversingPtr = nextTraversingPtr;
}
castedPtrToStore = reinterpret_cast<uintptr_t>(pools[poolCnt].startPtr);
memcpy(traversingPtr, &castedPtrToStore, sizeof(char*));
poolCnt++;
return true;
}
void* MemoryAllocator::AllocateToPool(unsigned int pool, unsigned int slugSize, bool& success)
{
//check that params are valid
if (pool > maxPools || pool < 0 ||
pools[pool].startPtr == nullptr ||
pools[pool].usedMemory >= pools[pool].size) {
success = false;
return nullptr;
}
//calc actual memory slug location
char* writeMemoryLoc = (char*)pools[pool].currentPtr + (pools[pool].blockSize - slugSize);
//de-encode encoded linked list pointer in memory block
uintptr_t castedPtr;
memcpy(&castedPtr, pools[pool].currentPtr, sizeof(char*));
void* castedPtrToRetrieve = reinterpret_cast<void*>(castedPtr);
//traverse to next memory block location
pools[pool].currentPtr = castedPtrToRetrieve;
//count mem usage
pools[pool].usedMemory += pools[pool].blockSize;
success = true;
//std::cout << pool << " | " << ((float)pools[pool].usedMemory / (float)pools[pool].size) << std::endl;
return (void*)writeMemoryLoc;
}
bool MemoryAllocator::DeallocateFromPool(unsigned int pool, void* memoryLocation, unsigned int slugSize)
{
char* reqMem = (char*)memoryLocation;
//check that params are valid
if (pool > maxPools || pool < 0 ||
pools[pool].startPtr == nullptr ||
reqMem < (char*)pools[pool].startPtr ||
reqMem > (char*)pools[pool].startPtr + (pools[pool].size - pools[pool].slugSize)) {
return false;
}
char* actualMemoryLoc = reqMem - (pools[pool].blockSize - slugSize);
uintptr_t castedPtrToStore = reinterpret_cast<uintptr_t>(pools[pool].currentPtr);
memcpy(actualMemoryLoc, &castedPtrToStore, sizeof(char*));
pools[pool].currentPtr = actualMemoryLoc;
return true;
}
| [
"[email protected]"
] | |
e25648172519d34d64faf491186794d8a1d6f44b | fcbd714c3812d3dde82f5d4fa5454619e1506c2e | /log4cplus-c++11/include/internal/env.h | 97b40c8f392a314143b739ead5b689bcde107203 | [] | no_license | jjfsq1985/cplusplus | 1df8d54bc9517a15d05cf03cd5af8df3d0608c10 | 2b574c3f127ec9761388a1eeb02a2721fc1a3bd4 | refs/heads/master | 2020-04-12T06:17:23.795742 | 2017-10-18T08:46:34 | 2017-10-18T08:46:34 | 25,578,748 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,663 | h | // -*- C++ -*-
// Module: Log4CPLUS
// File: env.h
// Created: 7/2010
// Author: Vaclav Haisman
//
//
// Copyright (C) 2010-2015, Vaclav Haisman. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modifica-
// tion, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
//
// THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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
// APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
// DING, 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 LOG4CPLUS_INTERNAL_ENV_H
#define LOG4CPLUS_INTERNAL_ENV_H
#include <config.hxx>
#if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
#pragma once
#endif
#include <vector>
#include <tstring.h>
#if defined (_WIN32)
#include <config/windowsh-inc.h>
#endif
#ifdef LOG4CPLUS_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef LOG4CPLUS_HAVE_UNISTD_H
#include <unistd.h>
#endif
namespace log4cplus { namespace internal {
//! Get environment variable value.
bool get_env_var (tstring & value, tstring const & name);
//! Parse a string as a boolean value.
bool parse_bool (bool & val, tstring const & str);
//! Parse a path into path components.
bool split_path (std::vector<tstring> & components, std::size_t & special,
tstring const & path);
//! Makes directories leading to file.
void make_dirs (tstring const & file_path);
inline
#if defined (_WIN32)
DWORD
get_process_id ()
{
return GetCurrentProcessId ();
}
#elif defined (LOG4CPLUS_HAVE_GETPID)
pid_t
get_process_id ()
{
return getpid ();
}
#else
int
get_process_id ()
{
return 0;
}
#endif
} } // namespace log4cplus { namespace internal {
#endif // LOG4CPLUS_INTERNAL_ENV_H
| [
"[email protected]"
] | |
5fe252b5f2ad28f32785602d50f59fd7025b6fa3 | 930561e4b8eb25f8c9690365409e95b292aa0115 | /httpserver/httpserver.cpp | 4d8d15837d9690b06a158d1922c70258447d7322 | [] | no_license | JeroenBrinkman/IlwisConnectors | 63793e25414718dae6623c72637775b941bbfea3 | 2b0d32089b19344ebfd71095aec465f60c91b8fa | refs/heads/master | 2021-01-16T01:25:56.887878 | 2013-09-30T14:03:04 | 2013-09-30T14:03:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,225 | cpp | #include "kernel.h"
#include "ilwisdata.h"
#include "resource.h"
#include "identity.h"
#include "OperationExpression.h"
#include "operationmetadata.h"
#include "operation.h"
#include "commandhandler.h"
#include "httpserver.h"
using namespace Ilwis;
using namespace HTTP;
OperationImplementation *HTTPServer::create(quint64 metaid, const Ilwis::OperationExpression &expr)
{
return new HTTPServer(metaid, expr);
}
HTTPServer::HTTPServer()
{
}
HTTPServer::HTTPServer::HTTPServer(quint64 metaid, const Ilwis::OperationExpression &expr) : OperationImplementation(metaid, expr)
{
}
OperationImplementation::State HTTPServer::prepare() {
return OperationImplementation::sPREPARED;
}
bool HTTPServer::execute(ExecutionContext *ctx)
{
return false;
}
quint64 HTTPServer::createMetadata()
{
QString urlTxt = QString("ilwis://operations/startserver");
QUrl url(urlTxt);
Resource res(url, itOPERATIONMETADATA);
res.addProperty("namespace","ilwis");
res.addProperty("longname","startserver");
res.addProperty("syntax","startserver");
res.prepare();
urlTxt += "=" + QString::number(res.id());
res.setUrl(QUrl(urlTxt));
mastercatalog()->addItems({res});
return res.id();
}
| [
"[email protected]"
] | |
5345fa0eccc22b80d37c343bd9d5da781b897d3e | 98b1e51f55fe389379b0db00365402359309186a | /homework_7/problem_1/case_3/system/fvSchemes | 2bdb1aa7245b18e55755cdc021a166c98fa00b79 | [] | no_license | taddyb/597-009 | f14c0e75a03ae2fd741905c4c0bc92440d10adda | 5f67e7d3910e3ec115fb3f3dc89a21dcc9a1b927 | refs/heads/main | 2023-01-23T08:14:47.028429 | 2020-12-03T13:24:27 | 2020-12-03T13:24:27 | 311,713,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
}
gradSchemes
{
default Gauss linear;
}
divSchemes
{
default none;
div(phi,U) Gauss linear;
}
laplacianSchemes
{
default Gauss linear orthogonal;
}
interpolationSchemes
{
default linear;
}
snGradSchemes
{
default orthogonal;
}
// ************************************************************************* //
| [
"[email protected]"
] | ||
17ec1f2a64242cb0861613b44a7a0a10e0d05174 | e6ea2461f7288808bd387c06f9fd7d793f031b6e | /7.2/Source.cpp | cfefb9e52d8f97dcb18bf65db542731a56765fcc | [] | no_license | 64011150/7.2 | 16267a1fb996f5cd4892efaa3c52373516ea960d | 3b0e9d36f70138aacb640af40c717c5a3a17fea5 | refs/heads/master | 2023-08-11T13:59:54.250006 | 2021-09-19T08:22:02 | 2021-09-19T08:22:02 | 408,071,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include<stdio.h>
int main() {
int x, a;
scanf_s("%d", &x);
for (a = 1; x >= a;a=a+1) {
if (x == 2 * a) {
printf_s("even number");
break;
}
}
for (a = 1; x >= a; a = a + 1) {
if (x == 2 * a + 1) {
printf_s("odd number");
break;
}
}
return 0;
} | [
"Acer@DESKTOP-ANUJO1P"
] | Acer@DESKTOP-ANUJO1P |
64d420c4171aba749ecb0d7cea6d268e851f52d1 | 0ab72b7740337ec0bcfec102aa7c740ce3e60ca3 | /include/simplified/system/interaction/parameter/dihedral/dual-periodic/_build.h | 796a9dbcafe4274c08a10d1946b10f2816d21705 | [] | no_license | junwang-nju/mysimulator | 1d1af4ad7ddbe114433ebdadd92de8bb3a45c04f | 9c99970173ce87c249d2a2ca6e6df3a29dfc9b86 | refs/heads/master | 2021-01-10T21:43:01.198526 | 2012-12-15T23:22:56 | 2012-12-15T23:22:56 | 3,367,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | h |
#ifndef _System_Interaction_Parameter_Dihedral_DualPeriodic_Build_H_
#define _System_Interaction_Parameter_Dihedral_DualPeriodic_Build_H_
#include "system/interaction/parameter/dihedral/dual-periodic/name.h"
#include "array/interface.h"
namespace mysimulator {
class InteractionParameter;
void _build_dihedral_dual_periodic(
Array<Double>&,Array<Int>&,Array<InteractionParameter>& _PParam) {
assert((bool)_PParam);
assert(_PParam.size()>=
DihedralDualPeriodicParameterName::Child::NumberParameter);
_PParam[DihedralDualPeriodicParameterName::Child::Period1].build();
_PParam[DihedralDualPeriodicParameterName::Child::Period2].build();
}
}
#endif
| [
"[email protected]"
] | |
44c5824e285844bdde632f6780ce8d28651e8faa | 99cfd2020e2984f2d463978b5a134a2f1081d094 | /shashank/multilevel_inheritance.cpp | b2df0e5684c63587c3fe5c057b2bab82cf50087e | [
"MIT"
] | permissive | sekharkaredla/Cpp_Programs | 5e33ff5ee7a15fa6582d7d9319a78b3c19071b2a | e026d3322da5913e327033cb5d4787665998aef3 | refs/heads/master | 2021-05-09T07:07:51.674806 | 2018-01-29T08:12:23 | 2018-01-29T08:12:23 | 119,348,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | cpp | #include<iostream>
using namespace std;
class student
{
protected:
int rno;
public:
void getr(int n)
{
rno=n;
}
void showr();
};
void student::showr()
{
cout<<endl<<"ROLL NO : "<<rno;
}
class test:public student
{
protected:
float m1,m2;
public:
void getm(float a,float b)
{
m1=a;m2=b;
}
void showm()
{
cout<<endl<<"MARKS OF SUB1 AND SUB2 ARE : "<<m1<<" "<<m2;
}
};
class result:public test
{
protected:
float total;
public:
void tot()
{
total=m1+m2;
}
void display();
};
void result::display()
{
showr();
showm();
if(total<90)
cout<<endl<<"FAIL";
else
cout<<endl<<"PASS";
}
int main()
{
result obj;int n;
cout<<"\nenter your roll no : ";
cin>>n;
obj.getr(n);
float a,b;
cout<<"\nenter the marks of the subjects : ";
cin>>a>>b;
obj.getm(a,b);
obj.tot();
obj.display();
return 0;
}
| [
"[email protected]"
] | |
76df469630b093ebb367859756a224bfad7ed707 | 1efccef3353a58751d15e79fcbc05c94a1edbbb1 | /ai/combiner/AI.h | eee51d14ed20cb642cb3b7895dc306fecaa2ffc1 | [] | no_license | siggame/MegaMinerAI-6 | 22c67bbcbafe00c45a12f2909de66538792e0a87 | 28ce96071aecd2dc7e7f82f0fea34e727d64e097 | refs/heads/master | 2020-06-04T18:02:46.328674 | 2011-04-13T22:23:02 | 2011-04-13T22:23:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | h | #ifndef AI_H
#define AI_H
#include "BaseAI.h"
#include <iostream>
#include <cstdlib>
#include <ctime>
#include <queue>
#include <fstream>
#include <list>
#include <map>
#include <limits.h>
using namespace std;
struct Order;
struct Stub;
///The class implementing gameplay logic.
class AI: public BaseAI
{
public:
AI(Connection* c);
virtual const char* username();
virtual const char* password();
virtual void init();
virtual bool run();
virtual void end();
void execute(Order&order);
float getScore(Stub&stub);
float bestMove(Order&order);
float bestAttack(Order&order);
float bestHeal(Order&order);
float bestBuild(Order&order);
float bestCombine(Order&order);
float bestSplit(Order&order);
map<int, int> idToBot;
};
#endif
| [
"[email protected]"
] | |
19f6dbad186fd4866c26a27f01ca3688fee779da | dbf8288fdcf3bf8a7381cd4c3b898c2330fea858 | /lecture_5/constexpr/bench.cpp | aa15972753a69e95843bc2385dc745f7143f2cdd | [] | no_license | AufarZakiev/CPP-codes-2021-2022 | bf0f5361a2852b8239d641fe09da80efaae61971 | b2cdebd0a636cffde165c7dae601977ab2d9c46e | refs/heads/main | 2023-07-27T17:23:01.008577 | 2021-09-12T18:27:29 | 2021-09-12T18:27:29 | 400,820,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 839 | cpp | #include "fibs.cpp"
#include <chrono>
#include <iomanip>
#include <iostream>
int main() {
{
auto start = std::chrono::high_resolution_clock::now();
auto result1 = fib(33);
std::cout << result1 << std::endl;
std::chrono::duration<double> diff =
std::chrono::high_resolution_clock::now() - start;
std::cout << "Time: " << std::fixed << std::setprecision(6) << diff.count()
<< " sec - fib" << std::endl;
}
{
auto start = std::chrono::high_resolution_clock::now();
constexpr auto result2 = static_fib(33);
std::cout << result2 << std::endl;
std::chrono::duration<double> diff =
std::chrono::high_resolution_clock::now() - start;
std::cout << "Time: " << std::fixed << std::setprecision(6) << diff.count()
<< " sec - static_fib" << std::endl;
}
} | [
"[email protected]"
] | |
e85b97067a273152b77df5a31355dde94ce16e00 | 872f24199d847f05ddb4d8f7ac69eaed9336a0d5 | /code/display/QtPlotter/conversion/ConverterVelocityFrequency.h | f5f389f70fbb0704a749e1b1519ea5df4831c8de | [] | no_license | schiebel/casa | 8004f7d63ca037b4579af8a8bbfb4fa08e87ced4 | e2ced7349036d8fc13d0a65aad9a77b76bfe55d1 | refs/heads/master | 2016-09-05T16:20:59.022063 | 2015-08-26T18:46:26 | 2015-08-26T18:46:26 | 41,441,084 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,819 | h | //# Copyright (C) 2005
//# Associated Universities, Inc. Washington DC, USA.
//#
//# 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; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: [email protected].
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//#
#ifndef CONVERTERVELOCITYFREQUENCY_H_
#define CONVERTERVELOCITYFREQUENCY_H_
#include <display/QtPlotter/conversion/ConverterVelocity.h>
namespace casa {
class ConverterVelocityFrequency : public ConverterVelocity {
public:
ConverterVelocityFrequency(const QString& oldUnits,const QString& newUnits);
virtual Vector<double> convert( const Vector<double>& oldValues, SpectralCoordinate spectralCoordinate );
virtual ~ConverterVelocityFrequency();
private:
void convertFrequency( Vector<double> &resultValues, QString& frequencyUnits, SpectralCoordinate& coord);
};
} /* namespace casa */
#endif /* CONVERTERVELOCITYFREQUENCY_H_ */
| [
"[email protected]"
] | |
4e7915438c14f49e045aa3ffcb888ca10483b107 | c31b5a50b294bac12c12d4a9ed5a27e62e180285 | /libsrc/syslog/MSyslogClient.cpp | 182cb0ba51254789cb5b32eecea418cefbfbe16a | [] | no_license | IHE-WUSTL/mesa | 6192bf0ab76c770945e432f1078404e883a09c7f | 6cfa6dcba8b39214975ebaed3be89b53a683e20b | refs/heads/master | 2020-03-08T06:27:53.528645 | 2018-04-03T19:54:46 | 2018-04-03T19:54:46 | 127,972,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,659 | cpp | //
// Copyright (C) 1999, 2000, HIMSS, RSNA and Washington University
//
// The MESA test tools software and supporting documentation were
// developed for the Integrating the Healthcare Enterprise (IHE)
// initiative Year 1 (1999-2000), under the sponsorship of the
// Healthcare Information and Management Systems Society (HIMSS)
// and the Radiological Society of North America (RSNA) by:
// Electronic Radiology Laboratory
// Mallinckrodt Institute of Radiology
// Washington University School of Medicine
// 510 S. Kingshighway Blvd.
// St. Louis, MO 63110
//
// THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND NEITHER HIMSS, RSNA NOR
// WASHINGTON UNIVERSITY MAKE ANY WARRANTY ABOUT THE SOFTWARE, ITS
// PERFORMANCE, ITS MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
// USE, FREEDOM FROM ANY DEFECTS OR COMPUTER DISEASES OR ITS CONFORMITY
// TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF
// THE SOFTWARE IS WITH THE USER.
//
// Copyright of the software and supporting documentation is
// jointly owned by HIMSS, RSNA and Washington University, and free
// access is hereby granted as a license to use this software, copy
// this software and prepare derivative works based upon this software.
// However, any distribution of this software source code or supporting
// documentation or derivative works (source code and supporting
// documentation) must include the three paragraphs of this copyright
// notice.
#include <strstream>
//#include "ctn_os.h"
#include "MESA.hpp"
#include "MSyslogClient.hpp"
#include "MSyslogMessage.hpp"
#include "MSyslogMessage5424.hpp"
#include "MConnector.hpp"
#include "MLogClient.hpp"
#include <strstream>
static char rcsid[] = "$Id: MSyslogClient.cpp,v 1.4 2002/09/13 21:29:24 smm Exp $";
#define ASCII_CR 0x0d
#define ASCII_LF 0x0a
MSyslogClient::MSyslogClient() :
mSocket(0),
mServerName(""),
mTestMode(0),
mIsConnected(false),
mNetworkProxy(0)
{
}
MSyslogClient::MSyslogClient(const MSyslogClient& cpy) :
mSocket(cpy.mSocket),
mServerName(cpy.mServerName),
mTestMode(cpy.mTestMode)
{
}
MSyslogClient::~MSyslogClient()
{
char buf[512] = "";
MLogClient logClient;
if (mSocket != 0) {
strstream x(buf, sizeof(buf));
x << "MSyslogClient::~MSyslogClient closing socket: " << mSocket << '\0';
logClient.logTimeStamp(MLogClient::MLOG_VERBOSE, buf);
#ifdef _WIN32
::closesocket(mSocket);
#else
::close(mSocket);
#endif
}
if (mNetworkProxy != 0) {
mNetworkProxy->close();
delete mNetworkProxy;
}
}
void
MSyslogClient::printOn(ostream& s) const
{
s << "MSyslogClient";
}
void
MSyslogClient::streamIn(istream& s)
{
//s >> this->member;
}
// Non boiler plate methods follow
int
MSyslogClient::open(const MString& host, int port)
{
MConnector c;
CTN_SOCKET s;
char buf[512] = "";
MLogClient logClient;
int status = c.connectUDP(host, port, s);
if (status != 0) {
strstream s(buf, sizeof(buf));
s << "Unable to make UDP socket to host: " << host
<< " at port: " << port << '\0';
logClient.log(MLogClient::MLOG_ERROR, "",
"MSyslogClient::open", __LINE__,
buf);
return 1;
}
mSocket = s;
strstream x(buf, sizeof(buf));
x << "MSyslogClient::open(" << host << "," << port << ") opens socket " << mSocket << '\0';
logClient.logTimeStamp(MLogClient::MLOG_VERBOSE, buf);
return 0;
}
int
MSyslogClient::openTCP(const MString& host, int port)
{
MConnector c;
CTN_SOCKET s;
int status = c.connectTCP(host, port, s);
if (status != 0) {
char buf[512];
strstream s(buf, sizeof(buf));
s << "Unable to make TCP socket to host: " << host
<< " at port: " << port << '\0';
MLogClient logClient;
logClient.log(MLogClient::MLOG_ERROR, "",
"MSyslogClient::openTCP", __LINE__,
buf);
return 1;
}
mSocket = s;
return 0;
}
#if 0
int
MSyslogClient::openTLS(const MString& host, int port, const MString& params)
{
MLogClient logClient;
#ifdef RFC5425
if (mNetworkProxyTLS.initializeClient(params) != 0) {
logClient.logTimeStamp(MLogClient::MLOG_ERROR,
MString("Unable to initialize Network Proxy TLS with params: ") + params);
return 1;
}
if (mNetworkProxyTLS.connect(host, port) != 0) {
char buf[512];
strstream s(buf, sizeof(buf));
s << "MSyslogClient::openTLS unable to connect to: " << host << " : " << port << '\0';
logClient.logTimeStamp(MLogClient::MLOG_ERROR, buf);
return 1;
}
mIsConnected = true;
return 0;
#else
logClient.logTimeStamp(MLogClient::MLOG_ERROR,
"MSyslogClient::openTLS was not compiled with RFC5425 flag");
return 1;
#endif
}
#endif
int
MSyslogClient::sendMessage(MSyslogMessage& m)
{
if (mSocket == 0) {
MLogClient logClient;
logClient.log(MLogClient::MLOG_ERROR, "",
"MSyslogClient::sendMessage", __LINE__,
"No socket opened before trying to send message: ");
return 1;
}
char buffer[2048];
int exportedLength = 0;
if (mTestMode == 0) { // This is the standard behavior
m.exportHeader(buffer, sizeof(buffer), exportedLength);
}
char *p = buffer + exportedLength;
int messageLength = exportedLength;
if (mTestMode == 0) {
*p++ = ' ';
messageLength++;
}
m.exportMessage(p, sizeof(buffer) - exportedLength, exportedLength);
messageLength += exportedLength;
int bytesWritten;
#ifdef _WIN32
bytesWritten = ::send(mSocket, buffer, messageLength, 0);
#else
bytesWritten = ::write(mSocket, buffer, messageLength);
#endif
if (bytesWritten != messageLength) {
::perror("");
char tmp[512];
strstream s(tmp, sizeof(tmp));
s << "Unable to send UDP datagram, requested: " << messageLength
<< " bytes, but only sent " << bytesWritten
<< " bytes";
MLogClient logClient;
logClient.log(MLogClient::MLOG_ERROR, "",
"MSyslogClient::sendMessage", __LINE__,
tmp);
}
return 0;
}
int
MSyslogClient::sendMessage(MSyslogMessage5424& m)
{
if (mSocket == 0) {
MLogClient logClient;
logClient.log(MLogClient::MLOG_ERROR, "",
"MSyslogClient::sendMessage", __LINE__,
"No socket opened before trying to send message: ");
return 1;
}
char buffer[2048];
int exportedLength = 0;
m.exportHeader(buffer, sizeof(buffer), exportedLength);
char *p = buffer + exportedLength;
int messageLength = exportedLength;
m.exportMessage(p, sizeof(buffer) - exportedLength, exportedLength);
messageLength += exportedLength;
int bytesWritten;
#ifdef _WIN32
bytesWritten = ::send(mSocket, buffer, messageLength, 0);
#else
bytesWritten = ::write(mSocket, buffer, messageLength);
#endif
if (bytesWritten != messageLength) {
::perror("");
char tmp[512];
strstream s(tmp, sizeof(tmp));
s << "Unable to send UDP datagram, requested: " << messageLength
<< " bytes, but only sent " << bytesWritten
<< " bytes";
MLogClient logClient;
logClient.log(MLogClient::MLOG_ERROR, "",
"MSyslogClient::sendMessage", __LINE__,
tmp);
}
return 0;
}
int
MSyslogClient::sendMessageTCP(MSyslogMessage5424& m)
{
if (mSocket == 0) {
MLogClient logClient;
logClient.log(MLogClient::MLOG_ERROR, "",
"MSyslogClient::sendMessageTCP", __LINE__,
"No socket opened before trying to send message: ");
return 1;
}
char buffer[2048];
int len = m.messageSize();
::sprintf(buffer, "%d ", len);
int lenDigits = ::strlen(buffer);
int exportedLength = 0;
m.exportHeader(buffer+lenDigits, sizeof(buffer)-lenDigits, exportedLength);
char *p = buffer + lenDigits + exportedLength;
int messageLength = lenDigits + exportedLength;
m.exportMessage(p, sizeof(buffer) - exportedLength, exportedLength);
messageLength += exportedLength;
int bytesWritten;
#ifdef _WIN32
bytesWritten = ::send(mSocket, buffer, messageLength, 0);
#else
bytesWritten = ::write(mSocket, buffer, messageLength);
#endif
if (bytesWritten != messageLength) {
::perror("");
char tmp[512];
strstream s(tmp, sizeof(tmp));
s << "Unable to send UDP datagram, requested: " << messageLength
<< " bytes, but only sent " << bytesWritten
<< " bytes";
MLogClient logClient;
logClient.log(MLogClient::MLOG_ERROR, "",
"MSyslogClient::sendMessage", __LINE__,
tmp);
}
return 0;
}
#if 0
int
MSyslogClient::sendMessageTLS(MSyslogMessage5424& m)
{
MLogClient logClient;
#ifdef RFC5425
if (!mIsConnected) {
logClient.logTimeStamp(MLogClient::MLOG_ERROR,
"MSyslogClient::sendMessageTLS trying to send message with no initialization");
return 1;
}
char buffer[2048];
int len = m.messageSize();
::sprintf(buffer, "%d ", len);
int lenDigits = ::strlen(buffer);
int exportedLength = 0;
m.exportHeader(buffer+lenDigits, sizeof(buffer)-lenDigits, exportedLength);
char *p = buffer + lenDigits + exportedLength;
int messageLength = lenDigits + exportedLength;
m.exportMessage(p, sizeof(buffer) - exportedLength, exportedLength);
messageLength += exportedLength;
int bytesWritten;
if (mNetworkProxyTLS.writeBytes(buffer, messageLength) != messageLength) {
char tmp[512];
strstream s(tmp, sizeof(tmp));
s << "Unable to send TLS bytes, requested: " << messageLength << '\0';
logClient.logTimeStamp(MLogClient::MLOG_ERROR, tmp);
return 1;
}
return 0;
#else
logClient.logTimeStamp(MLogClient::MLOG_ERROR,
"MSyslogClient::sendMessageTLS not compiled with RFC5425 enabled");
#endif
}
#endif
void
MSyslogClient::setTestMode(int mode)
{
mTestMode = mode;
}
| [
""
] | |
6999b50d2e3c373f166271faaf8c352d5820c422 | ffcfc498bd2ff51273e1db1b40f303509b93991c | /Intermediate/Build/Win64/UE4Editor/Inc/AviationDemo/FloatingTarget.generated.h | 3daa0e00cd4f37685d3c8f0b536acfd4222827dc | [] | no_license | GHMH5/AviationDemo | 90836adad268009e0d2e86ecdaed864bad670e65 | 3f823c428030bbca986f143047dbb7543a7cfb80 | refs/heads/master | 2020-09-07T07:04:30.948810 | 2019-11-09T20:08:21 | 2019-11-09T20:08:21 | 220,696,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,945 | h | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
===========================================================================*/
#include "ObjectMacros.h"
#include "ScriptMacros.h"
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#ifdef AVIATIONDEMO_FloatingTarget_generated_h
#error "FloatingTarget.generated.h already included, missing '#pragma once' in FloatingTarget.h"
#endif
#define AVIATIONDEMO_FloatingTarget_generated_h
#define AviationDemo_Source_AviationDemo_FloatingTarget_h_12_RPC_WRAPPERS
#define AviationDemo_Source_AviationDemo_FloatingTarget_h_12_RPC_WRAPPERS_NO_PURE_DECLS
#define AviationDemo_Source_AviationDemo_FloatingTarget_h_12_INCLASS_NO_PURE_DECLS \
private: \
static void StaticRegisterNativesAFloatingTarget(); \
friend AVIATIONDEMO_API class UClass* Z_Construct_UClass_AFloatingTarget(); \
public: \
DECLARE_CLASS(AFloatingTarget, AActor, COMPILED_IN_FLAGS(0), 0, TEXT("/Script/AviationDemo"), NO_API) \
DECLARE_SERIALIZER(AFloatingTarget) \
enum {IsIntrinsic=COMPILED_IN_INTRINSIC};
#define AviationDemo_Source_AviationDemo_FloatingTarget_h_12_INCLASS \
private: \
static void StaticRegisterNativesAFloatingTarget(); \
friend AVIATIONDEMO_API class UClass* Z_Construct_UClass_AFloatingTarget(); \
public: \
DECLARE_CLASS(AFloatingTarget, AActor, COMPILED_IN_FLAGS(0), 0, TEXT("/Script/AviationDemo"), NO_API) \
DECLARE_SERIALIZER(AFloatingTarget) \
enum {IsIntrinsic=COMPILED_IN_INTRINSIC};
#define AviationDemo_Source_AviationDemo_FloatingTarget_h_12_STANDARD_CONSTRUCTORS \
/** Standard constructor, called after all reflected properties have been initialized */ \
NO_API AFloatingTarget(const FObjectInitializer& ObjectInitializer); \
DEFINE_DEFAULT_OBJECT_INITIALIZER_CONSTRUCTOR_CALL(AFloatingTarget) \
DECLARE_VTABLE_PTR_HELPER_CTOR(NO_API, AFloatingTarget); \
DEFINE_VTABLE_PTR_HELPER_CTOR_CALLER(AFloatingTarget); \
private: \
/** Private move- and copy-constructors, should never be used */ \
NO_API AFloatingTarget(AFloatingTarget&&); \
NO_API AFloatingTarget(const AFloatingTarget&); \
public:
#define AviationDemo_Source_AviationDemo_FloatingTarget_h_12_ENHANCED_CONSTRUCTORS \
private: \
/** Private move- and copy-constructors, should never be used */ \
NO_API AFloatingTarget(AFloatingTarget&&); \
NO_API AFloatingTarget(const AFloatingTarget&); \
public: \
DECLARE_VTABLE_PTR_HELPER_CTOR(NO_API, AFloatingTarget); \
DEFINE_VTABLE_PTR_HELPER_CTOR_CALLER(AFloatingTarget); \
DEFINE_DEFAULT_CONSTRUCTOR_CALL(AFloatingTarget)
#define AviationDemo_Source_AviationDemo_FloatingTarget_h_12_PRIVATE_PROPERTY_OFFSET
#define AviationDemo_Source_AviationDemo_FloatingTarget_h_9_PROLOG
#define AviationDemo_Source_AviationDemo_FloatingTarget_h_12_GENERATED_BODY_LEGACY \
PRAGMA_DISABLE_DEPRECATION_WARNINGS \
public: \
AviationDemo_Source_AviationDemo_FloatingTarget_h_12_PRIVATE_PROPERTY_OFFSET \
AviationDemo_Source_AviationDemo_FloatingTarget_h_12_RPC_WRAPPERS \
AviationDemo_Source_AviationDemo_FloatingTarget_h_12_INCLASS \
AviationDemo_Source_AviationDemo_FloatingTarget_h_12_STANDARD_CONSTRUCTORS \
public: \
PRAGMA_ENABLE_DEPRECATION_WARNINGS
#define AviationDemo_Source_AviationDemo_FloatingTarget_h_12_GENERATED_BODY \
PRAGMA_DISABLE_DEPRECATION_WARNINGS \
public: \
AviationDemo_Source_AviationDemo_FloatingTarget_h_12_PRIVATE_PROPERTY_OFFSET \
AviationDemo_Source_AviationDemo_FloatingTarget_h_12_RPC_WRAPPERS_NO_PURE_DECLS \
AviationDemo_Source_AviationDemo_FloatingTarget_h_12_INCLASS_NO_PURE_DECLS \
AviationDemo_Source_AviationDemo_FloatingTarget_h_12_ENHANCED_CONSTRUCTORS \
private: \
PRAGMA_ENABLE_DEPRECATION_WARNINGS
#undef CURRENT_FILE_ID
#define CURRENT_FILE_ID AviationDemo_Source_AviationDemo_FloatingTarget_h
PRAGMA_ENABLE_DEPRECATION_WARNINGS
| [
"[email protected]"
] | |
552875a6b081b4f1e8eb0ca3b935154380393625 | 3cffad6ae7f992230ce5042cb9ec8969d47ec3a1 | /Important Concepts/quickSort.cpp | 86e0461459cc8b6feca8ea32f58764e6dbce0fce | [] | no_license | l3vi-7/Programming | e18472b2b993fee16d5095990c9767b5eeee853e | 44f98479a32d1192f02ce9775240e6f0b8588c2c | refs/heads/master | 2022-12-19T14:25:19.177314 | 2020-09-26T06:38:17 | 2020-09-26T06:38:17 | 298,753,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | cpp | #include<bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define ll long long int
#define REP(i, a, b) for(int i = a; i < b; i++)
void swap(int *a, int *b) {
int temp = *a;
*a = *b;
*b = temp;
}
int partition (vector <int> &v, int l, int r) {
int pivot = r;
int pIndex = l - 1;
for (int i = l; i < r; i++) {
if (v[i] <= v[pivot]){
pIndex += 1;
swap(&v[i], &v[pIndex]);
}
}
swap (&v[pIndex + 1], &v[pivot]);
return pIndex + 1;
}
void quickSort(vector <int> &v, int l, int r) {
if (l < r) {
int pIndex = partition(v, l, r);
quickSort(v, l, pIndex - 1);
quickSort(v, pIndex + 1, r);
}
}
int main()
{
IOS;
vector <int> v {7,10,15,15,4,12,19,1,2};
for (auto i : v) {
cout << i << " ";
}
cout <<endl;
quickSort(v, 0, v.size() - 1);
for (auto i : v) {
cout << i << " ";
}
cout << endl;
return 0;
} | [
"[email protected]"
] | |
3165bb999887f21c7bb3bc20d186444ce2f3a74c | 34b5a98fbc7f07e437d4d951c79dd160a4e02f4e | /visa/iga/GEDLibrary/GED_external/Source/common/ged_ins_restrictions.cpp | ba362f852d603faa652139130b6667e4034f4377 | [
"MIT"
] | permissive | isabella232/intel-graphics-compiler | 3e127e486663bf9278772ccbeb7ec99e00164163 | 1e6e958a2988022e5c67313cbafac855bff2cab0 | refs/heads/master | 2023-03-12T03:19:20.209264 | 2020-11-26T10:51:40 | 2020-11-26T14:29:18 | 316,306,846 | 0 | 0 | MIT | 2021-02-24T08:39:10 | 2020-11-26T18:16:24 | null | UTF-8 | C++ | false | false | 1,639 | cpp | #include <cstring>
#include "common/ged_ins_restrictions.h"
using std::memcmp;
using std::memset;
const char* gedRestrictionTypeStrings[GED_FIELD_RESTRICTIONS_TYPE_SIZE] =
{
"GED_FIELD_RESTRICTIONS_TYPE_NONE",
"GED_FIELD_RESTRICTIONS_TYPE_VALUE",
"GED_FIELD_RESTRICTIONS_TYPE_RANGE",
"GED_FIELD_RESTRICTIONS_TYPE_MASK",
"GED_FIELD_RESTRICTIONS_TYPE_PADDING",
"GED_FIELD_RESTRICTIONS_TYPE_FIELD_TYPE",
"GED_FIELD_RESTRICTIONS_TYPE_ENUM"
};
const char* gedRestrictionTypePadding[GED_FIELD_RESTRICTIONS_TYPE_SIZE] =
{
" ",
" ",
" ",
" ",
" ",
"",
" "
};
const char* ged_field_restriction_t_str = "ged_field_restriction_t";
const char* gedRestrictionTypeNames[GED_FIELD_RESTRICTIONS_TYPE_SIZE] =
{
"",
"Value",
"Range",
"Mask",
"Padding",
"Field Type",
"Enum"
};
bool ged_field_restriction_t::operator==(const ged_field_restriction_t& rhs) const
{
if (_restrictionType != rhs._restrictionType) return false;
return (0 == memcmp(this->_dummy._cvsa, rhs._dummy._cvsa, sizeof(field_restriction_union_initializer_t)));
}
bool ged_field_restriction_t::operator<(const ged_field_restriction_t& rhs) const
{
if (_restrictionType != rhs._restrictionType) return (_restrictionType < rhs._restrictionType);
return (memcmp(this->_dummy._cvsa, rhs._dummy._cvsa, sizeof(field_restriction_union_initializer_t)) < 0);
}
void InitRestriction(ged_field_restriction_t& restriction)
{
restriction._restrictionType = GED_FIELD_RESTRICTIONS_TYPE_NONE;
memset(&(restriction._dummy), 0, sizeof(restriction._dummy));
}
| [
"[email protected]"
] | |
d9bebd6520c6fc093bf91a520f3ac38113b8dc38 | 2e8c4e575f739b152b99081061fc67c290d4ae3b | /main.cpp | 99718e5fe1795fe0a7212bbf299717212d76db2e | [
"MIT"
] | permissive | my-not-so-important-repos/image-filters | 3629b9e8dd5b4f6d99c1977c5b367e929bd52092 | c7a66a04e0f7c5fc9862f0bd3dc1f775a0c2dfb8 | refs/heads/master | 2023-04-18T16:32:15.825239 | 2021-05-09T00:54:53 | 2021-05-09T00:54:53 | 238,353,115 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219 | cpp | // created by Heitor Adao Junior
#include <QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MainWindow w;
w.show();
return app.exec();
}
| [
"[email protected]"
] | |
7bc14fee2e2304b682c199ffe01bee7725e2a5ae | 32809f6f425bf5665fc19de2bc929bacc3eeb469 | /src/0923-3Sum-With-Multiplicity/0923.cpp | 76e8622b9c857d443d38dae51afea8166c4a81e0 | [] | no_license | luliyucoordinate/Leetcode | 9f6bf01f79aa680e2dff11e73e4d10993467f113 | bcc04d49969654cb44f79218a7ef2fd5c1e5449a | refs/heads/master | 2023-05-25T04:58:45.046772 | 2023-05-24T11:57:20 | 2023-05-24T11:57:20 | 132,753,892 | 1,575 | 569 | null | 2023-05-24T11:57:22 | 2018-05-09T12:30:59 | C++ | UTF-8 | C++ | false | false | 1,070 | cpp | #include <iostream>
#include <vector>
#include <unordered_map>
using namespace std;
static int x = []() {std::ios::sync_with_stdio(false); cin.tie(0); return 0; }();
class Solution
{
public:
int threeSumMulti(vector<int>& A, int target)
{
unordered_map<int, long> mem;
for (auto& a : A) mem[a]++;
long result = 0;
for (auto& it : mem)
{
for (auto& it2 : mem)
{
int i = it.first, j = it2.first, k = target - i - j;
if (!mem.count(k)) continue;
if (i == j && j == k)
result += mem[i] * (mem[i] - 1) * (mem[i] - 2) / 6;
else if (i == j && j != k)
result += mem[i] * (mem[i] - 1) / 2 * mem[k];
else if (i < j && j < k)
result += mem[i] * mem[j] * mem[k];
}
}
return result % (int)(1e9 + 7);
}
};
int main()
{
vector<int> A = {1,2,3,3,1};
int target = 5;
cout << Solution().threeSumMulti(A, target);
return 0;
} | [
"[email protected]"
] | |
b16a6c57aa6c764559a4ca1cad5045fa559fb917 | 2e3b8e766956b5d0cf15be181979a2e869da37cd | /tests/unittest/Core/distance.cpp | a111bc20752546abb1af75486c8c40a630e6f31c | [
"Apache-2.0"
] | permissive | benardp/Radium-Engine | 71a921f481cc1f737dec2fe5b955813a448c0ba5 | 3bc6fcafb31d6f1a32be839913ada226c8ba9a3c | refs/heads/master | 2021-09-11T17:24:10.631591 | 2021-09-01T12:34:50 | 2021-09-01T12:34:50 | 214,979,558 | 0 | 1 | Apache-2.0 | 2020-10-02T07:49:57 | 2019-10-14T07:43:11 | C++ | UTF-8 | C++ | false | false | 6,451 | cpp | #include <Core/Geometry/DistanceQueries.hpp>
#include <Core/Math/LinearAlgebra.hpp> // Math::getOrthogonalVectors
#include <Core/Math/Math.hpp> // Math::areApproxEqual
#include <catch2/catch.hpp>
TEST_CASE( "Core/Geometry/DistanceQueries", "[Core][Core/Geometry][DistanceQueries]" ) {
using namespace Ra::Core;
SECTION( "Simple tests" ) {
Vector3 a( -2.f, 0.f, 0.f );
Vector3 b( 2.f, 0.f, 0.f );
Vector3 c( 0.f, 3.f, 0.f );
Vector3 d( 0.f, -3.f, 0.f );
Vector3 e( -4.f, -3.f, 0.f );
Vector3 f( 4.f, 3.f, 0.f );
// Test point to triangle query
Scalar distPointToTri = std::sqrt( Geometry::pointToTriSq( c, a, b, d ).distanceSquared );
// Distance point to triangle
REQUIRE( Math::areApproxEqual( distPointToTri, ( c - ( .5_ra * ( a + b ) ) ).norm() ) );
// Test line to segment distance query
const Vector3& lineOrigin = a;
Vector3 lineDirection = d - a;
const Vector3& segCenter = .5_ra * ( c + b );
Vector3 segDirection = b - c;
Scalar segExtent = .5_ra * std::sqrt( ( b - c ).dot( b - c ) );
Scalar distLineToSeg =
Geometry::lineToSegSq( lineOrigin, lineDirection, segCenter, segDirection, segExtent )
.sqrDistance;
REQUIRE( Math::areApproxEqual( distLineToSeg, Geometry::pointToSegmentSq( a, c, b - c ) ) );
// Test line to triangle distance query
Vector3 v[3] = {a, d, e};
Scalar distLineToTri = Geometry::lineToTriSq( segCenter, segDirection, v ).sqrDistance;
REQUIRE( Math::areApproxEqual( distLineToTri, Geometry::pointToSegmentSq( a, c, b - c ) ) );
// Test segment to triangle distance query
Scalar distSegToTri =
Geometry::segmentToTriSq( segCenter, segDirection, segExtent, v ).sqrDistance;
REQUIRE( Math::areApproxEqual( distSegToTri, Geometry::pointToSegmentSq( a, c, b - c ) ) );
// Test triangle to triangle distance query
Vector3 v2[3] = {c, f, b};
Scalar distTriToTri = Geometry::triangleToTriSq( v, v2 ).sqrDistance;
REQUIRE( Math::areApproxEqual( distTriToTri, Geometry::pointToSegmentSq( a, c, b - c ) ) );
}
Vector3 a( 1_ra, 2.3_ra, 4.5_ra );
Vector3 b( -6_ra, 7_ra, 8.9_ra );
Vector3 c( -3_ra, 12.3_ra, -42.1_ra );
// Midpoint.
Vector3 m = 0.5_ra * ( a + b );
// Point on the line, before A
Vector3 na = a - 12_ra * ( b - a );
// Point on the line after B
Vector3 nb = a + 42_ra * ( b - a );
Vector3 y, z;
Math::getOrthogonalVectors( ( b - a ).normalized(), y, z );
SECTION( "Test line queries" ) {
// distance from A to AB
REQUIRE( Math::areApproxEqual( Geometry::pointToLineSq( a, a, b - a ), 0_ra ) );
// distance from B to AB
REQUIRE( Math::areApproxEqual( Geometry::pointToLineSq( b, a, b - a ), 0_ra ) );
// point on the line
REQUIRE( Math::areApproxEqual( Geometry::pointToLineSq( na, a, b - a ), 0_ra ) );
REQUIRE( Math::areApproxEqual( Geometry::pointToLineSq( nb, a, b - a ), 0_ra ) );
// point perpendicular to segment.
REQUIRE(
Math::areApproxEqual( Geometry::pointToLineSq( m + y, a, b - a ), y.squaredNorm() ) );
}
SECTION( "Test segment queries" ) {
// segment extremity
REQUIRE( Math::areApproxEqual( Geometry::pointToSegmentSq( a, a, b - a ), 0_ra ) );
REQUIRE( Math::areApproxEqual( Geometry::pointToSegmentSq( b, a, b - a ), 0_ra ) );
// point on the line
REQUIRE( Math::areApproxEqual( Geometry::pointToSegmentSq( na, a, b - a ),
( na - a ).squaredNorm() ) );
REQUIRE( Math::areApproxEqual( Geometry::pointToSegmentSq( nb, a, b - a ),
( nb - b ).squaredNorm() ) );
// point perpendicular to segment
REQUIRE( Math::areApproxEqual( Geometry::pointToSegmentSq( m + y, a, b - a ),
y.squaredNorm() ) );
}
SECTION( "Triangle queries: Test that each vertex returns itself" ) {
// distance from A to ABC
auto da = Geometry::pointToTriSq( a, a, b, c );
REQUIRE( Math::areApproxEqual( da.distanceSquared, 0_ra ) );
REQUIRE( da.meshPoint == a );
REQUIRE( da.flags == Geometry::FlagsInternal::HIT_A );
// distance from B to ABC
auto db = Geometry::pointToTriSq( b, a, b, c );
REQUIRE( Math::areApproxEqual( db.distanceSquared, 0_ra ) );
REQUIRE( db.meshPoint == b );
REQUIRE( db.flags == Geometry::FlagsInternal::HIT_B );
// distance from C to ABC
auto dc = Geometry::pointToTriSq( c, a, b, c );
REQUIRE( Math::areApproxEqual( dc.distanceSquared, 0_ra ) );
REQUIRE( dc.meshPoint == c );
REQUIRE( dc.flags == Geometry::FlagsInternal::HIT_C );
}
SECTION( "Triangle queries: Test midpoints of edges" ) {
Vector3 mab = .5_ra * ( a + b );
Vector3 mac = .5_ra * ( a + c );
Vector3 mbc = .5_ra * ( b + c );
// Distance from AB midpoint to ABC
auto dmab = Geometry::pointToTriSq( mab, a, b, c );
REQUIRE( Math::areApproxEqual( dmab.distanceSquared, 0_ra ) );
REQUIRE( dmab.meshPoint.isApprox( mab ) );
REQUIRE( dmab.flags == Geometry::FlagsInternal::HIT_AB );
// Distance from AC midpoint to ABC
auto dmac = Geometry::pointToTriSq( mac, a, b, c );
REQUIRE( Math::areApproxEqual( dmac.distanceSquared, 0_ra ) );
REQUIRE( dmac.meshPoint.isApprox( mac ) );
REQUIRE( dmac.flags == Geometry::FlagsInternal::HIT_CA );
// Distance from BC midpoint to ABC
auto dmbc = Geometry::pointToTriSq( mbc, a, b, c );
REQUIRE( Math::areApproxEqual( dmbc.distanceSquared, 0_ra ) );
REQUIRE( dmbc.meshPoint.isApprox( mbc ) );
REQUIRE( dmbc.flags == Geometry::FlagsInternal::HIT_BC );
}
SECTION( "Triangle queries: Test point inside the triangle" ) {
Vector3 g = ( 1_ra / 3_ra ) * ( a + b + c );
auto dg = Geometry::pointToTriSq( g, a, b, c );
// Distance from centroid to ABC
REQUIRE( Math::areApproxEqual( dg.distanceSquared, 0_ra ) );
REQUIRE( dg.meshPoint.isApprox( g ) );
REQUIRE( dg.flags == Geometry::FlagsInternal::HIT_FACE );
}
}
| [
"[email protected]"
] | |
8c441b1fffd8fb8640f0e13449f81a9a50e21d0e | e34ee045bb718a08858b5e2fac080cf2707480eb | /Between_Universe_Steeve/include/glwidget.h | 5bb6403b3c2efa1be4901ad7d13deef8895d30d4 | [] | no_license | imac2018/project | f70ac37fb8be92420f9e975cd6d6507fe77c418b | c5cf41e662a4f1f169a6452411f509d6ec84fa43 | refs/heads/master | 2021-01-11T01:04:48.479860 | 2017-03-19T14:38:23 | 2017-03-19T14:38:23 | 70,843,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | h | #ifndef RENDERER_H
#define RENDERER_H
#include <QGLWidget>
#include "renderer.h"
class GLWidget : public QGLWidget
{
public:
const Renderer* renderer;
explicit GLWidget(const Renderer* renderer, QWidget *parent = 0);
protected:
void initializeGL();
void resizeGL(int w, int h);
void paintEvent(QPaintEvent *);
};
#endif // RENDERER_H
| [
"[email protected]"
] | |
6d44a095dafd93c5e7470728ff419e1d902559c7 | 0823f9f66540ae8543d416473aec8cb843ff3777 | /GPU_LCT/GPU_LCT/data_structures.hpp | 890e8bd7407847dac909cb1b8ebaf966c54c25d2 | [] | no_license | F3bbbo/TE2502MasterThesis | 047f386495f1d049a59c928ee70358be817b3cf0 | 06f07bbe7c5f9db420a6b6d6214c6ce19b4a9ea8 | refs/heads/master | 2020-04-19T16:23:50.518275 | 2019-08-26T11:47:31 | 2019-08-26T11:47:31 | 168,302,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | hpp | #pragma once
#ifndef DATA_STRUCTURES_HPP
#define DATA_STRUCTURES_HPP
#include <glm/glm.hpp>
namespace CPU
{
struct SymEdge
{
SymEdge* nxt = nullptr;
SymEdge* rot = nullptr;
int vertex;
int edge;
int face;
SymEdge* sym() { return this->nxt->rot; };
SymEdge* crot() { return (this->sym() != nullptr) ? this->sym()->nxt : nullptr; };
SymEdge* prev() { return this->nxt->nxt; };
};
struct VertexRef
{
glm::vec2 vertice;
int ref_counter;
};
struct Edge
{
glm::ivec2 edge;
std::vector<int> constraint_ref;
};
struct Face
{
glm::ivec3 vert_i;
unsigned int explored = 0; //number indicating last iteration being explored
};
enum class LocateType {
VERTEX,
EDGE,
FACE,
NEXT,
NONE
};
struct LocateRes {
int hit_index = -1;
SymEdge* sym_edge = nullptr;
LocateType type = LocateType::NONE;
};
}
#endif | [
"[email protected]"
] | |
7ebb52fe8f7c962e8229958cdab01b37c2c9e781 | f15c30d5002206d003297629ee1f4d46c3374b23 | /Source/Samples/_GunDemo/GunLogic.h | de086a3100f07baa37ee7dd0981884289d7056f7 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | haohuixin/U3DGame | ae3a7eb3845e7bc26eb82a4cc38f2deb49df6271 | c78543b4dd1fa5929cea8e88d55cc2ad51bd7f0e | refs/heads/master | 2020-04-13T13:06:10.358419 | 2018-11-17T20:50:04 | 2018-11-17T20:50:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,688 | h | #pragma once
#include <Urho3D/Input/Controls.h>
#include <Urho3D/Scene/LogicComponent.h>
#include "Magazine.h"
using namespace Urho3D;
const unsigned CTRL_FORWARD = 1;
const unsigned CTRL_BACK = 2;
const unsigned CTRL_LEFT = 4;
const unsigned CTRL_RIGHT = 8;
const unsigned CTRL_JUMP = 16;
class GunLogic : public LogicComponent {
URHO3D_OBJECT(GunLogic, LogicComponent);
public:
/// Construct.
explicit GunLogic(Context* context);
/// Register object factory and attributes.
static void RegisterObject(Context* context);
/// Handle startup. Called by LogicComponent base class.
void Start() override;
/// Handle physics world update. Called by LogicComponent base class.
void FixedUpdate(float timeStep) override;
void DelayedStart();
/// Movement controls. Assigned by the main program each frame.
Controls controls_;
enum Component {
trigger_component, hammer_component, safety_component, slide_component, magazine_component
};
void moveComponent(Component component, float percent);
void rackSlideBack();
//void letGoOfSlide();
void inspectChamber();
void blastBackSlide();
void cockHammer(float speed = 0.5f);
void turnSafetyOn();
void pullTrigger();
void releaseTrigger();
void releaseHammer();
void releaseSlide();
void fireBullet();
void ejectShell();
void chamberRound();
bool hammer_being_moved = false;
float hammer_speed = 0.0f;
bool hammer_cocked = false;
bool slide_being_moved = false;
bool slideLocked = false;
float slide_speed = 0.0f;
bool safety_on = false;
bool trigger_being_pulled = false;
bool trigger_in_motion = false;
float trigger_speed = 0.2f;
Magazine* magazine_logic;
bool is_round_chambered = false;
Node* gunMagBone;
private:
void insertMagazine(Magazine* mag);
void ejectMagazine();
// Values are min and max, controlled by a 0 to 1 scale to determine rotations, positions along axes etc.
Vector2 trigger_values = Vector2(0.0f, 55.0f); // Degrees on local X axis
Vector2 hammer_values = Vector2(0.0f, -55.0f); // Degrees on local X axis
Vector2 safety_values; // Degrees on local X axis - should control both sides
Vector2 slide_values = Vector2(0.0f, -0.4f); // Along local Y axis
Vector2 round0_values; // Not used yet
Vector2 round1_values; // Not used yet
Vector2 roundCh_values; // Not used yet
Vector2 magazine_values = Vector2(0.0f, -1.0f); // Along local Y axis
// Masks for the above values, to be multiplied. Local axes only.
const Vector3 trigger_axismask = Vector3(1, 0, 0);
const Vector3 hammer_axismask = Vector3(1, 0, 0);
const Vector3 safety_axismask = Vector3(1, 0, 0);
const Vector3 slide_axismask = Vector3(0, 1, 0);
const Vector3 round0_axismask = Vector3();
const Vector3 round1_axismask = Vector3();
const Vector3 roundCh_axismask = Vector3();
const Vector3 magazine_axismask = Vector3(0, 1, 0);
Vector3 slide_position, round0_position, round1_position, roundCh_position, magazine_position;
Quaternion trigger_rotation, hammer_rotation, safety_rotation, decocker_rotation;
// Controls the 0 to 1 scale for progressing between the two values specified above (pos or rot)
float slide_percent = 0.0f, trigger_percent = 0.0f, hammer_percent = 0.0f, safety_percent = 0.0f, decocker_percent = 0.0f, magazine_percent = 0.0f;
Node *trigger,
*hammer,
*slide,
*decocker,
*magazine,
*safety,
*round0,
*round1,
*roundCh;
void moveComponent(Node* node, Vector3 origin, Vector2 values, Vector3 mask, float scale);
void rotateComponent(Node* node, Quaternion origin, Vector2 values, Vector3 mask, float scale);
};
| [
"[email protected]"
] | |
db6136333e8251e7bc4377922f6c560906e6a7ba | 912723c889f22a55648bd262e93f9552142771ac | /src/walletdb.cpp | cdeae1767584d533110dce47d97139a84cf8fc6b | [
"MIT"
] | permissive | vricteam/Vricoin | e1a246431da87940b7e2e8ce861b225a2266be13 | 246b0f179b83cf2f70e456179f0bdc227ca7c6ef | refs/heads/master | 2020-04-19T02:48:40.077658 | 2019-01-28T07:42:40 | 2019-01-28T07:42:40 | 167,915,643 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 34,952 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018-2019 The Vricoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletdb.h"
#include "base58.h"
#include "protocol.h"
#include "serialize.h"
#include "sync.h"
#include "util.h"
#include "utiltime.h"
#include "wallet.h"
#include <boost/filesystem.hpp>
#include <boost/foreach.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/thread.hpp>
#include <fstream>
using namespace boost;
using namespace std;
static uint64_t nAccountingEntryNumber = 0;
//
// CWalletDB
//
bool CWalletDB::WriteName(const string& strAddress, const string& strName)
{
nWalletDBUpdated++;
return Write(make_pair(string("name"), strAddress), strName);
}
bool CWalletDB::EraseName(const string& strAddress)
{
// This should only be used for sending addresses, never for receiving addresses,
// receiving addresses must always have an address book entry if they're not change return.
nWalletDBUpdated++;
return Erase(make_pair(string("name"), strAddress));
}
bool CWalletDB::WritePurpose(const string& strAddress, const string& strPurpose)
{
nWalletDBUpdated++;
return Write(make_pair(string("purpose"), strAddress), strPurpose);
}
bool CWalletDB::ErasePurpose(const string& strPurpose)
{
nWalletDBUpdated++;
return Erase(make_pair(string("purpose"), strPurpose));
}
bool CWalletDB::WriteTx(uint256 hash, const CWalletTx& wtx)
{
nWalletDBUpdated++;
return Write(std::make_pair(std::string("tx"), hash), wtx);
}
bool CWalletDB::EraseTx(uint256 hash)
{
nWalletDBUpdated++;
return Erase(std::make_pair(std::string("tx"), hash));
}
bool CWalletDB::WriteKey(const CPubKey& vchPubKey, const CPrivKey& vchPrivKey, const CKeyMetadata& keyMeta)
{
nWalletDBUpdated++;
if (!Write(std::make_pair(std::string("keymeta"), vchPubKey),
keyMeta, false))
return false;
// hash pubkey/privkey to accelerate wallet load
std::vector<unsigned char> vchKey;
vchKey.reserve(vchPubKey.size() + vchPrivKey.size());
vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end());
vchKey.insert(vchKey.end(), vchPrivKey.begin(), vchPrivKey.end());
return Write(std::make_pair(std::string("key"), vchPubKey), std::make_pair(vchPrivKey, Hash(vchKey.begin(), vchKey.end())), false);
}
bool CWalletDB::WriteCryptedKey(const CPubKey& vchPubKey,
const std::vector<unsigned char>& vchCryptedSecret,
const CKeyMetadata& keyMeta)
{
const bool fEraseUnencryptedKey = true;
nWalletDBUpdated++;
if (!Write(std::make_pair(std::string("keymeta"), vchPubKey),
keyMeta))
return false;
if (!Write(std::make_pair(std::string("ckey"), vchPubKey), vchCryptedSecret, false))
return false;
if (fEraseUnencryptedKey) {
Erase(std::make_pair(std::string("key"), vchPubKey));
Erase(std::make_pair(std::string("wkey"), vchPubKey));
}
return true;
}
bool CWalletDB::WriteMasterKey(unsigned int nID, const CMasterKey& kMasterKey)
{
nWalletDBUpdated++;
return Write(std::make_pair(std::string("mkey"), nID), kMasterKey, true);
}
bool CWalletDB::WriteCScript(const uint160& hash, const CScript& redeemScript)
{
nWalletDBUpdated++;
return Write(std::make_pair(std::string("cscript"), hash), redeemScript, false);
}
bool CWalletDB::WriteWatchOnly(const CScript& dest)
{
nWalletDBUpdated++;
return Write(std::make_pair(std::string("watchs"), dest), '1');
}
bool CWalletDB::EraseWatchOnly(const CScript& dest)
{
nWalletDBUpdated++;
return Erase(std::make_pair(std::string("watchs"), dest));
}
bool CWalletDB::WriteMultiSig(const CScript& dest)
{
nWalletDBUpdated++;
return Write(std::make_pair(std::string("multisig"), dest), '1');
}
bool CWalletDB::EraseMultiSig(const CScript& dest)
{
nWalletDBUpdated++;
return Erase(std::make_pair(std::string("multisig"), dest));
}
bool CWalletDB::WriteBestBlock(const CBlockLocator& locator)
{
nWalletDBUpdated++;
return Write(std::string("bestblock"), locator);
}
bool CWalletDB::ReadBestBlock(CBlockLocator& locator)
{
return Read(std::string("bestblock"), locator);
}
bool CWalletDB::WriteOrderPosNext(int64_t nOrderPosNext)
{
nWalletDBUpdated++;
return Write(std::string("orderposnext"), nOrderPosNext);
}
// presstab HyperStake
bool CWalletDB::WriteStakeSplitThreshold(uint64_t nStakeSplitThreshold)
{
nWalletDBUpdated++;
return Write(std::string("stakeSplitThreshold"), nStakeSplitThreshold);
}
//presstab HyperStake
bool CWalletDB::WriteMultiSend(std::vector<std::pair<std::string, int> > vMultiSend)
{
nWalletDBUpdated++;
bool ret = true;
for (unsigned int i = 0; i < vMultiSend.size(); i++) {
std::pair<std::string, int> pMultiSend;
pMultiSend = vMultiSend[i];
if (!Write(std::make_pair(std::string("multisend"), i), pMultiSend, true))
ret = false;
}
return ret;
}
//presstab HyperStake
bool CWalletDB::EraseMultiSend(std::vector<std::pair<std::string, int> > vMultiSend)
{
nWalletDBUpdated++;
bool ret = true;
for (unsigned int i = 0; i < vMultiSend.size(); i++) {
std::pair<std::string, int> pMultiSend;
pMultiSend = vMultiSend[i];
if (!Erase(std::make_pair(std::string("multisend"), i)))
ret = false;
}
return ret;
}
//presstab HyperStake
bool CWalletDB::WriteMSettings(bool fMultiSendStake, bool fMultiSendMasternode, int nLastMultiSendHeight)
{
nWalletDBUpdated++;
std::pair<bool, bool> enabledMS(fMultiSendStake, fMultiSendMasternode);
std::pair<std::pair<bool, bool>, int> pSettings(enabledMS, nLastMultiSendHeight);
return Write(std::string("msettingsv2"), pSettings, true);
}
//presstab HyperStake
bool CWalletDB::WriteMSDisabledAddresses(std::vector<std::string> vDisabledAddresses)
{
nWalletDBUpdated++;
bool ret = true;
for (unsigned int i = 0; i < vDisabledAddresses.size(); i++) {
if (!Write(std::make_pair(std::string("mdisabled"), i), vDisabledAddresses[i]))
ret = false;
}
return ret;
}
//presstab HyperStake
bool CWalletDB::EraseMSDisabledAddresses(std::vector<std::string> vDisabledAddresses)
{
nWalletDBUpdated++;
bool ret = true;
for (unsigned int i = 0; i < vDisabledAddresses.size(); i++) {
if (!Erase(std::make_pair(std::string("mdisabled"), i)))
ret = false;
}
return ret;
}
bool CWalletDB::WriteAutoCombineSettings(bool fEnable, CAmount nCombineThreshold)
{
nWalletDBUpdated++;
std::pair<bool, CAmount> pSettings;
pSettings.first = fEnable;
pSettings.second = nCombineThreshold;
return Write(std::string("autocombinesettings"), pSettings, true);
}
bool CWalletDB::WriteDefaultKey(const CPubKey& vchPubKey)
{
nWalletDBUpdated++;
return Write(std::string("defaultkey"), vchPubKey);
}
bool CWalletDB::ReadPool(int64_t nPool, CKeyPool& keypool)
{
return Read(std::make_pair(std::string("pool"), nPool), keypool);
}
bool CWalletDB::WritePool(int64_t nPool, const CKeyPool& keypool)
{
nWalletDBUpdated++;
return Write(std::make_pair(std::string("pool"), nPool), keypool);
}
bool CWalletDB::ErasePool(int64_t nPool)
{
nWalletDBUpdated++;
return Erase(std::make_pair(std::string("pool"), nPool));
}
bool CWalletDB::WriteMinVersion(int nVersion)
{
return Write(std::string("minversion"), nVersion);
}
bool CWalletDB::ReadAccount(const string& strAccount, CAccount& account)
{
account.SetNull();
return Read(make_pair(string("acc"), strAccount), account);
}
bool CWalletDB::WriteAccount(const string& strAccount, const CAccount& account)
{
return Write(make_pair(string("acc"), strAccount), account);
}
bool CWalletDB::WriteAccountingEntry(const uint64_t nAccEntryNum, const CAccountingEntry& acentry)
{
return Write(std::make_pair(std::string("acentry"), std::make_pair(acentry.strAccount, nAccEntryNum)), acentry);
}
bool CWalletDB::WriteAccountingEntry(const CAccountingEntry& acentry)
{
return WriteAccountingEntry(++nAccountingEntryNumber, acentry);
}
CAmount CWalletDB::GetAccountCreditDebit(const string& strAccount)
{
list<CAccountingEntry> entries;
ListAccountCreditDebit(strAccount, entries);
CAmount nCreditDebit = 0;
BOOST_FOREACH (const CAccountingEntry& entry, entries)
nCreditDebit += entry.nCreditDebit;
return nCreditDebit;
}
void CWalletDB::ListAccountCreditDebit(const string& strAccount, list<CAccountingEntry>& entries)
{
bool fAllAccounts = (strAccount == "*");
Dbc* pcursor = GetCursor();
if (!pcursor)
throw runtime_error("CWalletDB::ListAccountCreditDebit() : cannot create DB cursor");
unsigned int fFlags = DB_SET_RANGE;
while (true) {
// Read next record
CDataStream ssKey(SER_DISK, CLIENT_VERSION);
if (fFlags == DB_SET_RANGE)
ssKey << std::make_pair(std::string("acentry"), std::make_pair((fAllAccounts ? string("") : strAccount), uint64_t(0)));
CDataStream ssValue(SER_DISK, CLIENT_VERSION);
int ret = ReadAtCursor(pcursor, ssKey, ssValue, fFlags);
fFlags = DB_NEXT;
if (ret == DB_NOTFOUND)
break;
else if (ret != 0) {
pcursor->close();
throw runtime_error("CWalletDB::ListAccountCreditDebit() : error scanning DB");
}
// Unserialize
string strType;
ssKey >> strType;
if (strType != "acentry")
break;
CAccountingEntry acentry;
ssKey >> acentry.strAccount;
if (!fAllAccounts && acentry.strAccount != strAccount)
break;
ssValue >> acentry;
ssKey >> acentry.nEntryNo;
entries.push_back(acentry);
}
pcursor->close();
}
DBErrors CWalletDB::ReorderTransactions(CWallet* pwallet)
{
LOCK(pwallet->cs_wallet);
// Old wallets didn't have any defined order for transactions
// Probably a bad idea to change the output of this
// First: get all CWalletTx and CAccountingEntry into a sorted-by-time multimap.
typedef pair<CWalletTx*, CAccountingEntry*> TxPair;
typedef multimap<int64_t, TxPair> TxItems;
TxItems txByTime;
for (map<uint256, CWalletTx>::iterator it = pwallet->mapWallet.begin(); it != pwallet->mapWallet.end(); ++it) {
CWalletTx* wtx = &((*it).second);
txByTime.insert(make_pair(wtx->nTimeReceived, TxPair(wtx, (CAccountingEntry*)0)));
}
list<CAccountingEntry> acentries;
ListAccountCreditDebit("", acentries);
BOOST_FOREACH (CAccountingEntry& entry, acentries) {
txByTime.insert(make_pair(entry.nTime, TxPair((CWalletTx*)0, &entry)));
}
int64_t& nOrderPosNext = pwallet->nOrderPosNext;
nOrderPosNext = 0;
std::vector<int64_t> nOrderPosOffsets;
for (TxItems::iterator it = txByTime.begin(); it != txByTime.end(); ++it) {
CWalletTx* const pwtx = (*it).second.first;
CAccountingEntry* const pacentry = (*it).second.second;
int64_t& nOrderPos = (pwtx != 0) ? pwtx->nOrderPos : pacentry->nOrderPos;
if (nOrderPos == -1) {
nOrderPos = nOrderPosNext++;
nOrderPosOffsets.push_back(nOrderPos);
if (pwtx) {
if (!WriteTx(pwtx->GetHash(), *pwtx))
return DB_LOAD_FAIL;
} else if (!WriteAccountingEntry(pacentry->nEntryNo, *pacentry))
return DB_LOAD_FAIL;
} else {
int64_t nOrderPosOff = 0;
BOOST_FOREACH (const int64_t& nOffsetStart, nOrderPosOffsets) {
if (nOrderPos >= nOffsetStart)
++nOrderPosOff;
}
nOrderPos += nOrderPosOff;
nOrderPosNext = std::max(nOrderPosNext, nOrderPos + 1);
if (!nOrderPosOff)
continue;
// Since we're changing the order, write it back
if (pwtx) {
if (!WriteTx(pwtx->GetHash(), *pwtx))
return DB_LOAD_FAIL;
} else if (!WriteAccountingEntry(pacentry->nEntryNo, *pacentry))
return DB_LOAD_FAIL;
}
}
WriteOrderPosNext(nOrderPosNext);
return DB_LOAD_OK;
}
class CWalletScanState
{
public:
unsigned int nKeys;
unsigned int nCKeys;
unsigned int nKeyMeta;
bool fIsEncrypted;
bool fAnyUnordered;
int nFileVersion;
vector<uint256> vWalletUpgrade;
CWalletScanState()
{
nKeys = nCKeys = nKeyMeta = 0;
fIsEncrypted = false;
fAnyUnordered = false;
nFileVersion = 0;
}
};
bool ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue, CWalletScanState& wss, string& strType, string& strErr)
{
try {
// Unserialize
// Taking advantage of the fact that pair serialization
// is just the two items serialized one after the other
ssKey >> strType;
if (strType == "name") {
string strAddress;
ssKey >> strAddress;
ssValue >> pwallet->mapAddressBook[CBitcoinAddress(strAddress).Get()].name;
} else if (strType == "purpose") {
string strAddress;
ssKey >> strAddress;
ssValue >> pwallet->mapAddressBook[CBitcoinAddress(strAddress).Get()].purpose;
} else if (strType == "tx") {
uint256 hash;
ssKey >> hash;
CWalletTx wtx;
ssValue >> wtx;
CValidationState state;
if (!(CheckTransaction(wtx, state) && (wtx.GetHash() == hash) && state.IsValid()))
return false;
// Undo serialize changes in 31600
if (31404 <= wtx.fTimeReceivedIsTxTime && wtx.fTimeReceivedIsTxTime <= 31703) {
if (!ssValue.empty()) {
char fTmp;
char fUnused;
ssValue >> fTmp >> fUnused >> wtx.strFromAccount;
strErr = strprintf("LoadWallet() upgrading tx ver=%d %d '%s' %s",
wtx.fTimeReceivedIsTxTime, fTmp, wtx.strFromAccount, hash.ToString());
wtx.fTimeReceivedIsTxTime = fTmp;
} else {
strErr = strprintf("LoadWallet() repairing tx ver=%d %s", wtx.fTimeReceivedIsTxTime, hash.ToString());
wtx.fTimeReceivedIsTxTime = 0;
}
wss.vWalletUpgrade.push_back(hash);
}
if (wtx.nOrderPos == -1)
wss.fAnyUnordered = true;
pwallet->AddToWallet(wtx, true);
} else if (strType == "acentry") {
string strAccount;
ssKey >> strAccount;
uint64_t nNumber;
ssKey >> nNumber;
if (nNumber > nAccountingEntryNumber)
nAccountingEntryNumber = nNumber;
if (!wss.fAnyUnordered) {
CAccountingEntry acentry;
ssValue >> acentry;
if (acentry.nOrderPos == -1)
wss.fAnyUnordered = true;
}
} else if (strType == "watchs") {
CScript script;
ssKey >> script;
char fYes;
ssValue >> fYes;
if (fYes == '1')
pwallet->LoadWatchOnly(script);
// Watch-only addresses have no birthday information for now,
// so set the wallet birthday to the beginning of time.
pwallet->nTimeFirstKey = 1;
} else if (strType == "multisig") {
CScript script;
ssKey >> script;
char fYes;
ssValue >> fYes;
if (fYes == '1')
pwallet->LoadMultiSig(script);
// MultiSig addresses have no birthday information for now,
// so set the wallet birthday to the beginning of time.
pwallet->nTimeFirstKey = 1;
} else if (strType == "key" || strType == "wkey") {
CPubKey vchPubKey;
ssKey >> vchPubKey;
if (!vchPubKey.IsValid()) {
strErr = "Error reading wallet database: CPubKey corrupt";
return false;
}
CKey key;
CPrivKey pkey;
uint256 hash = 0;
if (strType == "key") {
wss.nKeys++;
ssValue >> pkey;
} else {
CWalletKey wkey;
ssValue >> wkey;
pkey = wkey.vchPrivKey;
}
// Old wallets store keys as "key" [pubkey] => [privkey]
// ... which was slow for wallets with lots of keys, because the public key is re-derived from the private key
// using EC operations as a checksum.
// Newer wallets store keys as "key"[pubkey] => [privkey][hash(pubkey,privkey)], which is much faster while
// remaining backwards-compatible.
try {
ssValue >> hash;
} catch (...) {
}
bool fSkipCheck = false;
if (hash != 0) {
// hash pubkey/privkey to accelerate wallet load
std::vector<unsigned char> vchKey;
vchKey.reserve(vchPubKey.size() + pkey.size());
vchKey.insert(vchKey.end(), vchPubKey.begin(), vchPubKey.end());
vchKey.insert(vchKey.end(), pkey.begin(), pkey.end());
if (Hash(vchKey.begin(), vchKey.end()) != hash) {
strErr = "Error reading wallet database: CPubKey/CPrivKey corrupt";
return false;
}
fSkipCheck = true;
}
if (!key.Load(pkey, vchPubKey, fSkipCheck)) {
strErr = "Error reading wallet database: CPrivKey corrupt";
return false;
}
if (!pwallet->LoadKey(key, vchPubKey)) {
strErr = "Error reading wallet database: LoadKey failed";
return false;
}
} else if (strType == "mkey") {
unsigned int nID;
ssKey >> nID;
CMasterKey kMasterKey;
ssValue >> kMasterKey;
if (pwallet->mapMasterKeys.count(nID) != 0) {
strErr = strprintf("Error reading wallet database: duplicate CMasterKey id %u", nID);
return false;
}
pwallet->mapMasterKeys[nID] = kMasterKey;
if (pwallet->nMasterKeyMaxID < nID)
pwallet->nMasterKeyMaxID = nID;
} else if (strType == "ckey") {
vector<unsigned char> vchPubKey;
ssKey >> vchPubKey;
vector<unsigned char> vchPrivKey;
ssValue >> vchPrivKey;
wss.nCKeys++;
if (!pwallet->LoadCryptedKey(vchPubKey, vchPrivKey)) {
strErr = "Error reading wallet database: LoadCryptedKey failed";
return false;
}
wss.fIsEncrypted = true;
} else if (strType == "keymeta") {
CPubKey vchPubKey;
ssKey >> vchPubKey;
CKeyMetadata keyMeta;
ssValue >> keyMeta;
wss.nKeyMeta++;
pwallet->LoadKeyMetadata(vchPubKey, keyMeta);
// find earliest key creation time, as wallet birthday
if (!pwallet->nTimeFirstKey ||
(keyMeta.nCreateTime < pwallet->nTimeFirstKey))
pwallet->nTimeFirstKey = keyMeta.nCreateTime;
} else if (strType == "defaultkey") {
ssValue >> pwallet->vchDefaultKey;
} else if (strType == "pool") {
int64_t nIndex;
ssKey >> nIndex;
CKeyPool keypool;
ssValue >> keypool;
pwallet->setKeyPool.insert(nIndex);
// If no metadata exists yet, create a default with the pool key's
// creation time. Note that this may be overwritten by actually
// stored metadata for that key later, which is fine.
CKeyID keyid = keypool.vchPubKey.GetID();
if (pwallet->mapKeyMetadata.count(keyid) == 0)
pwallet->mapKeyMetadata[keyid] = CKeyMetadata(keypool.nTime);
} else if (strType == "version") {
ssValue >> wss.nFileVersion;
if (wss.nFileVersion == 10300)
wss.nFileVersion = 300;
} else if (strType == "cscript") {
uint160 hash;
ssKey >> hash;
CScript script;
ssValue >> script;
if (!pwallet->LoadCScript(script)) {
strErr = "Error reading wallet database: LoadCScript failed";
return false;
}
} else if (strType == "orderposnext") {
ssValue >> pwallet->nOrderPosNext;
} else if (strType == "stakeSplitThreshold") //presstab HyperStake
{
ssValue >> pwallet->nStakeSplitThreshold;
} else if (strType == "multisend") //presstab HyperStake
{
unsigned int i;
ssKey >> i;
std::pair<std::string, int> pMultiSend;
ssValue >> pMultiSend;
if (CBitcoinAddress(pMultiSend.first).IsValid()) {
pwallet->vMultiSend.push_back(pMultiSend);
}
} else if (strType == "msettingsv2") //presstab HyperStake
{
std::pair<std::pair<bool, bool>, int> pSettings;
ssValue >> pSettings;
pwallet->fMultiSendStake = pSettings.first.first;
pwallet->fMultiSendMasternodeReward = pSettings.first.second;
pwallet->nLastMultiSendHeight = pSettings.second;
} else if (strType == "mdisabled") //presstab HyperStake
{
std::string strDisabledAddress;
ssValue >> strDisabledAddress;
pwallet->vDisabledAddresses.push_back(strDisabledAddress);
} else if (strType == "autocombinesettings") {
std::pair<bool, CAmount> pSettings;
ssValue >> pSettings;
pwallet->fCombineDust = pSettings.first;
pwallet->nAutoCombineThreshold = pSettings.second;
} else if (strType == "destdata") {
std::string strAddress, strKey, strValue;
ssKey >> strAddress;
ssKey >> strKey;
ssValue >> strValue;
if (!pwallet->LoadDestData(CBitcoinAddress(strAddress).Get(), strKey, strValue)) {
strErr = "Error reading wallet database: LoadDestData failed";
return false;
}
}
} catch (...) {
return false;
}
return true;
}
static bool IsKeyType(string strType)
{
return (strType == "key" || strType == "wkey" ||
strType == "mkey" || strType == "ckey");
}
DBErrors CWalletDB::LoadWallet(CWallet* pwallet)
{
pwallet->vchDefaultKey = CPubKey();
CWalletScanState wss;
bool fNoncriticalErrors = false;
DBErrors result = DB_LOAD_OK;
try {
LOCK(pwallet->cs_wallet);
int nMinVersion = 0;
if (Read((string) "minversion", nMinVersion)) {
if (nMinVersion > CLIENT_VERSION)
return DB_TOO_NEW;
pwallet->LoadMinVersion(nMinVersion);
}
// Get cursor
Dbc* pcursor = GetCursor();
if (!pcursor) {
LogPrintf("Error getting wallet database cursor\n");
return DB_CORRUPT;
}
while (true) {
// Read next record
CDataStream ssKey(SER_DISK, CLIENT_VERSION);
CDataStream ssValue(SER_DISK, CLIENT_VERSION);
int ret = ReadAtCursor(pcursor, ssKey, ssValue);
if (ret == DB_NOTFOUND)
break;
else if (ret != 0) {
LogPrintf("Error reading next record from wallet database\n");
return DB_CORRUPT;
}
// Try to be tolerant of single corrupt records:
string strType, strErr;
if (!ReadKeyValue(pwallet, ssKey, ssValue, wss, strType, strErr)) {
// losing keys is considered a catastrophic error, anything else
// we assume the user can live with:
if (IsKeyType(strType))
result = DB_CORRUPT;
else {
// Leave other errors alone, if we try to fix them we might make things worse.
fNoncriticalErrors = true; // ... but do warn the user there is something wrong.
if (strType == "tx")
// Rescan if there is a bad transaction record:
SoftSetBoolArg("-rescan", true);
}
}
if (!strErr.empty())
LogPrintf("%s\n", strErr);
}
pcursor->close();
} catch (boost::thread_interrupted) {
throw;
} catch (...) {
result = DB_CORRUPT;
}
if (fNoncriticalErrors && result == DB_LOAD_OK)
result = DB_NONCRITICAL_ERROR;
// Any wallet corruption at all: skip any rewriting or
// upgrading, we don't want to make it worse.
if (result != DB_LOAD_OK)
return result;
LogPrintf("nFileVersion = %d\n", wss.nFileVersion);
LogPrintf("Keys: %u plaintext, %u encrypted, %u w/ metadata, %u total\n",
wss.nKeys, wss.nCKeys, wss.nKeyMeta, wss.nKeys + wss.nCKeys);
// nTimeFirstKey is only reliable if all keys have metadata
if ((wss.nKeys + wss.nCKeys) != wss.nKeyMeta)
pwallet->nTimeFirstKey = 1; // 0 would be considered 'no value'
BOOST_FOREACH (uint256 hash, wss.vWalletUpgrade)
WriteTx(hash, pwallet->mapWallet[hash]);
// Rewrite encrypted wallets of versions 0.4.0 and 0.5.0rc:
if (wss.fIsEncrypted && (wss.nFileVersion == 40000 || wss.nFileVersion == 50000))
return DB_NEED_REWRITE;
if (wss.nFileVersion < CLIENT_VERSION) // Update
WriteVersion(CLIENT_VERSION);
if (wss.fAnyUnordered)
result = ReorderTransactions(pwallet);
return result;
}
DBErrors CWalletDB::FindWalletTx(CWallet* pwallet, vector<uint256>& vTxHash, vector<CWalletTx>& vWtx)
{
pwallet->vchDefaultKey = CPubKey();
bool fNoncriticalErrors = false;
DBErrors result = DB_LOAD_OK;
try {
LOCK(pwallet->cs_wallet);
int nMinVersion = 0;
if (Read((string) "minversion", nMinVersion)) {
if (nMinVersion > CLIENT_VERSION)
return DB_TOO_NEW;
pwallet->LoadMinVersion(nMinVersion);
}
// Get cursor
Dbc* pcursor = GetCursor();
if (!pcursor) {
LogPrintf("Error getting wallet database cursor\n");
return DB_CORRUPT;
}
while (true) {
// Read next record
CDataStream ssKey(SER_DISK, CLIENT_VERSION);
CDataStream ssValue(SER_DISK, CLIENT_VERSION);
int ret = ReadAtCursor(pcursor, ssKey, ssValue);
if (ret == DB_NOTFOUND)
break;
else if (ret != 0) {
LogPrintf("Error reading next record from wallet database\n");
return DB_CORRUPT;
}
string strType;
ssKey >> strType;
if (strType == "tx") {
uint256 hash;
ssKey >> hash;
CWalletTx wtx;
ssValue >> wtx;
vTxHash.push_back(hash);
vWtx.push_back(wtx);
}
}
pcursor->close();
} catch (boost::thread_interrupted) {
throw;
} catch (...) {
result = DB_CORRUPT;
}
if (fNoncriticalErrors && result == DB_LOAD_OK)
result = DB_NONCRITICAL_ERROR;
return result;
}
DBErrors CWalletDB::ZapWalletTx(CWallet* pwallet, vector<CWalletTx>& vWtx)
{
// build list of wallet TXs
vector<uint256> vTxHash;
DBErrors err = FindWalletTx(pwallet, vTxHash, vWtx);
if (err != DB_LOAD_OK)
return err;
// erase each wallet TX
BOOST_FOREACH (uint256& hash, vTxHash) {
if (!EraseTx(hash))
return DB_CORRUPT;
}
return DB_LOAD_OK;
}
void ThreadFlushWalletDB(const string& strFile)
{
// Make this thread recognisable as the wallet flushing thread
RenameThread("vricoin-wallet");
static bool fOneThread;
if (fOneThread)
return;
fOneThread = true;
if (!GetBoolArg("-flushwallet", true))
return;
unsigned int nLastSeen = nWalletDBUpdated;
unsigned int nLastFlushed = nWalletDBUpdated;
int64_t nLastWalletUpdate = GetTime();
while (true) {
MilliSleep(500);
if (nLastSeen != nWalletDBUpdated) {
nLastSeen = nWalletDBUpdated;
nLastWalletUpdate = GetTime();
}
if (nLastFlushed != nWalletDBUpdated && GetTime() - nLastWalletUpdate >= 2) {
TRY_LOCK(bitdb.cs_db, lockDb);
if (lockDb) {
// Don't do this if any databases are in use
int nRefCount = 0;
map<string, int>::iterator mi = bitdb.mapFileUseCount.begin();
while (mi != bitdb.mapFileUseCount.end()) {
nRefCount += (*mi).second;
mi++;
}
if (nRefCount == 0) {
boost::this_thread::interruption_point();
map<string, int>::iterator mi = bitdb.mapFileUseCount.find(strFile);
if (mi != bitdb.mapFileUseCount.end()) {
LogPrint("db", "Flushing wallet.dat\n");
nLastFlushed = nWalletDBUpdated;
int64_t nStart = GetTimeMillis();
// Flush wallet.dat so it's self contained
bitdb.CloseDb(strFile);
bitdb.CheckpointLSN(strFile);
bitdb.mapFileUseCount.erase(mi++);
LogPrint("db", "Flushed wallet.dat %dms\n", GetTimeMillis() - nStart);
}
}
}
}
}
}
bool BackupWallet(const CWallet& wallet, const string& strDest)
{
if (!wallet.fFileBacked)
return false;
while (true) {
{
LOCK(bitdb.cs_db);
if (!bitdb.mapFileUseCount.count(wallet.strWalletFile) || bitdb.mapFileUseCount[wallet.strWalletFile] == 0) {
// Flush log data to the dat file
bitdb.CloseDb(wallet.strWalletFile);
bitdb.CheckpointLSN(wallet.strWalletFile);
bitdb.mapFileUseCount.erase(wallet.strWalletFile);
// Copy wallet.dat
filesystem::path pathSrc = GetDataDir() / wallet.strWalletFile;
filesystem::path pathDest(strDest);
if (filesystem::is_directory(pathDest))
pathDest /= wallet.strWalletFile;
try {
#if BOOST_VERSION >= 158000
filesystem::copy_file(pathSrc, pathDest, filesystem::copy_option::overwrite_if_exists);
#else
std::ifstream src(pathSrc.string(), std::ios::binary);
std::ofstream dst(pathDest.string(), std::ios::binary);
dst << src.rdbuf();
#endif
LogPrintf("copied wallet.dat to %s\n", pathDest.string());
return true;
} catch (const filesystem::filesystem_error& e) {
LogPrintf("error copying wallet.dat to %s - %s\n", pathDest.string(), e.what());
return false;
}
}
}
MilliSleep(100);
}
return false;
}
//
// Try to (very carefully!) recover wallet.dat if there is a problem.
//
bool CWalletDB::Recover(CDBEnv& dbenv, std::string filename, bool fOnlyKeys)
{
// Recovery procedure:
// move wallet.dat to wallet.timestamp.bak
// Call Salvage with fAggressive=true to
// get as much data as possible.
// Rewrite salvaged data to wallet.dat
// Set -rescan so any missing transactions will be
// found.
int64_t now = GetTime();
std::string newFilename = strprintf("wallet.%d.bak", now);
int result = dbenv.dbenv.dbrename(NULL, filename.c_str(), NULL,
newFilename.c_str(), DB_AUTO_COMMIT);
if (result == 0)
LogPrintf("Renamed %s to %s\n", filename, newFilename);
else {
LogPrintf("Failed to rename %s to %s\n", filename, newFilename);
return false;
}
std::vector<CDBEnv::KeyValPair> salvagedData;
bool allOK = dbenv.Salvage(newFilename, true, salvagedData);
if (salvagedData.empty()) {
LogPrintf("Salvage(aggressive) found no records in %s.\n", newFilename);
return false;
}
LogPrintf("Salvage(aggressive) found %u records\n", salvagedData.size());
bool fSuccess = allOK;
boost::scoped_ptr<Db> pdbCopy(new Db(&dbenv.dbenv, 0));
int ret = pdbCopy->open(NULL, // Txn pointer
filename.c_str(), // Filename
"main", // Logical db name
DB_BTREE, // Database type
DB_CREATE, // Flags
0);
if (ret > 0) {
LogPrintf("Cannot create database file %s\n", filename);
return false;
}
CWallet dummyWallet;
CWalletScanState wss;
DbTxn* ptxn = dbenv.TxnBegin();
BOOST_FOREACH (CDBEnv::KeyValPair& row, salvagedData) {
if (fOnlyKeys) {
CDataStream ssKey(row.first, SER_DISK, CLIENT_VERSION);
CDataStream ssValue(row.second, SER_DISK, CLIENT_VERSION);
string strType, strErr;
bool fReadOK = ReadKeyValue(&dummyWallet, ssKey, ssValue,
wss, strType, strErr);
if (!IsKeyType(strType))
continue;
if (!fReadOK) {
LogPrintf("WARNING: CWalletDB::Recover skipping %s: %s\n", strType, strErr);
continue;
}
}
Dbt datKey(&row.first[0], row.first.size());
Dbt datValue(&row.second[0], row.second.size());
int ret2 = pdbCopy->put(ptxn, &datKey, &datValue, DB_NOOVERWRITE);
if (ret2 > 0)
fSuccess = false;
}
ptxn->commit(0);
pdbCopy->close(0);
return fSuccess;
}
bool CWalletDB::Recover(CDBEnv& dbenv, std::string filename)
{
return CWalletDB::Recover(dbenv, filename, false);
}
bool CWalletDB::WriteDestData(const std::string& address, const std::string& key, const std::string& value)
{
nWalletDBUpdated++;
return Write(std::make_pair(std::string("destdata"), std::make_pair(address, key)), value);
}
bool CWalletDB::EraseDestData(const std::string& address, const std::string& key)
{
nWalletDBUpdated++;
return Erase(std::make_pair(std::string("destdata"), std::make_pair(address, key)));
}
| [
"[email protected]"
] | |
d536bbe1de0192bc43c1022a9b42f807043a43e8 | 3ef16236cc4566b03328552843b28adde7389612 | /ash/components/arc/test/fake_net_instance.cc | c9f8eab24a3fc2404cf111fc82698168c5ca2c2b | [
"BSD-3-Clause"
] | permissive | moteesh-in2tive/chromium | c5962834c8218ba607846ce59d0ba008be00fe2b | e1e495b29e1178a451f65980a6c4ae017c34dc94 | refs/heads/main | 2023-09-05T00:46:48.898998 | 2021-11-23T19:52:34 | 2021-11-23T19:52:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,401 | cc | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/components/arc/test/fake_net_instance.h"
namespace arc {
FakeNetInstance::FakeNetInstance() {}
FakeNetInstance::~FakeNetInstance() = default;
void FakeNetInstance::InitDeprecated(
mojo::PendingRemote<mojom::NetHost> host_remote) {}
void FakeNetInstance::Init(::mojo::PendingRemote<mojom::NetHost> host_remote,
InitCallback callback) {}
void FakeNetInstance::ScanCompleted() {}
void FakeNetInstance::WifiEnabledStateChanged(bool is_enabled) {}
void FakeNetInstance::DisconnectAndroidVpn() {}
void FakeNetInstance::ConfigureAndroidVpn() {}
void FakeNetInstance::ActiveNetworksChanged(
std::vector<mojom::NetworkConfigurationPtr> network) {}
void FakeNetInstance::DnsResolutionTest(const std::string& transport_name,
const std::string& host_name,
DnsResolutionTestCallback callback) {
mojom::ArcDnsResolutionTestResultPtr result_ptr =
mojom::ArcDnsResolutionTestResult::New();
result_ptr->is_successful = dns_resolution_test_result_.is_successful;
result_ptr->response_code = dns_resolution_test_result_.response_code;
result_ptr->duration_ms = dns_resolution_test_result_.duration_ms;
std::move(callback).Run(std::move(result_ptr));
}
void FakeNetInstance::HttpTest(const std::string& transport_name,
const ::GURL& url,
HttpTestCallback callback) {
mojom::ArcHttpTestResultPtr result_ptr = mojom::ArcHttpTestResult::New();
result_ptr->is_successful = http_test_result_.is_successful;
result_ptr->status_code = http_test_result_.status_code;
result_ptr->duration_ms = http_test_result_.duration_ms;
std::move(callback).Run(std::move(result_ptr));
}
void FakeNetInstance::PingTest(const std::string& transport_name,
const std::string& ip_address,
PingTestCallback callback) {
mojom::ArcPingTestResultPtr result_ptr = mojom::ArcPingTestResult::New();
result_ptr->is_successful = ping_test_result_.is_successful;
result_ptr->duration_ms = ping_test_result_.duration_ms;
std::move(callback).Run(std::move(result_ptr));
}
} // namespace arc
| [
"[email protected]"
] | |
be4f62d173676294aee548d1e6b9b6542bf9a915 | 90517ce1375e290f539748716fb8ef02aa60823b | /solved/r-t/superb-sequence/gen.cpp | fadcd8ee1e4dbe27223f84155b10f4aca7811192 | [
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | Code4fun4ever/pc-code | 23e4b677cffa57c758deeb655fd4f71b36807281 | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | refs/heads/master | 2021-01-15T08:15:00.681534 | 2014-09-08T05:28:39 | 2014-09-08T05:28:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | cpp | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <ctime>
using namespace std;
#define MAXT 100
#define MAXA 100
#define MAXB 100
#define MAXC 300
#define NCRIT 5
int T;
char A[MAXA + 1];
char B[MAXB + 1];
char C[MAXC + 1];
int idx[MAXC + 1];
void fill(char *s, int len, int alpha)
{
for (int i = 0; i < len; ++i)
s[i] = 'a' + (rand() % alpha);
s[len] = 0;
}
void gen_rand()
{
int alpha = rand() % 26 + 1;
fill(A, rand() % MAXA + 1, alpha);
fill(B, rand() % MAXB + 1, alpha);
fill(C, rand() % MAXC + 1, alpha);
puts(A);
puts(B);
puts(C);
--T;
}
void gen(bool crit = false)
{
int c = crit ? MAXC : rand() % MAXC + 1;
int alpha = crit ? 26 : rand() % 26 + 1;
fill(C, c, alpha);
int a = crit ? MAXA : rand() % min(MAXA, c) + 1;
int b = crit ? MAXB : rand() % min(MAXB, c) + 1;
for (int i = 0; i < c; ++i) idx[i] = i;
random_shuffle(idx, idx + c);
sort(idx, idx + a);
for (int i = 0; i < a; ++i) A[i] = C[idx[i]];
A[a] = 0;
random_shuffle(idx, idx + c);
sort(idx, idx + b);
for (int i = 0; i < b; ++i) B[i] = C[idx[i]];
B[b] = 0;
puts(A);
puts(B);
puts(C);
--T;
}
int main()
{
srand(time(NULL));
T = MAXT;
printf("%d\n", T);
for (int i = 0; i < NCRIT; ++i) gen(true);
while (T) {
int r = rand() % 10;
if (r < 4)
gen_rand();
else
gen();
}
return 0;
}
| [
"[email protected]"
] | |
6f71c7fd14d0b1a7855f55a5ccd39ad601575bb8 | 84ce4567164148b52abc4de6b51f748571b47f2d | /negativeatk.cc | 9810863e40ca8ebb30d3be8b8ff5384309f7f89e | [] | no_license | RuijieZ/cc3k | bcd92f458937cb2f58e7a6be08d11d008a9a6470 | c5dccdc0f8d3be48dccd46df34cf877d0411cd94 | refs/heads/master | 2020-04-10T22:42:06.448484 | 2016-02-10T17:03:05 | 2016-02-10T17:03:05 | 51,455,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cc | #include <iostream>
#include <string>
#include "negativeatk.h"
using namespace std;
NegativeAtk::NegativeAtk(Player* next, string race){
type = "WA";
this->next = next;
this->race = race;
if (next != NULL) {this->gold = next->getGold();}
}
int NegativeAtk::getHp() {
return next->getHp();
}
int NegativeAtk::getDef() {
return next->getDef();
}
int NegativeAtk::getAtk() {
int atk = next->getAtk();
if (race == "Elf" ) {
cout << "works" <<endl;
return atk + 5;
}
if (atk <= 5) {
return 0;
}
return next->getAtk() - 5;
}
string NegativeAtk::getType() {
return type;
}
NegativeAtk::~NegativeAtk() {
delete next;
}
| [
"[email protected]"
] | |
467bbb63dd564d8b428ed2c184ba552557828316 | 9ac887713ffc194682d6f088b690b76b8525b260 | /online_judge/atcoder/zone2021/c2.cpp | fd296432f7e2dcd3c779e66ab485bce681ff758f | [] | no_license | ganmacs/playground | 27b3e0625796f6ee5324a70b06d3d3e5c77e1511 | a007f9fabc337561784b2a6040b5be77361460f8 | refs/heads/master | 2022-05-25T05:52:49.583453 | 2022-05-09T03:39:12 | 2022-05-09T04:06:15 | 36,348,909 | 6 | 0 | null | 2019-06-18T07:23:16 | 2015-05-27T06:50:59 | C++ | UTF-8 | C++ | false | false | 995 | cpp | #include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <cstdio>
#include <array>
#include <cmath>
#include <queue>
#include <stack>
#include <map>
#include <set>
#include <numeric>
using namespace std;
vector<array<int, 5>> V;
bool check(long long t) {
set<int> S;
for (auto& vi: V) {
int ii = 0;
for (int i = 0; i < 5; i++) {
if (vi[i] >= t) ii |= (1 << i);
}
S.insert(ii);
}
for (auto& s1: S) {
for (auto& s2: S) {
for (auto& s3: S) {
if ((s1|s2|s3) == 31) {
return true;
}
}
}
}
return false;
}
int main()
{
int N, a, b, c, d, e;
cin >> N;
for (int i = 0; i < N; i++) {
cin >> a >> b >> c >> d >> e;
V.push_back({ a, b, c, d, e });
}
long long ok = 1, ng = 1e9 + 1;
while (abs(ok - ng) > 1) {
long long m = (ok + ng)/2;
if (check(m)) {
ok = m;
} else {
ng = m;
}
}
cout << ok << endl;
return 0;
}
| [
"[email protected]"
] | |
93c9c49168c847c8208247465484d3be143ec64e | 342a29ede93762a7703b391ddab04f34561a78a9 | /solver/google/search/split_agent/evaluation.cpp | 4cbbd74ebe83ebeb815d1a396cbbf23d698e8647 | [] | no_license | Lafolia13/TMCIT_PROCON2019 | 597ee46664c9241b8bdf58563f58675f5bee42fc | 687aabe902879602b82ee3c19882eca4a680afe5 | refs/heads/master | 2022-03-22T19:35:56.989013 | 2019-12-22T06:58:32 | 2019-12-22T06:58:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,223 | cpp | #include "../../search/split_agent/evaluation.h"
#include <cassert>
namespace split_agent {
double GetEvaluation(const GameData &game_data, TurnData &turn_data,
const TurnData &before_turn_data,
const int_fast32_t &team_id,
const int_fast32_t &start_turn,
const double &before_evaluation) {
double ally_tile_point_difference =
AllyTilePointDifference(game_data, turn_data, before_turn_data,
team_id);
double rival_tile_point_difference =
RivalTilePointDifference(game_data, turn_data, before_turn_data,
team_id);
turn_data.CalculationAllAreaPoint(game_data);
double ally_area_point_difference =
AllyAreaPointDifference(game_data, turn_data, before_turn_data,
team_id);
double rival_area_point_difference =
RivalAreaPointDifference(game_data, turn_data, before_turn_data,
team_id);
double before_evaluation_bias =
BeforeEvaluationBias(game_data, before_evaluation, team_id);
double evaluations_sum = ally_tile_point_difference +
rival_tile_point_difference +
ally_area_point_difference +
rival_area_point_difference +
before_evaluation_bias;
if (before_turn_data.now_turn == start_turn) {
evaluations_sum = FirstEvaluation(game_data, evaluations_sum, team_id);
}
return evaluations_sum;
}
double AllyTilePointDifference(const GameData &game_data,
const TurnData &turn_data,
const TurnData &before_turn_data,
const int_fast32_t &team_id) {
static string function_name = "AllyTilePointDifference";
static array<bool, 2> first_check = {true, true};
static array<double, 2> bias = {};
if (first_check[team_id]) {
auto it = game_data.parameters.find(function_name + to_string(team_id));
assert(it != game_data.parameters.end());
bias[team_id] = it->second;
first_check[team_id] = false;
}
double ret = (turn_data.tile_point[team_id] -
before_turn_data.tile_point[team_id]) * bias[team_id];
return ret;
}
double RivalTilePointDifference(const GameData &game_data,
const TurnData &turn_data,
const TurnData &before_turn_data,
const int_fast32_t &team_id) {
static string function_name = "RivalTilePointDifference";
static array<bool, 2> first_check = {true, true};
static array<double, 2> bias = {};
if (first_check[team_id]) {
auto it = game_data.parameters.find(function_name + to_string(team_id));
assert(it != game_data.parameters.end());
bias[team_id] = it->second;
first_check[team_id] = false;
}
double ret = (turn_data.tile_point[team_id^1] -
before_turn_data.tile_point[team_id^1]) * bias[team_id];
return -ret;
}
double AllyAreaPointDifference(const GameData &game_data,
const TurnData &turn_data,
const TurnData &before_turn_data,
const int_fast32_t &team_id) {
static string function_name = "AllyAreaPointDifference";
static array<bool, 2> first_check = {true, true};
static array<double, 2> bias = {};
if (first_check[team_id]) {
auto it = game_data.parameters.find(function_name + to_string(team_id));
assert(it != game_data.parameters.end());
bias[team_id] = it->second;
first_check[team_id] = false;
}
double ret = (turn_data.area_point[team_id] -
before_turn_data.area_point[team_id]) * bias[team_id];
return ret;
}
double RivalAreaPointDifference(const GameData &game_data,
const TurnData &turn_data,
const TurnData &before_turn_data,
const int_fast32_t &team_id) {
static string function_name = "RivalAreaPointDifference";
static array<bool, 2> first_check = {true, true};
static array<double, 2> bias = {};
if (first_check[team_id]) {
auto it = game_data.parameters.find(function_name + to_string(team_id));
assert(it != game_data.parameters.end());
bias[team_id] = it->second;
first_check[team_id] = false;
}
double ret = (turn_data.area_point[team_id^1] -
before_turn_data.area_point[team_id^1]) * bias[team_id];
return -ret;
}
double BeforeEvaluationBias(const GameData &game_data,
const double &before_evaluation,
const int_fast32_t &team_id) {
static string function_name = "BeforeEvaluationBias";
static array<bool, 2> first_check = {true, true};
static array<double, 2> bias = {};
if (first_check[team_id]) {
auto it = game_data.parameters.find(function_name + to_string(team_id));
assert(it != game_data.parameters.end());
bias[team_id] = it->second;
first_check[team_id] = false;
}
double ret = before_evaluation * bias[team_id];
return ret;
}
double FirstEvaluation(const GameData &game_data,
const double &evaluation,
const int_fast32_t &team_id) {
static string function_name = "FirstEvaluation";
static array<bool, 2> first_check = {true, true};
static array<double, 2> bias = {};
if (first_check[team_id]) {
auto it = game_data.parameters.find(function_name + to_string(team_id));
assert(it != game_data.parameters.end());
bias[team_id] = it->second;
first_check[team_id] = false;
}
double ret = evaluation * bias[team_id];
return ret;
}
} | [
"[email protected]"
] | |
bbada1ee236a8268df7ed355749d1cdc4e4370bf | 266bbcf5fee6d013ef0819d391e295f834361ea7 | /Job/Coursera/str_less_b.cpp | 46fb5a3faf9ec18016efa4d718250b1471175806 | [] | no_license | hetiany/Leetcode | b51e02d3de2852daa5f033d5615be4d76a963e2e | 9871c8758e02472e12f67340953b1d97e281b85a | refs/heads/master | 2021-01-12T11:22:08.864900 | 2017-01-25T10:03:05 | 2017-01-25T10:03:05 | 72,903,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | cpp |
/* 给了一个数组(没排序的) d和一个long t,求有多少组(i,j,k)可以满足的d[i]<d[j]<d[k]且d[i]+d[j]+d[k]<=t
{2, 3, 5, 7, 4, 2, 7} v
2222
map<int, int> record;
sort
vector<pair<val, count>> vec;
for() {
i = 0;
if(v[i] != v[i - 1] ) vec.push_back(make_pair(val, 0));
vec.back().second++;
}
i =0 ,j= 1,k = n- 1;
{2,3,4} = 2*2*3;
2 -> 2
3 -> 2
4 -> 3
5 -> 1
7 -> 2*/
#include <iostream>
#include <string>
using namespace std;
class Solution {
public:
int get() {
}
};
int main() {
return 0;
} | [
"[email protected]"
] | |
690dad5fc24c92590f0cf80e530425fc589b321c | fdc736a967df45abb52c1fa1f0d233af35bf2449 | /threadpool.cpp | 8c94e1a42adcf52be1722cbb58b79ab36968956b | [] | no_license | wzzydezy/C-learning | 9f0d5f3e66ae62ca248d4d950a008c68ef2c8864 | bbe9e6c363f61c7cb45860064dce6cea5b011bcd | refs/heads/main | 2023-05-31T12:52:11.678417 | 2021-06-08T07:36:44 | 2021-06-08T07:36:44 | 374,877,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | cpp |
#include <iostream>
#include <pthread.h>
#include <exception>
#include <mutex>
#include "windows.h"
class threadpool
{
public:
threadpool(int thread_num=8);
~threadpool();
private:
static void* worker(void* arg);
void run();
private:
int m_thread_num;
pthread_t* m_threads;
std::mutex mtx;
};
threadpool::threadpool(int thread_num): m_thread_num(thread_num)
{
if(thread_num<=0)
throw std::exception();
m_threads = new pthread_t[m_thread_num];
if(!m_threads)
throw std::exception();
for(int i=0; i<thread_num; i++){
if( pthread_create(m_threads + i, NULL, worker, this) != 0){
delete[] m_threads;
throw std::exception();
}
if(pthread_detach(m_threads[i])){
delete[] m_threads;
throw std::exception();
}
}
}
threadpool::~threadpool()
{
delete[] m_threads;
}
void* threadpool::worker(void* arg)
{
threadpool* pool = (threadpool *) arg;
pool->run();
return pool;
}
void threadpool::run()
{
int id = GetCurrentThreadId();
//while(1)
mtx.lock();
std::cout<< id << std::endl;
mtx.unlock();
return;
}
int main()
{
threadpool* m_pool = new threadpool(0);
return 0;
}
| [
"[email protected]"
] | |
d5b7d129dd33cce9e6dd32a2891278ac0d312531 | 1b9e7f3a3e2606e8e04f989b5cb4dd5a3de725af | /cpp/Ntreev.Crema.CodeTest/src/reader/src/binary_data.cpp | 9a6f27bdd880fd43173285f72e4a95184fb90dd7 | [
"MIT"
] | permissive | NtreevSoft/Crema | 703666b7d6de84602935b0c862bd11c926aa47b0 | f1074fc570e03d3c4ad39e798b27741b53f17713 | refs/heads/master | 2022-12-11T14:34:10.387586 | 2020-10-06T00:28:43 | 2020-10-06T00:28:43 | 127,836,101 | 74 | 15 | MIT | 2022-12-07T19:52:57 | 2018-04-03T01:57:03 | C# | UTF-8 | C++ | false | false | 20,867 | cpp | #include "binary_data.h"
#include "binary_reader.h"
#include "../include/crema/iniexception.h"
#include "internal_utils.h"
#include "../include/crema/iniutils.h"
#include <stdarg.h>
#include <locale>
namespace CremaCode { namespace reader { namespace internal { namespace binary
{
binary_column::binary_column(const std::string& columnName, const std::type_info& dataType, bool isKey)
: m_columnName(columnName), m_dataType(dataType), m_iskey(isKey)
{
#ifdef _DEBUG
this->typeName = m_dataType.name();
#endif
}
binary_column::~binary_column()
{
}
const std::string& binary_column::name() const
{
return m_columnName;
}
const std::type_info& binary_column::datatype() const
{
return m_dataType;
}
bool binary_column::is_key() const
{
return m_iskey;
}
size_t binary_column::index() const
{
return m_columnIndex;
}
void binary_column::set_index(size_t index)
{
m_columnIndex = index;
}
itable& binary_column::table() const
{
return *m_table;
}
void binary_column::set_table(itable& table)
{
m_table = &table;
}
binary_row::binary_row()
{
}
binary_row::~binary_row()
{
}
const void* binary_row::value_core(const inicolumn& column) const
{
static long long nullvalue = 0;
const int* offsets = (const int*)&m_fields.front();
int offset = offsets[column.index()];
const char* valuePtr = &m_fields.front() + offset;
const std::type_info& typeinfo = column.datatype();
if (typeinfo == typeid(std::string))
{
if (offset == 0)
return &string_resource::empty_string;
int id = *(int*)valuePtr;
return &string_resource::get(id);
}
else
{
if (offset == 0)
return &nullvalue;
return valuePtr;
}
}
bool binary_row::has_value_core(const inicolumn& column) const
{
const int* offsets = (const int*)&m_fields.front();
int offset = offsets[column.index()];
return offset != 0;
}
void binary_row::set_value(const std::string& /*columnName*/, const std::string& /*text*/)
{
throw std::invalid_argument("지원되지 않습니다");
}
itable& binary_row::table() const
{
return *m_table;
}
long binary_row::hash() const
{
return m_hash;
}
void binary_row::reserve_fields_ptr(size_t size)
{
m_fields.resize(size, 0);
}
char* binary_row::fields_ptr()
{
return &m_fields.front();
}
void binary_row::set_table(binary_table& table)
{
m_table = &table;
}
void binary_row::set_hash(long hash)
{
m_hash = hash;
}
bool binary_row::equals_key(va_list& vl)
{
#if _MSC_VER >= 1700
for (inicolumn& item : m_table->m_keys)
{
#else
for (binary_key_array::iterator itor = m_table->keys.begin() ; itor != m_table->keys.end() ; itor++)
{
inicolumn& item = *itor;
#endif
const std::type_info& typeinfo = *va_arg(vl, const std::type_info*);
if (typeinfo == typeid(bool))
{
if(this->value<bool>(item.name()) != !!va_arg(vl, int))
return false;
}
else if (typeinfo == typeid(char))
{
if(this->value<char>(item.name()) != (char)va_arg(vl, int))
return false;
}
else if (typeinfo == typeid(unsigned char))
{
if(this->value<unsigned char>(item.name()) != (unsigned char)va_arg(vl, int))
return false;
}
else if (typeinfo == typeid(short))
{
if(this->value<short>(item.name()) != (short)va_arg(vl, int))
return false;
}
else if (typeinfo == typeid(unsigned short))
{
if(this->value<unsigned short>(item.name()) != (unsigned short)va_arg(vl, int))
return false;
}
else if (typeinfo == typeid(int))
{
if(this->value<int>(item.name()) != (int)va_arg(vl, int))
return false;
}
else if (typeinfo == typeid(unsigned int))
{
if(this->value<unsigned int>(item.name()) != (unsigned int)va_arg(vl, int))
return false;
}
else if (typeinfo == typeid(float))
{
if(this->value<float>(item.name()) != (float)va_arg(vl, double))
return false;
}
else if (typeinfo == typeid(double))
{
if (this->value<double>(item.name()) != (float)va_arg(vl, double))
return false;
}
else if (typeinfo == typeid(long long))
{
if(this->value<long long>(item.name()) != (long long)va_arg(vl, long long))
return false;
}
else if (typeinfo == typeid(unsigned long long))
{
if(this->value<unsigned long long>(item.name()) != (unsigned long long)va_arg(vl, long long))
return false;
}
else if (typeinfo == typeid(char*) || typeinfo == typeid(const char*))
{
std::string text = va_arg(vl, const char*);
if(this->value<std::string>(item.name()) != text)
return false;
}
else if (typeinfo == typeid(std::string))
{
std::string text = (std::string)va_arg(vl, std::string);
if (this->value<std::string>(item.name()) != text)
return false;
}
}
return true;
}
binary_key_array::binary_key_array()
{
}
binary_key_array::~binary_key_array()
{
}
size_t binary_key_array::size() const
{
return m_columns.size();
}
inicolumn& binary_key_array::at(size_t index) const
{
return *m_columns[index];
}
void binary_key_array::add(binary_column* column)
{
m_columns.push_back(column);
}
binary_column_array::binary_column_array(size_t count)
: m_columns(count), m_caseSensitive(false)
{
}
binary_column_array::~binary_column_array()
{
#if _MSC_VER >= 1700
for (binary_column* item : m_columns)
{
#else
for (std::vector<binary_column*>::iterator itor = m_columns().begin() ; itor != m_columns().end() ; itor++)
{
binary_column* item = *itor;
#endif
delete item;
}
}
size_t binary_column_array::size() const
{
return m_columns.size();
}
inicolumn& binary_column_array::at(size_t index) const
{
return *m_columns[index];
}
inicolumn& binary_column_array::at(const std::string& columnName) const
{
std::map<std::string, binary_column*>::const_iterator itor = m_nameToColumn.find(conv_string(columnName));
if (itor == m_nameToColumn.end())
throw keynotfoundexception(columnName, "columns");
return *itor->second;
}
bool binary_column_array::contains(const std::string& columnName) const
{
return m_nameToColumn.find(conv_string(columnName)) != m_nameToColumn.end();
}
void binary_column_array::set(size_t index, binary_column* column)
{
m_columns[index] = column;
m_nameToColumn[conv_string(column->name())] = column;
column->set_index(index);
}
void binary_column_array::set_flag(ReadFlag flag)
{
m_caseSensitive = (flag & ReadFlag_case_sensitive) != 0;
}
std::string binary_column_array::conv_string(const std::string& text) const
{
if (m_caseSensitive == true)
return text;
return iniutil::to_lower(text);
}
binary_row_array::binary_row_array(size_t count)
: m_rows(count)
{
m_keyTorow.get_allocator().allocate(count);
}
binary_row_array::~binary_row_array()
{
}
size_t binary_row_array::size() const
{
return m_rows.size();
}
binary_row& binary_row_array::at(size_t index) const
{
const binary_row& row = m_rows[index];
return const_cast<binary_row&>(row);
}
binary_row& binary_row_array::at(size_t index)
{
return m_rows[index];
}
void binary_row_array::generate_key(size_t index)
{
size_t keysize = this->keys_size(), offset = 0;
if (keysize == 0)
return;
binary_row& row = this->at(index);
const std::collate<char>& coll = std::use_facet< std::collate<char> >(std::locale());
std::vector<char> fields(keysize);
#if _MSC_VER >= 1700
for (inicolumn& item : m_table->m_keys)
{
#else
for (binary_key_array::iterator itor = m_table->keys.begin() ; itor != m_table->keys.end() ; itor++)
{
inicolumn& item = *itor;
#endif
const std::type_info& typeinfo = item.datatype();
if (typeinfo == typeid(bool))
{
this->set_field_value(&fields.front(), offset, row.value<bool>(item));
}
else if (typeinfo == typeid(char))
{
this->set_field_value(&fields.front(), offset, row.value<char>(item));
}
else if (typeinfo == typeid(unsigned char))
{
this->set_field_value(&fields.front(), offset, row.value<unsigned char>(item));
}
else if (typeinfo == typeid(short))
{
this->set_field_value(&fields.front(), offset, row.value<short>(item));
}
else if (typeinfo == typeid(unsigned short))
{
this->set_field_value(&fields.front(), offset, row.value<unsigned short>(item));
}
else if (typeinfo == typeid(int))
{
this->set_field_value(&fields.front(), offset, row.value<int>(item));
}
else if (typeinfo == typeid(unsigned int))
{
this->set_field_value(&fields.front(), offset, row.value<unsigned int>(item));
}
else if (typeinfo == typeid(long long))
{
this->set_field_value(&fields.front(), offset, row.value<long long>(item));
}
else if (typeinfo == typeid(unsigned long long))
{
this->set_field_value(&fields.front(), offset, row.value<unsigned long long>(item));
}
else if (typeinfo == typeid(float))
{
this->set_field_value(&fields.front(), offset, row.value<float>(item));
}
else if (typeinfo == typeid(std::string))
{
const std::string& text = *(const std::string*)row.value_core(item);
this->set_field_value(&fields.front(), offset, iniutil::get_hash_code(text));
}
}
long hash = coll.hash(&fields.front(), &fields.front() + fields.size());
row.set_hash(hash);
m_keyTorow.insert(std::multimap<long, binary_row*>::value_type(hash, &row));
}
void binary_row_array::set_table(binary_table& table)
{
m_table = &table;
}
binary_table& binary_row_array::table() const
{
return *m_table;
}
binary_row_array::iterator binary_row_array::find_core(size_t count, ...)
{
if (count != m_table->m_keys.size())
throw std::invalid_argument("인자의 갯수가 키의 갯수랑 같지 않습니다.");
va_list vl;
size_t keysize = this->keys_size();
va_start(vl, count);
size_t offset = 0;
std::vector<char> fields(keysize);
const std::collate<char>& coll = std::use_facet< std::collate<char> >(std::locale());
for (size_t i=0 ; i<count ; i++)
{
const std::type_info& typeinfo = *va_arg(vl, const std::type_info*);
if (typeinfo == typeid(bool))
{
this->set_field_value(&fields.front(), offset, !!va_arg(vl, int));
}
else if (typeinfo == typeid(char))
{
this->set_field_value(&fields.front(), offset, (char)va_arg(vl, int));
}
else if (typeinfo == typeid(unsigned char))
{
this->set_field_value(&fields.front(), offset, (unsigned char)va_arg(vl, int));
}
else if (typeinfo == typeid(short))
{
this->set_field_value(&fields.front(), offset, (short)va_arg(vl, int));
}
else if (typeinfo == typeid(unsigned short))
{
this->set_field_value(&fields.front(), offset, (unsigned short)va_arg(vl, int));
}
else if (typeinfo == typeid(int))
{
this->set_field_value(&fields.front(), offset, (int)va_arg(vl, int));
}
else if (typeinfo == typeid(unsigned int))
{
this->set_field_value(&fields.front(), offset, (unsigned int)va_arg(vl, int));
}
else if (typeinfo == typeid(float))
{
this->set_field_value(&fields.front(), offset, (float)va_arg(vl, double));
}
else if (typeinfo == typeid(double))
{
this->set_field_value(&fields.front(), offset, (float)va_arg(vl, double));
}
else if (typeinfo == typeid(long long))
{
this->set_field_value(&fields.front(), offset, (long long)va_arg(vl, long long));
}
else if (typeinfo == typeid(unsigned long long))
{
this->set_field_value(&fields.front(), offset, (unsigned long long)va_arg(vl, long long));
}
else if (typeinfo == typeid(char*) || typeinfo == typeid(const char*))
{
int stringID = iniutil::get_hash_code(va_arg(vl, const char*));
this->set_field_value(&fields.front(), offset, stringID);
}
else if (typeinfo == typeid(std::string))
{
std::string text = (std::string)va_arg(vl, std::string);
int stringID = iniutil::get_hash_code(text);
this->set_field_value(&fields.front(), offset, stringID);
}
}
va_end(vl);
long hash = coll.hash(&fields.front(), &fields.front() + fields.size());
std::pair <std::multimap<long,binary_row*>::iterator, std::multimap<long,binary_row*>::iterator> ret = m_keyTorow.equal_range(hash);
size_t len = std::distance(ret.first, ret.second);
if(len == 1)
{
size_t index = ret.first->second - (binary_row*)&m_rows.front();
return iterator(this, index);
}
for (std::multimap<long,binary_row*>::iterator itor=ret.first; itor!=ret.second; ++itor)
{
va_list vl1;
va_start(vl1, count);
if(itor->second->equals_key(vl1) == true)
{
size_t index = itor->second - (binary_row*)&m_rows.front();
return iterator(this, index);
}
va_end(vl1);
}
return iterator(this);
}
size_t binary_row_array::keys_size() const
{
size_t size = 0;
#if _MSC_VER >= 1700
for (inicolumn& item : m_table->m_keys)
{
#else
for (binary_key_array::iterator itor = m_table->keys.begin() ; itor != m_table->keys.end() ; itor++)
{
inicolumn& item = *itor;
#endif
const std::type_info& typeinfo = item.datatype();
#ifdef _DEBUG
const char* name = typeinfo.name();
#endif
if (typeinfo == typeid(bool))
{
size += sizeof(int);
}
else if (typeinfo == typeid(char))
{
size += sizeof(int);
}
else if (typeinfo == typeid(unsigned char))
{
size += sizeof(int);
}
else if (typeinfo == typeid(short))
{
size += sizeof(int);
}
else if (typeinfo == typeid(unsigned short))
{
size += sizeof(int);
}
else if (typeinfo == typeid(int))
{
size += sizeof(int);
}
else if (typeinfo == typeid(unsigned int))
{
size += sizeof(int);
}
else if (typeinfo == typeid(float))
{
size += sizeof(double);
}
else if (typeinfo == typeid(long long))
{
size += sizeof(long long);
}
else if (typeinfo == typeid(unsigned long long))
{
size += sizeof(long long);
}
else if (typeinfo == typeid(std::string))
{
size += sizeof(int);
}
}
return size;
}
binary_table::binary_table(binary_reader* reader, size_t columnCount, size_t rowCount)
: m_columns(columnCount), m_rows(rowCount)
{
this->m_reader = reader;
this->m_rows.set_table(*this);
}
std::string binary_table::category() const
{
return m_categoryName;
}
std::string binary_table::name() const
{
return m_tableName;
}
size_t binary_table::index() const
{
return m_index;
}
std::string binary_table::hash_value() const
{
return m_hashValue;
}
void binary_table::set_index(size_t index)
{
m_index = index;
}
idataset& binary_table::dataset() const
{
return *m_reader;
}
binary_table::~binary_table()
{
}
binary_table_array::binary_table_array(binary_reader& reader)
: m_reader(reader)
{
}
binary_table_array::~binary_table_array()
{
#if _MSC_VER >= 1700
for (binary_table* item : m_tables)
{
#else
for (std::vector<binary_table*>::iterator itor = m_tables.begin() ; itor != m_tables.end() ; itor++)
{
binary_table* item = *itor;
#endif
delete item;
}
}
size_t binary_table_array::size() const
{
return m_tables.size();
}
itable& binary_table_array::at(size_t index) const throw()
{
itable* table = m_tables.at(index);
if (table == NULL)
return *const_cast<binary_table_array*>(this)->m_reader.read_table(index);
return *table;
}
itable& binary_table_array::at(const std::string& tableName) const throw()
{
std::map<std::string, binary_table*>::const_iterator itor = m_nameToTable.find(conv_string(tableName));
if (itor == m_nameToTable.end())
{
return *const_cast<binary_table_array*>(this)->m_reader.read_table(conv_string(tableName));
}
return *itor->second;
}
bool binary_table_array::contains(const std::string& tableName) const
{
return m_nameToTable.find(conv_string(tableName)) != m_nameToTable.end();
}
void binary_table_array::set(size_t index, binary_table* table)
{
std::string tableName;
m_nameToTable[conv_string(table->name())] = table;
m_tables[index] = table;
dynamic_cast<binary_table*>(table)->set_index(index);
#ifdef _DEBUG
//std::cout << table->name() << " is loaded : " << index << std::endl;
#endif
}
void binary_table_array::set_size(const std::vector<table_index>& indexes)
{
m_tables.assign(indexes.size(), NULL);
m_tableNames.reserve(indexes.size());
for (std::vector<table_index>::const_iterator itor = indexes.begin() ; itor != indexes.end() ; itor++)
{
const std::string& tableName = string_resource::get(itor->tableName);
m_tableNames.push_back(tableName);
}
}
void binary_table_array::set_flag(ReadFlag flag)
{
m_caseSensitive = (flag & ReadFlag_case_sensitive) != 0;
}
std::string binary_table_array::conv_string(const std::string& text) const
{
if (m_caseSensitive == true)
return text;
return iniutil::to_lower(text);
}
const itableNameArray& binary_table_array::names() const
{
return m_tableNames;
}
bool binary_table_array::is_table_loaded(const std::string& tableName) const
{
std::map<std::string, binary_table*>::const_iterator itor = m_nameToTable.find(conv_string(tableName));
return itor != m_nameToTable.end();
}
void binary_table_array::load_table(const std::string& tableName)
{
if (this->is_table_loaded(tableName) == true)
return;
m_reader.read_table(conv_string(tableName));
}
void binary_table_array::release_table(const std::string& tableName)
{
std::map<std::string, binary_table*>::const_iterator itor = m_nameToTable.find(conv_string(tableName));
if (itor == m_nameToTable.end())
return;
binary_table* table = itor->second;
m_nameToTable.erase(itor->first);
m_tables[table->index()] = nullptr;
delete table;
}
} /*namespace binary*/ } /*namespace internal*/ } /*namespace CremaCode*/ } /*namespace reader*/
| [
"[email protected]"
] | |
7a3c97d1f56506b050ab5348dc86b03a91ca11bf | abf729ac9fb671c28539abbecf1ecdc74b462862 | /comp/compiladores_rafael/syntax/FlexBYACC.h | 385a57cf295f2a6f814d15446eca70e282f9625a | [] | no_license | goncalofialho/istKillMe | f0d68675e42900849c80fa2eb1bcbf1826175f88 | 0ba58aacbd2c9602c206f4e1e8548cbf2ebb29e3 | refs/heads/master | 2021-06-01T00:59:19.603707 | 2016-06-21T11:21:00 | 2016-06-21T11:21:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,006 | h | // $Id: FlexBYACC.h,v 1.1 2012-03-06 21:44:34 ist13500 Exp $ -*- c++ -*-
/*
* $Log: FlexBYACC.h,v $
* Revision 1.1 2012-03-06 21:44:34 ist13500
* This is actually Compact but renamed TLL (string level change).
* The recognized language is still Compact, not TLL.
*
* Revision 1.4 2009/03/15 19:21:15 david
* First public revision of the CDK4-based TLL compiler.
* Revision logs were cleaned.
*
* Revision 1.3 2009/03/02 20:16:13 david
* Corrected stupid recursion bug.
*
* Revision 1.2 2009/03/02 17:40:22 david
* Major changes: in addition to compiling with CDK4, TLL now has
* its own namespace (tll). All classes are defined in it or in its
* child namespaces. Added automatic node processing: the "nodes"
* directory is scanned and nodes/all.h is built (contains both forward
* declarations and include directives for all nodes -- in the appropriate
* namespaces).
*
* Revision 1.1 2009/02/20 06:04:35 david
* TLL in new version. The new CDK is independent from particular
* tools (such as Flex and BYACC). Must adapt. This is the first version
* and will probably change.
*
*/
#ifndef __TLL_FLEXBYACCPARSER_H__
#define __TLL_FLEXBYACCPARSER_H__
#include <iostream>
#include <cdk/Compiler.h>
#include <cdk/syntax/Parser.h>
#include "TLLScanner.h"
namespace tll {
namespace syntax {
/**
* This class corresponds to the parser as implemented by the pair
* Flex+BYACC. Together, they scan the input and build the syntax
* treee.
* @see cdk::syntax::Parser
* @see cdk::Compiler
*/
class FlexBYACC: public cdk::syntax::Parser {
cdk::Compiler *_compiler;
//! @var _scanner is a global reference to the scanner (used to (re)set i/o streams)
FlexLexer *_scanner;
public:
// constructors
/**
* Constructor: the constructor does the same as the superclass'
* @param name compiler name
* @param scanner the lexical analyser
*/
FlexBYACC(const char *toolset = "flex+byacc") :
cdk::syntax::Parser(toolset), _scanner(NULL) {
}
public:
inline FlexLexer *scanner() {
return _scanner;
}
inline void scanner(FlexLexer *scanner) {
_scanner = scanner;
switchStreams();
}
/**
* Update the scanner's input and output streams.
*/
void switchStreams() {
_scanner->switch_streams(&istream(), &ostream());
}
public:
// methods
int parse(cdk::Compiler *compiler) {
_compiler = compiler;
return yyparse();
}
void yyerror(const char * const s) const {
std::cerr << _scanner->lineno() << ": " << s << std::endl;
}
/**
* Scanner.
*/
int yylex() {
return _scanner->yylex();
}
/**
* This is the main parsing function.
* It is automatically generated by 'byacc'
*/
int yyparse();
};
} // namespace syntax
} // namespace tll
#endif
| [
"[email protected]"
] | |
71238721c61323073668686c439933e32ff25893 | dfaf6faeaa4037e4f7734ae999f337cd9304b25b | /Ios_lib/Ios_lib/Ios_lib.h | 6099ebd637fd7814380549a358cee4b97851556a | [] | no_license | tlglovewf/XcodeTest | 46cb77c0cac760fd3f15ccf99102633a82ed8783 | 5621dcc1b0991890ec0ec5ca5998b11adcd371a0 | refs/heads/master | 2021-01-22T13:07:45.418601 | 2018-04-23T09:13:24 | 2018-04-23T09:13:24 | 68,768,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | h | //
// Ios_lib.h
// Ios_lib
//
// Created by TuLigen on 16/6/23.
// Copyright (c) 2016年 TuLigen. All rights reserved.
//
class TestIOS
{
public:
const char* getText()const;
};
| [
"[email protected]"
] | |
4e491cb85fe69723df05315f831f4729a2d87e35 | 36cc33cffa0db3ab3900ae92d55a6714401e5447 | /ArduinoLPT/lib/dcc_timer/src/dcc_timer.cpp | d8f517afe5cc3e3e824641f5ef826a580497347b | [] | no_license | elcheapo/ArduinoLPT | 99f8bf7490276a3ff2a9c94cfaad92c57f2534f3 | 6cd6443df013596ce1476705d8a74780daa319df | refs/heads/master | 2020-03-18T01:55:32.107824 | 2018-05-20T16:41:16 | 2018-05-20T16:41:16 | 134,166,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,874 | cpp | /*
* dcc_timer.cpp
*
* Created on: 25 avr. 2012
* Author: florrain
*/
#include "Arduino.h"
#include "organizer.h"
#include "dcc_timer.h"
#undef DEBUG
// Constructors ////////////////////////////////////////////////////////////////
DCC_timer::DCC_timer( void ) {
direct = 1;
direct_ready = 0;
}
/*
extern DCC_timer dcc_control;
ISR(TIMER1_OVF_vect) {
dcc_control.timer_overflow_interrupt();
}
*/
uint16_t next_icr;
inline void DCC_timer::do_send1(void) {
next_icr = (F_CPU / 1000000L) * PERIOD_1;
OCR1A = (F_CPU / 1000000L) * PERIOD_1 / 2;
OCR1B = (F_CPU / 1000000L) * PERIOD_1 / 2;
}
inline void DCC_timer::do_send0(void) {
next_icr = (F_CPU / 1000000L) * PERIOD_0;
OCR1A = (F_CPU / 1000000L) * PERIOD_0 / 2;
OCR1B = (F_CPU / 1000000L) * PERIOD_0 / 2;
}
void DCC_timer::timer_overflow_interrupt(void) {
// Uses timer x in fast PWM / ICR1A = TOP, OCRxA : = toggle on match, OCRxB : inverted output
ICR1=next_icr; // ICR1 is not double buffered so OCRA/B
switch (_doi_packet.state) {
case DOI_INTER_PACKET: {
do_send1();
/* Insure that we have 5 ms between packets as per DCC 9.2 */
/* So we wait for 14 (+ 14 or 20) 0/1's before processing the next packet */
/* 14 * 232�s * 14*112�s = 4.8 ms + packet loading time */
_doi_packet.bitcount--;
if (_doi_packet.bitcount == 0) _doi_packet.state = DOI_IDLE;
if (pkt_abort != 0) { // in case we need to stop repeating packet
pkt_ready = 0;
pkt_abort = 0;
}
break;
}
case DOI_IDLE: {
do_send1();
if (pkt_ready != 0) {
if (_doi_packet.repeat_ctr >= current_message.repeat) {
pkt_ready = 0; // DONE processing packet and repeat
_doi_packet.repeat_ctr = 0;
} else {
// send / resend message
_doi_packet.state = DOI_PREAMBLE; // current state
_doi_packet.ibyte = 0;
_doi_packet.bitcount = 0;
_doi_packet.xor_byte = 0;
if (current_message.type == is_prog) // TODO: Update logic
_doi_packet.bitcount = 25; // long preamble if service mode
else
_doi_packet.bitcount = 14; // regular preamble
}
}
break;
}
case DOI_PREAMBLE: {
do_send1();
_doi_packet.bitcount--;
if (_doi_packet.bitcount == 0)
_doi_packet.state = DOI_BSTART;
break;
}
case DOI_BSTART: {
do_send0();
if (current_message.size == _doi_packet.ibyte) { // message done, goto xor
_doi_packet.cur_byte = _doi_packet.xor_byte;
// Serial.println(_doi_packet.cur_byte,16);
_doi_packet.state = DOI_XOR;
_doi_packet.bitcount = 8;
} else { // get next addr or data
_doi_packet.cur_byte = current_message.dcc[_doi_packet.ibyte++];
// Serial.print(_doi_packet.cur_byte,16);Serial.write(' ');
_doi_packet.xor_byte ^= _doi_packet.cur_byte;
_doi_packet.state = DOI_BYTE;
_doi_packet.bitcount = 8;
}
break;
}
case DOI_BYTE: {
if (_doi_packet.cur_byte & 0x80) do_send1(); else do_send0();
_doi_packet.cur_byte <<= 1;
_doi_packet.bitcount--;
if (_doi_packet.bitcount == 0)
_doi_packet.state = DOI_BSTART;
break;
}
case DOI_XOR: {
if (_doi_packet.cur_byte & 0x80) do_send1(); else do_send0();
_doi_packet.cur_byte <<= 1;
_doi_packet.bitcount--;
if (_doi_packet.bitcount == 0) {
_doi_packet.state = DOI_LAST_BIT;
}
break;
}
case DOI_LAST_BIT: {
do_send1();
_doi_packet.state = DOI_INTER_PACKET;
_doi_packet.bitcount = 1;
_doi_packet.repeat_ctr ++;
// xSemaphoreGiveFromISR(ready_for_acknowledge, &xHigherPriorityTaskWoken); // tell the world about it ...
// if( xHigherPriorityTaskWoken != pdFALSE ) taskYIELD();
break;
}
default:
while(1);
break;
}
}
void DCC_timer::begin(tmode mode){
if (mode == digital) {
_doi_packet.repeat_ctr = 0;
// Use mode 10 (1010): fast PWM top set in ICR1
TCCR1A = 0 << WGM10| 1 << WGM11
| 1 << COM1A0 | 1 << COM1A1 // NonInverted output on OC1A
| 0 << COM1B0 | 1 << COM1B1; // inverted output on OC1B
TCCR1B = 1<<WGM13 | 1 << WGM12
| (0<<CS12) | (0<<CS11) | (1<<CS10);// no prescaler, source = sys_clk
// start with 0's
next_icr = (F_CPU / 1000000L) * PERIOD_0;
ICR1 = next_icr;
OCR1A = (F_CPU / 1000000L) * PERIOD_0 / 2; //Inverted output 58�s = 58*16 = 928 clocks
OCR1B = (F_CPU / 1000000L) * PERIOD_0 / 2; // Non inverted output
TCNT1 = 0; // Synchronize timers
// Enable Timer Overflow Interrupt
TIMSK1 = (1<<TOIE1);
// Set OCRA/B pins as Output
DDRB |= T1_OCRA|T1_OCRB;
} else { // Analog
TCCR1A = 1 << WGM10| 0 << WGM11 // Fast PWM 8 bit 0-FF
| 0 << COM1A0 | 0 << COM1A1 // PWM signal on OCRA or OCRB
| 0 << COM1B0 | 0 << COM1B1;
TCCR1B = 0<<WGM13 | 1 << WGM12
| (1<<CS12) | (0<<CS11) | (0<<CS10); // prescaler / 256, source=16 MHz / 256 = 244 Hz
TIMSK1 = 0; // no interrupt
OCR1A = 0;
OCR1B = 0;
DDRB |= T1_OCRA|T1_OCRB;
PORTB &= ~(T1_OCRA|T1_OCRB); // start with output OCRA/B deactivated
TIMSK1 = 0; // No interrupt
}
}
void DCC_timer::abort_dcc(void){
pkt_abort = 1;
}
void DCC_timer::send_dcc_packet(message * current){
// MUST be called when pkt_ready is 0
if (direct == 0) {
current_message = *current;
pkt_ready = 1;
}
}
void DCC_timer::send_direct_dcc_packet(message * direct) {
// MUST be called when pkt_ready is 0
current_message = *direct;
pkt_ready = 1;
}
void DCC_timer::end(void) {
TIMSK1 = 0; // disable timer interrupt
TCCR1A = 0 << WGM10| 0 << WGM11
| 0 << COM1A0 | 0 << COM1A1 // No output on OCxA
| 0 << COM1B0 | 0 << COM1B1; // No output on OCxB
TCCR1B = 0<<WGM13 | 0 << WGM12
| (0<<CS12) | (0<<CS11) | (0<<CS10);// timer stopped, no clock
DDRB |= T1_OCRA|T1_OCRB;
PORTB &= ~(T1_OCRA|T1_OCRB); // turn off all signals
}
void DCC_timer::analog_set_speed_and_direction(uint16_t speed, tdirection direction) {
speed = speed >> 1; // range for speed is 0 - 512
speed = speed & 0xFF; // limit range to 0 - 255
OCR1A = 10; // adc measurement at the beginning of the pulse
if (direction == off) {
TCCR1A = 1 << WGM10| 0 << WGM11 // PWM Phase correct 8 bit 0-FF
| 0 << COM1A0 | 0 << COM1A1 // No PWM signal
| 0 << COM1B0 | 0 << COM1B1;
TCCR1B = 0<<WGM13 | 1 << WGM12
| (1<<CS12) | (0<<CS11) | (0<<CS10); // prescaler / 256, source=16 MHz / 256 = 244 Hz
DDRB |= T1_OCRA|T1_OCRB;
PORTB &= ~(T1_OCRA|T1_OCRB); // OCRA/B set to 0
} else if (direction == backward) {
TCCR1A = 1 << WGM10| 0 << WGM11 // PWM Phase correct 8 bit 0-FF
| 0 << COM1A0 | 0 << COM1A1 // PWM signal non-inverted on OCRB
| 0 << COM1B0 | 1 << COM1B1;
TCCR1B = 0<<WGM13 | 1 << WGM12
| (1<<CS12) | (0<<CS11) | (0<<CS10); // prescaler / 256, source=16 MHz / 256 = 244 Hz
DDRB |= T1_OCRA;
PORTB &= ~(T1_OCRA); // OCRA set to 0
OCR1B = speed;
} else {// forward
TCCR1A = 1 << WGM10| 0 << WGM11 // PWM Phase correct 8 bit 0-FF
| 0 << COM1A0 | 1 << COM1A1 // PWM signal non inverted on OCRA
| 0 << COM1B0 | 0 << COM1B1;
TCCR1B = 0<<WGM13 | 1 << WGM12
| (1<<CS12) | (0<<CS11) | (0<<CS10); // prescaler / 256, source=16 MHz / 256 = 244 Hz
DDRB |= T1_OCRB;
PORTB &= ~(T1_OCRB); // OCRB set to 0
OCR1A = speed;
}
}
uint16_t DCC_timer::analog_get_speed(void) {
if ( (TCCR1A & (0 << COM1B0 | 1 << COM1B1)) == (0 << COM1B0 | 1 << COM1B1))
return OCR1B * 2;
else if ( (TCCR1A & (0 << COM1A0 | 1 << COM1A1)) == (0 << COM1A0 | 1 << COM1A1))
return OCR1A * 2;
else
return 0;
}
tdirection DCC_timer::analog_get_direction(void) {
if ( (TCCR1A & (0 << COM1B0 | 1 << COM1B1)) == (0 << COM1B0 | 1 << COM1B1)) return forward;
if ( (TCCR1A & (0 << COM1A0 | 1 << COM1A1)) == (0 << COM1A0 | 1 << COM1A1)) return backward;
return off;
}
| [
"[email protected]"
] | |
acf553a915e57c430ba86b2a0d612b6c2bcc77e5 | 9ad5d1da5b27569f1da66a502c9e9138308fdb33 | /VideoAudioBasic/VideoAudioBasic/别人的demo/yuv&rgb/SYKit/SYConverter/SYYuvConverter/SYYuvConverter.h | d527c0f4657507f07ec576e560b2a8360bb01119 | [] | no_license | Hacker-liang/video_audio_basic | 86e4a6b59f6febc77acec550a1ee06e3ab7153d6 | abef2a5a9f39e9f4d084e70f140356c24a28f095 | refs/heads/master | 2020-05-29T14:02:46.797992 | 2019-08-20T02:14:29 | 2019-08-20T02:14:29 | 189,181,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,677 | h | //
// SYYuvConverter.h
// SYKit <https://github.com/shenyuanluo/SYKit>
//
// Created by shenyuanluo on 2018/10/12.
// Copyright © 2018 http://blog.shenyuanluo.com/ All rights reserved.
//
/*
YUV 格式转换
*/
#ifndef SYYuvConverter_h
#define SYYuvConverter_h
#include <iostream>
#include "SYHeader.h"
class SYYuvConverter
{
private:
public:
SYYuvConverter();
~SYYuvConverter();
/**
I420 转 NV12
@param inYuv I420数据(输入)
@param width 帧-宽度
@param height 帧-高度度
@param outYuv NV12数据(输出)
@return 转换是否成功,参见‘SYErrType’
*/
SYKIT_API int SY_I420ToNv12(unsigned char* inYuv, unsigned int width, unsigned int height, unsigned char* outYuv) const;
/**
I420 转 NV21
@param inYuv I420数据(输入)
@param width 帧-宽度
@param height 帧-高度度
@param outYuv NV21数据(输出)
@return 转换是否成功,参见‘SYErrType’
*/
SYKIT_API int SY_I420ToNv21(unsigned char* inYuv, unsigned int width, unsigned int height, unsigned char* outYuv) const;
/**
NV12 转 I420
@param inYuv NV12数据(输入)
@param width 帧-宽度
@param height 帧-高度度
@param outYuv I420数据(输出)
@return 转换是否成功,参见‘SYErrType’
*/
SYKIT_API int SY_Nv12ToI420(unsigned char* inYuv, unsigned int width, unsigned int height, unsigned char* outYuv) const;
/**
NV12 转 NV21
@param inYuv NV12数据(输入)
@param width 帧-宽度
@param height 帧-高度度
@param outYuv NV21数据(输出)
@return 转换是否成功,参见‘SYErrType’
*/
SYKIT_API int SY_Nv12ToNv21(unsigned char* inYuv, unsigned int width, unsigned int height, unsigned char* outYuv) const;
/**
NV21 转 I420
@param inYuv NV21数据(输入)
@param width 帧-宽度
@param height 帧-高度度
@param outYuv I420数据(输出)
@return 转换是否成功,参见‘SYErrType’
*/
SYKIT_API int SY_Nv21ToI420(unsigned char* inYuv, unsigned int width, unsigned int height, unsigned char* outYuv) const;
/**
NV21 转 NV12
@param inYuv NV21数据(输入)
@param width 帧-宽度
@param height 帧-高度度
@param outYuv NV12数据(输出)
@return 转换是否成功,参见‘SYErrType’
*/
SYKIT_API int SY_Nv21ToNv12(unsigned char* inYuv, unsigned int width, unsigned int height, unsigned char* outYuv) const;
};
#endif /* SYYuvConverter_h */
| [
"[email protected]"
] | |
bda0b7bd87bb8c5523dd878a4210c12032705a9c | 00e0186f55eef9c28993b1688019ef4da61a7980 | /summer2018/medium/179-largest-number.cpp | 1816324280506217fa3187d1a330b8b64f9efa1b | [] | no_license | idontknoooo/leetcode | 2c1c8d3ffcbcb328f2b7087cf6e7e0a6441fdfc4 | dd24544a2e8cc2680a26e95dc85f0af4443f5a00 | refs/heads/master | 2021-06-05T09:49:51.131203 | 2018-10-22T03:32:14 | 2018-10-22T03:32:14 | 104,502,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,129 | cpp | // 4ms
class Solution {
public:
string largestNumber(vector<int>& nums) {
vector<string> str;
for(int i=0;i<nums.size();i++){
str.push_back(to_string(nums[i]));
}
sort(str.begin(), str.end(), comp);
string result;
for(int i=0;i<str.size();i++){
result += str[i];
}
while(result[0]=='0'&&result.length()>1){
result.erase(result.begin());
}
return result;
}
private:
static bool comp(string& s1, string& s2){
return s1+s2>s2+s1;//very important!!
}
};
// 5ms
class Solution {
public:
static bool compare(string a, string b) {
return a + b > b + a;
}
string largestNumber(vector<int>& nums) {
string ans;
vector<string> s;
for(int i = 0 ; i < nums.size(); i++) {
s.push_back(to_string(nums[i]));
}
sort(s.begin(), s.end(), compare);
for(int i = 0 ; i < s.size(); i++)
ans += s[i];
int i = 0 ;
while(ans[i] == '0' && i + 1 < ans.length()) i++;
return ans.substr(i);
}
};
| [
"[email protected]"
] | |
eccfef1f277dc128c82a7e331e6bfc0856a1518a | c371a3354faeaa5c48e09b6c6ead550e88d8e690 | /implement/oglplus/path_nv_array.inl | 5ed7c2e546f2318e51f8c164d8fdff73b492fbd9 | [
"BSL-1.0"
] | permissive | MORTAL2000/oglplu2 | 22c9c49891e96d1f0b3c3343a088ed99133426fc | f7b712ed5a2a083819c3c62d25d56fab426302a4 | refs/heads/master | 2020-09-01T20:33:31.637127 | 2019-07-13T11:30:56 | 2019-07-13T11:30:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,054 | inl | /**
* @file oglplus/path_nv_array.inl
*
* Copyright Matus Chochlik.
* Distributed under the Boost Software License, Version 1.0.
* See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt
*/
#include <eagine/assert.hpp>
#include <oglplus/utils/gl_func.hpp>
namespace oglplus {
//------------------------------------------------------------------------------
namespace oper {
//------------------------------------------------------------------------------
template <typename S>
inline outcome<void> path_nv_array_ops::path_glyphs(
const object_names<tag::path_nv, S>& paths,
path_font_target_nv font_target,
string_view font_name,
enum_bitfield<path_font_style_nv> font_style,
string_view char_codes,
path_missing_glyph_nv handle_missing_glyphs,
GLuint parameter_template,
GLfloat em_scale) noexcept {
OGLPLUS_GLFUNC(PathGlyphsNV)
(get_raw_name(paths),
GLenum(font_target),
static_cast<const void*>(font_name.data()),
GLbitfield(font_style),
GLsizei(char_codes.size()),
GLenum(GL_UTF8_NV),
static_cast<const void*>(char_codes.data()),
GLenum(handle_missing_glyphs),
parameter_template,
em_scale);
OGLPLUS_VERIFY(
PathGlyphsNV, gl_enum_value(font_target).gl_object(paths[0]), always);
return {};
}
//------------------------------------------------------------------------------
template <typename S, typename T>
inline outcome<void> path_nv_array_ops::path_glyphs(
const object_names<tag::path_nv, S>& paths,
path_font_target_nv font_target,
string_view font_name,
enum_bitfield<path_font_style_nv> font_style,
span<T> char_codes,
path_missing_glyph_nv handle_missing_glyphs,
GLuint parameter_template,
GLfloat em_scale) noexcept {
OGLPLUS_GLFUNC(PathGlyphsNV)
(get_raw_name(paths),
GLenum(font_target),
static_cast<const void*>(font_name.data()),
GLbitfield(font_style),
GLsizei(char_codes.size()),
GLenum(get_data_type<T>()),
static_cast<const void*>(char_codes.data()),
GLenum(handle_missing_glyphs),
parameter_template,
em_scale);
OGLPLUS_VERIFY(
PathGlyphsNV, gl_enum_value(font_target).gl_object(paths[0]), always);
return {};
}
//------------------------------------------------------------------------------
template <typename S>
inline outcome<void> path_nv_array_ops::path_glyph_range(
const object_names<tag::path_nv, S>& paths,
path_font_target_nv font_target,
string_view font_name,
enum_bitfield<path_font_style_nv> font_style,
GLuint first_glyph,
GLsizei num_glyphs,
path_missing_glyph_nv handle_missing_glyphs,
GLuint parameter_template,
GLfloat em_scale) noexcept {
OGLPLUS_GLFUNC(PathGlyphRangeNV)
(get_raw_name(paths),
GLenum(font_target),
static_cast<const void*>(font_name.data()),
GLbitfield(font_style),
first_glyph,
num_glyphs,
GLenum(handle_missing_glyphs),
parameter_template,
em_scale);
OGLPLUS_VERIFY(
PathGlyphRangeNV, gl_enum_value(font_target).gl_object(paths[0]), always);
return {};
}
//------------------------------------------------------------------------------
template <typename S, typename T>
inline outcome<void> path_nv_array_ops::get_path_spacing(
path_list_mode_nv list_mode,
span<T> indices,
const object_names<tag::path_nv, S>& paths,
GLfloat advance_scale,
GLfloat kerning_scale,
path_transform_type_nv transform_type,
span<GLfloat> returned_values) noexcept {
EAGINE_ASSERT(indices.size() <= returned_values.size());
OGLPLUS_GLFUNC(GetPathSpacingNV)
(GLenum(list_mode),
GLsizei(indices.size()),
GLenum(get_data_type<T>()),
static_cast<const void*>(indices.data()),
get_raw_name(paths),
advance_scale,
kerning_scale,
GLenum(transform_type),
returned_values.data());
OGLPLUS_VERIFY(
GetPathSpacingNV, gl_enum_value(list_mode).gl_object(paths[0]), always);
return {};
}
//------------------------------------------------------------------------------
template <typename S>
inline outcome<void> path_nv_array_ops::get_path_spacing(
path_list_mode_nv list_mode,
string_view indices,
const object_names<tag::path_nv, S>& paths,
GLfloat advance_scale,
GLfloat kerning_scale,
path_transform_type_nv transform_type,
span<GLfloat> returned_values) noexcept {
OGLPLUS_GLFUNC(GetPathSpacingNV)
(GLenum(list_mode),
GLsizei(indices.size() + 1),
GLenum(GL_UTF8_NV),
static_cast<const void*>(indices.data()),
get_raw_name(paths),
advance_scale,
kerning_scale,
GLenum(transform_type),
returned_values.data());
OGLPLUS_VERIFY(
GetPathSpacingNV, gl_enum_value(list_mode).gl_object(paths[0]), always);
return {};
}
//------------------------------------------------------------------------------
template <typename S, typename T>
inline outcome<void> path_nv_array_ops::get_path_metrics(
enum_bitfield<path_metric_query_nv> query_mask,
span<T> indices,
const object_names<tag::path_nv, S>& paths,
GLsizei stride,
span<GLfloat> returned_values) noexcept {
EAGINE_ASSERT(indices.size() <= returned_values.size());
OGLPLUS_GLFUNC(GetPathMetricsNV)
(GLbitfield(query_mask),
GLsizei(indices.size()),
GLenum(get_data_type<T>()),
static_cast<const void*>(indices.data()),
get_raw_name(paths),
stride,
returned_values.data());
OGLPLUS_VERIFY(GetPathMetricsNV, gl_object(paths[0]), always);
return {};
}
//------------------------------------------------------------------------------
template <typename S>
inline outcome<void> path_nv_array_ops::get_path_metrics(
enum_bitfield<path_metric_query_nv> query_mask,
string_view indices,
const object_names<tag::path_nv, S>& paths,
GLsizei stride,
span<GLfloat> returned_values) noexcept {
OGLPLUS_GLFUNC(GetPathMetricsNV)
(GLbitfield(query_mask),
GLsizei(indices.size()),
GLenum(GL_UTF8_NV),
static_cast<const void*>(indices.data()),
get_raw_name(paths),
stride,
returned_values.data());
OGLPLUS_VERIFY(GetPathMetricsNV, gl_object(paths[0]), always);
return {};
}
//------------------------------------------------------------------------------
template <typename S>
inline outcome<void> path_nv_array_ops::get_path_metric_range(
enum_bitfield<path_metric_query_nv> query_mask,
const object_names<tag::path_nv, S>& paths,
GLsizei num_paths,
GLsizei stride,
span<GLfloat> returned_values) noexcept {
OGLPLUS_GLFUNC(GetPathMetricRangeNV)
(GLbitfield(query_mask),
get_raw_name(paths),
num_paths,
stride,
returned_values.data());
OGLPLUS_VERIFY(GetPathMetricRangeNV, gl_object(paths[0]), always);
return {};
}
//------------------------------------------------------------------------------
template <typename S, typename T>
inline outcome<void> path_nv_array_ops::stencil_fill_path_instanced(
span<T> indices,
const object_names<tag::path_nv, S>& paths,
path_fill_mode_nv mode,
GLuint mask,
path_transform_type_nv transform_type,
span<const GLfloat> transform_values) noexcept {
OGLPLUS_GLFUNC(StencilFillPathInstancedNV)
(GLsizei(indices.size()),
GLenum(get_data_type<T>()),
static_cast<const void*>(indices.data()),
get_raw_name(paths),
GLenum(mode),
mask,
GLenum(transform_type),
transform_values.data());
OGLPLUS_VERIFY(
StencilFillPathInstancedNV,
gl_enum_value(mode).gl_object(paths[0]),
always);
return {};
}
//------------------------------------------------------------------------------
template <typename S>
inline outcome<void> path_nv_array_ops::stencil_fill_path_instanced(
string_view indices,
const object_names<tag::path_nv, S>& paths,
path_fill_mode_nv mode,
GLuint mask,
path_transform_type_nv transform_type,
span<const GLfloat> transform_values) noexcept {
OGLPLUS_GLFUNC(StencilFillPathInstancedNV)
(GLsizei(indices.size()),
GLenum(GL_UTF8_NV),
static_cast<const void*>(indices.data()),
get_raw_name(paths),
GLenum(mode),
mask,
GLenum(transform_type),
transform_values.data());
OGLPLUS_VERIFY(
StencilFillPathInstancedNV,
gl_enum_value(mode).gl_object(paths[0]),
always);
return {};
}
//------------------------------------------------------------------------------
template <typename S, typename T>
inline outcome<void> path_nv_array_ops::cover_fill_path_instanced(
span<T> indices,
const object_names<tag::path_nv, S>& paths,
path_fill_cover_mode_nv mode,
path_transform_type_nv transform_type,
span<const GLfloat> transform_values) noexcept {
OGLPLUS_GLFUNC(CoverFillPathInstancedNV)
(GLsizei(indices.size()),
GLenum(get_data_type<T>()),
static_cast<const void*>(indices.data()),
get_raw_name(paths),
GLenum(mode),
GLenum(transform_type),
transform_values.data());
OGLPLUS_VERIFY(
CoverFillPathInstancedNV,
gl_enum_value(mode).gl_object(paths[0]),
always);
return {};
}
//------------------------------------------------------------------------------
template <typename S>
inline outcome<void> path_nv_array_ops::cover_fill_path_instanced(
string_view indices,
const object_names<tag::path_nv, S>& paths,
path_fill_cover_mode_nv mode,
path_transform_type_nv transform_type,
span<const GLfloat> transform_values) noexcept {
OGLPLUS_GLFUNC(CoverFillPathInstancedNV)
(GLsizei(indices.size()),
GLenum(GL_UTF8_NV),
static_cast<const void*>(indices.data()),
get_raw_name(paths),
GLenum(mode),
GLenum(transform_type),
transform_values.data());
OGLPLUS_VERIFY(
CoverFillPathInstancedNV,
gl_enum_value(mode).gl_object(paths[0]),
always);
return {};
}
//------------------------------------------------------------------------------
template <typename S, typename T>
inline outcome<void> path_nv_array_ops::stencil_stroke_path_instanced(
span<T> indices,
const object_names<tag::path_nv, S>& paths,
GLint reference,
GLuint mask,
path_transform_type_nv transform_type,
span<const GLfloat> transform_values) noexcept {
OGLPLUS_GLFUNC(StencilStrokePathInstancedNV)
(GLsizei(indices.size()),
GLenum(get_data_type<T>()),
static_cast<const void*>(indices.data()),
get_raw_name(paths),
reference,
mask,
GLenum(transform_type),
transform_values.data());
OGLPLUS_VERIFY(StencilStrokePathInstancedNV, gl_object(paths[0]), always);
return {};
}
//------------------------------------------------------------------------------
template <typename S>
inline outcome<void> path_nv_array_ops::stencil_stroke_path_instanced(
string_view indices,
const object_names<tag::path_nv, S>& paths,
GLint reference,
GLuint mask,
path_transform_type_nv transform_type,
span<const GLfloat> transform_values) noexcept {
OGLPLUS_GLFUNC(StencilStrokePathInstancedNV)
(GLsizei(indices.size()),
GLenum(GL_UTF8_NV),
static_cast<const void*>(indices.data()),
get_raw_name(paths),
reference,
mask,
GLenum(transform_type),
transform_values.data());
OGLPLUS_VERIFY(StencilStrokePathInstancedNV, gl_object(paths[0]), always);
return {};
}
//------------------------------------------------------------------------------
template <typename S, typename T>
inline outcome<void> path_nv_array_ops::cover_stroke_path_instanced(
span<T> indices,
const object_names<tag::path_nv, S>& paths,
path_stroke_cover_mode_nv mode,
path_transform_type_nv transform_type,
span<const GLfloat> transform_values) noexcept {
OGLPLUS_GLFUNC(CoverStrokePathInstancedNV)
(GLsizei(indices.size()),
GLenum(get_data_type<T>()),
static_cast<const void*>(indices.data()),
get_raw_name(paths),
GLenum(mode),
GLenum(transform_type),
transform_values.data());
OGLPLUS_VERIFY(
CoverStrokePathInstancedNV,
gl_enum_value(mode).gl_object(paths[0]),
always);
return {};
}
//------------------------------------------------------------------------------
template <typename S>
inline outcome<void> path_nv_array_ops::cover_stroke_path_instanced(
string_view indices,
const object_names<tag::path_nv, S>& paths,
path_stroke_cover_mode_nv mode,
path_transform_type_nv transform_type,
span<const GLfloat> transform_values) noexcept {
OGLPLUS_GLFUNC(CoverStrokePathInstancedNV)
(GLsizei(indices.size()),
GLenum(GL_UTF8_NV),
static_cast<const void*>(indices.data()),
get_raw_name(paths),
GLenum(mode),
GLenum(transform_type),
transform_values.data());
OGLPLUS_VERIFY(
CoverStrokePathInstancedNV,
gl_enum_value(mode).gl_object(paths[0]),
always);
return {};
}
//------------------------------------------------------------------------------
} // namespace oper
//------------------------------------------------------------------------------
} // namespace oglplus
| [
"[email protected]"
] | |
320a780eaca651d7c89aa8de320323e04f6e6fa6 | d4644a1cab7fba1765894a8bf1de6ad9f02105cf | /kdgui/script/squirrel/sqmem.cpp | 60ba0444738be1d3069d1a590b7e1f8a63445115 | [
"MIT"
] | permissive | linfso/kdguigl | 66e57d8d70511fffa39bc46a7547ac4dc24f9b45 | e8e8a4a2f34893e18d487ecd56c2522e34d8feef | refs/heads/master | 2020-07-17T12:40:33.264719 | 2015-02-27T14:08:55 | 2015-02-27T14:08:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | /*
see copyright notice in squirrel.h
*/
#include "sqpcheader.h"
namespace WTF {
void* fastMalloc(size_t size);
void* fastRealloc(void*, size_t);
void fastFree(void* p);
}
int sq_mem = 0;
void *sq_vm_malloc(SQUnsignedInteger size)
{
//return malloc(size);
sq_mem += size;
return WTF::fastMalloc(size);
}
void *sq_vm_realloc(void *p, SQUnsignedInteger oldsize, SQUnsignedInteger size)
{
//return realloc(p, size);
sq_mem -= oldsize;
sq_mem += size;
return WTF::fastRealloc(p, size);
}
void sq_vm_free(void *p, SQUnsignedInteger size)
{
//free(p);
sq_mem -= size;
WTF::fastFree(p);
}
| [
"[email protected]"
] | |
d7cc24af2293f9ef7b09ded71b781e1626c6b969 | a4f3cb904393c46ee63366213228b832b6ab2357 | /10 Travelling Salesman/main.cpp | 4358dbddd42f364b657c9155fb1d70d7013cbc66 | [] | no_license | AdityaVSM/ADA-lab-programs | eaf7a272d28aac551389d0d60bf74723f249bdb8 | c7cf51af79b53733b8b9e81dba0dc3c776fd86e3 | refs/heads/master | 2023-05-31T16:44:56.434389 | 2021-06-30T19:09:06 | 2021-06-30T19:09:06 | 381,790,604 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,187 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 10;
int final_path[N+1];
bool visited[N];
int final_res = INT_MAX;
void copyToFinal(int curr_path[]){
for (int i=0; i<N; i++)
final_path[i] = curr_path[i];
final_path[N] = curr_path[0];
}
int firstMin(int adj[N][N], int i){
int min = INT_MAX;
for (int k=0; k<N; k++){
this_thread::sleep_for(std::chrono::microseconds(100));
if (adj[i][k]<min && i != k)
min = adj[i][k];
}
return min;
}
int secondMin(int adj[N][N], int i){
int first = INT_MAX, second = INT_MAX;
for (int j=0; j<N; j++){
this_thread::sleep_for(std::chrono::milliseconds(1));
if (i == j)
continue;
if (adj[i][j] <= first){
second = first;
first = adj[i][j];
}
else if (adj[i][j] <= second &&
adj[i][j] != first)
second = adj[i][j];
}
return second;
}
void TSPRec(int adj[N][N], int curr_bound, int curr_weight,int level, int curr_path[]){
if (level==N){
if (adj[curr_path[level-1]][curr_path[0]] != 0){
int curr_res = curr_weight + adj[curr_path[level-1]][curr_path[0]];
if (curr_res < final_res){
copyToFinal(curr_path);
final_res = curr_res;
}
}
return;
}
for (int i=0; i<N; i++){
this_thread::sleep_for(std::chrono::microseconds(100));
if (adj[curr_path[level-1]][i] != 0 && visited[i] == false){
int temp = curr_bound;
curr_weight += adj[curr_path[level-1]][i];
if (level==1)
curr_bound -= ((firstMin(adj, curr_path[level-1]) + firstMin(adj, i))/2);
else
curr_bound -= ((secondMin(adj, curr_path[level-1]) + firstMin(adj, i))/2);
if (curr_bound + curr_weight < final_res){
curr_path[level] = i;
visited[i] = true;
TSPRec(adj, curr_bound, curr_weight, level+1,curr_path);
}
curr_weight -= adj[curr_path[level-1]][i];
curr_bound = temp;
memset(visited, false, sizeof(visited));
for (int j=0; j<=level-1; j++)
visited[curr_path[j]] = true;
}
}
}
void TSP(int adj[N][N]){
int curr_path[N+1];
int curr_bound = 0;
memset(curr_path, -1, sizeof(curr_path));
memset(visited, 0, sizeof(curr_path));
// Compute initial bound
for (int i=0; i<N; i++)
curr_bound += (firstMin(adj, i) + secondMin(adj, i));
curr_bound = (curr_bound&1)? curr_bound/2 + 1 : curr_bound/2;
visited[0] = true;
curr_path[0] = 0;
TSPRec(adj, curr_bound, 0, 1, curr_path);
}
void printAdjacencyMatrix(int adj[N][N]){
for(int i=0; i<N; i++){
for(int j=0; j<N; j++){
cout<<adj[i][j]<<" ";
}
cout<<endl;
}
}
int main(){
int adj[N][N];
srand(time(0));
for(int i=0; i<N; i++){
for(int j=0; j<N; j++){
if(i==j){
adj[i][j] = 0;
}else{
adj[i][j] = rand()%100+1;
}
}
}
cout<<"For "<<N<<" number of vertices: "<<endl;
// printAdjacencyMatrix(adj);
time_t start,end;
time(&start);
TSP(adj);
time(&end);
double time_taken = (double)(end - start);
cout<<"Minimum cost : "<<final_res<<endl;
cout<<"Path taken : ";
for (int i=0; i<=N; i++)
cout<<final_path[i]<<" ";
cout<<"\nTime taken = "<<time_taken<<" s"<<endl;
return 0;
}
| [
"[email protected]"
] | |
abb7cd1fac58f5cc72d1f4339f30a0145fba1360 | 787de38372ca7f8f98253ebb0512d6e54af8d516 | /decoder/src/fsalm/fsalm-convert.cc | 7859d48f0835ab4ed1823c6ea64c563cfb5b66f8 | [
"BSD-3-Clause"
] | permissive | ufukhurriyetoglu/AaltoASR | e9813a35a218fd16de4dc36ad6968f06dc7f5a67 | 02b23d374ab9be9b0fd5d8159570b509ede066f3 | refs/heads/develop | 2021-01-01T06:51:22.760683 | 2017-04-04T21:24:29 | 2017-04-04T21:24:29 | 97,529,473 | 1 | 0 | null | 2017-07-17T22:57:19 | 2017-07-17T22:57:19 | null | UTF-8 | C++ | false | false | 1,599 | cc | #include "misc/conf.hh"
#include "misc/io.hh"
#include "misc/str.hh"
#include "fsalm/LM.hh"
using namespace fsalm;
conf::Config config;
LM lm;
int
main(int argc, char *argv[])
{
try {
config("usage: fsalm-convert [OPTION...]\n")
('h', "help", "", "", "display help")
('\0', "arpa=FILE", "arg", "", "read ARPA language model")
('\0', "bin=FILE", "arg", "", "read binary fsa model")
('\0', "out-bin", "arg", "", "write binary fsa model")
;
config.default_parse(argc, argv);
if (config.arguments.size() != 0)
config.print_help(stderr, 1);
// Read the language model
//
if (config["arpa"].specified) {
if (config["bin"].specified) {
fprintf(stderr, "options --arpa and --blm not allowed together\n");
exit(1);
}
lm.read_arpa(io::Stream(config["arpa"].get_str(), "r").file, true);
lm.trim();
}
else if (config["bin"].specified) {
lm.read(io::Stream(config["bin"].get_str(), "r").file);
}
else {
fprintf(stderr, "option --arpa or --bin required\n");
exit(1);
}
fprintf(stderr, "model order %d\n", lm.order());
// Write models
//
if (config["out-bin"].specified) {
fprintf(stderr, "writing binary fsa model: %s\n",
config["out-bin"].get_c_str());
lm.write(io::Stream(config["out-bin"].get_str(), "w").file);
}
}
catch (std::string &str) {
fprintf(stderr, "exception: %s\n", str.c_str());
exit(1);
}
catch (std::exception &e) {
fprintf(stderr, "exception: %s\n", e.what());
exit(1);
}
}
| [
"[email protected]"
] | |
71c8e94bd779d8569386845117382d2ad2f860f0 | 6acad9caa2ce08ee41b94c8e9d11068268a93940 | /BubbleTank/Source/BubbleTank/Public/TheTank.h | 4a35c96aaf012a771fed2992a76e58b63f79161c | [] | no_license | JaiyD/BubbleTank | 86e01154a40e7bf704de26c7fc3a516868283b93 | d2689e491ef85df2bf87ca1e2ab04efaab1738a7 | refs/heads/master | 2020-05-04T12:31:31.846888 | 2019-05-06T05:07:28 | 2019-05-06T05:07:28 | 178,999,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "TheTank.generated.h"
UCLASS()
class BUBBLETANK_API ATheTank : public APawn
{
GENERATED_BODY()
public:
//WAS USED TO SETUP THE MOVEMNT AND THE AIM BUT GOT REFACTORED OUT
// Sets default values for this pawn's properties
ATheTank();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
// Called to bind functionality to input
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
};
| [
"[email protected]"
] | |
05dd25ee0e5397968db89ad9d15ca585c616a47d | 2bfd8c9d984c94830ba1fa7f5088083f8518f6ba | /src/crypto/sha256.cpp | 7d28a9be7403f29900092feedfa0f0ffd2f51ec8 | [
"MIT"
] | permissive | SenatorJohnMcLaughlin/TestCoin | 8f493d9f07246b21b98d3c19f5f303417fafd166 | 732b4ece3aaf489709ef9231d845d3735bb8dab3 | refs/heads/master | 2021-04-14T09:52:46.878135 | 2020-03-22T20:50:35 | 2020-03-22T20:50:35 | 249,224,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,373 | cpp | // Copyright (c) 2014 The Testcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypto/sha256.h"
#include "crypto/common.h"
#include <assert.h>
#include <string.h>
#include <atomic>
#if defined(__x86_64__) || defined(__amd64__)
#if defined(EXPERIMENTAL_ASM)
#include <cpuid.h>
namespace sha256_sse4
{
void Transform(uint32_t* s, const unsigned char* chunk, size_t blocks);
}
#endif
#endif
// Internal implementation code.
namespace
{
/// Internal SHA-256 implementation.
namespace sha256
{
uint32_t inline Ch(uint32_t x, uint32_t y, uint32_t z) { return z ^ (x & (y ^ z)); }
uint32_t inline Maj(uint32_t x, uint32_t y, uint32_t z) { return (x & y) | (z & (x | y)); }
uint32_t inline Sigma0(uint32_t x) { return (x >> 2 | x << 30) ^ (x >> 13 | x << 19) ^ (x >> 22 | x << 10); }
uint32_t inline Sigma1(uint32_t x) { return (x >> 6 | x << 26) ^ (x >> 11 | x << 21) ^ (x >> 25 | x << 7); }
uint32_t inline sigma0(uint32_t x) { return (x >> 7 | x << 25) ^ (x >> 18 | x << 14) ^ (x >> 3); }
uint32_t inline sigma1(uint32_t x) { return (x >> 17 | x << 15) ^ (x >> 19 | x << 13) ^ (x >> 10); }
/** One round of SHA-256. */
void inline Round(uint32_t a, uint32_t b, uint32_t c, uint32_t& d, uint32_t e, uint32_t f, uint32_t g, uint32_t& h, uint32_t k, uint32_t w)
{
uint32_t t1 = h + Sigma1(e) + Ch(e, f, g) + k + w;
uint32_t t2 = Sigma0(a) + Maj(a, b, c);
d += t1;
h = t1 + t2;
}
/** Initialize SHA-256 state. */
void inline Initialize(uint32_t* s)
{
s[0] = 0x6a09e667ul;
s[1] = 0xbb67ae85ul;
s[2] = 0x3c6ef372ul;
s[3] = 0xa54ff53aul;
s[4] = 0x510e527ful;
s[5] = 0x9b05688cul;
s[6] = 0x1f83d9abul;
s[7] = 0x5be0cd19ul;
}
/** Perform a number of SHA-256 transformations, processing 64-byte chunks. */
void Transform(uint32_t* s, const unsigned char* chunk, size_t blocks)
{
while (blocks--) {
uint32_t a = s[0], b = s[1], c = s[2], d = s[3], e = s[4], f = s[5], g = s[6], h = s[7];
uint32_t w0, w1, w2, w3, w4, w5, w6, w7, w8, w9, w10, w11, w12, w13, w14, w15;
Round(a, b, c, d, e, f, g, h, 0x428a2f98, w0 = ReadBE32(chunk + 0));
Round(h, a, b, c, d, e, f, g, 0x71374491, w1 = ReadBE32(chunk + 4));
Round(g, h, a, b, c, d, e, f, 0xb5c0fbcf, w2 = ReadBE32(chunk + 8));
Round(f, g, h, a, b, c, d, e, 0xe9b5dba5, w3 = ReadBE32(chunk + 12));
Round(e, f, g, h, a, b, c, d, 0x3956c25b, w4 = ReadBE32(chunk + 16));
Round(d, e, f, g, h, a, b, c, 0x59f111f1, w5 = ReadBE32(chunk + 20));
Round(c, d, e, f, g, h, a, b, 0x923f82a4, w6 = ReadBE32(chunk + 24));
Round(b, c, d, e, f, g, h, a, 0xab1c5ed5, w7 = ReadBE32(chunk + 28));
Round(a, b, c, d, e, f, g, h, 0xd807aa98, w8 = ReadBE32(chunk + 32));
Round(h, a, b, c, d, e, f, g, 0x12835b01, w9 = ReadBE32(chunk + 36));
Round(g, h, a, b, c, d, e, f, 0x243185be, w10 = ReadBE32(chunk + 40));
Round(f, g, h, a, b, c, d, e, 0x550c7dc3, w11 = ReadBE32(chunk + 44));
Round(e, f, g, h, a, b, c, d, 0x72be5d74, w12 = ReadBE32(chunk + 48));
Round(d, e, f, g, h, a, b, c, 0x80deb1fe, w13 = ReadBE32(chunk + 52));
Round(c, d, e, f, g, h, a, b, 0x9bdc06a7, w14 = ReadBE32(chunk + 56));
Round(b, c, d, e, f, g, h, a, 0xc19bf174, w15 = ReadBE32(chunk + 60));
Round(a, b, c, d, e, f, g, h, 0xe49b69c1, w0 += sigma1(w14) + w9 + sigma0(w1));
Round(h, a, b, c, d, e, f, g, 0xefbe4786, w1 += sigma1(w15) + w10 + sigma0(w2));
Round(g, h, a, b, c, d, e, f, 0x0fc19dc6, w2 += sigma1(w0) + w11 + sigma0(w3));
Round(f, g, h, a, b, c, d, e, 0x240ca1cc, w3 += sigma1(w1) + w12 + sigma0(w4));
Round(e, f, g, h, a, b, c, d, 0x2de92c6f, w4 += sigma1(w2) + w13 + sigma0(w5));
Round(d, e, f, g, h, a, b, c, 0x4a7484aa, w5 += sigma1(w3) + w14 + sigma0(w6));
Round(c, d, e, f, g, h, a, b, 0x5cb0a9dc, w6 += sigma1(w4) + w15 + sigma0(w7));
Round(b, c, d, e, f, g, h, a, 0x76f988da, w7 += sigma1(w5) + w0 + sigma0(w8));
Round(a, b, c, d, e, f, g, h, 0x983e5152, w8 += sigma1(w6) + w1 + sigma0(w9));
Round(h, a, b, c, d, e, f, g, 0xa831c66d, w9 += sigma1(w7) + w2 + sigma0(w10));
Round(g, h, a, b, c, d, e, f, 0xb00327c8, w10 += sigma1(w8) + w3 + sigma0(w11));
Round(f, g, h, a, b, c, d, e, 0xbf597fc7, w11 += sigma1(w9) + w4 + sigma0(w12));
Round(e, f, g, h, a, b, c, d, 0xc6e00bf3, w12 += sigma1(w10) + w5 + sigma0(w13));
Round(d, e, f, g, h, a, b, c, 0xd5a79147, w13 += sigma1(w11) + w6 + sigma0(w14));
Round(c, d, e, f, g, h, a, b, 0x06ca6351, w14 += sigma1(w12) + w7 + sigma0(w15));
Round(b, c, d, e, f, g, h, a, 0x14292967, w15 += sigma1(w13) + w8 + sigma0(w0));
Round(a, b, c, d, e, f, g, h, 0x27b70a85, w0 += sigma1(w14) + w9 + sigma0(w1));
Round(h, a, b, c, d, e, f, g, 0x2e1b2138, w1 += sigma1(w15) + w10 + sigma0(w2));
Round(g, h, a, b, c, d, e, f, 0x4d2c6dfc, w2 += sigma1(w0) + w11 + sigma0(w3));
Round(f, g, h, a, b, c, d, e, 0x53380d13, w3 += sigma1(w1) + w12 + sigma0(w4));
Round(e, f, g, h, a, b, c, d, 0x650a7354, w4 += sigma1(w2) + w13 + sigma0(w5));
Round(d, e, f, g, h, a, b, c, 0x766a0abb, w5 += sigma1(w3) + w14 + sigma0(w6));
Round(c, d, e, f, g, h, a, b, 0x81c2c92e, w6 += sigma1(w4) + w15 + sigma0(w7));
Round(b, c, d, e, f, g, h, a, 0x92722c85, w7 += sigma1(w5) + w0 + sigma0(w8));
Round(a, b, c, d, e, f, g, h, 0xa2bfe8a1, w8 += sigma1(w6) + w1 + sigma0(w9));
Round(h, a, b, c, d, e, f, g, 0xa81a664b, w9 += sigma1(w7) + w2 + sigma0(w10));
Round(g, h, a, b, c, d, e, f, 0xc24b8b70, w10 += sigma1(w8) + w3 + sigma0(w11));
Round(f, g, h, a, b, c, d, e, 0xc76c51a3, w11 += sigma1(w9) + w4 + sigma0(w12));
Round(e, f, g, h, a, b, c, d, 0xd192e819, w12 += sigma1(w10) + w5 + sigma0(w13));
Round(d, e, f, g, h, a, b, c, 0xd6990624, w13 += sigma1(w11) + w6 + sigma0(w14));
Round(c, d, e, f, g, h, a, b, 0xf40e3585, w14 += sigma1(w12) + w7 + sigma0(w15));
Round(b, c, d, e, f, g, h, a, 0x106aa070, w15 += sigma1(w13) + w8 + sigma0(w0));
Round(a, b, c, d, e, f, g, h, 0x19a4c116, w0 += sigma1(w14) + w9 + sigma0(w1));
Round(h, a, b, c, d, e, f, g, 0x1e376c08, w1 += sigma1(w15) + w10 + sigma0(w2));
Round(g, h, a, b, c, d, e, f, 0x2748774c, w2 += sigma1(w0) + w11 + sigma0(w3));
Round(f, g, h, a, b, c, d, e, 0x34b0bcb5, w3 += sigma1(w1) + w12 + sigma0(w4));
Round(e, f, g, h, a, b, c, d, 0x391c0cb3, w4 += sigma1(w2) + w13 + sigma0(w5));
Round(d, e, f, g, h, a, b, c, 0x4ed8aa4a, w5 += sigma1(w3) + w14 + sigma0(w6));
Round(c, d, e, f, g, h, a, b, 0x5b9cca4f, w6 += sigma1(w4) + w15 + sigma0(w7));
Round(b, c, d, e, f, g, h, a, 0x682e6ff3, w7 += sigma1(w5) + w0 + sigma0(w8));
Round(a, b, c, d, e, f, g, h, 0x748f82ee, w8 += sigma1(w6) + w1 + sigma0(w9));
Round(h, a, b, c, d, e, f, g, 0x78a5636f, w9 += sigma1(w7) + w2 + sigma0(w10));
Round(g, h, a, b, c, d, e, f, 0x84c87814, w10 += sigma1(w8) + w3 + sigma0(w11));
Round(f, g, h, a, b, c, d, e, 0x8cc70208, w11 += sigma1(w9) + w4 + sigma0(w12));
Round(e, f, g, h, a, b, c, d, 0x90befffa, w12 += sigma1(w10) + w5 + sigma0(w13));
Round(d, e, f, g, h, a, b, c, 0xa4506ceb, w13 += sigma1(w11) + w6 + sigma0(w14));
Round(c, d, e, f, g, h, a, b, 0xbef9a3f7, w14 + sigma1(w12) + w7 + sigma0(w15));
Round(b, c, d, e, f, g, h, a, 0xc67178f2, w15 + sigma1(w13) + w8 + sigma0(w0));
s[0] += a;
s[1] += b;
s[2] += c;
s[3] += d;
s[4] += e;
s[5] += f;
s[6] += g;
s[7] += h;
chunk += 64;
}
}
} // namespace sha256
typedef void (*TransformType)(uint32_t*, const unsigned char*, size_t);
bool SelfTest(TransformType tr) {
static const unsigned char in1[65] = {0, 0x80};
static const unsigned char in2[129] = {
0,
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0
};
static const uint32_t init[8] = {0x6a09e667ul, 0xbb67ae85ul, 0x3c6ef372ul, 0xa54ff53aul, 0x510e527ful, 0x9b05688cul, 0x1f83d9abul, 0x5be0cd19ul};
static const uint32_t out1[8] = {0xe3b0c442ul, 0x98fc1c14ul, 0x9afbf4c8ul, 0x996fb924ul, 0x27ae41e4ul, 0x649b934cul, 0xa495991bul, 0x7852b855ul};
static const uint32_t out2[8] = {0xce4153b0ul, 0x147c2a86ul, 0x3ed4298eul, 0xe0676bc8ul, 0x79fc77a1ul, 0x2abe1f49ul, 0xb2b055dful, 0x1069523eul};
uint32_t buf[8];
memcpy(buf, init, sizeof(buf));
// Process nothing, and check we remain in the initial state.
tr(buf, nullptr, 0);
if (memcmp(buf, init, sizeof(buf))) return false;
// Process the padded empty string (unaligned)
tr(buf, in1 + 1, 1);
if (memcmp(buf, out1, sizeof(buf))) return false;
// Process 64 spaces (unaligned)
memcpy(buf, init, sizeof(buf));
tr(buf, in2 + 1, 2);
if (memcmp(buf, out2, sizeof(buf))) return false;
return true;
}
TransformType Transform = sha256::Transform;
} // namespace
std::string SHA256AutoDetect()
{
#if defined(EXPERIMENTAL_ASM) && (defined(__x86_64__) || defined(__amd64__))
uint32_t eax, ebx, ecx, edx;
if (__get_cpuid(1, &eax, &ebx, &ecx, &edx) && (ecx >> 19) & 1) {
Transform = sha256_sse4::Transform;
assert(SelfTest(Transform));
return "sse4";
}
#endif
assert(SelfTest(Transform));
return "standard";
}
////// SHA-256
CSHA256::CSHA256() : bytes(0)
{
sha256::Initialize(s);
}
CSHA256& CSHA256::Write(const unsigned char* data, size_t len)
{
const unsigned char* end = data + len;
size_t bufsize = bytes % 64;
if (bufsize && bufsize + len >= 64) {
// Fill the buffer, and process it.
memcpy(buf + bufsize, data, 64 - bufsize);
bytes += 64 - bufsize;
data += 64 - bufsize;
Transform(s, buf, 1);
bufsize = 0;
}
if (end - data >= 64) {
size_t blocks = (end - data) / 64;
Transform(s, data, blocks);
data += 64 * blocks;
bytes += 64 * blocks;
}
if (end > data) {
// Fill the buffer with what remains.
memcpy(buf + bufsize, data, end - data);
bytes += end - data;
}
return *this;
}
void CSHA256::Finalize(unsigned char hash[OUTPUT_SIZE])
{
static const unsigned char pad[64] = {0x80};
unsigned char sizedesc[8];
WriteBE64(sizedesc, bytes << 3);
Write(pad, 1 + ((119 - (bytes % 64)) % 64));
Write(sizedesc, 8);
WriteBE32(hash, s[0]);
WriteBE32(hash + 4, s[1]);
WriteBE32(hash + 8, s[2]);
WriteBE32(hash + 12, s[3]);
WriteBE32(hash + 16, s[4]);
WriteBE32(hash + 20, s[5]);
WriteBE32(hash + 24, s[6]);
WriteBE32(hash + 28, s[7]);
}
CSHA256& CSHA256::Reset()
{
bytes = 0;
sha256::Initialize(s);
return *this;
}
| [
"[email protected]"
] | |
e3c3c18743cb0472ecdff231e379dfbb7a355dbb | ef68b62f4a1dd2e26e26ef2fc67e18f8fbe96418 | /libs/delaunay/corner_connectivity.h | 2c76f9caa8d575fa369a0a6361dd8976bfbdb699 | [] | no_license | lintianfang/cleaning_cobotics | 68d9a4b418cdadab9dde1c24f529f45e7fc3bd4f | 26ccba618aec0b1176fcfc889e95ed5320ccbe75 | refs/heads/master | 2023-02-25T21:36:10.777059 | 2021-01-29T09:49:16 | 2021-01-29T09:49:16 | 281,898,712 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,522 | h | #pragma once
#include <vector>
#include "lib_begin.h"
/// simple triangle mesh data structure using the corner data structure to store neighbor relations
class CGV_API corner_connectivity
{
public:
/// the opposite info stores whether the corner is opposite to a border edge and if not the index of the opposite corner
struct opposite_info {
/// whether the opposite edge is a border edge
bool is_opposite_to_border : 1;
/// index of opposite corner
unsigned int ci : 31;
/// construct as opposite to border
opposite_info() : ci(0), is_opposite_to_border(true) {}
/// construct from index of opposite corner
opposite_info(unsigned int _ci) : ci(_ci), is_opposite_to_border(false) {}
};
/// type of triangle corner includes vertex index and index of opposite corner
struct corner {
/// index of corner vertex
unsigned int vi;
/// store the opposite information
opposite_info opposite;
/// construct from vertex index opposite to corner
corner(unsigned int _vi = 0) : vi(_vi) {}
/// construct from vertex index and opposite corner
corner(unsigned int _vi, unsigned int _ci) : vi(_vi), opposite(_ci) {}
/// construct from vertex index and opposite corner
corner(unsigned int _vi, opposite_info o) : vi(_vi), opposite(o) {}
};
/// cyclic iterator around a vertex taking care of border case
struct neighbor_cycler
{
protected:
bool next_is_boundary;
unsigned int ci;
unsigned int cj;
const corner_connectivity* C;
public:
/// construct neighbor cycler from connectivity and index of corner incident to the to be cycled vertex
neighbor_cycler(const corner_connectivity* _C, unsigned int _ci) :
C(_C), ci(_ci), cj(-1), next_is_boundary(false) {}
/// check if one cycle is complete
bool cycle_complete() const { return ci == cj; }
/// query the corner index of the current neighbor
unsigned int ci_of_nbr() const {
unsigned int ck = ( (cj == -1) ? ci : cj);
return C->next(ck);
}
/// query the corner index of the edge from vertex to neighbor
unsigned int ci_of_edge() const {
unsigned int ck = ci_of_nbr();
if (next_is_boundary)
return C->prev(ck);
else
return C->next(ck);
}
/// cycle to next neighbor
void next() {
if (next_is_boundary) {
cj = C->next(C->prev_on_border(cj));
next_is_boundary = false;
}
else {
cj = ci_of_nbr();
if (C->is_opposite_to_border(cj))
next_is_boundary = true;
else
cj = C->next(C->inv(cj));
}
}
};
/// cyclic iterator around a vertex taking care of border case
struct corner_cycler
{
protected:
unsigned int c0;
unsigned int cj;
const corner_connectivity* C;
public:
/// construct neighbor cycler from connectivity and index of corner incident to the to be cycled vertex
corner_cycler(const corner_connectivity* _C, unsigned int _ci) :
C(_C), c0(_ci), cj(-1) {}
/// check if one cycle is complete
bool cycle_complete() const { return c0 == cj; }
/// query the corner index
unsigned int ci() const { return cj == -1 ? c0 : cj; }
/// cycle to next neighbor
void next() {
cj = C->next(ci());
if (C->is_opposite_to_border(cj))
cj = C->next(C->prev_on_border(cj));
else
cj = C->next(C->inv(cj));
}
};
protected:
/// list of corners (3 times more entries than triangles)
std::vector<corner> C;
/// return a reference to the opposite info of a corner
opposite_info& opposite(unsigned int ci);
/// return the opposite info of a corner
const opposite_info& opposite(unsigned int ci) const;
public:
/**@name construction*/
//@{
/// construct empty triangle mesh
corner_connectivity();
/// remove all triangles
void clear_triangles();
/// add a triangle with all edges boundary edges
void add_triangle(unsigned int v0, unsigned int v1, unsigned int v2);
/// add a triangle with the given cornern information
void add_triangle(const corner& c0, const corner& c1, const corner& c2);
//@}
/**@name access and navigation */
//@{
/// return the number of triangles
unsigned int get_nr_triangles() const;
/// return the number of corners
unsigned int get_nr_corners() const;
/// return a neighbor cycler
neighbor_cycler get_nbr_cycler(unsigned int ci) const;
/// return a corner cycler
corner_cycler get_corner_cycler(unsigned int ci) const;
/// return a reference to the vertex index of a corner
unsigned int& vi_of_ci(unsigned int ci);
/// return the vertex index of a corner
unsigned int vi_of_ci(unsigned int ci) const;
/// return the triangle index of a corner
static unsigned int ti_of_ci(unsigned int ci);
/// return the index of the first corner of a triangle
static unsigned int ci_of_ti(unsigned int ti);
/// return the next corner in the same triangle
unsigned int next(unsigned int ci) const;
/// return the previous corner in the same triangle
unsigned int prev(unsigned int ci) const;
/// return the inverse corner in the opposite edge adjacent triangle
inline unsigned int inv(unsigned int ci) const;
/// check if the opposite edge is a border edge
bool is_opposite_to_border(unsigned int ci) const;
/// find the corner that is opposite to the border edge which follows the border edge opposite to the given corner index
unsigned int next_on_border(unsigned int ci) const;
/// find the corner that is opposite to the border edge which preceeds the border edge opposite to the given corner index
unsigned int prev_on_border(unsigned int ci) const;
//@}
/**@name modification*/
//@{
/// check if an edge is flipable
bool is_flipable(unsigned int c0) const;
/// flip an edge that is opposite to a corner c0
void flip_edge(unsigned int c0);
/// split a triangle given by a corner into 3 triangles at the given vertex index
void split_triangle_at_vertex(unsigned int c0, unsigned int vi);
/// build a triangle with vertex vi on the border edge specified by the opposite corner c0
void build_triangle_on_border_edge(unsigned int c0, unsigned int vi);
/// build a triangle in between the border edge opposite to the given corner and the next edge along the border
void build_triangle_connection_to_next_border_edge(unsigned int c0);
/// build a triangle in between the border edge opposite to the given corner and the previous edge along the border
void build_triangle_connection_to_prev_border_edge(unsigned int c0);
//@}
};
/// return a neighbor iterator
inline corner_connectivity::neighbor_cycler corner_connectivity::get_nbr_cycler(unsigned int ci) const
{
return neighbor_cycler(this,ci);
}
/// return a neighbor iterator
inline corner_connectivity::corner_cycler corner_connectivity::get_corner_cycler(unsigned int ci) const
{
return corner_cycler(this,ci);
}
/// return a reference to the opposite info of a corner
inline corner_connectivity::opposite_info& corner_connectivity::opposite(unsigned int ci)
{
return C[ci].opposite;
}
/// return the opposite info of a corner
inline const corner_connectivity::opposite_info& corner_connectivity::opposite(unsigned int ci) const
{
return C[ci].opposite;
}
/// return the number of triangles
inline unsigned int corner_connectivity::get_nr_triangles() const
{
return get_nr_corners()/3;
}
/// return the number of corners
inline unsigned int corner_connectivity::get_nr_corners() const
{
return (unsigned int) C.size();
}
/// return a reference to the vertex index of a corner
inline unsigned int& corner_connectivity::vi_of_ci(unsigned int ci)
{
return C[ci].vi;
}
/// return the vertex index of a corner
inline unsigned int corner_connectivity::vi_of_ci(unsigned int ci) const
{
return C[ci].vi;
}
/// return the triangle index of a corner
inline unsigned int corner_connectivity::ti_of_ci(unsigned int ci)
{
return ci/3;
}
/// return the index of the first corner of a triangle
inline unsigned int corner_connectivity::ci_of_ti(unsigned int ti)
{
return ti*3;
}
/// return the next corner in the same triangle
inline unsigned int corner_connectivity::next(unsigned int ci) const
{
return ci_of_ti(ti_of_ci(ci))+(ci+1)%3;
}
/// return the previous corner in the same triangle
inline unsigned int corner_connectivity::prev(unsigned int ci) const
{
return ci_of_ti(ti_of_ci(ci))+(ci+2)%3;
}
/// return the inverse corner in the opposite edge adjacent triangle
inline unsigned int corner_connectivity::inv(unsigned int ci) const
{
return opposite(ci).ci;
}
/// check if the opposite edge is a border edge
inline bool corner_connectivity::is_opposite_to_border(unsigned int ci) const
{
return opposite(ci).is_opposite_to_border;
}
#include <cgv/config/lib_end.h> | [
"[email protected]"
] | |
12eef345d26245b70b3a3bb498258dd83949e438 | d989dda17e043385a6f629379ef61af8ec294da5 | /Section 9/Exercise 11/if_else.cpp | a1ad87a6cc4df6f48885193df3bac0665479bada | [] | no_license | sureshyhap/Beginner-CPP-Programming-From-Beginner-to-Beyond | 7f60bdb02778ffc4c9cc9b107d1df11a933f8d62 | 25178f582f319fbcc90fc27c0998c80ec62056a9 | refs/heads/master | 2023-07-11T06:37:27.424873 | 2021-08-16T19:26:26 | 2021-08-16T19:26:26 | 297,173,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | #include <iostream>
using namespace std;
void can_you_drive(int age) {
//----WRITE YOUR CODE BELOW THIS LINE----
if (age >= 16) {
std::cout << "Yes - you can drive!";
}
else {
std::cout << "Sorry, come back in " << 16 - age << " years";
}
//----WRITE YOUR CODE ABOVE THIS LINE----
}
| [
"[email protected]"
] | |
e150d0673a1addabf82b084e36377928299ebc7c | 47b802279c2e0ee078c31b9be68cbcd5aeaf3865 | /C++Style/MyStruct.h | 8e0dc92a88aa9c1b6cffa34e2c5f8f09f6d53ceb | [] | no_license | minus9d/CppStyle | d8a8a6cb1731571a91364ef048af9ddf38f1cb5c | d9aa577169aa2028f1ee656de89871d70c575a56 | refs/heads/master | 2021-01-18T13:49:22.916624 | 2014-05-05T06:09:50 | 2014-05-05T06:09:50 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 232 | h | #pragma once
#include <string>
class MyStruct
{
public:
// 構造体のデータメンバには末尾にアンダースコアを付けない
std::string name;
public:
MyStruct();
~MyStruct();
};
| [
"[email protected]"
] | |
4baf7299b2a0dc5b0e1a1a9563566a074d649059 | 3c6e121403d8ac51ed8fb49531edd27a0a837e5e | /framework/egl/egluApiPrototypes.inl | 866ed5de9e43dd1ea84d20396f677131df08ebca | [
"Apache-2.0"
] | permissive | asimiklit/deqp | 024bac1d3846475ee31b355ead2bb617cc15fb60 | 016d98ac91022d7d1a9cd858b6c4ea6c4344b5bd | refs/heads/gbm | 2020-04-22T04:07:22.007712 | 2015-06-18T19:34:38 | 2015-06-18T19:34:38 | 170,111,899 | 0 | 0 | NOASSERTION | 2019-02-11T10:44:20 | 2019-02-11T10:44:18 | null | UTF-8 | C++ | false | false | 3,062 | inl | /* WARNING! THIS IS A PROGRAMMATICALLY GENERATED CODE. DO NOT MODIFY THE CODE,
* SINCE THE CHANGES WILL BE LOST! MODIFY THE GENERATING PYTHON INSTEAD.
*/
EGLint eglGetError ();
EGLDisplay eglGetDisplay (EGLNativeDisplayType display_id);
EGLBoolean eglInitialize (EGLDisplay dpy, EGLint* major, EGLint* minor);
EGLBoolean eglTerminate (EGLDisplay dpy);
const char* eglQueryString (EGLDisplay dpy, EGLint name);
EGLBoolean eglGetConfigs (EGLDisplay dpy, EGLConfig* configs, EGLint config_size, EGLint* num_config);
EGLBoolean eglChooseConfig (EGLDisplay dpy, const EGLint* attrib_list, EGLConfig* configs, EGLint config_size, EGLint* num_config);
EGLBoolean eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint* value);
EGLSurface eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint* attrib_list);
EGLSurface eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint* attrib_list);
EGLSurface eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint* attrib_list);
EGLBoolean eglDestroySurface (EGLDisplay dpy, EGLSurface surface);
EGLBoolean eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint* value);
EGLBoolean eglBindAPI (EGLenum api);
EGLenum eglQueryAPI ();
EGLBoolean eglWaitClient ();
EGLBoolean eglReleaseThread ();
EGLSurface eglCreatePbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint* attrib_list);
EGLBoolean eglSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
EGLBoolean eglBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
EGLBoolean eglReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
EGLBoolean eglSwapInterval (EGLDisplay dpy, EGLint interval);
EGLContext eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint* attrib_list);
EGLBoolean eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
EGLBoolean eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
EGLContext eglGetCurrentContext ();
EGLSurface eglGetCurrentSurface (EGLint readdraw);
EGLDisplay eglGetCurrentDisplay ();
EGLBoolean eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint* value);
EGLBoolean eglWaitGL ();
EGLBoolean eglWaitNative (EGLint engine);
EGLBoolean eglSwapBuffers (EGLDisplay dpy, EGLSurface surface);
EGLBoolean eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
__eglMustCastToProperFunctionPointerType eglGetProcAddress (const char* procname);
| [
"[email protected]"
] | |
6dea1ad9b889787d014b38cbb99a75258a7ff914 | ecec137010f2cb4631f96b8c183983a62c9b2ca0 | /C++/college_code/normal/try10-4.cpp | 4cf672131543b3dff5d06621d4ae12c46e2bd3ad | [] | no_license | lijiayan2020/Code | d6296658bdec1adb6353faa3ca1ae583542ce926 | ba9f015c51a60fc8aeb1f5efbd33e96126c34265 | refs/heads/master | 2023-04-12T19:23:21.860951 | 2021-04-21T16:21:11 | 2021-04-21T16:21:11 | 330,329,460 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | cpp | #include <iostream>
#include <string>
using namespace std;
class Teacher
{public:
Teacher(string nam, int a, string t)
{name = nam;
age = a;
title = t;}
void display()
{cout<<"name: "<<name<<endl;
cout<<"age: "<<age<<endl;
cout<<"title: "<<title<<endl;}
protected:
string name;
int age;
string title;
};
class Student
{ public:
Student(string nam, char s, float sco)
{ name1 = nam;
sex = s;
score = sco;}
void display1()
{cout<<"name: "<<name1<<endl;
cout<<"sex: "<<sex<<endl;
cout<<"score: "<<score<<endl;}
protected:
string name1;
char sex;
float score;
};
class Graduate: public Teacher, public Student
{ public:
Graduate (string nam, int a, char s, string t, float sco, float w): \
Teacher(nam, a, t), Student(nam, s, sco), wage(w) {}
void show()
{ cout<<"name: "<<Teacher::name<<endl;
cout<<"age: "<<age<<endl;
cout<<"sex: "<<sex<<endl;
cout<<"score: "<<score<<endl;
cout<<"title: "<<title<<endl;
// display();display1();
cout<<"wage: "<<wage<<endl;
}
private:
float wage;
};
int main()
{ Graduate grad1("Wang", 24, 'f',"assistant", 89, 2400);
grad1.show();
return 0;
}
| [
"[email protected]"
] | |
fd24c1eb7da7dde119e98c91ca533ed7fc689ed7 | ad95102e94bdc0b7d755cb94a9e0f34344d1d099 | /Jump/Block.h | 0cdf78cddfa91fb3988c03afbd445d323b42040f | [] | no_license | eGunar/Jump | fb92123cd235da3c35ba26c0fd916a70e67dc2fc | 7cdc2dab8fa90d82e07891ce845753a2b0350bc1 | refs/heads/master | 2023-02-20T22:32:35.989258 | 2021-01-23T09:42:13 | 2021-01-23T09:42:13 | 319,445,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | h | #ifndef Block_H
#define Block_H
#include "Entity.h"
#pragma once
class Block : public Entity {
public:
Block(int x, int y);
};
#endif // !Block_H | [
"[email protected]"
] | |
7b234f118abc6644b01b69e1fba81d56c2c0a570 | e607b306b2d787ce16b7af2c9f92112711cf455a | /Segment.h | 1fcd5bb853256fc732c8593ac65e529a86aee1e5 | [] | no_license | Darlokan/Curves | de8a0f40fb4a187ac2f061aabac068d93347eb2c | e4f72a105963903ad4c1dd210a90b43b136af7fe | refs/heads/master | 2016-09-06T10:37:50.884989 | 2014-09-06T16:08:51 | 2014-09-06T16:08:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | h | #ifndef DEF_SEGMENT
#define DEF_SEGMENT
#include<iostream>
using namespace std ;
class Segment
{
int length ; // length of the segment
int cycle1 ; // the two cycles which the segment belong to
int cycle2 ;
int* segP ; // useless
int* segA ;// array of all edges of the segments
public :
Segment();
Segment(int i,int j, int l, int* seg);
int Max() ;
int Nb_Inter(int* c1, int* c2, int start_up, int end_up);// given some information, gives the number of intersection of two curves on this segment
int StartA();
int StartA2();
int EndA2();
int EndA();
void Print();
int GetC1();
int GetC2();
bool Egal(int x,int y,int l,int* tab);
};
#endif
| [
"[email protected]"
] | |
006c5db6f3ccaf4477c9b999f3d998d917a19055 | 41495754cf8b951b23cece87b5c79a726748cff7 | /Solutions/Codeforces/Contests/Codeforces Global Round 12/c2.cpp | 248865b8b214ea38004d2ed4160180b4f7b13d0d | [] | no_license | PedroAngeli/Competitive-Programming | 86ad490eced6980d7bc3376a49744832e470c639 | ff64a092023987d5e3fdd720f56c62b99ad175a6 | refs/heads/master | 2021-10-23T04:49:51.508166 | 2021-10-13T21:39:21 | 2021-10-13T21:39:21 | 198,916,501 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,076 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define endl '\n'
#define f first
#define s second
#define ub upper_bound
#define lb lower_bound
#define pb push_back
#define all(c) (c).begin(), (c).end()
#define sz(x) (int)(x).size()
#define ordered_set tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update>
#define fbo find_by_order
#define ook order_of_key
#define fastio ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define debug(...) __f(#__VA_ARGS__, __VA_ARGS__)
template <typename Arg1>
void __f(const char* name, Arg1&& arg1){
cerr << "[" << name << " : " << arg1 << "]" << endl;
}
template <typename Arg1, typename... Args>
void __f(const char* names, Arg1&& arg1, Args&&... args){
const char* comma = strchr(names + 1, ',');cerr << "[";
cerr.write(names, comma - names) << " : " << arg1<<"] | ";__f(comma+1, args...);
}
using ld = long double;
using ll = long long;
using pii = pair <int,int>;
using pll = pair <ll,ll>;
using vi = vector <int>;
using vll = vector <ll>;
using vpii = vector <pii>;
using vpll = vector<pll>;
using vs = vector <string>;
int main(){
fastio;
int t;
cin >> t;
while(t--){
int n;
cin >> n;
vs grid(n);
int total = 0;
for(int i=0;i<n;i++){
cin >> grid[i];
for(char c:grid[i])
total += (c != '.');
}
//{X, O, .}
vi p(3);
iota(all(p), 0);
bool printed = false;
do{
vs tmp = grid;
int cnt = 0;
for(int i=0;i<n;i++)
for(int j=0;j<n;j++)
if((i+j)%3 == p[0] and tmp[i][j] == 'O'){
tmp[i][j] = 'X';
cnt++;
}else if((i+j)%3 == p[1] and tmp[i][j] == 'X'){
tmp[i][j] = 'O';
cnt++;
}
if(cnt <= total/3){
printed = true;
for(int i=0;i<n;i++)
cout << tmp[i] << endl;
break;
}
}while(next_permutation(all(p)));
assert(printed);
}
return 0;
} | [
"[email protected]"
] | |
e9f9b33c3d863c846e5625b589dc26ea9555ddf4 | 83480ef96e77add5e7041a737e3a68f5a925de44 | /include/linear_solver/Iterative_Refinement.h | 54175f2b774071bdea6d4f3da9666da83372da30 | [
"MIT"
] | permissive | BenChung/nasoq | ce87d516bd8370ce7486778f24596095b4318fbb | dcd38830f839941eec2688bdc8a35967d177c627 | refs/heads/master | 2023-05-10T14:45:48.943005 | 2021-04-27T22:13:02 | 2021-04-27T22:13:02 | 367,554,270 | 0 | 0 | MIT | 2021-05-15T06:10:29 | 2021-05-15T06:10:28 | null | UTF-8 | C++ | false | false | 3,553 | h | //
// Created by kazem on 11/23/18.
//
#ifndef PROJECT_ITERATIVE_REFINEMENT_H
#define PROJECT_ITERATIVE_REFINEMENT_H
#include "solve_phase.h"
#include "Norm.h"
#include "SparseUtils.h"
#include "spmv_CSC.h"
namespace nasoq {
int iterative_refinement(int n, size_t *Ap, int *Ai, double *Ax,
size_t *Lp, int *Li, double *Lx, int NNZ,
size_t *Li_ptr, int *col2sup, int *sup2col, int supNo,
double *d_val,
double epsilon,
double *x_h, double *rhs,
double *r,
int iter_max,
double &BWDError) {
int num_iter = 0;
double alpha = -1.0;
double alp[2] = {-1.0, 0};
double bet[2] = {1.0, 0};
double normA, normRHS, normX;
double normR = 0;
normRHS = norm_dense(1, n, rhs, 0);
double normxh = norm_dense(1, n, x_h, 0);
normA = norm_sparse(n, Ap, Ai, Ax, -1, 0);
//initial error without refinement
double normAxb = (normA * normxh + normRHS);
BWDError = normxh / normAxb;
do {
//x = A*x_h
//spmv_csc(n, Ap, Ai, Ax, x_h, x);
//r = rhs - A*x_h
for (int i = 0; i < n; ++i) {
r[i] = rhs[i];
}
spmv_csc_sym_one(n, Ap, Ai, Ax, -1, alp, bet, 1, x_h, r);
normR = norm_dense(1, n, r, 0);
//solving LDLT * diff = r for diff
solve_phase_ldl(n, d_val, r, col2sup, sup2col,
Lp, Li, Lx, Li_ptr, supNo, NNZ);
//xh = xh + diff
add_vec(n, r, 1, x_h);
#if 0
for (int j = 0; j < n; ++j) {
if(r[j] > epsilon){
std::cout<<": "<<j<<";"<<r[j]<<"\n";
}
}
std::cout<<"\n";
#endif
normX = norm_dense(1, n, x_h, 0);
//Backward error = |Xc| / (|A||Xinit|+|RHS|)
BWDError = normX / normAxb;
num_iter++;
} while (num_iter < iter_max);
return num_iter;
}
int iterative_refinement_ll(int n, size_t *Ap, int *Ai, double *Ax,
size_t *Lp, int *Li, double *Lx, int NNZ,
size_t *Li_ptr, int *col2sup, int *sup2col, int supNo,
double epsilon,
double *x_h, double *rhs,
double *r,
int iter_max,
double &BWDError) {
int num_iter = 0;
double alpha = -1.0;
double alp[2] = {-1.0, 0};
double bet[2] = {1.0, 0};
double normA, normRHS, normX;
double normR = 0;
normRHS = norm_dense(1, n, rhs, 0);
double normxh = norm_dense(1, n, x_h, 0);
normA = norm_sparse(n, Ap, Ai, Ax, -1, 0);
//initial error without refinement
double normAxb = (normA * normxh + normRHS);
BWDError = normxh / normAxb;
//std::cout<<"Initi E: "<< BWDError<<"\n";
do {
//x = A*x_h
//r = rhs - A*x_h
for (int i = 0; i < n; ++i) {
r[i] = rhs[i];
}
spmv_csc_sym_one(n, Ap, Ai, Ax, -1, alp, bet, 1, x_h, r);
normR = norm_dense(1, n, r, 0);
//solving LDLT * diff = r for diff
solve_phase_ll_blocked(n, r, col2sup, sup2col,
Lp, Li, Lx, Li_ptr, supNo, NNZ);
//xh = xh + diff
add_vec(n, r, 1, x_h);
#if 0
for (int j = 0; j < n; ++j) {
if(r[j] > epsilon){
std::cout<<": "<<j<<";"<<r[j]<<"\n";
}
}
std::cout<<"\n";
#endif
normX = norm_dense(1, n, x_h, 0);
//Backward error = |Xc| / (|A||Xinit|+|RHS|)
BWDError = normX / normAxb;
//std::cout<<"==>" <<normR/normRHS<<"\n";
num_iter++;
} while (num_iter < iter_max);
return num_iter;
}
}
#endif //PROJECT_ITERATIVE_REFINEMENT_H
| [
"[email protected]"
] | |
f6f2febd83aa98c36d3231f440db69cc530fcaee | 53e134d00fd462263f83a26b5109d65a8115379a | /Assignment 9/StringList.hpp | 031c6bf81bd7dd8d253fb1b2027b62c3b04fe100 | [] | no_license | holly12ann/OSU-CS261 | e7083c01e7525bf7398cfaf08060b6c9e0e31ade | 1dafbaf3e339d813d47a62f06de8290924ad1027 | refs/heads/master | 2022-03-30T12:21:47.717290 | 2020-01-30T16:39:32 | 2020-01-30T16:39:32 | 104,574,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | hpp | #include <iostream>
#include <vector>
using namespace std;
#ifndef stringList_HPP
#define stringList_HPP
class StringList
{
protected:
struct ListNode
{
string str;
ListNode *next;
ListNode(string string1, ListNode *next1=NULL)
{
str=string1;
next=next1;
}
};
ListNode *head;
public:
void add(string addStr);
int positionOf (string posStr);
bool setNodeVal (int nodeVal, string nodeStr);
vector <string> getAsVector();
StringList();
StringList(const StringList &listStr);
~StringList();
};
#endif
| [
"[email protected]"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.