extern "C" bool DefaultValueAttribute_Equals_m1173 (DefaultValueAttribute_t273 * __this, Object_t * ___obj, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { DefaultValueAttribute_t273_il2cpp_TypeInfo_var = il2cpp_codegen_type_info_from_index(228); s_Il2CppMethodIntialized = true; } DefaultValueAttribute_t273 * V_0 = {0}; { Object_t * L_0 = ___obj; V_0 = ((DefaultValueAttribute_t273 *)IsInst(L_0, DefaultValueAttribute_t273_il2cpp_TypeInfo_var)); DefaultValueAttribute_t273 * L_1 = V_0; if (L_1) { goto IL_000f; } } { return 0; } IL_000f: { Object_t * L_2 = (__this->___DefaultValue_0); if (L_2) { goto IL_0024; } } { DefaultValueAttribute_t273 * L_3 = V_0; NullCheck(L_3); Object_t * L_4 = DefaultValueAttribute_get_Value_m1172(L_3, /*hidden argument*/NULL); return ((((Object_t*)(Object_t *)L_4) == ((Object_t*)(Object_t *)NULL))? 1 : 0); } IL_0024: { Object_t * L_5 = (__this->___DefaultValue_0); DefaultValueAttribute_t273 * L_6 = V_0; NullCheck(L_6); Object_t * L_7 = DefaultValueAttribute_get_Value_m1172(L_6, /*hidden argument*/NULL); NullCheck(L_5); bool L_8 = (bool)VirtFuncInvoker1< bool, Object_t * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_5, L_7); return L_8; } }
extern "C" int32_t DefaultComparer_Compare_m27355_gshared (DefaultComparer_t3279 * __this, Guid_t2182 ___x, Guid_t2182 ___y, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { IComparable_t2269_il2cpp_TypeInfo_var = il2cpp_codegen_type_info_from_index(1091); ArgumentException_t480_il2cpp_TypeInfo_var = il2cpp_codegen_type_info_from_index(303); _stringLiteral3365 = il2cpp_codegen_string_literal_from_index(3365); s_Il2CppMethodIntialized = true; } int32_t G_B4_0 = 0; { Guid_t2182 L_0 = ___x; goto IL_001e; } { Guid_t2182 L_1 = ___y; goto IL_001c; } { G_B4_0 = 0; goto IL_001d; } IL_001c: { G_B4_0 = (-1); } IL_001d: { return G_B4_0; } IL_001e: { Guid_t2182 L_2 = ___y; goto IL_002b; } { return 1; } IL_002b: { Guid_t2182 L_3 = ___x; Guid_t2182 L_4 = L_3; Object_t * L_5 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 2), &L_4); if (!((Object_t*)IsInst(L_5, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 3)))) { goto IL_004d; } } { Guid_t2182 L_6 = ___x; Guid_t2182 L_7 = L_6; Object_t * L_8 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 2), &L_7); Guid_t2182 L_9 = ___y; NullCheck((Object_t*)((Object_t*)Castclass(L_8, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 3)))); int32_t L_10 = (int32_t)InterfaceFuncInvoker1< int32_t, Guid_t2182 >::Invoke(0 /* System.Int32 System.IComparable`1<System.Guid>::CompareTo(T) */, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 3), (Object_t*)((Object_t*)Castclass(L_8, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 3))), (Guid_t2182 )L_9); return L_10; } IL_004d: { Guid_t2182 L_11 = ___x; Guid_t2182 L_12 = L_11; Object_t * L_13 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 2), &L_12); if (!((Object_t *)IsInst(L_13, IComparable_t2269_il2cpp_TypeInfo_var))) { goto IL_0074; } } { Guid_t2182 L_14 = ___x; Guid_t2182 L_15 = L_14; Object_t * L_16 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 2), &L_15); Guid_t2182 L_17 = ___y; Guid_t2182 L_18 = L_17; Object_t * L_19 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 2), &L_18); NullCheck((Object_t *)((Object_t *)Castclass(L_16, IComparable_t2269_il2cpp_TypeInfo_var))); int32_t L_20 = (int32_t)InterfaceFuncInvoker1< int32_t, Object_t * >::Invoke(0 /* System.Int32 System.IComparable::CompareTo(System.Object) */, IComparable_t2269_il2cpp_TypeInfo_var, (Object_t *)((Object_t *)Castclass(L_16, IComparable_t2269_il2cpp_TypeInfo_var)), (Object_t *)L_19); return L_20; } IL_0074: { ArgumentException_t480 * L_21 = (ArgumentException_t480 *)il2cpp_codegen_object_new (ArgumentException_t480_il2cpp_TypeInfo_var); ArgumentException__ctor_m2368(L_21, (String_t*)_stringLiteral3365, /*hidden argument*/NULL); il2cpp_codegen_raise_exception((Il2CppCodeGenException*)L_21); } }
extern "C" int32_t Comparer_1_System_Collections_IComparer_Compare_m27405_gshared (Comparer_1_t3283 * __this, Object_t * ___x, Object_t * ___y, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { ArgumentException_t480_il2cpp_TypeInfo_var = il2cpp_codegen_type_info_from_index(303); s_Il2CppMethodIntialized = true; } int32_t G_B4_0 = 0; { Object_t * L_0 = ___x; if (L_0) { goto IL_0014; } } { Object_t * L_1 = ___y; if (L_1) { goto IL_0012; } } { G_B4_0 = 0; goto IL_0013; } IL_0012: { G_B4_0 = (-1); } IL_0013: { return G_B4_0; } IL_0014: { Object_t * L_2 = ___y; if (L_2) { goto IL_001c; } } { return 1; } IL_001c: { Object_t * L_3 = ___x; if (!((Object_t *)IsInst(L_3, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 6)))) { goto IL_0045; } } { Object_t * L_4 = ___y; if (!((Object_t *)IsInst(L_4, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 6)))) { goto IL_0045; } } { Object_t * L_5 = ___x; Object_t * L_6 = ___y; NullCheck((Comparer_1_t3283 *)__this); int32_t L_7 = (int32_t)VirtFuncInvoker2< int32_t, TimeSpan_t1036 , TimeSpan_t1036 >::Invoke(6 /* System.Int32 System.Collections.Generic.Comparer`1<System.TimeSpan>::Compare(T,T) */, (Comparer_1_t3283 *)__this, (TimeSpan_t1036 )((*(TimeSpan_t1036 *)((TimeSpan_t1036 *)UnBox (L_5, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 6))))), (TimeSpan_t1036 )((*(TimeSpan_t1036 *)((TimeSpan_t1036 *)UnBox (L_6, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 6)))))); return L_7; } IL_0045: { ArgumentException_t480 * L_8 = (ArgumentException_t480 *)il2cpp_codegen_object_new (ArgumentException_t480_il2cpp_TypeInfo_var); ArgumentException__ctor_m13404(L_8, /*hidden argument*/NULL); il2cpp_codegen_raise_exception((Il2CppCodeGenException*)L_8); } }
IPlugVST3Plugin::IPlugVST3Plugin(IPlugInstanceInfo instanceInfo, int nParams, const char* channelIOStr, int nPresets, const char* effectName, const char* productName, const char* mfrName, int vendorVersion, int uniqueID, int mfrID, int latency, bool plugDoesMidi, bool plugDoesChunks, bool plugIsInst, int plugScChans) : IPlugBase(nParams, channelIOStr, nPresets, effectName, productName, mfrName, vendorVersion, uniqueID, mfrID, latency, plugDoesMidi, plugDoesChunks, plugIsInst, kAPIVST3) , mScChans(plugScChans) , mSidechainActive(false) { SetInputChannelConnections(0, NInChannels(), true); SetOutputChannelConnections(0, NOutChannels(), true); if (NInChannels()) { mDelay = new NChanDelayLine(NInChannels(), NOutChannels()); mDelay->SetDelayTime(latency); } // initialize the bus labels SetInputBusLabel(0, "Main Input"); if (mScChans) { SetInputBusLabel(1, "Aux Input"); } if (IsInst()) { int busNum = 0; char label[32]; for (int i = 0; i < NOutChannels(); i+=2) // stereo buses only { sprintf(label, "Output %i", busNum+1); SetOutputBusLabel(busNum++, label); } } else { SetOutputBusLabel(0, "Output"); } }
extern "C" bool TrackedReference_Equals_m1150 (TrackedReference_t144 * __this, Object_t * ___o, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { TrackedReference_t144_il2cpp_TypeInfo_var = il2cpp_codegen_type_info_from_index(219); s_Il2CppMethodIntialized = true; } { Object_t * L_0 = ___o; bool L_1 = TrackedReference_op_Equality_m1152(NULL /*static, unused*/, ((TrackedReference_t144 *)IsInst(L_0, TrackedReference_t144_il2cpp_TypeInfo_var)), __this, /*hidden argument*/NULL); return L_1; } }
extern "C" Il2CppObject * UnityRuntimeServices_GetEnumerator_m3009175716 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___obj, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (UnityRuntimeServices_GetEnumerator_m3009175716_MetadataUsageId); s_Il2CppMethodIntialized = true; } Il2CppObject * V_0 = NULL; Il2CppObject * V_1 = NULL; Il2CppObject * G_B12_0 = NULL; Il2CppObject * G_B6_0 = NULL; Il2CppObject * G_B5_0 = NULL; { Il2CppObject * L_0 = ___obj; if (L_0) { goto IL_0010; } } { IL2CPP_RUNTIME_CLASS_INIT(UnityRuntimeServices_t1016654613_il2cpp_TypeInfo_var); Il2CppObject * L_1 = ((UnityRuntimeServices_t1016654613_StaticFields*)UnityRuntimeServices_t1016654613_il2cpp_TypeInfo_var->static_fields)->get_EmptyEnumerator_0(); G_B12_0 = L_1; goto IL_0086; } IL_0010: { Il2CppObject * L_2 = ___obj; IL2CPP_RUNTIME_CLASS_INIT(UnityRuntimeServices_t1016654613_il2cpp_TypeInfo_var); bool L_3 = UnityRuntimeServices_IsValueTypeArray_m1162044604(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); if (L_3) { goto IL_0026; } } { Il2CppObject * L_4 = ___obj; if (!((Array_t1209885965 *)IsInstClass(L_4, Array_t1209885965_il2cpp_TypeInfo_var))) { goto IL_0050; } } IL_0026: { Il2CppObject * L_5 = ___obj; Il2CppObject * L_6 = L_5; G_B5_0 = L_6; if (((Il2CppObject *)IsInst(L_6, IList_t1612618265_il2cpp_TypeInfo_var))) { G_B6_0 = L_6; goto IL_0041; } } { IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_7 = Type_GetTypeFromHandle_m3806905434(NULL /*static, unused*/, LoadTypeToken(IList_t1612618265_0_0_0_var), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(RuntimeServices_t2273795202_il2cpp_TypeInfo_var); Il2CppObject * L_8 = RuntimeServices_Coerce_m3737249806(NULL /*static, unused*/, G_B5_0, L_7, /*hidden argument*/NULL); G_B6_0 = L_8; } IL_0041: { ListUpdateableEnumerator_t2904422009 * L_9 = (ListUpdateableEnumerator_t2904422009 *)il2cpp_codegen_object_new(ListUpdateableEnumerator_t2904422009_il2cpp_TypeInfo_var); ListUpdateableEnumerator__ctor_m2956977389(L_9, ((Il2CppObject *)Castclass(G_B6_0, IList_t1612618265_il2cpp_TypeInfo_var)), /*hidden argument*/NULL); G_B12_0 = ((Il2CppObject *)(L_9)); goto IL_0086; } IL_0050: { Il2CppObject * L_10 = ___obj; V_0 = ((Il2CppObject *)IsInst(L_10, IEnumerable_t287189635_il2cpp_TypeInfo_var)); Il2CppObject * L_11 = V_0; if (!L_11) { goto IL_0068; } } { Il2CppObject * L_12 = V_0; NullCheck(L_12); Il2CppObject * L_13 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Collections.IEnumerator System.Collections.IEnumerable::GetEnumerator() */, IEnumerable_t287189635_il2cpp_TypeInfo_var, L_12); G_B12_0 = L_13; goto IL_0086; } IL_0068: { Il2CppObject * L_14 = ___obj; V_1 = ((Il2CppObject *)IsInst(L_14, IEnumerator_t287207039_il2cpp_TypeInfo_var)); Il2CppObject * L_15 = V_1; if (!L_15) { goto IL_007b; } } { Il2CppObject * L_16 = V_1; G_B12_0 = L_16; goto IL_0086; } IL_007b: { Il2CppObject * L_17 = ___obj; IL2CPP_RUNTIME_CLASS_INIT(RuntimeServices_t2273795202_il2cpp_TypeInfo_var); Il2CppObject * L_18 = RuntimeServices_GetEnumerable_m2581065081(NULL /*static, unused*/, L_17, /*hidden argument*/NULL); NullCheck(L_18); Il2CppObject * L_19 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Collections.IEnumerator System.Collections.IEnumerable::GetEnumerator() */, IEnumerable_t287189635_il2cpp_TypeInfo_var, L_18); G_B12_0 = L_19; } IL_0086: { return G_B12_0; } }