extern "C" void Paddle_AutoPlay_m2551386774 (Paddle_t2382992266 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Paddle_AutoPlay_m2551386774_MetadataUsageId); s_Il2CppMethodIntialized = true; } Vector3_t4282066566 V_0; memset(&V_0, 0, sizeof(V_0)); Vector3_t4282066566 V_1; memset(&V_1, 0, sizeof(V_1)); Vector3_t4282066566 V_2; memset(&V_2, 0, sizeof(V_2)); { Transform_t1659122786 * L_0 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); Transform_t1659122786 * L_1 = Component_get_transform_m4257140443(L_0, /*hidden argument*/NULL); Vector3_t4282066566 L_2 = Transform_get_position_m2211398607(L_1, /*hidden argument*/NULL); V_2 = L_2; float L_3 = (&V_2)->get_y_2(); Vector3__ctor_m2926210380((&V_0), (0.0f), L_3, (0.0f), /*hidden argument*/NULL); Ball_t2062879 * L_4 = __this->get_ball_4(); Transform_t1659122786 * L_5 = Component_get_transform_m4257140443(L_4, /*hidden argument*/NULL); Vector3_t4282066566 L_6 = Transform_get_position_m2211398607(L_5, /*hidden argument*/NULL); V_1 = L_6; float L_7 = (&V_1)->get_x_1(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t4203372500_il2cpp_TypeInfo_var); float L_8 = Mathf_Clamp_m3872743893(NULL /*static, unused*/, L_7, (-8.0f), (8.0f), /*hidden argument*/NULL); (&V_0)->set_x_1(L_8); Transform_t1659122786 * L_9 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); Vector3_t4282066566 L_10 = V_0; Transform_set_position_m3111394108(L_9, L_10, /*hidden argument*/NULL); return; } }
extern "C" void Ball_Update_m3282058033 (Ball_t2062879 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Ball_Update_m3282058033_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = __this->get_hasStarted_3(); if (L_0) { goto IL_005d; } } { Transform_t1659122786 * L_1 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); Paddle_t2382992266 * L_2 = __this->get_paddle_2(); Transform_t1659122786 * L_3 = Component_get_transform_m4257140443(L_2, /*hidden argument*/NULL); Vector3_t4282066566 L_4 = Transform_get_position_m2211398607(L_3, /*hidden argument*/NULL); Vector3_t4282066566 L_5 = __this->get_paddleToBallVector_4(); Vector3_t4282066566 L_6 = Vector3_op_Addition_m695438225(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL); Transform_set_position_m3111394108(L_1, L_6, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Input_t4200062272_il2cpp_TypeInfo_var); bool L_7 = Input_GetMouseButtonDown_m2031691843(NULL /*static, unused*/, 0, /*hidden argument*/NULL); if (!L_7) { goto IL_005d; } } { __this->set_hasStarted_3((bool)1); Rigidbody2D_t1743771669 * L_8 = Component_GetComponent_TisRigidbody2D_t1743771669_m2201104241(__this, /*hidden argument*/Component_GetComponent_TisRigidbody2D_t1743771669_m2201104241_MethodInfo_var); Vector2_t4282066565 L_9; memset(&L_9, 0, sizeof(L_9)); Vector2__ctor_m1517109030(&L_9, (2.0f), (10.0f), /*hidden argument*/NULL); Rigidbody2D_set_velocity_m100625302(L_8, L_9, /*hidden argument*/NULL); } IL_005d: { return; } }
extern "C" void Ball_Start_m105684060 (Ball_t2062879 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Ball_Start_m105684060_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Object_t3071478659_il2cpp_TypeInfo_var); Paddle_t2382992266 * L_0 = Object_FindObjectOfType_TisPaddle_t2382992266_m3412865507(NULL /*static, unused*/, /*hidden argument*/Object_FindObjectOfType_TisPaddle_t2382992266_m3412865507_MethodInfo_var); __this->set_paddle_2(L_0); Transform_t1659122786 * L_1 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); Vector3_t4282066566 L_2 = Transform_get_position_m2211398607(L_1, /*hidden argument*/NULL); Paddle_t2382992266 * L_3 = __this->get_paddle_2(); Transform_t1659122786 * L_4 = Component_get_transform_m4257140443(L_3, /*hidden argument*/NULL); Vector3_t4282066566 L_5 = Transform_get_position_m2211398607(L_4, /*hidden argument*/NULL); Vector3_t4282066566 L_6 = Vector3_op_Subtraction_m2842958165(NULL /*static, unused*/, L_2, L_5, /*hidden argument*/NULL); __this->set_paddleToBallVector_4(L_6); return; } }
// System.Void Rotator::Update() extern "C" void Rotator_Update_m2722475087 (Rotator_t3048826765 * __this, const MethodInfo* method) { { Transform_t284553113 * L_0 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); Vector3_t3525329789 L_1 = {0}; Vector3__ctor_m2926210380(&L_1, (15.0f), (30.0f), (45.0f), /*hidden argument*/NULL); float L_2 = Time_get_deltaTime_m2741110510(NULL /*static, unused*/, /*hidden argument*/NULL); Vector3_t3525329789 L_3 = Vector3_op_Multiply_m973638459(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); NullCheck(L_0); Transform_Rotate_m637363399(L_0, L_3, /*hidden argument*/NULL); return; } }
extern "C" void Paddle_MoveWithMouse_m571479709 (Paddle_t2382992266 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Paddle_MoveWithMouse_m571479709_MetadataUsageId); s_Il2CppMethodIntialized = true; } Vector3_t4282066566 V_0; memset(&V_0, 0, sizeof(V_0)); Vector3_t4282066566 V_1; memset(&V_1, 0, sizeof(V_1)); Vector3_t4282066566 V_2; memset(&V_2, 0, sizeof(V_2)); { IL2CPP_RUNTIME_CLASS_INIT(Input_t4200062272_il2cpp_TypeInfo_var); Vector3_t4282066566 L_0 = Input_get_mousePosition_m4020233228(NULL /*static, unused*/, /*hidden argument*/NULL); V_1 = L_0; float L_1 = (&V_1)->get_x_1(); int32_t L_2 = Screen_get_width_m3080333084(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_xPosition_2(((float)((float)((float)((float)L_1/(float)(((float)((float)L_2)))))*(float)(16.0f)))); float L_3 = __this->get_xPosition_2(); float L_4 = __this->get_minX_5(); float L_5 = __this->get_maxX_6(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t4203372500_il2cpp_TypeInfo_var); float L_6 = Mathf_Clamp_m3872743893(NULL /*static, unused*/, L_3, L_4, L_5, /*hidden argument*/NULL); Transform_t1659122786 * L_7 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); Transform_t1659122786 * L_8 = Component_get_transform_m4257140443(L_7, /*hidden argument*/NULL); Vector3_t4282066566 L_9 = Transform_get_position_m2211398607(L_8, /*hidden argument*/NULL); V_2 = L_9; float L_10 = (&V_2)->get_y_2(); Vector3__ctor_m2926210380((&V_0), L_6, L_10, (0.0f), /*hidden argument*/NULL); Transform_t1659122786 * L_11 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); Vector3_t4282066566 L_12 = V_0; Transform_set_position_m3111394108(L_11, L_12, /*hidden argument*/NULL); return; } }
// System.Void CameraController::LateUpdate() extern "C" void CameraController_LateUpdate_m786793369 (CameraController_t3473169601 * __this, const MethodInfo* method) { { Transform_t284553113 * L_0 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); GameObject_t4012695102 * L_1 = (__this->___player_2); NullCheck(L_1); Transform_t284553113 * L_2 = GameObject_get_transform_m1278640159(L_1, /*hidden argument*/NULL); NullCheck(L_2); Vector3_t3525329789 L_3 = Transform_get_position_m2211398607(L_2, /*hidden argument*/NULL); Vector3_t3525329789 L_4 = (__this->___offset_3); Vector3_t3525329789 L_5 = Vector3_op_Addition_m695438225(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); NullCheck(L_0); Transform_set_position_m3111394108(L_0, L_5, /*hidden argument*/NULL); return; } }
// System.Void CameraController::Start() extern "C" void CameraController_Start_m253045754 (CameraController_t3473169601 * __this, const MethodInfo* method) { { Transform_t284553113 * L_0 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); NullCheck(L_0); Vector3_t3525329789 L_1 = Transform_get_position_m2211398607(L_0, /*hidden argument*/NULL); GameObject_t4012695102 * L_2 = (__this->___player_2); NullCheck(L_2); Transform_t284553113 * L_3 = GameObject_get_transform_m1278640159(L_2, /*hidden argument*/NULL); NullCheck(L_3); Vector3_t3525329789 L_4 = Transform_get_position_m2211398607(L_3, /*hidden argument*/NULL); Vector3_t3525329789 L_5 = Vector3_op_Subtraction_m2842958165(NULL /*static, unused*/, L_1, L_4, /*hidden argument*/NULL); __this->___offset_3 = L_5; return; } }
extern "C" void Blocks_HandleHits_m1868332535 (Blocks_t1992669606 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Blocks_HandleHits_m1868332535_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t L_0 = __this->get_timesHit_2(); __this->set_timesHit_2(((int32_t)((int32_t)L_0+(int32_t)1))); int32_t L_1 = __this->get_timesHit_2(); SpriteU5BU5D_t2761310900* L_2 = __this->get_hitSprites_6(); if ((((int32_t)L_1) < ((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_2)->max_length))))+(int32_t)1))))) { goto IL_0066; } } { IL2CPP_RUNTIME_CLASS_INIT(Blocks_t1992669606_il2cpp_TypeInfo_var); int32_t L_3 = ((Blocks_t1992669606_StaticFields*)Blocks_t1992669606_il2cpp_TypeInfo_var->static_fields)->get_breakableCount_7(); ((Blocks_t1992669606_StaticFields*)Blocks_t1992669606_il2cpp_TypeInfo_var->static_fields)->set_breakableCount_7(((int32_t)((int32_t)L_3-(int32_t)1))); GameObject_t3674682005 * L_4 = __this->get_smoke_9(); Transform_t1659122786 * L_5 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); Vector3_t4282066566 L_6 = Transform_get_position_m2211398607(L_5, /*hidden argument*/NULL); Quaternion_t1553702882 L_7 = Quaternion_get_identity_m1743882806(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Object_t3071478659_il2cpp_TypeInfo_var); Object_Instantiate_m2255090103(NULL /*static, unused*/, L_4, L_6, L_7, /*hidden argument*/NULL); LevelManager_t2278695849 * L_8 = __this->get_levelManager_4(); LevelManager_BrickDestroyed_m4197178762(L_8, /*hidden argument*/NULL); GameObject_t3674682005 * L_9 = Component_get_gameObject_m1170635899(__this, /*hidden argument*/NULL); Object_Destroy_m176400816(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); goto IL_006c; } IL_0066: { Blocks_LoadSprites_m3155680731(__this, /*hidden argument*/NULL); } IL_006c: { return; } }
// System.Void Blocks::OnCollisionEnter2D(UnityEngine.Collision2D) extern "C" void Blocks_OnCollisionEnter2D_m3663305631 (Blocks_t1992669606 * __this, Collision2D_t2859305914 * ___collision0, const MethodInfo* method) { { AudioClip_t794140988 * L_0 = __this->get_crack_5(); Transform_t1659122786 * L_1 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); Vector3_t4282066566 L_2 = Transform_get_position_m2211398607(L_1, /*hidden argument*/NULL); AudioSource_PlayClipAtPoint_m2719680311(NULL /*static, unused*/, L_0, L_2, /*hidden argument*/NULL); bool L_3 = __this->get_isBreakable_8(); if (!L_3) { goto IL_0027; } } { Blocks_HandleHits_m1868332535(__this, /*hidden argument*/NULL); } IL_0027: { return; } }
extern "C" void BenchmarkTest_Start_m1452726332 (BenchmarkTest_t1141318415 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BenchmarkTest_Start_m1452726332_MetadataUsageId); s_Il2CppMethodIntialized = true; } Sprite_t4006040370 * V_0 = NULL; SpriteRenderer_t2223784725 * V_1 = NULL; Vector3_t3525329789 V_2; memset(&V_2, 0, sizeof(V_2)); Vector2_t3525329788 V_3; memset(&V_3, 0, sizeof(V_3)); Bounds_t3518514978 V_4; memset(&V_4, 0, sizeof(V_4)); Vector3_t3525329789 V_5; memset(&V_5, 0, sizeof(V_5)); Vector3_t3525329789 V_6; memset(&V_6, 0, sizeof(V_6)); Vector2_t3525329788 V_7; memset(&V_7, 0, sizeof(V_7)); Bounds_t3518514978 V_8; memset(&V_8, 0, sizeof(V_8)); Vector3_t3525329789 V_9; memset(&V_9, 0, sizeof(V_9)); Vector3_t3525329789 V_10; memset(&V_10, 0, sizeof(V_10)); Vector2_t3525329788 V_11; memset(&V_11, 0, sizeof(V_11)); Bounds_t3518514978 V_12; memset(&V_12, 0, sizeof(V_12)); Vector3_t3525329789 V_13; memset(&V_13, 0, sizeof(V_13)); Vector3_t3525329789 V_14; memset(&V_14, 0, sizeof(V_14)); Vector2_t3525329788 V_15; memset(&V_15, 0, sizeof(V_15)); Bounds_t3518514978 V_16; memset(&V_16, 0, sizeof(V_16)); Vector3_t3525329789 V_17; memset(&V_17, 0, sizeof(V_17)); { List_1_t3871517354 * L_0 = (List_1_t3871517354 *)il2cpp_codegen_object_new(List_1_t3871517354_il2cpp_TypeInfo_var); List_1__ctor_m606689308(L_0, /*hidden argument*/List_1__ctor_m606689308_MethodInfo_var); __this->set_allOfBunnyObjects_2(L_0); Sprite_t4006040370 * L_1 = Resources_Load_TisSprite_t4006040370_m3887230130(NULL /*static, unused*/, _stringLiteral484375061, /*hidden argument*/Resources_Load_TisSprite_t4006040370_m3887230130_MethodInfo_var); V_0 = L_1; GameObject_t4012695102 * L_2 = (GameObject_t4012695102 *)il2cpp_codegen_object_new(GameObject_t4012695102_il2cpp_TypeInfo_var); GameObject__ctor_m845034556(L_2, /*hidden argument*/NULL); __this->set_bunny_7(L_2); GameObject_t4012695102 * L_3 = __this->get_bunny_7(); NullCheck(L_3); SpriteRenderer_t2223784725 * L_4 = GameObject_AddComponent_TisSpriteRenderer_t2223784725_m119426483(L_3, /*hidden argument*/GameObject_AddComponent_TisSpriteRenderer_t2223784725_m119426483_MethodInfo_var); V_1 = L_4; SpriteRenderer_t2223784725 * L_5 = V_1; Sprite_t4006040370 * L_6 = V_0; NullCheck(L_5); SpriteRenderer_set_sprite_m1519408453(L_5, L_6, /*hidden argument*/NULL); Camera_t3533968274 * L_7 = Camera_get_main_m671815697(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_7); Transform_t284553113 * L_8 = Component_get_transform_m4257140443(L_7, /*hidden argument*/NULL); NullCheck(L_8); Vector3_t3525329789 L_9 = Transform_get_position_m2211398607(L_8, /*hidden argument*/NULL); V_2 = L_9; float L_10 = (&V_2)->get_x_0(); Vector2_t3525329788 L_11 = BenchmarkTest_getScreenSize_m1573587288(__this, /*hidden argument*/NULL); V_3 = L_11; float L_12 = (&V_3)->get_x_0(); Sprite_t4006040370 * L_13 = V_0; NullCheck(L_13); Bounds_t3518514978 L_14 = Sprite_get_bounds_m2293110365(L_13, /*hidden argument*/NULL); V_4 = L_14; Vector3_t3525329789 L_15 = Bounds_get_size_m3666348432((&V_4), /*hidden argument*/NULL); V_5 = L_15; float L_16 = (&V_5)->get_x_0(); __this->set_minX_3(((float)((float)((float)((float)L_10-(float)((float)((float)L_12/(float)(2.0f)))))+(float)L_16))); Camera_t3533968274 * L_17 = Camera_get_main_m671815697(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_17); Transform_t284553113 * L_18 = Component_get_transform_m4257140443(L_17, /*hidden argument*/NULL); NullCheck(L_18); Vector3_t3525329789 L_19 = Transform_get_position_m2211398607(L_18, /*hidden argument*/NULL); V_6 = L_19; float L_20 = (&V_6)->get_y_1(); Vector2_t3525329788 L_21 = BenchmarkTest_getScreenSize_m1573587288(__this, /*hidden argument*/NULL); V_7 = L_21; float L_22 = (&V_7)->get_y_1(); Sprite_t4006040370 * L_23 = V_0; NullCheck(L_23); Bounds_t3518514978 L_24 = Sprite_get_bounds_m2293110365(L_23, /*hidden argument*/NULL); V_8 = L_24; Vector3_t3525329789 L_25 = Bounds_get_size_m3666348432((&V_8), /*hidden argument*/NULL); V_9 = L_25; float L_26 = (&V_9)->get_y_1(); __this->set_minY_4(((float)((float)((float)((float)L_20-(float)((float)((float)L_22/(float)(2.0f)))))+(float)L_26))); Camera_t3533968274 * L_27 = Camera_get_main_m671815697(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_27); Transform_t284553113 * L_28 = Component_get_transform_m4257140443(L_27, /*hidden argument*/NULL); NullCheck(L_28); Vector3_t3525329789 L_29 = Transform_get_position_m2211398607(L_28, /*hidden argument*/NULL); V_10 = L_29; float L_30 = (&V_10)->get_x_0(); Vector2_t3525329788 L_31 = BenchmarkTest_getScreenSize_m1573587288(__this, /*hidden argument*/NULL); V_11 = L_31; float L_32 = (&V_11)->get_x_0(); Sprite_t4006040370 * L_33 = V_0; NullCheck(L_33); Bounds_t3518514978 L_34 = Sprite_get_bounds_m2293110365(L_33, /*hidden argument*/NULL); V_12 = L_34; Vector3_t3525329789 L_35 = Bounds_get_size_m3666348432((&V_12), /*hidden argument*/NULL); V_13 = L_35; float L_36 = (&V_13)->get_x_0(); __this->set_maxX_5(((float)((float)((float)((float)L_30+(float)((float)((float)L_32/(float)(2.0f)))))-(float)L_36))); Camera_t3533968274 * L_37 = Camera_get_main_m671815697(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_37); Transform_t284553113 * L_38 = Component_get_transform_m4257140443(L_37, /*hidden argument*/NULL); NullCheck(L_38); Vector3_t3525329789 L_39 = Transform_get_position_m2211398607(L_38, /*hidden argument*/NULL); V_14 = L_39; float L_40 = (&V_14)->get_y_1(); Vector2_t3525329788 L_41 = BenchmarkTest_getScreenSize_m1573587288(__this, /*hidden argument*/NULL); V_15 = L_41; float L_42 = (&V_15)->get_y_1(); Sprite_t4006040370 * L_43 = V_0; NullCheck(L_43); Bounds_t3518514978 L_44 = Sprite_get_bounds_m2293110365(L_43, /*hidden argument*/NULL); V_16 = L_44; Vector3_t3525329789 L_45 = Bounds_get_size_m3666348432((&V_16), /*hidden argument*/NULL); V_17 = L_45; float L_46 = (&V_17)->get_y_1(); __this->set_maxY_6(((float)((float)((float)((float)L_40+(float)((float)((float)L_42/(float)(2.0f)))))-(float)L_46))); float L_47 = __this->get_maxY_6(); float L_48 = L_47; Il2CppObject * L_49 = Box(Single_t958209021_il2cpp_TypeInfo_var, &L_48); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_Log_m1731103628(NULL /*static, unused*/, L_49, /*hidden argument*/NULL); return; } }