2354 lines
97 KiB
C++
2354 lines
97 KiB
C++
#include "pch-cpp.hpp"
|
|
|
|
#ifndef _MSC_VER
|
|
# include <alloca.h>
|
|
#else
|
|
# include <malloc.h>
|
|
#endif
|
|
|
|
|
|
#include <limits>
|
|
|
|
|
|
template <typename R>
|
|
struct InterfaceFuncInvoker0
|
|
{
|
|
typedef R (*Func)(void*, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
|
|
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
|
|
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184;
|
|
struct CancellationTokenSource_tAAE1E0033BCFC233801F8CB4CED5C852B350CB7B;
|
|
struct CinemachinePixelPerfect_tE6CCF3C73CBDD7F9723CCC8A7D72FAB5AD7657D7;
|
|
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3;
|
|
struct IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987;
|
|
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71;
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
|
|
struct PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9;
|
|
struct PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE;
|
|
struct RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27;
|
|
struct String_t;
|
|
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700;
|
|
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
|
|
struct UnitySourceGeneratedAssemblyMonoScriptTypes_v1_t0C275585D2E63B9638E5C799091C73FF74B30CD5;
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
|
|
struct CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD;
|
|
|
|
IL2CPP_EXTERN_C RuntimeClass* ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_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* PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_t39B215207DCDFB3656BE676BB350E2626B3C2C84____47D6D5CB9C1516368F4D48F31165E2EB9D04D22FB9375302B8133DD308A02429_FieldInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_t39B215207DCDFB3656BE676BB350E2626B3C2C84____B6802E875EB7B71B2695090BC5E6AC9DCD3843EB0E6BF7C21CFB45D12D167F67_FieldInfo_var;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral69D2BC13326043EFBE8498680B311F3B34E06698;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral6B44A7675031FCAC57E28AD1002F65360C76AFF2;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral6E3C394542AFDC0953291817DE5BAA9A9329CF27;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m64AC6C06DD93C5FB249091FEC84FA8475457CCC4_RuntimeMethod_var;
|
|
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
|
|
|
|
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 U3CModuleU3E_t914B895F17EB87E4ACCC552837D71D20AF85C205
|
|
{
|
|
};
|
|
struct U3CPrivateImplementationDetailsU3E_t39B215207DCDFB3656BE676BB350E2626B3C2C84 : public RuntimeObject
|
|
{
|
|
};
|
|
struct String_t : public RuntimeObject
|
|
{
|
|
int32_t ____stringLength;
|
|
Il2CppChar ____firstChar;
|
|
};
|
|
struct UnitySourceGeneratedAssemblyMonoScriptTypes_v1_t0C275585D2E63B9638E5C799091C73FF74B30CD5 : public RuntimeObject
|
|
{
|
|
};
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
|
|
{
|
|
};
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
|
|
{
|
|
};
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
|
|
{
|
|
};
|
|
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
|
|
{
|
|
bool ___m_value;
|
|
};
|
|
struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
|
|
{
|
|
uint8_t ___m_value;
|
|
};
|
|
struct Color_tD001788D726C3A7F1379BEED0260B9591F440C1F
|
|
{
|
|
float ___r;
|
|
float ___g;
|
|
float ___b;
|
|
float ___a;
|
|
};
|
|
struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
|
|
{
|
|
double ___m_value;
|
|
};
|
|
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
|
|
{
|
|
int32_t ___m_value;
|
|
};
|
|
struct IntPtr_t
|
|
{
|
|
void* ___m_value;
|
|
};
|
|
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6
|
|
{
|
|
float ___m00;
|
|
float ___m10;
|
|
float ___m20;
|
|
float ___m30;
|
|
float ___m01;
|
|
float ___m11;
|
|
float ___m21;
|
|
float ___m31;
|
|
float ___m02;
|
|
float ___m12;
|
|
float ___m22;
|
|
float ___m32;
|
|
float ___m03;
|
|
float ___m13;
|
|
float ___m23;
|
|
float ___m33;
|
|
};
|
|
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974
|
|
{
|
|
float ___x;
|
|
float ___y;
|
|
float ___z;
|
|
float ___w;
|
|
};
|
|
struct Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D
|
|
{
|
|
float ___m_XMin;
|
|
float ___m_YMin;
|
|
float ___m_Width;
|
|
float ___m_Height;
|
|
};
|
|
struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
|
|
{
|
|
float ___m_value;
|
|
};
|
|
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
|
|
{
|
|
float ___x;
|
|
float ___y;
|
|
float ___z;
|
|
};
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
};
|
|
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
|
|
};
|
|
};
|
|
#pragma pack(push, tp, 1)
|
|
struct __StaticArrayInitTypeSizeU3D170_t31990ADE06AF98816AE5BBEADA3CCE7E87736A56
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
union
|
|
{
|
|
};
|
|
};
|
|
uint8_t __StaticArrayInitTypeSizeU3D170_t31990ADE06AF98816AE5BBEADA3CCE7E87736A56__padding[170];
|
|
};
|
|
};
|
|
#pragma pack(pop, tp)
|
|
#pragma pack(push, tp, 1)
|
|
struct __StaticArrayInitTypeSizeU3D289_tC5C9CC63948A355A42147524DE6E618F27FBA5BE
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
union
|
|
{
|
|
};
|
|
};
|
|
uint8_t __StaticArrayInitTypeSizeU3D289_tC5C9CC63948A355A42147524DE6E618F27FBA5BE__padding[289];
|
|
};
|
|
};
|
|
#pragma pack(pop, tp)
|
|
struct MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD
|
|
{
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___FilePathsData;
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___TypesData;
|
|
int32_t ___TotalTypes;
|
|
int32_t ___TotalFiles;
|
|
bool ___IsEditorOnly;
|
|
};
|
|
struct MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshaled_pinvoke
|
|
{
|
|
Il2CppSafeArray* ___FilePathsData;
|
|
Il2CppSafeArray* ___TypesData;
|
|
int32_t ___TotalTypes;
|
|
int32_t ___TotalFiles;
|
|
int32_t ___IsEditorOnly;
|
|
};
|
|
struct MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshaled_com
|
|
{
|
|
Il2CppSafeArray* ___FilePathsData;
|
|
Il2CppSafeArray* ___TypesData;
|
|
int32_t ___TotalTypes;
|
|
int32_t ___TotalFiles;
|
|
int32_t ___IsEditorOnly;
|
|
};
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
|
|
{
|
|
intptr_t ___m_CachedPtr;
|
|
};
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
|
|
{
|
|
intptr_t ___m_CachedPtr;
|
|
};
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
|
|
{
|
|
intptr_t ___m_CachedPtr;
|
|
};
|
|
struct PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE : public RuntimeObject
|
|
{
|
|
RuntimeObject* ___m_Component;
|
|
PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* ___m_SerializableComponent;
|
|
float ___originalOrthoSize;
|
|
bool ___hasPostProcessLayer;
|
|
bool ___cropFrameXAndY;
|
|
bool ___cropFrameXOrY;
|
|
bool ___useStretchFill;
|
|
int32_t ___zoom;
|
|
bool ___useOffscreenRT;
|
|
int32_t ___offscreenRTWidth;
|
|
int32_t ___offscreenRTHeight;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___pixelRect;
|
|
float ___orthoSize;
|
|
float ___unitsPerPixel;
|
|
int32_t ___cinemachineVCamZoom;
|
|
};
|
|
struct RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5
|
|
{
|
|
intptr_t ___value;
|
|
};
|
|
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
struct RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27 : public Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700
|
|
{
|
|
};
|
|
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
|
|
{
|
|
};
|
|
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
|
|
{
|
|
CancellationTokenSource_tAAE1E0033BCFC233801F8CB4CED5C852B350CB7B* ___m_CancellationTokenSource;
|
|
};
|
|
struct CinemachinePixelPerfect_tE6CCF3C73CBDD7F9723CCC8A7D72FAB5AD7657D7 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
};
|
|
struct PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
int32_t ___m_AssetsPPU;
|
|
int32_t ___m_RefResolutionX;
|
|
int32_t ___m_RefResolutionY;
|
|
bool ___m_UpscaleRT;
|
|
bool ___m_PixelSnapping;
|
|
bool ___m_CropFrameX;
|
|
bool ___m_CropFrameY;
|
|
bool ___m_StretchFill;
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___m_Camera;
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* ___m_Internal;
|
|
bool ___m_CinemachineCompatibilityMode;
|
|
};
|
|
struct U3CPrivateImplementationDetailsU3E_t39B215207DCDFB3656BE676BB350E2626B3C2C84_StaticFields
|
|
{
|
|
__StaticArrayInitTypeSizeU3D170_t31990ADE06AF98816AE5BBEADA3CCE7E87736A56 ___47D6D5CB9C1516368F4D48F31165E2EB9D04D22FB9375302B8133DD308A02429;
|
|
__StaticArrayInitTypeSizeU3D289_tC5C9CC63948A355A42147524DE6E618F27FBA5BE ___B6802E875EB7B71B2695090BC5E6AC9DCD3843EB0E6BF7C21CFB45D12D167F67;
|
|
};
|
|
struct String_t_StaticFields
|
|
{
|
|
String_t* ___Empty;
|
|
};
|
|
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
|
|
{
|
|
String_t* ___TrueString;
|
|
String_t* ___FalseString;
|
|
};
|
|
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_StaticFields
|
|
{
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___zeroMatrix;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___identityMatrix;
|
|
};
|
|
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___identityQuaternion;
|
|
};
|
|
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector;
|
|
};
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
|
|
{
|
|
int32_t ___OffsetOfInstanceIDInCPlusPlusObject;
|
|
};
|
|
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700_StaticFields
|
|
{
|
|
int32_t ___GenerateAllMips;
|
|
};
|
|
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_StaticFields
|
|
{
|
|
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD* ___onPreCull;
|
|
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD* ___onPreRender;
|
|
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD* ___onPostRender;
|
|
};
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) uint8_t m_Items[1];
|
|
|
|
inline uint8_t GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, uint8_t value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
|
|
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
|
|
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B (RuntimeArray* ___0_array, RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 ___1_fldHandle, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PixelPerfectCameraInternal_CorrectCinemachineOrthoSize_mCD4C1B0EBDC7FBDE0A17AA8BE4F5EC1ABD574CED (PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* __this, float ___0_targetOrthoSize, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PixelPerfectCamera_RoundToPixel_mF2C9FEBE8BEAEBF8A347E1B2747C9BFDD2778592 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_q, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_s, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Transform_get_worldToLocalMatrix_mB633C122A01BCE8E51B10B8B8CB95F580750B3F1 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_op_Multiply_m75E91775655DCA8DFC8EDE0AB787285BB3935162 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_lhs, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___1_rhs, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_worldToCameraMatrix_mC199F02E435CE7261F7EECD1FD78A33EA96ABC0D (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_value, const RuntimeMethod* method) ;
|
|
inline Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* Component_GetComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m64AC6C06DD93C5FB249091FEC84FA8475457CCC4 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3*, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCameraInternal__ctor_m9BA2244B557EA69E48A85D9C66B7C99C45A4C0F5 (PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* __this, RuntimeObject* ___0_component, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Camera_get_orthographicSize_m7950C5627086253E02992A43ADFE59039DB473F8 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* Component_GetComponent_m20396D033609F7E1E2AB8DC9C01BE188491C9CE5 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, String_t* ___0_type, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* Camera_get_targetTexture_mC856D7FF8351476068D04E245E4F08F5C56A55BD (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m23033D7E2F0F298BE465B7F3A63CDF40A4EB70EB (RuntimeObject* ___0_message, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_context, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Screen_get_width_mF608FF3252213E7EFA1F0D2F744C28110E9E5AC9 (const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Screen_get_height_m01A3102DE71EE1FBEA51D09D6B0261CF864FE8F9 (const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCameraInternal_CalculateCameraProperties_m0C1A9F48317FBD0710DCEF29FB7D4B7ECEADE4F7 (PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* __this, int32_t ___0_screenWidth, int32_t ___1_screenHeight, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_forceIntoRenderTexture_mBD476C952C128BEAF51E85C4635DBFD85ABAB7BA (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_PixelSnap_m260BC623D3DB1F4687F20AC085C68B4D930ABB21 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D Rect_get_zero_m5341D8B63DEF1F4C308A685EEC8CFEA12A396C8D (const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Rect_op_Inequality_mB5D7316EB50B1DDA9324F4BE6741DFF6A673137D_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_lhs, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___1_rhs, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_pixelRect_m4A9504577204D4E72B39BFB637ED808B778568A5 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_x, float ___1_y, float ___2_width, float ___3_height, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_rect_mA81158BC169AF8674DE240AE9460FC5A0EADBB19 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_orthographicSize_m76DD021032ACB3DDBD052B75EC66DCE3A7295A5C (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, float ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_black_mB50217951591A045844C61E7FF31EEE3FEF16737_inline (const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GL_Clear_mA172E771FC32B516DB826F537832307C3A16BE09 (bool ___0_clearDepth, bool ___1_clearColor, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___2_backgroundColor, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectRendering_set_pixelSnapSpacing_mCE94C24F8C7EBA84D8C6C47F10A32DDBD3329904 (float ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* Camera_get_activeTexture_m34547EDF06B83A0DAAAE89FBC5E012329A3477AA (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture_set_filterMode_mE423E58C0C16D059EA62BA87AD70F44AEA50CCC9 (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Camera_get_aspect_m48BF8820EA2D55BE0D154BC5546819FB65BE257D (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D PixelPerfectCameraInternal_CalculatePostRenderPixelRect_mC41F2F6B554C0E28AB9344868E3B887118221B39 (PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* __this, float ___0_cameraAspect, int32_t ___1_screenWidth, int32_t ___2_screenHeight, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_ResetAspect_mAC248F92A2CAC44E2D33EFC3D08AACA9BC3DCEBB (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_ResetWorldToCameraMatrix_m25E544C8F31680DC08C58F7416AFD77DA3DB3F91 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52 (int32_t ___0_val1, int32_t ___1_val2, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF (int32_t ___0_val1, int32_t ___1_val2, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Rect_set_width_m93B6217CF3EFF89F9B0C81F34D7345DE90B93E5A_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Rect_set_height_mD00038E6E06637137A5626CA8CD421924005BF03_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Rect_set_x_mAB91AB71898A20762BC66FD0723C4C739C4C3406_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Rect_set_y_mDE91F4B98A6E8623EFB1250FF6526D5DB5855629_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_value, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Rect_op_Equality_mF2A038255CAF5F1E86079B9EE0FC96DE54307C1F_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_lhs, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___1_rhs, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline (float ___0_f, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___0_r, float ___1_g, float ___2_b, float ___3_a, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Rect_get_x_mB267B718E0D067F2BAE31BA477647FBF964916EB_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Rect_get_y_mC733E8D49F3CE21B2A3D40A1B72D687F22C97F49_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD UnitySourceGeneratedAssemblyMonoScriptTypes_v1_Get_mAEF193637B3F0160FF34428A5856672E722ADFB4 (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_t39B215207DCDFB3656BE676BB350E2626B3C2C84____47D6D5CB9C1516368F4D48F31165E2EB9D04D22FB9375302B8133DD308A02429_FieldInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_t39B215207DCDFB3656BE676BB350E2626B3C2C84____B6802E875EB7B71B2695090BC5E6AC9DCD3843EB0E6BF7C21CFB45D12D167F67_FieldInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
il2cpp_codegen_initobj((&V_0), sizeof(MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD));
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_0 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)SZArrayNew(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var, (uint32_t)((int32_t)289));
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_1 = L_0;
|
|
RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t39B215207DCDFB3656BE676BB350E2626B3C2C84____B6802E875EB7B71B2695090BC5E6AC9DCD3843EB0E6BF7C21CFB45D12D167F67_FieldInfo_var) };
|
|
RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B((RuntimeArray*)L_1, L_2, NULL);
|
|
(&V_0)->___FilePathsData = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&(&V_0)->___FilePathsData), (void*)L_1);
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_3 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)SZArrayNew(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031_il2cpp_TypeInfo_var, (uint32_t)((int32_t)170));
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_4 = L_3;
|
|
RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_5 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t39B215207DCDFB3656BE676BB350E2626B3C2C84____47D6D5CB9C1516368F4D48F31165E2EB9D04D22FB9375302B8133DD308A02429_FieldInfo_var) };
|
|
RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B((RuntimeArray*)L_4, L_5, NULL);
|
|
(&V_0)->___TypesData = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&(&V_0)->___TypesData), (void*)L_4);
|
|
(&V_0)->___TotalFiles = 3;
|
|
(&V_0)->___TotalTypes = 4;
|
|
(&V_0)->___IsEditorOnly = (bool)0;
|
|
MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD L_6 = V_0;
|
|
return L_6;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnitySourceGeneratedAssemblyMonoScriptTypes_v1__ctor_mA1CE7C388B9E7621276704218BEB499CC1FB55CE (UnitySourceGeneratedAssemblyMonoScriptTypes_v1_t0C275585D2E63B9638E5C799091C73FF74B30CD5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
IL2CPP_EXTERN_C void MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshal_pinvoke(const MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD& unmarshaled, MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshaled_pinvoke& marshaled)
|
|
{
|
|
marshaled.___FilePathsData = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I1, unmarshaled.___FilePathsData);
|
|
marshaled.___TypesData = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I1, unmarshaled.___TypesData);
|
|
marshaled.___TotalTypes = unmarshaled.___TotalTypes;
|
|
marshaled.___TotalFiles = unmarshaled.___TotalFiles;
|
|
marshaled.___IsEditorOnly = static_cast<int32_t>(unmarshaled.___IsEditorOnly);
|
|
}
|
|
IL2CPP_EXTERN_C void MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshal_pinvoke_back(const MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshaled_pinvoke& marshaled, MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD& unmarshaled)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
unmarshaled.___FilePathsData = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___FilePathsData);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___FilePathsData), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___FilePathsData));
|
|
unmarshaled.___TypesData = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___TypesData);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___TypesData), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___TypesData));
|
|
int32_t unmarshaledTotalTypes_temp_2 = 0;
|
|
unmarshaledTotalTypes_temp_2 = marshaled.___TotalTypes;
|
|
unmarshaled.___TotalTypes = unmarshaledTotalTypes_temp_2;
|
|
int32_t unmarshaledTotalFiles_temp_3 = 0;
|
|
unmarshaledTotalFiles_temp_3 = marshaled.___TotalFiles;
|
|
unmarshaled.___TotalFiles = unmarshaledTotalFiles_temp_3;
|
|
bool unmarshaledIsEditorOnly_temp_4 = false;
|
|
unmarshaledIsEditorOnly_temp_4 = static_cast<bool>(marshaled.___IsEditorOnly);
|
|
unmarshaled.___IsEditorOnly = unmarshaledIsEditorOnly_temp_4;
|
|
}
|
|
IL2CPP_EXTERN_C void MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshal_pinvoke_cleanup(MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshaled_pinvoke& marshaled)
|
|
{
|
|
il2cpp_codegen_com_destroy_safe_array(marshaled.___FilePathsData);
|
|
marshaled.___FilePathsData = NULL;
|
|
il2cpp_codegen_com_destroy_safe_array(marshaled.___TypesData);
|
|
marshaled.___TypesData = NULL;
|
|
}
|
|
IL2CPP_EXTERN_C void MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshal_com(const MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD& unmarshaled, MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshaled_com& marshaled)
|
|
{
|
|
marshaled.___FilePathsData = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I1, unmarshaled.___FilePathsData);
|
|
marshaled.___TypesData = il2cpp_codegen_com_marshal_safe_array(IL2CPP_VT_I1, unmarshaled.___TypesData);
|
|
marshaled.___TotalTypes = unmarshaled.___TotalTypes;
|
|
marshaled.___TotalFiles = unmarshaled.___TotalFiles;
|
|
marshaled.___IsEditorOnly = static_cast<int32_t>(unmarshaled.___IsEditorOnly);
|
|
}
|
|
IL2CPP_EXTERN_C void MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshal_com_back(const MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshaled_com& marshaled, MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD& unmarshaled)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
unmarshaled.___FilePathsData = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___FilePathsData);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___FilePathsData), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___FilePathsData));
|
|
unmarshaled.___TypesData = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___TypesData);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___TypesData), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)il2cpp_codegen_com_marshal_safe_array_result(IL2CPP_VT_I1, Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_il2cpp_TypeInfo_var, marshaled.___TypesData));
|
|
int32_t unmarshaledTotalTypes_temp_2 = 0;
|
|
unmarshaledTotalTypes_temp_2 = marshaled.___TotalTypes;
|
|
unmarshaled.___TotalTypes = unmarshaledTotalTypes_temp_2;
|
|
int32_t unmarshaledTotalFiles_temp_3 = 0;
|
|
unmarshaledTotalFiles_temp_3 = marshaled.___TotalFiles;
|
|
unmarshaled.___TotalFiles = unmarshaledTotalFiles_temp_3;
|
|
bool unmarshaledIsEditorOnly_temp_4 = false;
|
|
unmarshaledIsEditorOnly_temp_4 = static_cast<bool>(marshaled.___IsEditorOnly);
|
|
unmarshaled.___IsEditorOnly = unmarshaledIsEditorOnly_temp_4;
|
|
}
|
|
IL2CPP_EXTERN_C void MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshal_com_cleanup(MonoScriptData_t799301C41365248339AE73896ADB30CC7571E0AD_marshaled_com& marshaled)
|
|
{
|
|
il2cpp_codegen_com_destroy_safe_array(marshaled.___FilePathsData);
|
|
marshaled.___FilePathsData = NULL;
|
|
il2cpp_codegen_com_destroy_safe_array(marshaled.___TypesData);
|
|
marshaled.___TypesData = NULL;
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CinemachinePixelPerfect_OnEnable_m8F61B251CA3256600FAA6C2AC09CE2F38906122A (CinemachinePixelPerfect_tE6CCF3C73CBDD7F9723CCC8A7D72FAB5AD7657D7* __this, 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*)&_stringLiteral6B44A7675031FCAC57E28AD1002F65360C76AFF2);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral6B44A7675031FCAC57E28AD1002F65360C76AFF2, NULL);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CinemachinePixelPerfect__ctor_m62B0EA6CEF2A6B8F810E3202E5EFA351ADDD486A (CinemachinePixelPerfect_tE6CCF3C73CBDD7F9723CCC8A7D72FAB5AD7657D7* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PixelPerfectCamera_get_assetsPPU_m7236DCB6650FD2F31B83FBE71FAA1C57F8E5CD82 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->___m_AssetsPPU;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_set_assetsPPU_mB5C7A2D57479E53699EA35659B246E9A8FFC5B73 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* G_B2_0 = NULL;
|
|
PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* G_B1_0 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* G_B3_1 = NULL;
|
|
{
|
|
int32_t L_0 = ___0_value;
|
|
if ((((int32_t)L_0) > ((int32_t)0)))
|
|
{
|
|
G_B2_0 = __this;
|
|
goto IL_0008;
|
|
}
|
|
G_B1_0 = __this;
|
|
}
|
|
{
|
|
G_B3_0 = 1;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
int32_t L_1 = ___0_value;
|
|
G_B3_0 = L_1;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
NullCheck(G_B3_1);
|
|
G_B3_1->___m_AssetsPPU = G_B3_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PixelPerfectCamera_get_refResolutionX_mF0A85ACEC0E811C9796D12A8E53FF961C1C89CFB (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->___m_RefResolutionX;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_set_refResolutionX_m8A75C95405A5B5A1DF30C8F7540E87FE19DFEEBF (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* G_B2_0 = NULL;
|
|
PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* G_B1_0 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* G_B3_1 = NULL;
|
|
{
|
|
int32_t L_0 = ___0_value;
|
|
if ((((int32_t)L_0) > ((int32_t)0)))
|
|
{
|
|
G_B2_0 = __this;
|
|
goto IL_0008;
|
|
}
|
|
G_B1_0 = __this;
|
|
}
|
|
{
|
|
G_B3_0 = 1;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
int32_t L_1 = ___0_value;
|
|
G_B3_0 = L_1;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
NullCheck(G_B3_1);
|
|
G_B3_1->___m_RefResolutionX = G_B3_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PixelPerfectCamera_get_refResolutionY_mA553B21D4E35F139ADE5AA82D1A911ECABE758BA (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->___m_RefResolutionY;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_set_refResolutionY_m7D3B3F7E3B363217236210D850F04F5E25DD053A (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* G_B2_0 = NULL;
|
|
PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* G_B1_0 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* G_B3_1 = NULL;
|
|
{
|
|
int32_t L_0 = ___0_value;
|
|
if ((((int32_t)L_0) > ((int32_t)0)))
|
|
{
|
|
G_B2_0 = __this;
|
|
goto IL_0008;
|
|
}
|
|
G_B1_0 = __this;
|
|
}
|
|
{
|
|
G_B3_0 = 1;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
int32_t L_1 = ___0_value;
|
|
G_B3_0 = L_1;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
NullCheck(G_B3_1);
|
|
G_B3_1->___m_RefResolutionY = G_B3_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PixelPerfectCamera_get_upscaleRT_m7BB069D54061F262D7A5C4720B28C90657600023 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = __this->___m_UpscaleRT;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_set_upscaleRT_mC285595CF8F32752BE35E7251E31546E7C06278E (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = ___0_value;
|
|
__this->___m_UpscaleRT = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PixelPerfectCamera_get_pixelSnapping_mE1669328218DFA6F55A7E94BB39C77EBDC8A7D10 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = __this->___m_PixelSnapping;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_set_pixelSnapping_m64D63AC75BD127218EAB920645AF051A3451AB05 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = ___0_value;
|
|
__this->___m_PixelSnapping = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PixelPerfectCamera_get_cropFrameX_m445326A62051D6C2C290F38DC3C4E2E97043023B (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = __this->___m_CropFrameX;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_set_cropFrameX_m7F2003D17778A1039DBDDEEB5902CF81E6C1700E (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = ___0_value;
|
|
__this->___m_CropFrameX = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PixelPerfectCamera_get_cropFrameY_m2C0CCE1A3BA3186C72DC06BD7B7741B2C1D98D90 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = __this->___m_CropFrameY;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_set_cropFrameY_m469D01AF3E433907A1C672283E4860F83757C892 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = ___0_value;
|
|
__this->___m_CropFrameY = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PixelPerfectCamera_get_stretchFill_m0880634A47975D84D0F266321D6C1BE01BF6CDE8 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = __this->___m_StretchFill;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_set_stretchFill_m834E542EE52D7AB56F5E1577A48615BD4D7C7AEA (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = ___0_value;
|
|
__this->___m_StretchFill = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PixelPerfectCamera_get_pixelRatio_mD04D1FBE58D9266C9CB354DDC8911CDD69C2263F (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = __this->___m_CinemachineCompatibilityMode;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
bool L_1 = __this->___m_UpscaleRT;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_2 = __this->___m_Internal;
|
|
NullCheck(L_2);
|
|
int32_t L_3 = L_2->___zoom;
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_4 = __this->___m_Internal;
|
|
NullCheck(L_4);
|
|
int32_t L_5 = L_4->___cinemachineVCamZoom;
|
|
return ((int32_t)il2cpp_codegen_multiply(L_3, L_5));
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_6 = __this->___m_Internal;
|
|
NullCheck(L_6);
|
|
int32_t L_7 = L_6->___cinemachineVCamZoom;
|
|
return L_7;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_8 = __this->___m_Internal;
|
|
NullCheck(L_8);
|
|
int32_t L_9 = L_8->___zoom;
|
|
return L_9;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PixelPerfectCamera_RoundToPixel_mF2C9FEBE8BEAEBF8A347E1B2747C9BFDD2778592 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_0 = __this->___m_Internal;
|
|
NullCheck(L_0);
|
|
float L_1 = L_0->___unitsPerPixel;
|
|
V_0 = L_1;
|
|
float L_2 = V_0;
|
|
if ((!(((float)L_2) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_position;
|
|
return L_3;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_position;
|
|
float L_5 = L_4.___x;
|
|
float L_6 = V_0;
|
|
float L_7;
|
|
L_7 = bankers_roundf(((float)(L_5/L_6)));
|
|
float L_8 = V_0;
|
|
(&V_1)->___x = ((float)il2cpp_codegen_multiply(L_7, L_8));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___0_position;
|
|
float L_10 = L_9.___y;
|
|
float L_11 = V_0;
|
|
float L_12;
|
|
L_12 = bankers_roundf(((float)(L_10/L_11)));
|
|
float L_13 = V_0;
|
|
(&V_1)->___y = ((float)il2cpp_codegen_multiply(L_12, L_13));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___0_position;
|
|
float L_15 = L_14.___z;
|
|
float L_16 = V_0;
|
|
float L_17;
|
|
L_17 = bankers_roundf(((float)(L_15/L_16)));
|
|
float L_18 = V_0;
|
|
(&V_1)->___z = ((float)il2cpp_codegen_multiply(L_17, L_18));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_1;
|
|
return L_19;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PixelPerfectCamera_CorrectCinemachineOrthoSize_m954071ACDDE4E77D706BE79EB8C2562BE55CADCD (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, float ___0_targetOrthoSize, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
__this->___m_CinemachineCompatibilityMode = (bool)1;
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_0 = __this->___m_Internal;
|
|
if (L_0)
|
|
{
|
|
goto IL_0011;
|
|
}
|
|
}
|
|
{
|
|
float L_1 = ___0_targetOrthoSize;
|
|
return L_1;
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_2 = __this->___m_Internal;
|
|
float L_3 = ___0_targetOrthoSize;
|
|
NullCheck(L_2);
|
|
float L_4;
|
|
L_4 = PixelPerfectCameraInternal_CorrectCinemachineOrthoSize_mCD4C1B0EBDC7FBDE0A17AA8BE4F5EC1ABD574CED(L_2, L_3, NULL);
|
|
return L_4;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_PixelSnap_m260BC623D3DB1F4687F20AC085C68B4D930ABB21 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_0 = __this->___m_Camera;
|
|
NullCheck(L_0);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_1;
|
|
L_1 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_0, NULL);
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_1, NULL);
|
|
V_0 = L_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = PixelPerfectCamera_RoundToPixel_mF2C9FEBE8BEAEBF8A347E1B2747C9BFDD2778592(__this, L_3, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_4, L_5, NULL);
|
|
V_1 = L_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_1;
|
|
float L_8 = L_7.___z;
|
|
(&V_1)->___z = ((-L_8));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_9, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
|
|
L_11 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
memset((&L_12), 0, sizeof(L_12));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), (1.0f), (1.0f), (-1.0f), NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_13;
|
|
L_13 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(L_10, L_11, L_12, NULL);
|
|
V_2 = L_13;
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_14 = __this->___m_Camera;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_15 = V_2;
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_16 = __this->___m_Camera;
|
|
NullCheck(L_16);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17;
|
|
L_17 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_16, NULL);
|
|
NullCheck(L_17);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_18;
|
|
L_18 = Transform_get_worldToLocalMatrix_mB633C122A01BCE8E51B10B8B8CB95F580750B3F1(L_17, NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_19;
|
|
L_19 = Matrix4x4_op_Multiply_m75E91775655DCA8DFC8EDE0AB787285BB3935162(L_15, L_18, NULL);
|
|
NullCheck(L_14);
|
|
Camera_set_worldToCameraMatrix_mC199F02E435CE7261F7EECD1FD78A33EA96ABC0D(L_14, L_19, NULL);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_Awake_m1361D5EF172AC03007B5846A243A1BE11521A06F (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m64AC6C06DD93C5FB249091FEC84FA8475457CCC4_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral69D2BC13326043EFBE8498680B311F3B34E06698);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6E3C394542AFDC0953291817DE5BAA9A9329CF27);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_0;
|
|
L_0 = Component_GetComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m64AC6C06DD93C5FB249091FEC84FA8475457CCC4(__this, Component_GetComponent_TisCamera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_m64AC6C06DD93C5FB249091FEC84FA8475457CCC4_RuntimeMethod_var);
|
|
__this->___m_Camera = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Camera), (void*)L_0);
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_1 = (PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE*)il2cpp_codegen_object_new(PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE_il2cpp_TypeInfo_var);
|
|
PixelPerfectCameraInternal__ctor_m9BA2244B557EA69E48A85D9C66B7C99C45A4C0F5(L_1, __this, NULL);
|
|
__this->___m_Internal = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Internal), (void*)L_1);
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_2 = __this->___m_Internal;
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_3 = __this->___m_Camera;
|
|
NullCheck(L_3);
|
|
float L_4;
|
|
L_4 = Camera_get_orthographicSize_m7950C5627086253E02992A43ADFE59039DB473F8(L_3, NULL);
|
|
NullCheck(L_2);
|
|
L_2->___originalOrthoSize = L_4;
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_5 = __this->___m_Internal;
|
|
Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* L_6;
|
|
L_6 = Component_GetComponent_m20396D033609F7E1E2AB8DC9C01BE188491C9CE5(__this, _stringLiteral69D2BC13326043EFBE8498680B311F3B34E06698, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_7;
|
|
L_7 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_6, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
NullCheck(L_5);
|
|
L_5->___hasPostProcessLayer = L_7;
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_8 = __this->___m_Camera;
|
|
NullCheck(L_8);
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_9;
|
|
L_9 = Camera_get_targetTexture_mC856D7FF8351476068D04E245E4F08F5C56A55BD(L_8, NULL);
|
|
bool L_10;
|
|
L_10 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_9, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_10)
|
|
{
|
|
goto IL_006d;
|
|
}
|
|
}
|
|
{
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_11 = __this->___m_Camera;
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m23033D7E2F0F298BE465B7F3A63CDF40A4EB70EB(_stringLiteral6E3C394542AFDC0953291817DE5BAA9A9329CF27, L_11, NULL);
|
|
}
|
|
|
|
IL_006d:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_LateUpdate_m1D2BF8FDBE43306DED2AFE6F66CEE593958A8548 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* G_B2_0 = NULL;
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* G_B1_0 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* G_B3_1 = NULL;
|
|
{
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_0 = __this->___m_Internal;
|
|
int32_t L_1;
|
|
L_1 = Screen_get_width_mF608FF3252213E7EFA1F0D2F744C28110E9E5AC9(NULL);
|
|
int32_t L_2;
|
|
L_2 = Screen_get_height_m01A3102DE71EE1FBEA51D09D6B0261CF864FE8F9(NULL);
|
|
NullCheck(L_0);
|
|
PixelPerfectCameraInternal_CalculateCameraProperties_m0C1A9F48317FBD0710DCEF29FB7D4B7ECEADE4F7(L_0, L_1, L_2, NULL);
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_3 = __this->___m_Camera;
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_4 = __this->___m_Internal;
|
|
NullCheck(L_4);
|
|
bool L_5 = L_4->___hasPostProcessLayer;
|
|
if (L_5)
|
|
{
|
|
G_B2_0 = L_3;
|
|
goto IL_0035;
|
|
}
|
|
G_B1_0 = L_3;
|
|
}
|
|
{
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_6 = __this->___m_Internal;
|
|
NullCheck(L_6);
|
|
bool L_7 = L_6->___useOffscreenRT;
|
|
G_B3_0 = ((int32_t)(L_7));
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_0036;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
G_B3_0 = 1;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
NullCheck(G_B3_1);
|
|
Camera_set_forceIntoRenderTexture_mBD476C952C128BEAF51E85C4635DBFD85ABAB7BA(G_B3_1, (bool)G_B3_0, NULL);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_OnPreCull_mA9E75392FDDD3D52271F8C75F7A50278E85B4037 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
PixelPerfectCamera_PixelSnap_m260BC623D3DB1F4687F20AC085C68B4D930ABB21(__this, NULL);
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_0 = __this->___m_Internal;
|
|
NullCheck(L_0);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_1 = L_0->___pixelRect;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_2;
|
|
L_2 = Rect_get_zero_m5341D8B63DEF1F4C308A685EEC8CFEA12A396C8D(NULL);
|
|
bool L_3;
|
|
L_3 = Rect_op_Inequality_mB5D7316EB50B1DDA9324F4BE6741DFF6A673137D_inline(L_1, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_4 = __this->___m_Camera;
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_5 = __this->___m_Internal;
|
|
NullCheck(L_5);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_6 = L_5->___pixelRect;
|
|
NullCheck(L_4);
|
|
Camera_set_pixelRect_m4A9504577204D4E72B39BFB637ED808B778568A5(L_4, L_6, NULL);
|
|
goto IL_0059;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_7 = __this->___m_Camera;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23_inline((&L_8), (0.0f), (0.0f), (1.0f), (1.0f), NULL);
|
|
NullCheck(L_7);
|
|
Camera_set_rect_mA81158BC169AF8674DE240AE9460FC5A0EADBB19(L_7, L_8, NULL);
|
|
}
|
|
|
|
IL_0059:
|
|
{
|
|
bool L_9 = __this->___m_CinemachineCompatibilityMode;
|
|
if (L_9)
|
|
{
|
|
goto IL_0077;
|
|
}
|
|
}
|
|
{
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_10 = __this->___m_Camera;
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_11 = __this->___m_Internal;
|
|
NullCheck(L_11);
|
|
float L_12 = L_11->___orthoSize;
|
|
NullCheck(L_10);
|
|
Camera_set_orthographicSize_m76DD021032ACB3DDBD052B75EC66DCE3A7295A5C(L_10, L_12, NULL);
|
|
}
|
|
|
|
IL_0077:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_OnPreRender_m0DF9E768A68EEF80ABB6951FD1E0AFF893916FBA (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_0 = __this->___m_Internal;
|
|
NullCheck(L_0);
|
|
bool L_1 = L_0->___cropFrameXOrY;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_2;
|
|
L_2 = Color_get_black_mB50217951591A045844C61E7FF31EEE3FEF16737_inline(NULL);
|
|
GL_Clear_mA172E771FC32B516DB826F537832307C3A16BE09((bool)0, (bool)1, L_2, NULL);
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_3 = __this->___m_Internal;
|
|
NullCheck(L_3);
|
|
float L_4 = L_3->___unitsPerPixel;
|
|
PixelPerfectRendering_set_pixelSnapSpacing_mCE94C24F8C7EBA84D8C6C47F10A32DDBD3329904(L_4, NULL);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_OnPostRender_m9BC0CE38B0F281C31DADDB7097ECC1E95D83CC25 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __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;
|
|
}
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* V_0 = NULL;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* G_B5_0 = NULL;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* G_B4_0 = NULL;
|
|
int32_t G_B6_0 = 0;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* G_B6_1 = NULL;
|
|
{
|
|
PixelPerfectRendering_set_pixelSnapSpacing_mCE94C24F8C7EBA84D8C6C47F10A32DDBD3329904((0.0f), NULL);
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_0 = __this->___m_Internal;
|
|
NullCheck(L_0);
|
|
bool L_1 = L_0->___useOffscreenRT;
|
|
if (L_1)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_2 = __this->___m_Camera;
|
|
NullCheck(L_2);
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_3;
|
|
L_3 = Camera_get_activeTexture_m34547EDF06B83A0DAAAE89FBC5E012329A3477AA(L_2, NULL);
|
|
V_0 = L_3;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_4 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_5;
|
|
L_5 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_4, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_6 = V_0;
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_7 = __this->___m_Internal;
|
|
NullCheck(L_7);
|
|
bool L_8 = L_7->___useStretchFill;
|
|
if (L_8)
|
|
{
|
|
G_B5_0 = L_6;
|
|
goto IL_003e;
|
|
}
|
|
G_B4_0 = L_6;
|
|
}
|
|
{
|
|
G_B6_0 = 0;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_003f;
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
G_B6_0 = 1;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
NullCheck(G_B6_1);
|
|
Texture_set_filterMode_mE423E58C0C16D059EA62BA87AD70F44AEA50CCC9(G_B6_1, G_B6_0, NULL);
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_9 = __this->___m_Camera;
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_10 = __this->___m_Internal;
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_11 = __this->___m_Camera;
|
|
NullCheck(L_11);
|
|
float L_12;
|
|
L_12 = Camera_get_aspect_m48BF8820EA2D55BE0D154BC5546819FB65BE257D(L_11, NULL);
|
|
int32_t L_13;
|
|
L_13 = Screen_get_width_mF608FF3252213E7EFA1F0D2F744C28110E9E5AC9(NULL);
|
|
int32_t L_14;
|
|
L_14 = Screen_get_height_m01A3102DE71EE1FBEA51D09D6B0261CF864FE8F9(NULL);
|
|
NullCheck(L_10);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_15;
|
|
L_15 = PixelPerfectCameraInternal_CalculatePostRenderPixelRect_mC41F2F6B554C0E28AB9344868E3B887118221B39(L_10, L_12, L_13, L_14, NULL);
|
|
NullCheck(L_9);
|
|
Camera_set_pixelRect_m4A9504577204D4E72B39BFB637ED808B778568A5(L_9, L_15, NULL);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_OnEnable_m38F3E385ECADF00606C9E3C602188C93E6A17EB2 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
__this->___m_CinemachineCompatibilityMode = (bool)0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera_OnDisable_m7338FD1B80302BBE823F88744B11F8B0169857A6 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_0 = __this->___m_Camera;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23_inline((&L_1), (0.0f), (0.0f), (1.0f), (1.0f), NULL);
|
|
NullCheck(L_0);
|
|
Camera_set_rect_mA81158BC169AF8674DE240AE9460FC5A0EADBB19(L_0, L_1, NULL);
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_2 = __this->___m_Camera;
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_3 = __this->___m_Internal;
|
|
NullCheck(L_3);
|
|
float L_4 = L_3->___originalOrthoSize;
|
|
NullCheck(L_2);
|
|
Camera_set_orthographicSize_m76DD021032ACB3DDBD052B75EC66DCE3A7295A5C(L_2, L_4, NULL);
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_5 = __this->___m_Camera;
|
|
PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* L_6 = __this->___m_Internal;
|
|
NullCheck(L_6);
|
|
bool L_7 = L_6->___hasPostProcessLayer;
|
|
NullCheck(L_5);
|
|
Camera_set_forceIntoRenderTexture_mBD476C952C128BEAF51E85C4635DBFD85ABAB7BA(L_5, L_7, NULL);
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_8 = __this->___m_Camera;
|
|
NullCheck(L_8);
|
|
Camera_ResetAspect_mAC248F92A2CAC44E2D33EFC3D08AACA9BC3DCEBB(L_8, NULL);
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_9 = __this->___m_Camera;
|
|
NullCheck(L_9);
|
|
Camera_ResetWorldToCameraMatrix_m25E544C8F31680DC08C58F7416AFD77DA3DB3F91(L_9, NULL);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCamera__ctor_mD0A0A89A62DDE239CD452527B084826C38349C65 (PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
__this->___m_AssetsPPU = ((int32_t)100);
|
|
__this->___m_RefResolutionX = ((int32_t)320);
|
|
__this->___m_RefResolutionY = ((int32_t)180);
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCameraInternal__ctor_m9BA2244B557EA69E48A85D9C66B7C99C45A4C0F5 (PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* __this, RuntimeObject* ___0_component, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
__this->___zoom = 1;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_0;
|
|
L_0 = Rect_get_zero_m5341D8B63DEF1F4C308A685EEC8CFEA12A396C8D(NULL);
|
|
__this->___pixelRect = L_0;
|
|
__this->___orthoSize = (1.0f);
|
|
__this->___cinemachineVCamZoom = 1;
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
RuntimeObject* L_1 = ___0_component;
|
|
__this->___m_Component = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Component), (void*)L_1);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCameraInternal_OnBeforeSerialize_m619B674B64C11A49C5CFC75F7E1CE5C4E2E7F89F (PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
RuntimeObject* L_0 = __this->___m_Component;
|
|
__this->___m_SerializableComponent = ((PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9*)IsInstClass((RuntimeObject*)L_0, PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_SerializableComponent), (void*)((PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9*)IsInstClass((RuntimeObject*)L_0, PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9_il2cpp_TypeInfo_var)));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCameraInternal_OnAfterDeserialize_mDACB77CE1C48E71D52E67812D687FAC6D900C259 (PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* __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;
|
|
}
|
|
{
|
|
PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* L_0 = __this->___m_SerializableComponent;
|
|
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_001a;
|
|
}
|
|
}
|
|
{
|
|
PixelPerfectCamera_t7B0849F4AB5E6399719BE7C3B330BCBBA3AAF7A9* L_2 = __this->___m_SerializableComponent;
|
|
__this->___m_Component = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Component), (void*)L_2);
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PixelPerfectCameraInternal_CalculateCameraProperties_m0C1A9F48317FBD0710DCEF29FB7D4B7ECEADE4F7 (PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* __this, int32_t ___0_screenWidth, int32_t ___1_screenHeight, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_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;
|
|
bool V_5 = false;
|
|
bool V_6 = false;
|
|
bool V_7 = false;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
float V_10 = 0.0f;
|
|
float V_11 = 0.0f;
|
|
float G_B29_0 = 0.0f;
|
|
float G_B36_0 = 0.0f;
|
|
{
|
|
RuntimeObject* L_0 = __this->___m_Component;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = InterfaceFuncInvoker0< int32_t >::Invoke(0, IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var, L_0);
|
|
V_0 = L_1;
|
|
RuntimeObject* L_2 = __this->___m_Component;
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = InterfaceFuncInvoker0< int32_t >::Invoke(2, IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var, L_2);
|
|
V_1 = L_3;
|
|
RuntimeObject* L_4 = __this->___m_Component;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = InterfaceFuncInvoker0< int32_t >::Invoke(4, IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var, L_4);
|
|
V_2 = L_5;
|
|
RuntimeObject* L_6 = __this->___m_Component;
|
|
NullCheck(L_6);
|
|
bool L_7;
|
|
L_7 = InterfaceFuncInvoker0< bool >::Invoke(6, IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var, L_6);
|
|
V_3 = L_7;
|
|
RuntimeObject* L_8 = __this->___m_Component;
|
|
NullCheck(L_8);
|
|
bool L_9;
|
|
L_9 = InterfaceFuncInvoker0< bool >::Invoke(8, IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var, L_8);
|
|
V_4 = L_9;
|
|
RuntimeObject* L_10 = __this->___m_Component;
|
|
NullCheck(L_10);
|
|
bool L_11;
|
|
L_11 = InterfaceFuncInvoker0< bool >::Invoke(10, IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var, L_10);
|
|
V_5 = L_11;
|
|
RuntimeObject* L_12 = __this->___m_Component;
|
|
NullCheck(L_12);
|
|
bool L_13;
|
|
L_13 = InterfaceFuncInvoker0< bool >::Invoke(12, IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var, L_12);
|
|
V_6 = L_13;
|
|
RuntimeObject* L_14 = __this->___m_Component;
|
|
NullCheck(L_14);
|
|
bool L_15;
|
|
L_15 = InterfaceFuncInvoker0< bool >::Invoke(14, IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var, L_14);
|
|
V_7 = L_15;
|
|
bool L_16 = V_6;
|
|
bool L_17 = V_5;
|
|
__this->___cropFrameXAndY = (bool)((int32_t)((int32_t)L_16&(int32_t)L_17));
|
|
bool L_18 = V_6;
|
|
bool L_19 = V_5;
|
|
__this->___cropFrameXOrY = (bool)((int32_t)((int32_t)L_18|(int32_t)L_19));
|
|
bool L_20 = __this->___cropFrameXAndY;
|
|
bool L_21 = V_7;
|
|
__this->___useStretchFill = (bool)((int32_t)((int32_t)L_20&(int32_t)L_21));
|
|
int32_t L_22 = ___1_screenHeight;
|
|
int32_t L_23 = V_2;
|
|
V_8 = ((int32_t)(L_22/L_23));
|
|
int32_t L_24 = ___0_screenWidth;
|
|
int32_t L_25 = V_1;
|
|
V_9 = ((int32_t)(L_24/L_25));
|
|
int32_t L_26 = V_8;
|
|
int32_t L_27 = V_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_28;
|
|
L_28 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_26, L_27, NULL);
|
|
int32_t L_29;
|
|
L_29 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(1, L_28, NULL);
|
|
__this->___zoom = L_29;
|
|
__this->___useOffscreenRT = (bool)0;
|
|
__this->___offscreenRTWidth = 0;
|
|
__this->___offscreenRTHeight = 0;
|
|
bool L_30 = __this->___cropFrameXOrY;
|
|
if (!L_30)
|
|
{
|
|
goto IL_0157;
|
|
}
|
|
}
|
|
{
|
|
bool L_31 = V_3;
|
|
if (L_31)
|
|
{
|
|
goto IL_00fe;
|
|
}
|
|
}
|
|
{
|
|
bool L_32 = __this->___useStretchFill;
|
|
if (!L_32)
|
|
{
|
|
goto IL_018e;
|
|
}
|
|
}
|
|
{
|
|
__this->___useOffscreenRT = (bool)1;
|
|
int32_t L_33 = __this->___zoom;
|
|
int32_t L_34 = V_1;
|
|
__this->___offscreenRTWidth = ((int32_t)il2cpp_codegen_multiply(L_33, L_34));
|
|
int32_t L_35 = __this->___zoom;
|
|
int32_t L_36 = V_2;
|
|
__this->___offscreenRTHeight = ((int32_t)il2cpp_codegen_multiply(L_35, L_36));
|
|
goto IL_018e;
|
|
}
|
|
|
|
IL_00fe:
|
|
{
|
|
__this->___useOffscreenRT = (bool)1;
|
|
bool L_37 = __this->___cropFrameXAndY;
|
|
if (!L_37)
|
|
{
|
|
goto IL_011d;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_38 = V_1;
|
|
__this->___offscreenRTWidth = L_38;
|
|
int32_t L_39 = V_2;
|
|
__this->___offscreenRTHeight = L_39;
|
|
goto IL_018e;
|
|
}
|
|
|
|
IL_011d:
|
|
{
|
|
bool L_40 = V_6;
|
|
if (!L_40)
|
|
{
|
|
goto IL_013c;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_41 = ___0_screenWidth;
|
|
int32_t L_42 = __this->___zoom;
|
|
__this->___offscreenRTWidth = ((int32_t)il2cpp_codegen_multiply(((int32_t)(((int32_t)(L_41/L_42))/2)), 2));
|
|
int32_t L_43 = V_2;
|
|
__this->___offscreenRTHeight = L_43;
|
|
goto IL_018e;
|
|
}
|
|
|
|
IL_013c:
|
|
{
|
|
int32_t L_44 = V_1;
|
|
__this->___offscreenRTWidth = L_44;
|
|
int32_t L_45 = ___1_screenHeight;
|
|
int32_t L_46 = __this->___zoom;
|
|
__this->___offscreenRTHeight = ((int32_t)il2cpp_codegen_multiply(((int32_t)(((int32_t)(L_45/L_46))/2)), 2));
|
|
goto IL_018e;
|
|
}
|
|
|
|
IL_0157:
|
|
{
|
|
bool L_47 = V_3;
|
|
if (!L_47)
|
|
{
|
|
goto IL_018e;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_48 = __this->___zoom;
|
|
if ((((int32_t)L_48) <= ((int32_t)1)))
|
|
{
|
|
goto IL_018e;
|
|
}
|
|
}
|
|
{
|
|
__this->___useOffscreenRT = (bool)1;
|
|
int32_t L_49 = ___0_screenWidth;
|
|
int32_t L_50 = __this->___zoom;
|
|
__this->___offscreenRTWidth = ((int32_t)il2cpp_codegen_multiply(((int32_t)(((int32_t)(L_49/L_50))/2)), 2));
|
|
int32_t L_51 = ___1_screenHeight;
|
|
int32_t L_52 = __this->___zoom;
|
|
__this->___offscreenRTHeight = ((int32_t)il2cpp_codegen_multiply(((int32_t)(((int32_t)(L_51/L_52))/2)), 2));
|
|
}
|
|
|
|
IL_018e:
|
|
{
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_53;
|
|
L_53 = Rect_get_zero_m5341D8B63DEF1F4C308A685EEC8CFEA12A396C8D(NULL);
|
|
__this->___pixelRect = L_53;
|
|
bool L_54 = __this->___cropFrameXOrY;
|
|
if (!L_54)
|
|
{
|
|
goto IL_0269;
|
|
}
|
|
}
|
|
{
|
|
bool L_55 = V_3;
|
|
if (L_55)
|
|
{
|
|
goto IL_0269;
|
|
}
|
|
}
|
|
{
|
|
bool L_56 = __this->___useStretchFill;
|
|
if (L_56)
|
|
{
|
|
goto IL_0269;
|
|
}
|
|
}
|
|
{
|
|
bool L_57 = __this->___cropFrameXAndY;
|
|
if (!L_57)
|
|
{
|
|
goto IL_01e7;
|
|
}
|
|
}
|
|
{
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_58 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
int32_t L_59 = __this->___zoom;
|
|
int32_t L_60 = V_1;
|
|
Rect_set_width_m93B6217CF3EFF89F9B0C81F34D7345DE90B93E5A_inline(L_58, ((float)((int32_t)il2cpp_codegen_multiply(L_59, L_60))), NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_61 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
int32_t L_62 = __this->___zoom;
|
|
int32_t L_63 = V_2;
|
|
Rect_set_height_mD00038E6E06637137A5626CA8CD421924005BF03_inline(L_61, ((float)((int32_t)il2cpp_codegen_multiply(L_62, L_63))), NULL);
|
|
goto IL_022f;
|
|
}
|
|
|
|
IL_01e7:
|
|
{
|
|
bool L_64 = V_6;
|
|
if (!L_64)
|
|
{
|
|
goto IL_020e;
|
|
}
|
|
}
|
|
{
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_65 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
int32_t L_66 = ___0_screenWidth;
|
|
Rect_set_width_m93B6217CF3EFF89F9B0C81F34D7345DE90B93E5A_inline(L_65, ((float)L_66), NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_67 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
int32_t L_68 = __this->___zoom;
|
|
int32_t L_69 = V_2;
|
|
Rect_set_height_mD00038E6E06637137A5626CA8CD421924005BF03_inline(L_67, ((float)((int32_t)il2cpp_codegen_multiply(L_68, L_69))), NULL);
|
|
goto IL_022f;
|
|
}
|
|
|
|
IL_020e:
|
|
{
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_70 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
int32_t L_71 = __this->___zoom;
|
|
int32_t L_72 = V_1;
|
|
Rect_set_width_m93B6217CF3EFF89F9B0C81F34D7345DE90B93E5A_inline(L_70, ((float)((int32_t)il2cpp_codegen_multiply(L_71, L_72))), NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_73 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
int32_t L_74 = ___1_screenHeight;
|
|
Rect_set_height_mD00038E6E06637137A5626CA8CD421924005BF03_inline(L_73, ((float)L_74), NULL);
|
|
}
|
|
|
|
IL_022f:
|
|
{
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_75 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
int32_t L_76 = ___0_screenWidth;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_77 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
float L_78;
|
|
L_78 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9_inline(L_77, NULL);
|
|
Rect_set_x_mAB91AB71898A20762BC66FD0723C4C739C4C3406_inline(L_75, ((float)((int32_t)(((int32_t)il2cpp_codegen_subtract(L_76, il2cpp_codegen_cast_double_to_int<int32_t>(L_78)))/2))), NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_79 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
int32_t L_80 = ___1_screenHeight;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_81 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
float L_82;
|
|
L_82 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8_inline(L_81, NULL);
|
|
Rect_set_y_mDE91F4B98A6E8623EFB1250FF6526D5DB5855629_inline(L_79, ((float)((int32_t)(((int32_t)il2cpp_codegen_subtract(L_80, il2cpp_codegen_cast_double_to_int<int32_t>(L_82)))/2))), NULL);
|
|
goto IL_0294;
|
|
}
|
|
|
|
IL_0269:
|
|
{
|
|
bool L_83 = __this->___useOffscreenRT;
|
|
if (!L_83)
|
|
{
|
|
goto IL_0294;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_84 = __this->___offscreenRTWidth;
|
|
int32_t L_85 = __this->___offscreenRTHeight;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_86;
|
|
memset((&L_86), 0, sizeof(L_86));
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23_inline((&L_86), (0.0f), (0.0f), ((float)L_84), ((float)L_85), NULL);
|
|
__this->___pixelRect = L_86;
|
|
}
|
|
|
|
IL_0294:
|
|
{
|
|
bool L_87 = V_6;
|
|
if (!L_87)
|
|
{
|
|
goto IL_02ae;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_88 = V_2;
|
|
int32_t L_89 = V_0;
|
|
__this->___orthoSize = ((float)(((float)il2cpp_codegen_multiply(((float)L_88), (0.5f)))/((float)L_89)));
|
|
goto IL_0359;
|
|
}
|
|
|
|
IL_02ae:
|
|
{
|
|
bool L_90 = V_5;
|
|
if (!L_90)
|
|
{
|
|
goto IL_02fa;
|
|
}
|
|
}
|
|
{
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_91 = __this->___pixelRect;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_92;
|
|
L_92 = Rect_get_zero_m5341D8B63DEF1F4C308A685EEC8CFEA12A396C8D(NULL);
|
|
bool L_93;
|
|
L_93 = Rect_op_Equality_mF2A038255CAF5F1E86079B9EE0FC96DE54307C1F_inline(L_91, L_92, NULL);
|
|
if (L_93)
|
|
{
|
|
goto IL_02dd;
|
|
}
|
|
}
|
|
{
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_94 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
float L_95;
|
|
L_95 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9_inline(L_94, NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_96 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
float L_97;
|
|
L_97 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8_inline(L_96, NULL);
|
|
G_B29_0 = ((float)(L_95/L_97));
|
|
goto IL_02e2;
|
|
}
|
|
|
|
IL_02dd:
|
|
{
|
|
int32_t L_98 = ___0_screenWidth;
|
|
int32_t L_99 = ___1_screenHeight;
|
|
G_B29_0 = ((float)(((float)L_98)/((float)L_99)));
|
|
}
|
|
|
|
IL_02e2:
|
|
{
|
|
V_10 = G_B29_0;
|
|
int32_t L_100 = V_1;
|
|
float L_101 = V_10;
|
|
int32_t L_102 = V_0;
|
|
__this->___orthoSize = ((float)(((float)il2cpp_codegen_multiply(((float)(((float)L_100)/L_101)), (0.5f)))/((float)L_102)));
|
|
goto IL_0359;
|
|
}
|
|
|
|
IL_02fa:
|
|
{
|
|
bool L_103 = V_3;
|
|
if (!L_103)
|
|
{
|
|
goto IL_031e;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_104 = __this->___zoom;
|
|
if ((((int32_t)L_104) <= ((int32_t)1)))
|
|
{
|
|
goto IL_031e;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_105 = __this->___offscreenRTHeight;
|
|
int32_t L_106 = V_0;
|
|
__this->___orthoSize = ((float)(((float)il2cpp_codegen_multiply(((float)L_105), (0.5f)))/((float)L_106)));
|
|
goto IL_0359;
|
|
}
|
|
|
|
IL_031e:
|
|
{
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_107 = __this->___pixelRect;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_108;
|
|
L_108 = Rect_get_zero_m5341D8B63DEF1F4C308A685EEC8CFEA12A396C8D(NULL);
|
|
bool L_109;
|
|
L_109 = Rect_op_Equality_mF2A038255CAF5F1E86079B9EE0FC96DE54307C1F_inline(L_107, L_108, NULL);
|
|
if (L_109)
|
|
{
|
|
goto IL_033d;
|
|
}
|
|
}
|
|
{
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_110 = (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D*)(&__this->___pixelRect);
|
|
float L_111;
|
|
L_111 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8_inline(L_110, NULL);
|
|
G_B36_0 = L_111;
|
|
goto IL_033f;
|
|
}
|
|
|
|
IL_033d:
|
|
{
|
|
int32_t L_112 = ___1_screenHeight;
|
|
G_B36_0 = ((float)L_112);
|
|
}
|
|
|
|
IL_033f:
|
|
{
|
|
V_11 = G_B36_0;
|
|
float L_113 = V_11;
|
|
int32_t L_114 = __this->___zoom;
|
|
int32_t L_115 = V_0;
|
|
__this->___orthoSize = ((float)(((float)il2cpp_codegen_multiply(L_113, (0.5f)))/((float)((int32_t)il2cpp_codegen_multiply(L_114, L_115)))));
|
|
}
|
|
|
|
IL_0359:
|
|
{
|
|
bool L_116 = V_3;
|
|
if (L_116)
|
|
{
|
|
goto IL_0365;
|
|
}
|
|
}
|
|
{
|
|
bool L_117 = V_3;
|
|
bool L_118 = V_4;
|
|
if (!((int32_t)(((((int32_t)L_117) == ((int32_t)0))? 1 : 0)&(int32_t)L_118)))
|
|
{
|
|
goto IL_0374;
|
|
}
|
|
}
|
|
|
|
IL_0365:
|
|
{
|
|
int32_t L_119 = V_0;
|
|
__this->___unitsPerPixel = ((float)((1.0f)/((float)L_119)));
|
|
return;
|
|
}
|
|
|
|
IL_0374:
|
|
{
|
|
int32_t L_120 = __this->___zoom;
|
|
int32_t L_121 = V_0;
|
|
__this->___unitsPerPixel = ((float)((1.0f)/((float)((int32_t)il2cpp_codegen_multiply(L_120, L_121)))));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D PixelPerfectCameraInternal_CalculatePostRenderPixelRect_mC41F2F6B554C0E28AB9344868E3B887118221B39 (PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* __this, float ___0_cameraAspect, int32_t ___1_screenWidth, int32_t ___2_screenHeight, const RuntimeMethod* method)
|
|
{
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
il2cpp_codegen_initobj((&V_0), sizeof(Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D));
|
|
bool L_0 = __this->___useStretchFill;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0087;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___1_screenWidth;
|
|
int32_t L_2 = ___2_screenHeight;
|
|
float L_3 = ___0_cameraAspect;
|
|
if ((!(((float)((float)(((float)L_1)/((float)L_2)))) > ((float)L_3))))
|
|
{
|
|
goto IL_0051;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_4 = ___2_screenHeight;
|
|
Rect_set_height_mD00038E6E06637137A5626CA8CD421924005BF03_inline((&V_0), ((float)L_4), NULL);
|
|
int32_t L_5 = ___2_screenHeight;
|
|
float L_6 = ___0_cameraAspect;
|
|
Rect_set_width_m93B6217CF3EFF89F9B0C81F34D7345DE90B93E5A_inline((&V_0), ((float)il2cpp_codegen_multiply(((float)L_5), L_6)), NULL);
|
|
int32_t L_7 = ___1_screenWidth;
|
|
float L_8;
|
|
L_8 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9_inline((&V_0), NULL);
|
|
Rect_set_x_mAB91AB71898A20762BC66FD0723C4C739C4C3406_inline((&V_0), ((float)((int32_t)(((int32_t)il2cpp_codegen_subtract(L_7, il2cpp_codegen_cast_double_to_int<int32_t>(L_8)))/2))), NULL);
|
|
Rect_set_y_mDE91F4B98A6E8623EFB1250FF6526D5DB5855629_inline((&V_0), (0.0f), NULL);
|
|
goto IL_00d9;
|
|
}
|
|
|
|
IL_0051:
|
|
{
|
|
int32_t L_9 = ___1_screenWidth;
|
|
Rect_set_width_m93B6217CF3EFF89F9B0C81F34D7345DE90B93E5A_inline((&V_0), ((float)L_9), NULL);
|
|
int32_t L_10 = ___1_screenWidth;
|
|
float L_11 = ___0_cameraAspect;
|
|
Rect_set_height_mD00038E6E06637137A5626CA8CD421924005BF03_inline((&V_0), ((float)(((float)L_10)/L_11)), NULL);
|
|
int32_t L_12 = ___2_screenHeight;
|
|
float L_13;
|
|
L_13 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8_inline((&V_0), NULL);
|
|
Rect_set_y_mDE91F4B98A6E8623EFB1250FF6526D5DB5855629_inline((&V_0), ((float)((int32_t)(((int32_t)il2cpp_codegen_subtract(L_12, il2cpp_codegen_cast_double_to_int<int32_t>(L_13)))/2))), NULL);
|
|
Rect_set_x_mAB91AB71898A20762BC66FD0723C4C739C4C3406_inline((&V_0), (0.0f), NULL);
|
|
goto IL_00d9;
|
|
}
|
|
|
|
IL_0087:
|
|
{
|
|
int32_t L_14 = __this->___zoom;
|
|
int32_t L_15 = __this->___offscreenRTHeight;
|
|
Rect_set_height_mD00038E6E06637137A5626CA8CD421924005BF03_inline((&V_0), ((float)((int32_t)il2cpp_codegen_multiply(L_14, L_15))), NULL);
|
|
int32_t L_16 = __this->___zoom;
|
|
int32_t L_17 = __this->___offscreenRTWidth;
|
|
Rect_set_width_m93B6217CF3EFF89F9B0C81F34D7345DE90B93E5A_inline((&V_0), ((float)((int32_t)il2cpp_codegen_multiply(L_16, L_17))), NULL);
|
|
int32_t L_18 = ___1_screenWidth;
|
|
float L_19;
|
|
L_19 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9_inline((&V_0), NULL);
|
|
Rect_set_x_mAB91AB71898A20762BC66FD0723C4C739C4C3406_inline((&V_0), ((float)((int32_t)(((int32_t)il2cpp_codegen_subtract(L_18, il2cpp_codegen_cast_double_to_int<int32_t>(L_19)))/2))), NULL);
|
|
int32_t L_20 = ___2_screenHeight;
|
|
float L_21;
|
|
L_21 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8_inline((&V_0), NULL);
|
|
Rect_set_y_mDE91F4B98A6E8623EFB1250FF6526D5DB5855629_inline((&V_0), ((float)((int32_t)(((int32_t)il2cpp_codegen_subtract(L_20, il2cpp_codegen_cast_double_to_int<int32_t>(L_21)))/2))), NULL);
|
|
}
|
|
|
|
IL_00d9:
|
|
{
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_22 = V_0;
|
|
return L_22;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PixelPerfectCameraInternal_CorrectCinemachineOrthoSize_mCD4C1B0EBDC7FBDE0A17AA8BE4F5EC1ABD574CED (PixelPerfectCameraInternal_t3A785975106C548143FC2C057233A72DC250FEFE* __this, float ___0_targetOrthoSize, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
{
|
|
RuntimeObject* L_0 = __this->___m_Component;
|
|
NullCheck(L_0);
|
|
bool L_1;
|
|
L_1 = InterfaceFuncInvoker0< bool >::Invoke(6, IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var, L_0);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0037;
|
|
}
|
|
}
|
|
{
|
|
float L_2 = __this->___orthoSize;
|
|
float L_3 = ___0_targetOrthoSize;
|
|
int32_t L_4;
|
|
L_4 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)(L_2/L_3)), NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_5;
|
|
L_5 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(1, L_4, NULL);
|
|
__this->___cinemachineVCamZoom = L_5;
|
|
float L_6 = __this->___orthoSize;
|
|
int32_t L_7 = __this->___cinemachineVCamZoom;
|
|
V_0 = ((float)(L_6/((float)L_7)));
|
|
goto IL_006f;
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
int32_t L_8 = __this->___zoom;
|
|
float L_9 = __this->___orthoSize;
|
|
float L_10 = ___0_targetOrthoSize;
|
|
int32_t L_11;
|
|
L_11 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)(((float)il2cpp_codegen_multiply(((float)L_8), L_9))/L_10)), NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_12;
|
|
L_12 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(1, L_11, NULL);
|
|
__this->___cinemachineVCamZoom = L_12;
|
|
int32_t L_13 = __this->___zoom;
|
|
float L_14 = __this->___orthoSize;
|
|
int32_t L_15 = __this->___cinemachineVCamZoom;
|
|
V_0 = ((float)(((float)il2cpp_codegen_multiply(((float)L_13), L_14))/((float)L_15)));
|
|
}
|
|
|
|
IL_006f:
|
|
{
|
|
RuntimeObject* L_16 = __this->___m_Component;
|
|
NullCheck(L_16);
|
|
bool L_17;
|
|
L_17 = InterfaceFuncInvoker0< bool >::Invoke(6, IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var, L_16);
|
|
if (L_17)
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_18 = __this->___m_Component;
|
|
NullCheck(L_18);
|
|
bool L_19;
|
|
L_19 = InterfaceFuncInvoker0< bool >::Invoke(8, IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var, L_18);
|
|
if (L_19)
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_20 = __this->___cinemachineVCamZoom;
|
|
RuntimeObject* L_21 = __this->___m_Component;
|
|
NullCheck(L_21);
|
|
int32_t L_22;
|
|
L_22 = InterfaceFuncInvoker0< int32_t >::Invoke(0, IPixelPerfectCamera_tB4C3F4D97915BC1D1D31D68788C8F4290B94A987_il2cpp_TypeInfo_var, L_21);
|
|
__this->___unitsPerPixel = ((float)((1.0f)/((float)((int32_t)il2cpp_codegen_multiply(L_20, L_22)))));
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
float L_23 = V_0;
|
|
return L_23;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
float L_3 = L_2.___x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
|
|
float L_7 = L_6.___y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
|
|
float L_9 = L_8.___z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
|
|
float L_11 = L_10.___z;
|
|
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 Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_a;
|
|
float L_3 = L_2.___y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_6), ((-L_1)), ((-L_3)), ((-L_5)), NULL);
|
|
V_0 = L_6;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
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;
|
|
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 void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_x;
|
|
__this->___x = L_0;
|
|
float L_1 = ___1_y;
|
|
__this->___y = L_1;
|
|
float L_2 = ___2_z;
|
|
__this->___z = L_2;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Rect_op_Inequality_mB5D7316EB50B1DDA9324F4BE6741DFF6A673137D_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_lhs, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_0 = ___0_lhs;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_1 = ___1_rhs;
|
|
bool L_2;
|
|
L_2 = Rect_op_Equality_mF2A038255CAF5F1E86079B9EE0FC96DE54307C1F_inline(L_0, L_1, NULL);
|
|
V_0 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
goto IL_000e;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_x, float ___1_y, float ___2_width, float ___3_height, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_x;
|
|
__this->___m_XMin = L_0;
|
|
float L_1 = ___1_y;
|
|
__this->___m_YMin = L_1;
|
|
float L_2 = ___2_width;
|
|
__this->___m_Width = L_2;
|
|
float L_3 = ___3_height;
|
|
__this->___m_Height = L_3;
|
|
return;
|
|
}
|
|
}
|
|
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 void Rect_set_width_m93B6217CF3EFF89F9B0C81F34D7345DE90B93E5A_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_value;
|
|
__this->___m_Width = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Rect_set_height_mD00038E6E06637137A5626CA8CD421924005BF03_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_value;
|
|
__this->___m_Height = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = __this->___m_Width;
|
|
V_0 = L_0;
|
|
goto IL_000a;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
float L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Rect_set_x_mAB91AB71898A20762BC66FD0723C4C739C4C3406_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_value;
|
|
__this->___m_XMin = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = __this->___m_Height;
|
|
V_0 = L_0;
|
|
goto IL_000a;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
float L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Rect_set_y_mDE91F4B98A6E8623EFB1250FF6526D5DB5855629_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_value;
|
|
__this->___m_YMin = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Rect_op_Equality_mF2A038255CAF5F1E86079B9EE0FC96DE54307C1F_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_lhs, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
int32_t G_B5_0 = 0;
|
|
{
|
|
float L_0;
|
|
L_0 = Rect_get_x_mB267B718E0D067F2BAE31BA477647FBF964916EB_inline((&___0_lhs), NULL);
|
|
float L_1;
|
|
L_1 = Rect_get_x_mB267B718E0D067F2BAE31BA477647FBF964916EB_inline((&___1_rhs), NULL);
|
|
if ((!(((float)L_0) == ((float)L_1))))
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
float L_2;
|
|
L_2 = Rect_get_y_mC733E8D49F3CE21B2A3D40A1B72D687F22C97F49_inline((&___0_lhs), NULL);
|
|
float L_3;
|
|
L_3 = Rect_get_y_mC733E8D49F3CE21B2A3D40A1B72D687F22C97F49_inline((&___1_rhs), NULL);
|
|
if ((!(((float)L_2) == ((float)L_3))))
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
float L_4;
|
|
L_4 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9_inline((&___0_lhs), NULL);
|
|
float L_5;
|
|
L_5 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9_inline((&___1_rhs), NULL);
|
|
if ((!(((float)L_4) == ((float)L_5))))
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
float L_6;
|
|
L_6 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8_inline((&___0_lhs), NULL);
|
|
float L_7;
|
|
L_7 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8_inline((&___1_rhs), NULL);
|
|
G_B5_0 = ((((float)L_6) == ((float)L_7))? 1 : 0);
|
|
goto IL_0044;
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
G_B5_0 = 0;
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
V_0 = (bool)G_B5_0;
|
|
goto IL_0047;
|
|
}
|
|
|
|
IL_0047:
|
|
{
|
|
bool L_8 = V_0;
|
|
return L_8;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline (float ___0_f, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
float L_0 = ___0_f;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_1;
|
|
L_1 = bankers_round(((double)L_0));
|
|
V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1);
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
int32_t L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___0_r, float ___1_g, float ___2_b, float ___3_a, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_r;
|
|
__this->___r = L_0;
|
|
float L_1 = ___1_g;
|
|
__this->___g = L_1;
|
|
float L_2 = ___2_b;
|
|
__this->___b = L_2;
|
|
float L_3 = ___3_a;
|
|
__this->___a = L_3;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Rect_get_x_mB267B718E0D067F2BAE31BA477647FBF964916EB_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = __this->___m_XMin;
|
|
V_0 = L_0;
|
|
goto IL_000a;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
float L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Rect_get_y_mC733E8D49F3CE21B2A3D40A1B72D687F22C97F49_inline (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = __this->___m_YMin;
|
|
V_0 = L_0;
|
|
goto IL_000a;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
float L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|