ar_tourism_flutter_unity/ios/UnityLibrary/Classes/Native/Unity.Mathematics.cpp
2025-05-14 17:04:13 +08:00

1862 lines
75 KiB
C++

#include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
// System.Object[]
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
// System.Attribute
struct Attribute_tFDA8EFEFB0711976D22474794576DAF28F7440AA;
// System.IFormatProvider
struct IFormatProvider_tC202922D43BFF3525109ABF3FB79625F5646AB52;
// Unity.IL2CPP.CompilerServices.Il2CppEagerStaticClassConstructionAttribute
struct Il2CppEagerStaticClassConstructionAttribute_t01F60DE85CC3427802A892466A27D5245AEA1BAF;
// System.String
struct String_t;
// Unity.Mathematics.uint4/DebuggerProxy
struct DebuggerProxy_t3A8A5A2398C653D7A869D7B07919E08EB23696E8;
IL2CPP_EXTERN_C RuntimeClass* BitConverter_t6E99605185963BC12B3D369E13F2B88997E64A27_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteralE134155080D59FDE2A83A55D0BB359039175A4EA;
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <Module>
struct U3CModuleU3E_t9A99FA938A0D410D25805C4E4D63978454163723
{
};
// System.Attribute
struct Attribute_tFDA8EFEFB0711976D22474794576DAF28F7440AA : public RuntimeObject
{
};
// System.String
struct String_t : public RuntimeObject
{
// System.Int32 System.String::_stringLength
int32_t ____stringLength_4;
// System.Char System.String::_firstChar
Il2CppChar ____firstChar_5;
};
// System.ValueType
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
{
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
{
};
// Unity.Mathematics.math
struct math_t084A7021C0897F87DB209393BE7FBDFD6A7FBFA6 : public RuntimeObject
{
};
// Unity.Mathematics.uint4/DebuggerProxy
struct DebuggerProxy_t3A8A5A2398C653D7A869D7B07919E08EB23696E8 : public RuntimeObject
{
// System.UInt32 Unity.Mathematics.uint4/DebuggerProxy::x
uint32_t ___x_0;
// System.UInt32 Unity.Mathematics.uint4/DebuggerProxy::y
uint32_t ___y_1;
// System.UInt32 Unity.Mathematics.uint4/DebuggerProxy::z
uint32_t ___z_2;
// System.UInt32 Unity.Mathematics.uint4/DebuggerProxy::w
uint32_t ___w_3;
};
// System.Boolean
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
{
// System.Boolean System.Boolean::m_value
bool ___m_value_0;
};
// System.Double
struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
{
// System.Double System.Double::m_value
double ___m_value_0;
};
// Unity.IL2CPP.CompilerServices.Il2CppEagerStaticClassConstructionAttribute
struct Il2CppEagerStaticClassConstructionAttribute_t01F60DE85CC3427802A892466A27D5245AEA1BAF : public Attribute_tFDA8EFEFB0711976D22474794576DAF28F7440AA
{
};
// System.Int32
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
{
// System.Int32 System.Int32::m_value
int32_t ___m_value_0;
};
// System.Int64
struct Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3
{
// System.Int64 System.Int64::m_value
int64_t ___m_value_0;
};
// Unity.Mathematics.Random
struct Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37
{
// System.UInt32 Unity.Mathematics.Random::state
uint32_t ___state_0;
};
// System.Single
struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
{
// System.Single System.Single::m_value
float ___m_value_0;
};
// System.UInt32
struct UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B
{
// System.UInt32 System.UInt32::m_value
uint32_t ___m_value_0;
};
// System.Void
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
{
union
{
struct
{
};
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
};
};
// Unity.Mathematics.uint4
struct uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9
{
// System.UInt32 Unity.Mathematics.uint4::x
uint32_t ___x_0;
// System.UInt32 Unity.Mathematics.uint4::y
uint32_t ___y_1;
// System.UInt32 Unity.Mathematics.uint4::z
uint32_t ___z_2;
// System.UInt32 Unity.Mathematics.uint4::w
uint32_t ___w_3;
};
// Unity.Mathematics.math/IntFloatUnion
struct IntFloatUnion_t549256A9DD754252DD18383D9CE7EA55EBBD6D96
{
union
{
#pragma pack(push, tp, 1)
struct
{
// System.Int32 Unity.Mathematics.math/IntFloatUnion::intValue
int32_t ___intValue_0;
};
#pragma pack(pop, tp)
struct
{
int32_t ___intValue_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Single Unity.Mathematics.math/IntFloatUnion::floatValue
float ___floatValue_1;
};
#pragma pack(pop, tp)
struct
{
float ___floatValue_1_forAlignmentOnly;
};
};
};
// Unity.Mathematics.math/LongDoubleUnion
struct LongDoubleUnion_tD71C400B6C4CD1A7F13CE8125AC6BBC7A22791CA
{
union
{
#pragma pack(push, tp, 1)
struct
{
// System.Int64 Unity.Mathematics.math/LongDoubleUnion::longValue
int64_t ___longValue_0;
};
#pragma pack(pop, tp)
struct
{
int64_t ___longValue_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Double Unity.Mathematics.math/LongDoubleUnion::doubleValue
double ___doubleValue_1;
};
#pragma pack(pop, tp)
struct
{
double ___doubleValue_1_forAlignmentOnly;
};
};
};
// <Module>
// <Module>
// System.Attribute
// System.Attribute
// System.String
struct String_t_StaticFields
{
// System.String System.String::Empty
String_t* ___Empty_6;
};
// System.String
// Unity.Mathematics.math
// Unity.Mathematics.math
// Unity.Mathematics.uint4/DebuggerProxy
// Unity.Mathematics.uint4/DebuggerProxy
// System.Boolean
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
{
// System.String System.Boolean::TrueString
String_t* ___TrueString_5;
// System.String System.Boolean::FalseString
String_t* ___FalseString_6;
};
// System.Boolean
// System.Double
// System.Double
// Unity.IL2CPP.CompilerServices.Il2CppEagerStaticClassConstructionAttribute
// Unity.IL2CPP.CompilerServices.Il2CppEagerStaticClassConstructionAttribute
// System.Int32
// System.Int32
// System.Int64
// System.Int64
// Unity.Mathematics.Random
// Unity.Mathematics.Random
// System.Single
// System.Single
// System.UInt32
// System.UInt32
// System.Void
// System.Void
// Unity.Mathematics.uint4
// Unity.Mathematics.uint4
// Unity.Mathematics.math/IntFloatUnion
// Unity.Mathematics.math/IntFloatUnion
// Unity.Mathematics.math/LongDoubleUnion
// Unity.Mathematics.math/LongDoubleUnion
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// System.Object[]
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 : public RuntimeArray
{
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Void System.Attribute::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Attribute__ctor_m79ED1BF1EE36D1E417BA89A0D9F91F8AAD8D19E2 (Attribute_tFDA8EFEFB0711976D22474794576DAF28F7440AA* __this, const RuntimeMethod* method) ;
// System.Int32 Unity.Mathematics.math::asint(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t math_asint_mBDED7FE966CA65F6A8ACEAEF8FD779B1B8998288_inline (float ___0_x, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::asfloat(System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_asfloat_m9FA56DE5C61FCEF3DCD0675252D40DFD9C9B712F_inline (int32_t ___0_x, const RuntimeMethod* method) ;
// System.Boolean System.Single::IsNaN(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Single_IsNaN_mFE637F6ECA9F7697CE8EFF56427858F4C5EDF75D_inline (float ___0_f, const RuntimeMethod* method) ;
// System.Int32 Unity.Mathematics.math::max(System.Int32,System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t math_max_m9083201D37A8ED0157B127B5878D9B7F3A2A40BE_inline (int32_t ___0_x, int32_t ___1_y, const RuntimeMethod* method) ;
// System.UInt32 Unity.Mathematics.math::asuint(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t math_asuint_m503D1ABF19E4BA615FD8AE1BF1A2E103BBED6139_inline (float ___0_x, const RuntimeMethod* method) ;
// System.Single Unity.Mathematics.math::asfloat(System.UInt32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_asfloat_m20D259DAAB46464B59BD8BF5678F9D59800F70A9_inline (uint32_t ___0_x, const RuntimeMethod* method) ;
// System.Int32 Unity.Mathematics.math::lzcnt(System.UInt32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t math_lzcnt_m121BDDDEE89F5A401E2E5F0AD900D22E47C8741C_inline (uint32_t ___0_x, const RuntimeMethod* method) ;
// System.Int32 Unity.Mathematics.math::tzcnt(System.UInt32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t math_tzcnt_m07FD7550AAB5D94312E99571B112D652E8230360_inline (uint32_t ___0_x, const RuntimeMethod* method) ;
// System.Void Unity.Mathematics.uint4::.ctor(System.UInt32,System.UInt32,System.UInt32,System.UInt32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void uint4__ctor_m59B6A219A0285C60FCF2977679BF89C72B502008_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, uint32_t ___0_x, uint32_t ___1_y, uint32_t ___2_z, uint32_t ___3_w, const RuntimeMethod* method) ;
// Unity.Mathematics.uint4 Unity.Mathematics.math::uint4(System.UInt32,System.UInt32,System.UInt32,System.UInt32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 math_uint4_m7F6A5341327B9EF6B80C82FD1B93E4F32287A336_inline (uint32_t ___0_x, uint32_t ___1_y, uint32_t ___2_z, uint32_t ___3_w, const RuntimeMethod* method) ;
// Unity.Mathematics.uint4 Unity.Mathematics.uint4::op_Multiply(Unity.Mathematics.uint4,Unity.Mathematics.uint4)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 uint4_op_Multiply_mDD93D0730642A1089848321B9B0E5E923EE575ED_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_lhs, uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___1_rhs, const RuntimeMethod* method) ;
// System.UInt32 Unity.Mathematics.math::csum(Unity.Mathematics.uint4)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t math_csum_m6A99E69A84442A729781A97F78B260223DD01D8F_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_x, const RuntimeMethod* method) ;
// System.UInt32 Unity.Mathematics.Random::NextState()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, const RuntimeMethod* method) ;
// System.Void Unity.Mathematics.Random::.ctor(System.UInt32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Random__ctor_m84FE6BF5CD2493F5460F36A914836E3D41B22D94_inline (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, uint32_t ___0_seed, const RuntimeMethod* method) ;
// System.Void Unity.Mathematics.Random::InitState(System.UInt32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Random_InitState_mCDAC36582272DAF59478FEA71F1307CF0E58716D_inline (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, uint32_t ___0_seed, const RuntimeMethod* method) ;
// System.Int32 Unity.Mathematics.Random::NextInt(System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Random_NextInt_m8D466D37B7144CBE66EFDE4A8A5C32EE8A19D4AE_inline (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, int32_t ___0_max, const RuntimeMethod* method) ;
// System.Int32 Unity.Mathematics.Random::NextInt(System.Int32,System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Random_NextInt_m794218A3A149A97A6276B37A546E381D44E0222B_inline (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, int32_t ___0_min, int32_t ___1_max, const RuntimeMethod* method) ;
// System.UInt32 Unity.Mathematics.Random::NextUInt()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t Random_NextUInt_m3ED6D47B649B9AD886A4C71EECCF014A933E1D41_inline (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, const RuntimeMethod* method) ;
// System.Boolean Unity.Mathematics.uint4::Equals(Unity.Mathematics.uint4)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool uint4_Equals_mAA88D674B2411C0A7D6C25AA596320EF79B58DDB_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_rhs, const RuntimeMethod* method) ;
// System.Boolean Unity.Mathematics.uint4::Equals(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool uint4_Equals_m689E5D21501C5846BF031E4864E8DBB46F467386 (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, RuntimeObject* ___0_o, const RuntimeMethod* method) ;
// System.UInt32 Unity.Mathematics.math::hash(Unity.Mathematics.uint4)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t math_hash_m1A4778A79FFB5E05B04BD09B0F85EA9483D8A3CA_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_v, const RuntimeMethod* method) ;
// System.Int32 Unity.Mathematics.uint4::GetHashCode()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t uint4_GetHashCode_m195FED91BE8D7CCE0039A8DE6B6B0BB849FBCC5A_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, const RuntimeMethod* method) ;
// System.String System.String::Format(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_m918500C1EFB475181349A79989BB79BB36102894 (String_t* ___0_format, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___1_args, const RuntimeMethod* method) ;
// System.String Unity.Mathematics.uint4::ToString()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* uint4_ToString_mEF61205FE152AAB74331B24080C347AA829E435B_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, const RuntimeMethod* method) ;
// System.String System.UInt32::ToString(System.String,System.IFormatProvider)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UInt32_ToString_m464396B0FE2115F3CEA38AEECDDB0FACC3AADADE (uint32_t* __this, String_t* ___0_format, RuntimeObject* ___1_provider, const RuntimeMethod* method) ;
// System.String Unity.Mathematics.uint4::ToString(System.String,System.IFormatProvider)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* uint4_ToString_m3350471364AB1D6033E088C0DF789376954921E3_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, String_t* ___0_format, RuntimeObject* ___1_formatProvider, const RuntimeMethod* method) ;
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
// System.Int32 System.BitConverter::SingleToInt32Bits(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t BitConverter_SingleToInt32Bits_mC760C7CFC89725E3CF68DC45BE3A9A42A7E7DA73_inline (float ___0_value, const RuntimeMethod* method) ;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Unity.IL2CPP.CompilerServices.Il2CppEagerStaticClassConstructionAttribute::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Il2CppEagerStaticClassConstructionAttribute__ctor_mCACE94326399F3059F318EB568BD8E45037E3139 (Il2CppEagerStaticClassConstructionAttribute_t01F60DE85CC3427802A892466A27D5245AEA1BAF* __this, const RuntimeMethod* method)
{
{
Attribute__ctor_m79ED1BF1EE36D1E417BA89A0D9F91F8AAD8D19E2(__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
// System.Int32 Unity.Mathematics.math::asint(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t math_asint_mBDED7FE966CA65F6A8ACEAEF8FD779B1B8998288 (float ___0_x, const RuntimeMethod* method)
{
IntFloatUnion_t549256A9DD754252DD18383D9CE7EA55EBBD6D96 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// u.intValue = 0;
(&V_0)->___intValue_0 = 0;
// u.floatValue = x;
float L_0 = ___0_x;
(&V_0)->___floatValue_1 = L_0;
// return u.intValue;
IntFloatUnion_t549256A9DD754252DD18383D9CE7EA55EBBD6D96 L_1 = V_0;
int32_t L_2 = L_1.___intValue_0;
return L_2;
}
}
// System.UInt32 Unity.Mathematics.math::asuint(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t math_asuint_m503D1ABF19E4BA615FD8AE1BF1A2E103BBED6139 (float ___0_x, const RuntimeMethod* method)
{
{
// public static uint asuint(float x) { return (uint)asint(x); }
float L_0 = ___0_x;
int32_t L_1;
L_1 = math_asint_mBDED7FE966CA65F6A8ACEAEF8FD779B1B8998288_inline(L_0, NULL);
return L_1;
}
}
// System.Single Unity.Mathematics.math::asfloat(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float math_asfloat_m9FA56DE5C61FCEF3DCD0675252D40DFD9C9B712F (int32_t ___0_x, const RuntimeMethod* method)
{
IntFloatUnion_t549256A9DD754252DD18383D9CE7EA55EBBD6D96 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// u.floatValue = 0;
(&V_0)->___floatValue_1 = (0.0f);
// u.intValue = x;
int32_t L_0 = ___0_x;
(&V_0)->___intValue_0 = L_0;
// return u.floatValue;
IntFloatUnion_t549256A9DD754252DD18383D9CE7EA55EBBD6D96 L_1 = V_0;
float L_2 = L_1.___floatValue_1;
return L_2;
}
}
// System.Single Unity.Mathematics.math::asfloat(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float math_asfloat_m20D259DAAB46464B59BD8BF5678F9D59800F70A9 (uint32_t ___0_x, const RuntimeMethod* method)
{
{
// public static float asfloat(uint x) { return asfloat((int)x); }
uint32_t L_0 = ___0_x;
float L_1;
L_1 = math_asfloat_m9FA56DE5C61FCEF3DCD0675252D40DFD9C9B712F_inline(L_0, NULL);
return L_1;
}
}
// System.Int32 Unity.Mathematics.math::min(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t math_min_m02D43DF516544C279AF660EA4731449C82991849 (int32_t ___0_x, int32_t ___1_y, const RuntimeMethod* method)
{
{
// public static int min(int x, int y) { return x < y ? x : y; }
int32_t L_0 = ___0_x;
int32_t L_1 = ___1_y;
if ((((int32_t)L_0) < ((int32_t)L_1)))
{
goto IL_0006;
}
}
{
int32_t L_2 = ___1_y;
return L_2;
}
IL_0006:
{
int32_t L_3 = ___0_x;
return L_3;
}
}
// System.Int64 Unity.Mathematics.math::min(System.Int64,System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t math_min_mA22BCFB62A81B533821704D26BE23D8D6402C8EB (int64_t ___0_x, int64_t ___1_y, const RuntimeMethod* method)
{
{
// public static long min(long x, long y) { return x < y ? x : y; }
int64_t L_0 = ___0_x;
int64_t L_1 = ___1_y;
if ((((int64_t)L_0) < ((int64_t)L_1)))
{
goto IL_0006;
}
}
{
int64_t L_2 = ___1_y;
return L_2;
}
IL_0006:
{
int64_t L_3 = ___0_x;
return L_3;
}
}
// System.Single Unity.Mathematics.math::min(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float math_min_m54FD010BEF505D2BA1F79FC793BEB0723C329C3B (float ___0_x, float ___1_y, const RuntimeMethod* method)
{
{
// public static float min(float x, float y) { return float.IsNaN(y) || x < y ? x : y; }
float L_0 = ___1_y;
bool L_1;
L_1 = Single_IsNaN_mFE637F6ECA9F7697CE8EFF56427858F4C5EDF75D_inline(L_0, NULL);
if (L_1)
{
goto IL_000e;
}
}
{
float L_2 = ___0_x;
float L_3 = ___1_y;
if ((((float)L_2) < ((float)L_3)))
{
goto IL_000e;
}
}
{
float L_4 = ___1_y;
return L_4;
}
IL_000e:
{
float L_5 = ___0_x;
return L_5;
}
}
// System.Int32 Unity.Mathematics.math::max(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t math_max_m9083201D37A8ED0157B127B5878D9B7F3A2A40BE (int32_t ___0_x, int32_t ___1_y, const RuntimeMethod* method)
{
{
// public static int max(int x, int y) { return x > y ? x : y; }
int32_t L_0 = ___0_x;
int32_t L_1 = ___1_y;
if ((((int32_t)L_0) > ((int32_t)L_1)))
{
goto IL_0006;
}
}
{
int32_t L_2 = ___1_y;
return L_2;
}
IL_0006:
{
int32_t L_3 = ___0_x;
return L_3;
}
}
// System.Int64 Unity.Mathematics.math::max(System.Int64,System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t math_max_mEBAE1BF7FA6B43BD0F4AE2E47FB6190041F8CE43 (int64_t ___0_x, int64_t ___1_y, const RuntimeMethod* method)
{
{
// public static long max(long x, long y) { return x > y ? x : y; }
int64_t L_0 = ___0_x;
int64_t L_1 = ___1_y;
if ((((int64_t)L_0) > ((int64_t)L_1)))
{
goto IL_0006;
}
}
{
int64_t L_2 = ___1_y;
return L_2;
}
IL_0006:
{
int64_t L_3 = ___0_x;
return L_3;
}
}
// System.Int32 Unity.Mathematics.math::abs(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t math_abs_mFF027629978A9039B059528ED3075D775AA0B0AB (int32_t ___0_x, const RuntimeMethod* method)
{
{
// public static int abs(int x) { return max(-x, x); }
int32_t L_0 = ___0_x;
int32_t L_1 = ___0_x;
int32_t L_2;
L_2 = math_max_m9083201D37A8ED0157B127B5878D9B7F3A2A40BE_inline(((-L_0)), L_1, NULL);
return L_2;
}
}
// System.Single Unity.Mathematics.math::abs(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float math_abs_m3D9508B36B045BFE7B89C6C69AD34596264E4FE1 (float ___0_x, const RuntimeMethod* method)
{
{
// public static float abs(float x) { return asfloat(asuint(x) & 0x7FFFFFFF); }
float L_0 = ___0_x;
uint32_t L_1;
L_1 = math_asuint_m503D1ABF19E4BA615FD8AE1BF1A2E103BBED6139_inline(L_0, NULL);
float L_2;
L_2 = math_asfloat_m20D259DAAB46464B59BD8BF5678F9D59800F70A9_inline(((int32_t)((int32_t)L_1&((int32_t)2147483647LL))), NULL);
return L_2;
}
}
// System.Double Unity.Mathematics.math::ceil(System.Double)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double math_ceil_mC879669549692BD4136602F9C3937B5D2B30981C (double ___0_x, 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;
}
{
// public static double ceil(double x) { return System.Math.Ceiling(x); }
double L_0 = ___0_x;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_1;
L_1 = ceil(L_0);
return L_1;
}
}
// System.Int32 Unity.Mathematics.math::lzcnt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t math_lzcnt_mA6B7E71DB1B5D4CE8B67C66FF1AC4339FA368D07 (int32_t ___0_x, const RuntimeMethod* method)
{
{
// public static int lzcnt(int x) { return lzcnt((uint)x); }
int32_t L_0 = ___0_x;
int32_t L_1;
L_1 = math_lzcnt_m121BDDDEE89F5A401E2E5F0AD900D22E47C8741C_inline(L_0, NULL);
return L_1;
}
}
// System.Int32 Unity.Mathematics.math::lzcnt(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t math_lzcnt_m121BDDDEE89F5A401E2E5F0AD900D22E47C8741C (uint32_t ___0_x, const RuntimeMethod* method)
{
LongDoubleUnion_tD71C400B6C4CD1A7F13CE8125AC6BBC7A22791CA V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (x == 0)
uint32_t L_0 = ___0_x;
if (L_0)
{
goto IL_0006;
}
}
{
// return 32;
return ((int32_t)32);
}
IL_0006:
{
// u.doubleValue = 0.0;
(&V_0)->___doubleValue_1 = (0.0);
// u.longValue = 0x4330000000000000L + x;
uint32_t L_1 = ___0_x;
(&V_0)->___longValue_0 = ((int64_t)il2cpp_codegen_add(((int64_t)4841369599423283200LL), ((int64_t)(uint64_t)L_1)));
// u.doubleValue -= 4503599627370496.0;
double* L_2 = (double*)(&(&V_0)->___doubleValue_1);
double* L_3 = L_2;
double L_4 = *((double*)L_3);
*((double*)L_3) = (double)((double)il2cpp_codegen_subtract(L_4, (4503599627370496.0)));
// return 0x41E - (int)(u.longValue >> 52);
LongDoubleUnion_tD71C400B6C4CD1A7F13CE8125AC6BBC7A22791CA L_5 = V_0;
int64_t L_6 = L_5.___longValue_0;
return ((int32_t)il2cpp_codegen_subtract(((int32_t)1054), ((int32_t)((int64_t)(L_6>>((int32_t)52))))));
}
}
// System.Int32 Unity.Mathematics.math::tzcnt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t math_tzcnt_m85FEAD596A8E327F7B6820310B7FBD9822BA735C (int32_t ___0_x, const RuntimeMethod* method)
{
{
// public static int tzcnt(int x) { return tzcnt((uint)x); }
int32_t L_0 = ___0_x;
int32_t L_1;
L_1 = math_tzcnt_m07FD7550AAB5D94312E99571B112D652E8230360_inline(L_0, NULL);
return L_1;
}
}
// System.Int32 Unity.Mathematics.math::tzcnt(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t math_tzcnt_m07FD7550AAB5D94312E99571B112D652E8230360 (uint32_t ___0_x, const RuntimeMethod* method)
{
LongDoubleUnion_tD71C400B6C4CD1A7F13CE8125AC6BBC7A22791CA V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (x == 0)
uint32_t L_0 = ___0_x;
if (L_0)
{
goto IL_0006;
}
}
{
// return 32;
return ((int32_t)32);
}
IL_0006:
{
// x &= (uint)-x;
uint32_t L_1 = ___0_x;
uint32_t L_2 = ___0_x;
___0_x = ((int32_t)((int32_t)L_1&((int32_t)(uint32_t)((-((int64_t)(uint64_t)L_2))))));
// u.doubleValue = 0.0;
(&V_0)->___doubleValue_1 = (0.0);
// u.longValue = 0x4330000000000000L + x;
uint32_t L_3 = ___0_x;
(&V_0)->___longValue_0 = ((int64_t)il2cpp_codegen_add(((int64_t)4841369599423283200LL), ((int64_t)(uint64_t)L_3)));
// u.doubleValue -= 4503599627370496.0;
double* L_4 = (double*)(&(&V_0)->___doubleValue_1);
double* L_5 = L_4;
double L_6 = *((double*)L_5);
*((double*)L_5) = (double)((double)il2cpp_codegen_subtract(L_6, (4503599627370496.0)));
// return (int)(u.longValue >> 52) - 0x3FF;
LongDoubleUnion_tD71C400B6C4CD1A7F13CE8125AC6BBC7A22791CA L_7 = V_0;
int64_t L_8 = L_7.___longValue_0;
return ((int32_t)il2cpp_codegen_subtract(((int32_t)((int64_t)(L_8>>((int32_t)52)))), ((int32_t)1023)));
}
}
// System.Int32 Unity.Mathematics.math::ceilpow2(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t math_ceilpow2_mA00505409975D36AB3D7658687AC3BD5A26F3769 (int32_t ___0_x, const RuntimeMethod* method)
{
{
// x -= 1;
int32_t L_0 = ___0_x;
___0_x = ((int32_t)il2cpp_codegen_subtract(L_0, 1));
// x |= x >> 1;
int32_t L_1 = ___0_x;
int32_t L_2 = ___0_x;
___0_x = ((int32_t)(L_1|((int32_t)(L_2>>1))));
// x |= x >> 2;
int32_t L_3 = ___0_x;
int32_t L_4 = ___0_x;
___0_x = ((int32_t)(L_3|((int32_t)(L_4>>2))));
// x |= x >> 4;
int32_t L_5 = ___0_x;
int32_t L_6 = ___0_x;
___0_x = ((int32_t)(L_5|((int32_t)(L_6>>4))));
// x |= x >> 8;
int32_t L_7 = ___0_x;
int32_t L_8 = ___0_x;
___0_x = ((int32_t)(L_7|((int32_t)(L_8>>8))));
// x |= x >> 16;
int32_t L_9 = ___0_x;
int32_t L_10 = ___0_x;
___0_x = ((int32_t)(L_9|((int32_t)(L_10>>((int32_t)16)))));
// return x + 1;
int32_t L_11 = ___0_x;
return ((int32_t)il2cpp_codegen_add(L_11, 1));
}
}
// System.Int64 Unity.Mathematics.math::ceilpow2(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t math_ceilpow2_m7941384EAF6F776691CD2601130055362B0C967C (int64_t ___0_x, const RuntimeMethod* method)
{
{
// x -= 1;
int64_t L_0 = ___0_x;
___0_x = ((int64_t)il2cpp_codegen_subtract(L_0, ((int64_t)1)));
// x |= x >> 1;
int64_t L_1 = ___0_x;
int64_t L_2 = ___0_x;
___0_x = ((int64_t)(L_1|((int64_t)(L_2>>1))));
// x |= x >> 2;
int64_t L_3 = ___0_x;
int64_t L_4 = ___0_x;
___0_x = ((int64_t)(L_3|((int64_t)(L_4>>2))));
// x |= x >> 4;
int64_t L_5 = ___0_x;
int64_t L_6 = ___0_x;
___0_x = ((int64_t)(L_5|((int64_t)(L_6>>4))));
// x |= x >> 8;
int64_t L_7 = ___0_x;
int64_t L_8 = ___0_x;
___0_x = ((int64_t)(L_7|((int64_t)(L_8>>8))));
// x |= x >> 16;
int64_t L_9 = ___0_x;
int64_t L_10 = ___0_x;
___0_x = ((int64_t)(L_9|((int64_t)(L_10>>((int32_t)16)))));
// x |= x >> 32;
int64_t L_11 = ___0_x;
int64_t L_12 = ___0_x;
___0_x = ((int64_t)(L_11|((int64_t)(L_12>>((int32_t)32)))));
// return x + 1;
int64_t L_13 = ___0_x;
return ((int64_t)il2cpp_codegen_add(L_13, ((int64_t)1)));
}
}
// System.UInt32 Unity.Mathematics.math::csum(Unity.Mathematics.uint4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t math_csum_m6A99E69A84442A729781A97F78B260223DD01D8F (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_x, const RuntimeMethod* method)
{
{
// public static uint csum(uint4 x) { return x.x + x.y + x.z + x.w; }
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_0 = ___0_x;
uint32_t L_1 = L_0.___x_0;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_2 = ___0_x;
uint32_t L_3 = L_2.___y_1;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_4 = ___0_x;
uint32_t L_5 = L_4.___z_2;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_6 = ___0_x;
uint32_t L_7 = L_6.___w_3;
return ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)L_3)), (int32_t)L_5)), (int32_t)L_7));
}
}
// Unity.Mathematics.uint4 Unity.Mathematics.math::uint4(System.UInt32,System.UInt32,System.UInt32,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 math_uint4_m7F6A5341327B9EF6B80C82FD1B93E4F32287A336 (uint32_t ___0_x, uint32_t ___1_y, uint32_t ___2_z, uint32_t ___3_w, const RuntimeMethod* method)
{
{
// public static uint4 uint4(uint x, uint y, uint z, uint w) { return new uint4(x, y, z, w); }
uint32_t L_0 = ___0_x;
uint32_t L_1 = ___1_y;
uint32_t L_2 = ___2_z;
uint32_t L_3 = ___3_w;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_4;
memset((&L_4), 0, sizeof(L_4));
uint4__ctor_m59B6A219A0285C60FCF2977679BF89C72B502008_inline((&L_4), L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
return L_4;
}
}
// System.UInt32 Unity.Mathematics.math::hash(Unity.Mathematics.uint4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t math_hash_m1A4778A79FFB5E05B04BD09B0F85EA9483D8A3CA (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_v, const RuntimeMethod* method)
{
{
// return csum(v * uint4(0xB492BF15u, 0xD37220E3u, 0x7AA2C2BDu, 0xE16BC89Du)) + 0x7AA07CD3u;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_0 = ___0_v;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_1;
L_1 = math_uint4_m7F6A5341327B9EF6B80C82FD1B93E4F32287A336_inline(((int32_t)-1265451243), ((int32_t)-747495197), ((int32_t)2057487037), ((int32_t)-513029987), NULL);
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_2;
L_2 = uint4_op_Multiply_mDD93D0730642A1089848321B9B0E5E923EE575ED_inline(L_0, L_1, NULL);
uint32_t L_3;
L_3 = math_csum_m6A99E69A84442A729781A97F78B260223DD01D8F_inline(L_2, NULL);
return ((int32_t)il2cpp_codegen_add((int32_t)L_3, ((int32_t)2057338067)));
}
}
#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
// System.Void Unity.Mathematics.Random::.ctor(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Random__ctor_m84FE6BF5CD2493F5460F36A914836E3D41B22D94 (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, uint32_t ___0_seed, const RuntimeMethod* method)
{
{
// state = seed;
uint32_t L_0 = ___0_seed;
__this->___state_0 = L_0;
// NextState();
uint32_t L_1;
L_1 = Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline(__this, NULL);
// }
return;
}
}
IL2CPP_EXTERN_C void Random__ctor_m84FE6BF5CD2493F5460F36A914836E3D41B22D94_AdjustorThunk (RuntimeObject* __this, uint32_t ___0_seed, const RuntimeMethod* method)
{
Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37*>(__this + _offset);
Random__ctor_m84FE6BF5CD2493F5460F36A914836E3D41B22D94_inline(_thisAdjusted, ___0_seed, method);
}
// System.Void Unity.Mathematics.Random::InitState(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Random_InitState_mCDAC36582272DAF59478FEA71F1307CF0E58716D (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, uint32_t ___0_seed, const RuntimeMethod* method)
{
{
// state = seed;
uint32_t L_0 = ___0_seed;
__this->___state_0 = L_0;
// NextState();
uint32_t L_1;
L_1 = Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline(__this, NULL);
// }
return;
}
}
IL2CPP_EXTERN_C void Random_InitState_mCDAC36582272DAF59478FEA71F1307CF0E58716D_AdjustorThunk (RuntimeObject* __this, uint32_t ___0_seed, const RuntimeMethod* method)
{
Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37*>(__this + _offset);
Random_InitState_mCDAC36582272DAF59478FEA71F1307CF0E58716D_inline(_thisAdjusted, ___0_seed, method);
}
// System.Int32 Unity.Mathematics.Random::NextInt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Random_NextInt_m8D466D37B7144CBE66EFDE4A8A5C32EE8A19D4AE (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, int32_t ___0_max, const RuntimeMethod* method)
{
{
// return (int)((NextState() * (ulong)max) >> 32);
uint32_t L_0;
L_0 = Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline(__this, NULL);
int32_t L_1 = ___0_max;
return ((int32_t)((int64_t)((uint64_t)((int64_t)il2cpp_codegen_multiply(((int64_t)(uint64_t)L_0), ((int64_t)L_1)))>>((int32_t)32))));
}
}
IL2CPP_EXTERN_C int32_t Random_NextInt_m8D466D37B7144CBE66EFDE4A8A5C32EE8A19D4AE_AdjustorThunk (RuntimeObject* __this, int32_t ___0_max, const RuntimeMethod* method)
{
Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37*>(__this + _offset);
int32_t _returnValue;
_returnValue = Random_NextInt_m8D466D37B7144CBE66EFDE4A8A5C32EE8A19D4AE_inline(_thisAdjusted, ___0_max, method);
return _returnValue;
}
// System.Int32 Unity.Mathematics.Random::NextInt(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Random_NextInt_m794218A3A149A97A6276B37A546E381D44E0222B (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, int32_t ___0_min, int32_t ___1_max, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
{
// uint range = (uint)(max - min);
int32_t L_0 = ___1_max;
int32_t L_1 = ___0_min;
V_0 = ((int32_t)il2cpp_codegen_subtract(L_0, L_1));
// return (int)(NextState() * (ulong)range >> 32) + min;
uint32_t L_2;
L_2 = Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline(__this, NULL);
uint32_t L_3 = V_0;
int32_t L_4 = ___0_min;
return ((int32_t)il2cpp_codegen_add(((int32_t)((int64_t)((uint64_t)((int64_t)il2cpp_codegen_multiply(((int64_t)(uint64_t)L_2), ((int64_t)(uint64_t)L_3)))>>((int32_t)32)))), L_4));
}
}
IL2CPP_EXTERN_C int32_t Random_NextInt_m794218A3A149A97A6276B37A546E381D44E0222B_AdjustorThunk (RuntimeObject* __this, int32_t ___0_min, int32_t ___1_max, const RuntimeMethod* method)
{
Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37*>(__this + _offset);
int32_t _returnValue;
_returnValue = Random_NextInt_m794218A3A149A97A6276B37A546E381D44E0222B_inline(_thisAdjusted, ___0_min, ___1_max, method);
return _returnValue;
}
// System.UInt32 Unity.Mathematics.Random::NextUInt()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Random_NextUInt_m3ED6D47B649B9AD886A4C71EECCF014A933E1D41 (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, const RuntimeMethod* method)
{
{
// return NextState() - 1u;
uint32_t L_0;
L_0 = Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline(__this, NULL);
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_0, 1));
}
}
IL2CPP_EXTERN_C uint32_t Random_NextUInt_m3ED6D47B649B9AD886A4C71EECCF014A933E1D41_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
{
Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37*>(__this + _offset);
uint32_t _returnValue;
_returnValue = Random_NextUInt_m3ED6D47B649B9AD886A4C71EECCF014A933E1D41_inline(_thisAdjusted, method);
return _returnValue;
}
// System.UInt32 Unity.Mathematics.Random::NextState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7 (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, const RuntimeMethod* method)
{
{
// uint t = state;
uint32_t L_0 = __this->___state_0;
// state ^= state << 13;
uint32_t L_1 = __this->___state_0;
uint32_t L_2 = __this->___state_0;
__this->___state_0 = ((int32_t)((int32_t)L_1^((int32_t)((int32_t)L_2<<((int32_t)13)))));
// state ^= state >> 17;
uint32_t L_3 = __this->___state_0;
uint32_t L_4 = __this->___state_0;
__this->___state_0 = ((int32_t)((int32_t)L_3^((int32_t)((uint32_t)L_4>>((int32_t)17)))));
// state ^= state << 5;
uint32_t L_5 = __this->___state_0;
uint32_t L_6 = __this->___state_0;
__this->___state_0 = ((int32_t)((int32_t)L_5^((int32_t)((int32_t)L_6<<5))));
// return t;
return L_0;
}
}
IL2CPP_EXTERN_C uint32_t Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
{
Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37*>(__this + _offset);
uint32_t _returnValue;
_returnValue = Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline(_thisAdjusted, method);
return _returnValue;
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Unity.Mathematics.uint4::.ctor(System.UInt32,System.UInt32,System.UInt32,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void uint4__ctor_m59B6A219A0285C60FCF2977679BF89C72B502008 (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, uint32_t ___0_x, uint32_t ___1_y, uint32_t ___2_z, uint32_t ___3_w, const RuntimeMethod* method)
{
{
// this.x = x;
uint32_t L_0 = ___0_x;
__this->___x_0 = L_0;
// this.y = y;
uint32_t L_1 = ___1_y;
__this->___y_1 = L_1;
// this.z = z;
uint32_t L_2 = ___2_z;
__this->___z_2 = L_2;
// this.w = w;
uint32_t L_3 = ___3_w;
__this->___w_3 = L_3;
// }
return;
}
}
IL2CPP_EXTERN_C void uint4__ctor_m59B6A219A0285C60FCF2977679BF89C72B502008_AdjustorThunk (RuntimeObject* __this, uint32_t ___0_x, uint32_t ___1_y, uint32_t ___2_z, uint32_t ___3_w, const RuntimeMethod* method)
{
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9*>(__this + _offset);
uint4__ctor_m59B6A219A0285C60FCF2977679BF89C72B502008_inline(_thisAdjusted, ___0_x, ___1_y, ___2_z, ___3_w, method);
}
// Unity.Mathematics.uint4 Unity.Mathematics.uint4::op_Multiply(Unity.Mathematics.uint4,Unity.Mathematics.uint4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 uint4_op_Multiply_mDD93D0730642A1089848321B9B0E5E923EE575ED (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_lhs, uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___1_rhs, const RuntimeMethod* method)
{
{
// public static uint4 operator * (uint4 lhs, uint4 rhs) { return new uint4 (lhs.x * rhs.x, lhs.y * rhs.y, lhs.z * rhs.z, lhs.w * rhs.w); }
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_0 = ___0_lhs;
uint32_t L_1 = L_0.___x_0;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_2 = ___1_rhs;
uint32_t L_3 = L_2.___x_0;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_4 = ___0_lhs;
uint32_t L_5 = L_4.___y_1;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_6 = ___1_rhs;
uint32_t L_7 = L_6.___y_1;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_8 = ___0_lhs;
uint32_t L_9 = L_8.___z_2;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_10 = ___1_rhs;
uint32_t L_11 = L_10.___z_2;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_12 = ___0_lhs;
uint32_t L_13 = L_12.___w_3;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_14 = ___1_rhs;
uint32_t L_15 = L_14.___w_3;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_16;
memset((&L_16), 0, sizeof(L_16));
uint4__ctor_m59B6A219A0285C60FCF2977679BF89C72B502008_inline((&L_16), ((int32_t)il2cpp_codegen_multiply((int32_t)L_1, (int32_t)L_3)), ((int32_t)il2cpp_codegen_multiply((int32_t)L_5, (int32_t)L_7)), ((int32_t)il2cpp_codegen_multiply((int32_t)L_9, (int32_t)L_11)), ((int32_t)il2cpp_codegen_multiply((int32_t)L_13, (int32_t)L_15)), /*hidden argument*/NULL);
return L_16;
}
}
// System.Boolean Unity.Mathematics.uint4::Equals(Unity.Mathematics.uint4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool uint4_Equals_mAA88D674B2411C0A7D6C25AA596320EF79B58DDB (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_rhs, const RuntimeMethod* method)
{
{
// public bool Equals(uint4 rhs) { return x == rhs.x && y == rhs.y && z == rhs.z && w == rhs.w; }
uint32_t L_0 = __this->___x_0;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_1 = ___0_rhs;
uint32_t L_2 = L_1.___x_0;
if ((!(((uint32_t)L_0) == ((uint32_t)L_2))))
{
goto IL_0039;
}
}
{
uint32_t L_3 = __this->___y_1;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_4 = ___0_rhs;
uint32_t L_5 = L_4.___y_1;
if ((!(((uint32_t)L_3) == ((uint32_t)L_5))))
{
goto IL_0039;
}
}
{
uint32_t L_6 = __this->___z_2;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_7 = ___0_rhs;
uint32_t L_8 = L_7.___z_2;
if ((!(((uint32_t)L_6) == ((uint32_t)L_8))))
{
goto IL_0039;
}
}
{
uint32_t L_9 = __this->___w_3;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_10 = ___0_rhs;
uint32_t L_11 = L_10.___w_3;
return (bool)((((int32_t)L_9) == ((int32_t)L_11))? 1 : 0);
}
IL_0039:
{
return (bool)0;
}
}
IL2CPP_EXTERN_C bool uint4_Equals_mAA88D674B2411C0A7D6C25AA596320EF79B58DDB_AdjustorThunk (RuntimeObject* __this, uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_rhs, const RuntimeMethod* method)
{
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9*>(__this + _offset);
bool _returnValue;
_returnValue = uint4_Equals_mAA88D674B2411C0A7D6C25AA596320EF79B58DDB_inline(_thisAdjusted, ___0_rhs, method);
return _returnValue;
}
// System.Boolean Unity.Mathematics.uint4::Equals(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool uint4_Equals_m689E5D21501C5846BF031E4864E8DBB46F467386 (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, RuntimeObject* ___0_o, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public override bool Equals(object o) { return o is uint4 converted && Equals(converted); }
RuntimeObject* L_0 = ___0_o;
if (!((RuntimeObject*)IsInstSealed((RuntimeObject*)L_0, uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9_il2cpp_TypeInfo_var)))
{
goto IL_0017;
}
}
{
RuntimeObject* L_1 = ___0_o;
V_0 = ((*(uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9*)((uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9*)(uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9*)UnBox(L_1, uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9_il2cpp_TypeInfo_var))));
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_2 = V_0;
bool L_3;
L_3 = uint4_Equals_mAA88D674B2411C0A7D6C25AA596320EF79B58DDB_inline(__this, L_2, NULL);
return L_3;
}
IL_0017:
{
return (bool)0;
}
}
IL2CPP_EXTERN_C bool uint4_Equals_m689E5D21501C5846BF031E4864E8DBB46F467386_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_o, const RuntimeMethod* method)
{
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9*>(__this + _offset);
bool _returnValue;
_returnValue = uint4_Equals_m689E5D21501C5846BF031E4864E8DBB46F467386(_thisAdjusted, ___0_o, method);
return _returnValue;
}
// System.Int32 Unity.Mathematics.uint4::GetHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t uint4_GetHashCode_m195FED91BE8D7CCE0039A8DE6B6B0BB849FBCC5A (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, const RuntimeMethod* method)
{
{
// public override int GetHashCode() { return (int)math.hash(this); }
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_0 = (*(uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9*)__this);
uint32_t L_1;
L_1 = math_hash_m1A4778A79FFB5E05B04BD09B0F85EA9483D8A3CA_inline(L_0, NULL);
return L_1;
}
}
IL2CPP_EXTERN_C int32_t uint4_GetHashCode_m195FED91BE8D7CCE0039A8DE6B6B0BB849FBCC5A_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
{
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9*>(__this + _offset);
int32_t _returnValue;
_returnValue = uint4_GetHashCode_m195FED91BE8D7CCE0039A8DE6B6B0BB849FBCC5A_inline(_thisAdjusted, method);
return _returnValue;
}
// System.String Unity.Mathematics.uint4::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* uint4_ToString_mEF61205FE152AAB74331B24080C347AA829E435B (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE134155080D59FDE2A83A55D0BB359039175A4EA);
s_Il2CppMethodInitialized = true;
}
{
// return string.Format("uint4({0}, {1}, {2}, {3})", x, y, z, w);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_0 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = L_0;
uint32_t L_2 = __this->___x_0;
uint32_t L_3 = L_2;
RuntimeObject* L_4 = Box(UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B_il2cpp_TypeInfo_var, &L_3);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_4);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_4);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_5 = L_1;
uint32_t L_6 = __this->___y_1;
uint32_t L_7 = L_6;
RuntimeObject* L_8 = Box(UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B_il2cpp_TypeInfo_var, &L_7);
NullCheck(L_5);
ArrayElementTypeCheck (L_5, L_8);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_8);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_9 = L_5;
uint32_t L_10 = __this->___z_2;
uint32_t L_11 = L_10;
RuntimeObject* L_12 = Box(UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B_il2cpp_TypeInfo_var, &L_11);
NullCheck(L_9);
ArrayElementTypeCheck (L_9, L_12);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_12);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_13 = L_9;
uint32_t L_14 = __this->___w_3;
uint32_t L_15 = L_14;
RuntimeObject* L_16 = Box(UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B_il2cpp_TypeInfo_var, &L_15);
NullCheck(L_13);
ArrayElementTypeCheck (L_13, L_16);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject*)L_16);
String_t* L_17;
L_17 = String_Format_m918500C1EFB475181349A79989BB79BB36102894(_stringLiteralE134155080D59FDE2A83A55D0BB359039175A4EA, L_13, NULL);
return L_17;
}
}
IL2CPP_EXTERN_C String_t* uint4_ToString_mEF61205FE152AAB74331B24080C347AA829E435B_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
{
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9*>(__this + _offset);
String_t* _returnValue;
_returnValue = uint4_ToString_mEF61205FE152AAB74331B24080C347AA829E435B_inline(_thisAdjusted, method);
return _returnValue;
}
// System.String Unity.Mathematics.uint4::ToString(System.String,System.IFormatProvider)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* uint4_ToString_m3350471364AB1D6033E088C0DF789376954921E3 (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, String_t* ___0_format, RuntimeObject* ___1_formatProvider, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE134155080D59FDE2A83A55D0BB359039175A4EA);
s_Il2CppMethodInitialized = true;
}
{
// return string.Format("uint4({0}, {1}, {2}, {3})", x.ToString(format, formatProvider), y.ToString(format, formatProvider), z.ToString(format, formatProvider), w.ToString(format, formatProvider));
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_0 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = L_0;
uint32_t* L_2 = (uint32_t*)(&__this->___x_0);
String_t* L_3 = ___0_format;
RuntimeObject* L_4 = ___1_formatProvider;
String_t* L_5;
L_5 = UInt32_ToString_m464396B0FE2115F3CEA38AEECDDB0FACC3AADADE(L_2, L_3, L_4, NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_5);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_5);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = L_1;
uint32_t* L_7 = (uint32_t*)(&__this->___y_1);
String_t* L_8 = ___0_format;
RuntimeObject* L_9 = ___1_formatProvider;
String_t* L_10;
L_10 = UInt32_ToString_m464396B0FE2115F3CEA38AEECDDB0FACC3AADADE(L_7, L_8, L_9, NULL);
NullCheck(L_6);
ArrayElementTypeCheck (L_6, L_10);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_10);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_11 = L_6;
uint32_t* L_12 = (uint32_t*)(&__this->___z_2);
String_t* L_13 = ___0_format;
RuntimeObject* L_14 = ___1_formatProvider;
String_t* L_15;
L_15 = UInt32_ToString_m464396B0FE2115F3CEA38AEECDDB0FACC3AADADE(L_12, L_13, L_14, NULL);
NullCheck(L_11);
ArrayElementTypeCheck (L_11, L_15);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_15);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_16 = L_11;
uint32_t* L_17 = (uint32_t*)(&__this->___w_3);
String_t* L_18 = ___0_format;
RuntimeObject* L_19 = ___1_formatProvider;
String_t* L_20;
L_20 = UInt32_ToString_m464396B0FE2115F3CEA38AEECDDB0FACC3AADADE(L_17, L_18, L_19, NULL);
NullCheck(L_16);
ArrayElementTypeCheck (L_16, L_20);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject*)L_20);
String_t* L_21;
L_21 = String_Format_m918500C1EFB475181349A79989BB79BB36102894(_stringLiteralE134155080D59FDE2A83A55D0BB359039175A4EA, L_16, NULL);
return L_21;
}
}
IL2CPP_EXTERN_C String_t* uint4_ToString_m3350471364AB1D6033E088C0DF789376954921E3_AdjustorThunk (RuntimeObject* __this, String_t* ___0_format, RuntimeObject* ___1_formatProvider, const RuntimeMethod* method)
{
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* _thisAdjusted;
int32_t _offset = 1;
_thisAdjusted = reinterpret_cast<uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9*>(__this + _offset);
String_t* _returnValue;
_returnValue = uint4_ToString_m3350471364AB1D6033E088C0DF789376954921E3_inline(_thisAdjusted, ___0_format, ___1_formatProvider, method);
return _returnValue;
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Unity.Mathematics.uint4/DebuggerProxy::.ctor(Unity.Mathematics.uint4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DebuggerProxy__ctor_m1F653087085C8A6C95D4284E9C55C18A67B0F532 (DebuggerProxy_t3A8A5A2398C653D7A869D7B07919E08EB23696E8* __this, uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_v, const RuntimeMethod* method)
{
{
// public DebuggerProxy(uint4 v)
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
// x = v.x;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_0 = ___0_v;
uint32_t L_1 = L_0.___x_0;
__this->___x_0 = L_1;
// y = v.y;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_2 = ___0_v;
uint32_t L_3 = L_2.___y_1;
__this->___y_1 = L_3;
// z = v.z;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_4 = ___0_v;
uint32_t L_5 = L_4.___z_2;
__this->___z_2 = L_5;
// w = v.w;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_6 = ___0_v;
uint32_t L_7 = L_6.___w_3;
__this->___w_3 = L_7;
// }
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t math_asint_mBDED7FE966CA65F6A8ACEAEF8FD779B1B8998288_inline (float ___0_x, const RuntimeMethod* method)
{
IntFloatUnion_t549256A9DD754252DD18383D9CE7EA55EBBD6D96 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// u.intValue = 0;
(&V_0)->___intValue_0 = 0;
// u.floatValue = x;
float L_0 = ___0_x;
(&V_0)->___floatValue_1 = L_0;
// return u.intValue;
IntFloatUnion_t549256A9DD754252DD18383D9CE7EA55EBBD6D96 L_1 = V_0;
int32_t L_2 = L_1.___intValue_0;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_asfloat_m9FA56DE5C61FCEF3DCD0675252D40DFD9C9B712F_inline (int32_t ___0_x, const RuntimeMethod* method)
{
IntFloatUnion_t549256A9DD754252DD18383D9CE7EA55EBBD6D96 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// u.floatValue = 0;
(&V_0)->___floatValue_1 = (0.0f);
// u.intValue = x;
int32_t L_0 = ___0_x;
(&V_0)->___intValue_0 = L_0;
// return u.floatValue;
IntFloatUnion_t549256A9DD754252DD18383D9CE7EA55EBBD6D96 L_1 = V_0;
float L_2 = L_1.___floatValue_1;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Single_IsNaN_mFE637F6ECA9F7697CE8EFF56427858F4C5EDF75D_inline (float ___0_f, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BitConverter_t6E99605185963BC12B3D369E13F2B88997E64A27_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
float L_0 = ___0_f;
il2cpp_codegen_runtime_class_init_inline(BitConverter_t6E99605185963BC12B3D369E13F2B88997E64A27_il2cpp_TypeInfo_var);
int32_t L_1;
L_1 = BitConverter_SingleToInt32Bits_mC760C7CFC89725E3CF68DC45BE3A9A42A7E7DA73_inline(L_0, NULL);
return (bool)((((int32_t)((int32_t)(L_1&((int32_t)2147483647LL)))) > ((int32_t)((int32_t)2139095040)))? 1 : 0);
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t math_max_m9083201D37A8ED0157B127B5878D9B7F3A2A40BE_inline (int32_t ___0_x, int32_t ___1_y, const RuntimeMethod* method)
{
{
// public static int max(int x, int y) { return x > y ? x : y; }
int32_t L_0 = ___0_x;
int32_t L_1 = ___1_y;
if ((((int32_t)L_0) > ((int32_t)L_1)))
{
goto IL_0006;
}
}
{
int32_t L_2 = ___1_y;
return L_2;
}
IL_0006:
{
int32_t L_3 = ___0_x;
return L_3;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t math_asuint_m503D1ABF19E4BA615FD8AE1BF1A2E103BBED6139_inline (float ___0_x, const RuntimeMethod* method)
{
{
// public static uint asuint(float x) { return (uint)asint(x); }
float L_0 = ___0_x;
int32_t L_1;
L_1 = math_asint_mBDED7FE966CA65F6A8ACEAEF8FD779B1B8998288_inline(L_0, NULL);
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float math_asfloat_m20D259DAAB46464B59BD8BF5678F9D59800F70A9_inline (uint32_t ___0_x, const RuntimeMethod* method)
{
{
// public static float asfloat(uint x) { return asfloat((int)x); }
uint32_t L_0 = ___0_x;
float L_1;
L_1 = math_asfloat_m9FA56DE5C61FCEF3DCD0675252D40DFD9C9B712F_inline(L_0, NULL);
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t math_lzcnt_m121BDDDEE89F5A401E2E5F0AD900D22E47C8741C_inline (uint32_t ___0_x, const RuntimeMethod* method)
{
LongDoubleUnion_tD71C400B6C4CD1A7F13CE8125AC6BBC7A22791CA V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (x == 0)
uint32_t L_0 = ___0_x;
if (L_0)
{
goto IL_0006;
}
}
{
// return 32;
return ((int32_t)32);
}
IL_0006:
{
// u.doubleValue = 0.0;
(&V_0)->___doubleValue_1 = (0.0);
// u.longValue = 0x4330000000000000L + x;
uint32_t L_1 = ___0_x;
(&V_0)->___longValue_0 = ((int64_t)il2cpp_codegen_add(((int64_t)4841369599423283200LL), ((int64_t)(uint64_t)L_1)));
// u.doubleValue -= 4503599627370496.0;
double* L_2 = (double*)(&(&V_0)->___doubleValue_1);
double* L_3 = L_2;
double L_4 = *((double*)L_3);
*((double*)L_3) = (double)((double)il2cpp_codegen_subtract(L_4, (4503599627370496.0)));
// return 0x41E - (int)(u.longValue >> 52);
LongDoubleUnion_tD71C400B6C4CD1A7F13CE8125AC6BBC7A22791CA L_5 = V_0;
int64_t L_6 = L_5.___longValue_0;
return ((int32_t)il2cpp_codegen_subtract(((int32_t)1054), ((int32_t)((int64_t)(L_6>>((int32_t)52))))));
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t math_tzcnt_m07FD7550AAB5D94312E99571B112D652E8230360_inline (uint32_t ___0_x, const RuntimeMethod* method)
{
LongDoubleUnion_tD71C400B6C4CD1A7F13CE8125AC6BBC7A22791CA V_0;
memset((&V_0), 0, sizeof(V_0));
{
// if (x == 0)
uint32_t L_0 = ___0_x;
if (L_0)
{
goto IL_0006;
}
}
{
// return 32;
return ((int32_t)32);
}
IL_0006:
{
// x &= (uint)-x;
uint32_t L_1 = ___0_x;
uint32_t L_2 = ___0_x;
___0_x = ((int32_t)((int32_t)L_1&((int32_t)(uint32_t)((-((int64_t)(uint64_t)L_2))))));
// u.doubleValue = 0.0;
(&V_0)->___doubleValue_1 = (0.0);
// u.longValue = 0x4330000000000000L + x;
uint32_t L_3 = ___0_x;
(&V_0)->___longValue_0 = ((int64_t)il2cpp_codegen_add(((int64_t)4841369599423283200LL), ((int64_t)(uint64_t)L_3)));
// u.doubleValue -= 4503599627370496.0;
double* L_4 = (double*)(&(&V_0)->___doubleValue_1);
double* L_5 = L_4;
double L_6 = *((double*)L_5);
*((double*)L_5) = (double)((double)il2cpp_codegen_subtract(L_6, (4503599627370496.0)));
// return (int)(u.longValue >> 52) - 0x3FF;
LongDoubleUnion_tD71C400B6C4CD1A7F13CE8125AC6BBC7A22791CA L_7 = V_0;
int64_t L_8 = L_7.___longValue_0;
return ((int32_t)il2cpp_codegen_subtract(((int32_t)((int64_t)(L_8>>((int32_t)52)))), ((int32_t)1023)));
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void uint4__ctor_m59B6A219A0285C60FCF2977679BF89C72B502008_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, uint32_t ___0_x, uint32_t ___1_y, uint32_t ___2_z, uint32_t ___3_w, const RuntimeMethod* method)
{
{
// this.x = x;
uint32_t L_0 = ___0_x;
__this->___x_0 = L_0;
// this.y = y;
uint32_t L_1 = ___1_y;
__this->___y_1 = L_1;
// this.z = z;
uint32_t L_2 = ___2_z;
__this->___z_2 = L_2;
// this.w = w;
uint32_t L_3 = ___3_w;
__this->___w_3 = L_3;
// }
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 math_uint4_m7F6A5341327B9EF6B80C82FD1B93E4F32287A336_inline (uint32_t ___0_x, uint32_t ___1_y, uint32_t ___2_z, uint32_t ___3_w, const RuntimeMethod* method)
{
{
// public static uint4 uint4(uint x, uint y, uint z, uint w) { return new uint4(x, y, z, w); }
uint32_t L_0 = ___0_x;
uint32_t L_1 = ___1_y;
uint32_t L_2 = ___2_z;
uint32_t L_3 = ___3_w;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_4;
memset((&L_4), 0, sizeof(L_4));
uint4__ctor_m59B6A219A0285C60FCF2977679BF89C72B502008_inline((&L_4), L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 uint4_op_Multiply_mDD93D0730642A1089848321B9B0E5E923EE575ED_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_lhs, uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___1_rhs, const RuntimeMethod* method)
{
{
// public static uint4 operator * (uint4 lhs, uint4 rhs) { return new uint4 (lhs.x * rhs.x, lhs.y * rhs.y, lhs.z * rhs.z, lhs.w * rhs.w); }
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_0 = ___0_lhs;
uint32_t L_1 = L_0.___x_0;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_2 = ___1_rhs;
uint32_t L_3 = L_2.___x_0;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_4 = ___0_lhs;
uint32_t L_5 = L_4.___y_1;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_6 = ___1_rhs;
uint32_t L_7 = L_6.___y_1;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_8 = ___0_lhs;
uint32_t L_9 = L_8.___z_2;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_10 = ___1_rhs;
uint32_t L_11 = L_10.___z_2;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_12 = ___0_lhs;
uint32_t L_13 = L_12.___w_3;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_14 = ___1_rhs;
uint32_t L_15 = L_14.___w_3;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_16;
memset((&L_16), 0, sizeof(L_16));
uint4__ctor_m59B6A219A0285C60FCF2977679BF89C72B502008_inline((&L_16), ((int32_t)il2cpp_codegen_multiply((int32_t)L_1, (int32_t)L_3)), ((int32_t)il2cpp_codegen_multiply((int32_t)L_5, (int32_t)L_7)), ((int32_t)il2cpp_codegen_multiply((int32_t)L_9, (int32_t)L_11)), ((int32_t)il2cpp_codegen_multiply((int32_t)L_13, (int32_t)L_15)), /*hidden argument*/NULL);
return L_16;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t math_csum_m6A99E69A84442A729781A97F78B260223DD01D8F_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_x, const RuntimeMethod* method)
{
{
// public static uint csum(uint4 x) { return x.x + x.y + x.z + x.w; }
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_0 = ___0_x;
uint32_t L_1 = L_0.___x_0;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_2 = ___0_x;
uint32_t L_3 = L_2.___y_1;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_4 = ___0_x;
uint32_t L_5 = L_4.___z_2;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_6 = ___0_x;
uint32_t L_7 = L_6.___w_3;
return ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)L_3)), (int32_t)L_5)), (int32_t)L_7));
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, const RuntimeMethod* method)
{
{
// uint t = state;
uint32_t L_0 = __this->___state_0;
// state ^= state << 13;
uint32_t L_1 = __this->___state_0;
uint32_t L_2 = __this->___state_0;
__this->___state_0 = ((int32_t)((int32_t)L_1^((int32_t)((int32_t)L_2<<((int32_t)13)))));
// state ^= state >> 17;
uint32_t L_3 = __this->___state_0;
uint32_t L_4 = __this->___state_0;
__this->___state_0 = ((int32_t)((int32_t)L_3^((int32_t)((uint32_t)L_4>>((int32_t)17)))));
// state ^= state << 5;
uint32_t L_5 = __this->___state_0;
uint32_t L_6 = __this->___state_0;
__this->___state_0 = ((int32_t)((int32_t)L_5^((int32_t)((int32_t)L_6<<5))));
// return t;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Random__ctor_m84FE6BF5CD2493F5460F36A914836E3D41B22D94_inline (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, uint32_t ___0_seed, const RuntimeMethod* method)
{
{
// state = seed;
uint32_t L_0 = ___0_seed;
__this->___state_0 = L_0;
// NextState();
uint32_t L_1;
L_1 = Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline(__this, NULL);
// }
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Random_InitState_mCDAC36582272DAF59478FEA71F1307CF0E58716D_inline (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, uint32_t ___0_seed, const RuntimeMethod* method)
{
{
// state = seed;
uint32_t L_0 = ___0_seed;
__this->___state_0 = L_0;
// NextState();
uint32_t L_1;
L_1 = Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline(__this, NULL);
// }
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Random_NextInt_m8D466D37B7144CBE66EFDE4A8A5C32EE8A19D4AE_inline (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, int32_t ___0_max, const RuntimeMethod* method)
{
{
// return (int)((NextState() * (ulong)max) >> 32);
uint32_t L_0;
L_0 = Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline(__this, NULL);
int32_t L_1 = ___0_max;
return ((int32_t)((int64_t)((uint64_t)((int64_t)il2cpp_codegen_multiply(((int64_t)(uint64_t)L_0), ((int64_t)L_1)))>>((int32_t)32))));
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Random_NextInt_m794218A3A149A97A6276B37A546E381D44E0222B_inline (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, int32_t ___0_min, int32_t ___1_max, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
{
// uint range = (uint)(max - min);
int32_t L_0 = ___1_max;
int32_t L_1 = ___0_min;
V_0 = ((int32_t)il2cpp_codegen_subtract(L_0, L_1));
// return (int)(NextState() * (ulong)range >> 32) + min;
uint32_t L_2;
L_2 = Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline(__this, NULL);
uint32_t L_3 = V_0;
int32_t L_4 = ___0_min;
return ((int32_t)il2cpp_codegen_add(((int32_t)((int64_t)((uint64_t)((int64_t)il2cpp_codegen_multiply(((int64_t)(uint64_t)L_2), ((int64_t)(uint64_t)L_3)))>>((int32_t)32)))), L_4));
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t Random_NextUInt_m3ED6D47B649B9AD886A4C71EECCF014A933E1D41_inline (Random_tF24B964D3D5DE57D52CCDBF2E91ACE60F01F5F37* __this, const RuntimeMethod* method)
{
{
// return NextState() - 1u;
uint32_t L_0;
L_0 = Random_NextState_m3C669E9C9DBB958FABE0879335C0732A91DA02F7_inline(__this, NULL);
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_0, 1));
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool uint4_Equals_mAA88D674B2411C0A7D6C25AA596320EF79B58DDB_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_rhs, const RuntimeMethod* method)
{
{
// public bool Equals(uint4 rhs) { return x == rhs.x && y == rhs.y && z == rhs.z && w == rhs.w; }
uint32_t L_0 = __this->___x_0;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_1 = ___0_rhs;
uint32_t L_2 = L_1.___x_0;
if ((!(((uint32_t)L_0) == ((uint32_t)L_2))))
{
goto IL_0039;
}
}
{
uint32_t L_3 = __this->___y_1;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_4 = ___0_rhs;
uint32_t L_5 = L_4.___y_1;
if ((!(((uint32_t)L_3) == ((uint32_t)L_5))))
{
goto IL_0039;
}
}
{
uint32_t L_6 = __this->___z_2;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_7 = ___0_rhs;
uint32_t L_8 = L_7.___z_2;
if ((!(((uint32_t)L_6) == ((uint32_t)L_8))))
{
goto IL_0039;
}
}
{
uint32_t L_9 = __this->___w_3;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_10 = ___0_rhs;
uint32_t L_11 = L_10.___w_3;
return (bool)((((int32_t)L_9) == ((int32_t)L_11))? 1 : 0);
}
IL_0039:
{
return (bool)0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t math_hash_m1A4778A79FFB5E05B04BD09B0F85EA9483D8A3CA_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 ___0_v, const RuntimeMethod* method)
{
{
// return csum(v * uint4(0xB492BF15u, 0xD37220E3u, 0x7AA2C2BDu, 0xE16BC89Du)) + 0x7AA07CD3u;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_0 = ___0_v;
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_1;
L_1 = math_uint4_m7F6A5341327B9EF6B80C82FD1B93E4F32287A336_inline(((int32_t)-1265451243), ((int32_t)-747495197), ((int32_t)2057487037), ((int32_t)-513029987), NULL);
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_2;
L_2 = uint4_op_Multiply_mDD93D0730642A1089848321B9B0E5E923EE575ED_inline(L_0, L_1, NULL);
uint32_t L_3;
L_3 = math_csum_m6A99E69A84442A729781A97F78B260223DD01D8F_inline(L_2, NULL);
return ((int32_t)il2cpp_codegen_add((int32_t)L_3, ((int32_t)2057338067)));
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t uint4_GetHashCode_m195FED91BE8D7CCE0039A8DE6B6B0BB849FBCC5A_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, const RuntimeMethod* method)
{
{
// public override int GetHashCode() { return (int)math.hash(this); }
uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9 L_0 = (*(uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9*)__this);
uint32_t L_1;
L_1 = math_hash_m1A4778A79FFB5E05B04BD09B0F85EA9483D8A3CA_inline(L_0, NULL);
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* uint4_ToString_mEF61205FE152AAB74331B24080C347AA829E435B_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE134155080D59FDE2A83A55D0BB359039175A4EA);
s_Il2CppMethodInitialized = true;
}
{
// return string.Format("uint4({0}, {1}, {2}, {3})", x, y, z, w);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_0 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = L_0;
uint32_t L_2 = __this->___x_0;
uint32_t L_3 = L_2;
RuntimeObject* L_4 = Box(UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B_il2cpp_TypeInfo_var, &L_3);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_4);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_4);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_5 = L_1;
uint32_t L_6 = __this->___y_1;
uint32_t L_7 = L_6;
RuntimeObject* L_8 = Box(UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B_il2cpp_TypeInfo_var, &L_7);
NullCheck(L_5);
ArrayElementTypeCheck (L_5, L_8);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_8);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_9 = L_5;
uint32_t L_10 = __this->___z_2;
uint32_t L_11 = L_10;
RuntimeObject* L_12 = Box(UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B_il2cpp_TypeInfo_var, &L_11);
NullCheck(L_9);
ArrayElementTypeCheck (L_9, L_12);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_12);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_13 = L_9;
uint32_t L_14 = __this->___w_3;
uint32_t L_15 = L_14;
RuntimeObject* L_16 = Box(UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B_il2cpp_TypeInfo_var, &L_15);
NullCheck(L_13);
ArrayElementTypeCheck (L_13, L_16);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject*)L_16);
String_t* L_17;
L_17 = String_Format_m918500C1EFB475181349A79989BB79BB36102894(_stringLiteralE134155080D59FDE2A83A55D0BB359039175A4EA, L_13, NULL);
return L_17;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* uint4_ToString_m3350471364AB1D6033E088C0DF789376954921E3_inline (uint4_t6C69CBFAE9BF0F727D52B68779D4A3F0DBA8D5C9* __this, String_t* ___0_format, RuntimeObject* ___1_formatProvider, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE134155080D59FDE2A83A55D0BB359039175A4EA);
s_Il2CppMethodInitialized = true;
}
{
// return string.Format("uint4({0}, {1}, {2}, {3})", x.ToString(format, formatProvider), y.ToString(format, formatProvider), z.ToString(format, formatProvider), w.ToString(format, formatProvider));
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_0 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = L_0;
uint32_t* L_2 = (uint32_t*)(&__this->___x_0);
String_t* L_3 = ___0_format;
RuntimeObject* L_4 = ___1_formatProvider;
String_t* L_5;
L_5 = UInt32_ToString_m464396B0FE2115F3CEA38AEECDDB0FACC3AADADE(L_2, L_3, L_4, NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_5);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_5);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = L_1;
uint32_t* L_7 = (uint32_t*)(&__this->___y_1);
String_t* L_8 = ___0_format;
RuntimeObject* L_9 = ___1_formatProvider;
String_t* L_10;
L_10 = UInt32_ToString_m464396B0FE2115F3CEA38AEECDDB0FACC3AADADE(L_7, L_8, L_9, NULL);
NullCheck(L_6);
ArrayElementTypeCheck (L_6, L_10);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_10);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_11 = L_6;
uint32_t* L_12 = (uint32_t*)(&__this->___z_2);
String_t* L_13 = ___0_format;
RuntimeObject* L_14 = ___1_formatProvider;
String_t* L_15;
L_15 = UInt32_ToString_m464396B0FE2115F3CEA38AEECDDB0FACC3AADADE(L_12, L_13, L_14, NULL);
NullCheck(L_11);
ArrayElementTypeCheck (L_11, L_15);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_15);
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_16 = L_11;
uint32_t* L_17 = (uint32_t*)(&__this->___w_3);
String_t* L_18 = ___0_format;
RuntimeObject* L_19 = ___1_formatProvider;
String_t* L_20;
L_20 = UInt32_ToString_m464396B0FE2115F3CEA38AEECDDB0FACC3AADADE(L_17, L_18, L_19, NULL);
NullCheck(L_16);
ArrayElementTypeCheck (L_16, L_20);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject*)L_20);
String_t* L_21;
L_21 = String_Format_m918500C1EFB475181349A79989BB79BB36102894(_stringLiteralE134155080D59FDE2A83A55D0BB359039175A4EA, L_16, NULL);
return L_21;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t BitConverter_SingleToInt32Bits_mC760C7CFC89725E3CF68DC45BE3A9A42A7E7DA73_inline (float ___0_value, const RuntimeMethod* method)
{
{
int32_t L_0 = *((int32_t*)((uintptr_t)(&___0_value)));
return L_0;
}
}