From 3c071f6c58c8639a928d6e00f4e80c916fab0ac4 Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Tue, 7 May 2024 18:43:44 -0600 Subject: [PATCH] feat: Update 1.1.1 --- .gitmodules | 3 + cheat/SoloLevelling.vcxproj | 4 +- cheat/SoloLevelling.vcxproj.filters | 15 +- cheat/src/Unity/methods.hpp | 7 + cheat/src/appdata/il2cpp-api-functions-ptr.h | 474 +++++++++---------- cheat/src/appdata/il2cpp-functions.h | 111 ++--- cheat/src/global.h | 4 +- cheat/src/main.cpp | 5 +- cheat/vendor/UnityResolve | 1 + 9 files changed, 316 insertions(+), 308 deletions(-) create mode 100644 cheat/src/Unity/methods.hpp create mode 160000 cheat/vendor/UnityResolve diff --git a/.gitmodules b/.gitmodules index 4d43651..1c249b7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "injector/vendor/simpleini"] path = injector/vendor/simpleini url = https://github.com/brofield/simpleini.git +[submodule "cheat/vendor/UnityResolve"] + path = cheat/vendor/UnityResolve + url = https://github.com/issuimo/UnityResolve.hpp diff --git a/cheat/SoloLevelling.vcxproj b/cheat/SoloLevelling.vcxproj index d648760..c21a76b 100644 --- a/cheat/SoloLevelling.vcxproj +++ b/cheat/SoloLevelling.vcxproj @@ -50,7 +50,7 @@ pch.h true stdcpp20 - $(ProjectDir)src\;$(ProjectDir)vendor\CommandMenu\include\;$(ProjectDir)vendor\imgui\;$(ProjectDir)vendor\detours\;$(ProjectDir)vendor\magic_enum\include\magic_enum;$(ProjectDir)vendor\json\single_include\nlohmann;$(ProjectDir)vendor\xorstr + $(ProjectDir)src\;$(ProjectDir)vendor\CommandMenu\include\;$(ProjectDir)vendor\imgui\;$(ProjectDir)vendor\detours\;$(ProjectDir)vendor\magic_enum\include\magic_enum;$(ProjectDir)vendor\json\single_include\nlohmann;$(ProjectDir)vendor\xorstr;$(ProjectDir)vendor\UnityResolve Windows @@ -136,6 +136,7 @@ + @@ -156,6 +157,7 @@ + diff --git a/cheat/SoloLevelling.vcxproj.filters b/cheat/SoloLevelling.vcxproj.filters index 4c9d78f..4799a14 100644 --- a/cheat/SoloLevelling.vcxproj.filters +++ b/cheat/SoloLevelling.vcxproj.filters @@ -31,6 +31,9 @@ {2a119d21-8c9d-4511-8a47-58d1fc8f7710} + + {43f0f444-1a9b-41d8-99cc-395a2a4292dc} + @@ -205,9 +208,6 @@ Header Files - - Header Files - Header Files @@ -289,6 +289,15 @@ Header Files + + Header Files + + + vendor\UnityResolve + + + Header Files + diff --git a/cheat/src/Unity/methods.hpp b/cheat/src/Unity/methods.hpp new file mode 100644 index 0000000..d22a986 --- /dev/null +++ b/cheat/src/Unity/methods.hpp @@ -0,0 +1,7 @@ +#include "global.h" + +namespace methods +{ + const auto coreModule = UnityResolve::Get("UnityEngine.CoreModule.dll"); + const auto pTransform = coreModule->Get("GameObject"); +} \ No newline at end of file diff --git a/cheat/src/appdata/il2cpp-api-functions-ptr.h b/cheat/src/appdata/il2cpp-api-functions-ptr.h index c6622a5..a9ea6e0 100644 --- a/cheat/src/appdata/il2cpp-api-functions-ptr.h +++ b/cheat/src/appdata/il2cpp-api-functions-ptr.h @@ -1,243 +1,243 @@ // Generated C++ file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty -// Target Unity version: 2021.2.0+ +// Target Unity version: 2021.2.0 - 2021.2.99 // ****************************************************************************** // * IL2CPP API function pointers // ****************************************************************************** -#define il2cpp_add_internal_call_ptr 0x003BA450 -#define il2cpp_alloc_ptr 0x003BA460 -#define il2cpp_allocation_granularity_ptr 0x00235630 -#define il2cpp_array_class_get_ptr 0x003BA470 -#define il2cpp_array_element_size_ptr 0x003BA480 -#define il2cpp_array_get_byte_length_ptr 0x003BA490 -#define il2cpp_array_length_ptr 0x003BA4A0 -#define il2cpp_array_new_ptr 0x003BA4B0 -#define il2cpp_array_new_full_ptr 0x003BA4C0 -#define il2cpp_array_new_specific_ptr 0x003BA4D0 -#define il2cpp_array_object_header_size_ptr 0x002C5D50 -#define il2cpp_assembly_get_image_ptr 0x003AAD30 -#define il2cpp_bounded_array_class_get_ptr 0x003BA4E0 -#define il2cpp_capture_memory_snapshot_ptr 0x003BA4F0 -#define il2cpp_class_array_element_size_ptr 0x003BA500 -#define il2cpp_class_enum_basetype_ptr 0x003BA510 -#define il2cpp_class_for_each_ptr 0x003BA520 -#define il2cpp_class_from_il2cpp_type_ptr 0x003BA530 -#define il2cpp_class_from_name_ptr 0x003BA540 -#define il2cpp_class_from_system_type_ptr 0x003BA550 -#define il2cpp_class_from_type_ptr 0x003BA530 -#define il2cpp_class_get_assemblyname_ptr 0x003BA560 -#define il2cpp_class_get_bitmap_ptr 0x003BA570 -#define il2cpp_class_get_bitmap_size_ptr 0x003BA590 -#define il2cpp_class_get_data_size_ptr 0x003BA5A0 -#define il2cpp_class_get_declaring_type_ptr 0x003BA5B0 -#define il2cpp_class_get_element_class_ptr 0x003BA5C0 -#define il2cpp_class_get_events_ptr 0x003BA5D0 -#define il2cpp_class_get_field_from_name_ptr 0x003BA5E0 -#define il2cpp_class_get_fields_ptr 0x003BA5F0 -#define il2cpp_class_get_flags_ptr 0x003BA600 -#define il2cpp_class_get_image_ptr 0x003AAD30 -#define il2cpp_class_get_interfaces_ptr 0x003BA610 -#define il2cpp_class_get_method_from_name_ptr 0x003BA620 -#define il2cpp_class_get_methods_ptr 0x003BA630 -#define il2cpp_class_get_name_ptr 0x003BA640 -#define il2cpp_class_get_namespace_ptr 0x003BA650 -#define il2cpp_class_get_nested_types_ptr 0x003BA660 -#define il2cpp_class_get_parent_ptr 0x003BA670 -#define il2cpp_class_get_properties_ptr 0x003BA680 -#define il2cpp_class_get_property_from_name_ptr 0x003BA690 -#define il2cpp_class_get_rank_ptr 0x003BA6A0 -#define il2cpp_class_get_static_field_data_ptr 0x000030A0 -#define il2cpp_class_get_type_ptr 0x0032F340 -#define il2cpp_class_get_type_token_ptr 0x003BA6B0 -#define il2cpp_class_get_userdata_offset_ptr 0x003BA6C0 -#define il2cpp_class_has_attribute_ptr 0x003BA6D0 -#define il2cpp_class_has_parent_ptr 0x003BA6E0 -#define il2cpp_class_has_references_ptr 0x003BA6F0 -#define il2cpp_class_instance_size_ptr 0x003BA700 -#define il2cpp_class_is_abstract_ptr 0x003BA710 -#define il2cpp_class_is_assignable_from_ptr 0x00345980 -#define il2cpp_class_is_blittable_ptr 0x003BA720 -#define il2cpp_class_is_enum_ptr 0x003BA730 -#define il2cpp_class_is_generic_ptr 0x003BA740 -#define il2cpp_class_is_inflated_ptr 0x003BA750 -#define il2cpp_class_is_interface_ptr 0x003BA760 -#define il2cpp_class_is_subclass_of_ptr 0x003BA770 -#define il2cpp_class_is_valuetype_ptr 0x003BA780 -#define il2cpp_class_num_fields_ptr 0x003BA790 -#define il2cpp_class_set_userdata_ptr 0x00259A30 -#define il2cpp_class_value_size_ptr 0x003BA7A0 -#define il2cpp_current_thread_get_frame_at_ptr 0x003BA7B0 -#define il2cpp_current_thread_get_stack_depth_ptr 0x003BA7C0 -#define il2cpp_current_thread_get_top_frame_ptr 0x003BA7E0 -#define il2cpp_current_thread_walk_frame_stack_ptr 0x003BA7F0 -#define il2cpp_custom_attrs_construct_ptr 0x003BA800 -#define il2cpp_custom_attrs_free_ptr 0x000035E0 -#define il2cpp_custom_attrs_from_class_ptr 0x003BA810 -#define il2cpp_custom_attrs_from_method_ptr 0x003BA820 -#define il2cpp_custom_attrs_get_attr_ptr 0x003BA830 -#define il2cpp_custom_attrs_has_attr_ptr 0x003BA840 -#define il2cpp_debug_get_method_info_ptr 0x003BA850 -#define il2cpp_debugger_set_agent_options_ptr 0x000035E0 -#define il2cpp_domain_assembly_open_ptr 0x003BA860 -#define il2cpp_domain_get_ptr 0x003BA870 -#define il2cpp_domain_get_assemblies_ptr 0x003BA880 -#define il2cpp_exception_from_name_msg_ptr 0x003BA8B0 -#define il2cpp_field_get_flags_ptr 0x003BA8C0 -#define il2cpp_field_get_name_ptr 0x003AAD30 -#define il2cpp_field_get_offset_ptr 0x003BA8D0 -#define il2cpp_field_get_parent_ptr 0x003BA640 -#define il2cpp_field_get_type_ptr 0x003BA8E0 -#define il2cpp_field_get_value_ptr 0x003BA8F0 -#define il2cpp_field_get_value_object_ptr 0x003BA900 -#define il2cpp_field_has_attribute_ptr 0x003BA910 -#define il2cpp_field_is_literal_ptr 0x003BA920 -#define il2cpp_field_set_value_ptr 0x003BA930 -#define il2cpp_field_set_value_object_ptr 0x003BA940 -#define il2cpp_field_static_get_value_ptr 0x003BA950 -#define il2cpp_field_static_set_value_ptr 0x003BA960 -#define il2cpp_format_exception_ptr 0x003BA970 -#define il2cpp_format_stack_trace_ptr 0x003BAA00 -#define il2cpp_free_ptr 0x0032F320 -#define il2cpp_free_captured_memory_snapshot_ptr 0x003BAA90 -#define il2cpp_gc_alloc_fixed_ptr 0x003BAAA0 -#define il2cpp_gc_collect_ptr 0x003A3470 -#define il2cpp_gc_collect_a_little_ptr 0x003BAAB0 -#define il2cpp_gc_disable_ptr 0x003BAAC0 -#define il2cpp_gc_enable_ptr 0x003BAAD0 -#define il2cpp_gc_foreach_heap_ptr 0x003BAAE0 -#define il2cpp_gc_free_fixed_ptr 0x003BAB10 -#define il2cpp_gc_get_heap_size_ptr 0x003BAB20 -#define il2cpp_gc_get_max_time_slice_ns_ptr 0x003BAB30 -#define il2cpp_gc_get_used_size_ptr 0x003BAB40 -#define il2cpp_gc_has_strict_wbarriers_ptr 0x000FA410 -#define il2cpp_gc_is_disabled_ptr 0x003BAB50 -#define il2cpp_gc_is_incremental_ptr 0x003BAB60 -#define il2cpp_gc_set_external_allocation_tracker_ptr 0x000035E0 -#define il2cpp_gc_set_external_wbarrier_tracker_ptr 0x000035E0 -#define il2cpp_gc_set_max_time_slice_ns_ptr 0x003BAB70 -#define il2cpp_gc_set_mode_ptr 0x003BAB80 -#define il2cpp_gc_start_incremental_collection_ptr 0x003BAB90 -#define il2cpp_gc_wbarrier_set_field_ptr 0x003BABA0 -#define il2cpp_gchandle_foreach_get_target_ptr 0x003BABB0 -#define il2cpp_gchandle_free_ptr 0x003647B0 -#define il2cpp_gchandle_get_target_ptr 0x00364870 -#define il2cpp_gchandle_new_ptr 0x003BABE0 -#define il2cpp_gchandle_new_weakref_ptr 0x003BABF0 -#define il2cpp_get_corlib_ptr 0x003BAC20 -#define il2cpp_get_exception_argument_null_ptr 0x00345AE0 -#define il2cpp_image_get_assembly_ptr 0x003BA640 -#define il2cpp_image_get_class_ptr 0x003BAC30 -#define il2cpp_image_get_class_count_ptr 0x003BAC40 -#define il2cpp_image_get_entry_point_ptr 0x003BAC50 -#define il2cpp_image_get_filename_ptr 0x003AAD30 -#define il2cpp_image_get_name_ptr 0x003AAD30 -#define il2cpp_init_ptr 0x003BAC60 -#define il2cpp_init_utf16_ptr 0x003BAC90 -#define il2cpp_is_debugger_attached_ptr 0x003BAD20 -#define il2cpp_is_vm_thread_ptr 0x003BAD30 -#define il2cpp_method_get_class_ptr 0x00345EA0 -#define il2cpp_method_get_declaring_type_ptr 0x00345EA0 -#define il2cpp_method_get_flags_ptr 0x003BAD40 -#define il2cpp_method_get_from_reflection_ptr 0x003BA640 -#define il2cpp_method_get_name_ptr 0x003BA650 -#define il2cpp_method_get_object_ptr 0x003BAD70 -#define il2cpp_method_get_param_ptr 0x003BAD80 -#define il2cpp_method_get_param_count_ptr 0x003BAD90 -#define il2cpp_method_get_param_name_ptr 0x003BADA0 -#define il2cpp_method_get_return_type_ptr 0x003BADB0 -#define il2cpp_method_get_token_ptr 0x003BADC0 -#define il2cpp_method_has_attribute_ptr 0x003BADD0 -#define il2cpp_method_is_generic_ptr 0x003BADE0 -#define il2cpp_method_is_inflated_ptr 0x003BADF0 -#define il2cpp_method_is_instance_ptr 0x003BAE00 -#define il2cpp_monitor_enter_ptr 0x003BAE10 -#define il2cpp_monitor_exit_ptr 0x003BAE20 -#define il2cpp_monitor_pulse_ptr 0x003BAE30 -#define il2cpp_monitor_pulse_all_ptr 0x003BAE40 -#define il2cpp_monitor_try_enter_ptr 0x003BAE50 -#define il2cpp_monitor_try_wait_ptr 0x003BAE60 -#define il2cpp_monitor_wait_ptr 0x003BAE70 -#define il2cpp_native_stack_trace_ptr 0x003BAE80 -#define il2cpp_object_get_class_ptr 0x003AAD30 -#define il2cpp_object_get_size_ptr 0x003BAF50 -#define il2cpp_object_get_virtual_method_ptr 0x003BAF60 -#define il2cpp_object_header_size_ptr 0x00235630 -#define il2cpp_object_new_ptr 0x003BAF70 -#define il2cpp_object_unbox_ptr 0x00345970 -#define il2cpp_offset_of_array_bounds_in_array_object_header_ptr 0x00235630 -#define il2cpp_offset_of_array_length_in_array_object_header_ptr 0x003BAF90 -#define il2cpp_override_stack_backtrace_ptr 0x003BAFA0 -#define il2cpp_profiler_install_ptr 0x003BAFB0 -#define il2cpp_profiler_install_allocation_ptr 0x003BAFC0 -#define il2cpp_profiler_install_enter_leave_ptr 0x003BAFD0 -#define il2cpp_profiler_install_fileio_ptr 0x003BAFE0 -#define il2cpp_profiler_install_gc_ptr 0x003BAFF0 -#define il2cpp_profiler_install_thread_ptr 0x003BB000 -#define il2cpp_profiler_set_events_ptr 0x003BB010 -#define il2cpp_property_get_flags_ptr 0x003BB020 -#define il2cpp_property_get_get_method_ptr 0x003BA640 -#define il2cpp_property_get_name_ptr 0x003BA8E0 -#define il2cpp_property_get_parent_ptr 0x003AAD30 -#define il2cpp_property_get_set_method_ptr 0x003BA650 -#define il2cpp_raise_exception_ptr 0x003BB030 -#define il2cpp_register_debugger_agent_transport_ptr 0x000035E0 -#define il2cpp_register_log_callback_ptr 0x003BB040 -#define il2cpp_resolve_icall_ptr 0x003BB050 -#define il2cpp_runtime_class_init_ptr 0x00345FD0 -#define il2cpp_runtime_invoke_ptr 0x003BB060 -#define il2cpp_runtime_invoke_convert_args_ptr 0x003BB070 -#define il2cpp_runtime_object_init_ptr 0x003BB080 -#define il2cpp_runtime_object_init_exception_ptr 0x003BB090 -#define il2cpp_runtime_unhandled_exception_policy_set_ptr 0x003BB0A0 -#define il2cpp_set_commandline_arguments_ptr 0x003BB0B0 -#define il2cpp_set_commandline_arguments_utf16_ptr 0x003BB0C0 -#define il2cpp_set_config_ptr 0x003BB0D0 -#define il2cpp_set_config_dir_ptr 0x003BB0E0 -#define il2cpp_set_config_utf16_ptr 0x003BB0F0 -#define il2cpp_set_data_dir_ptr 0x003BB100 -#define il2cpp_set_default_thread_affinity_ptr 0x003A36B0 -#define il2cpp_set_find_plugin_callback_ptr 0x003BB110 -#define il2cpp_set_memory_callbacks_ptr 0x003BB120 -#define il2cpp_set_temp_dir_ptr 0x003BB130 -#define il2cpp_shutdown_ptr 0x003BB140 -#define il2cpp_start_gc_world_ptr 0x003BB150 -#define il2cpp_stats_dump_to_file_ptr 0x003BB160 -#define il2cpp_stats_get_value_ptr 0x003BB3C0 -#define il2cpp_stop_gc_world_ptr 0x003BB450 -#define il2cpp_string_chars_ptr 0x003BB460 -#define il2cpp_string_intern_ptr 0x003BB470 -#define il2cpp_string_is_interned_ptr 0x003BB480 -#define il2cpp_string_length_ptr 0x003BB490 -#define il2cpp_string_new_ptr 0x003BB4A0 -#define il2cpp_string_new_len_ptr 0x003BB4B0 -#define il2cpp_string_new_utf16_ptr 0x003BB4C0 -#define il2cpp_string_new_wrapper_ptr 0x003BB4A0 -#define il2cpp_thread_attach_ptr 0x003BB4D0 -#define il2cpp_thread_current_ptr 0x003BB4E0 -#define il2cpp_thread_detach_ptr 0x003BB4F0 -#define il2cpp_thread_get_all_attached_threads_ptr 0x003BB500 -#define il2cpp_thread_get_frame_at_ptr 0x003BB510 -#define il2cpp_thread_get_stack_depth_ptr 0x003BB520 -#define il2cpp_thread_get_top_frame_ptr 0x003BB530 -#define il2cpp_thread_walk_frame_stack_ptr 0x003BB540 -#define il2cpp_type_equals_ptr 0x003BB550 -#define il2cpp_type_get_assembly_qualified_name_ptr 0x003BB560 -#define il2cpp_type_get_attrs_ptr 0x003BB600 -#define il2cpp_type_get_class_or_element_class_ptr 0x003BB610 -#define il2cpp_type_get_name_ptr 0x003BB620 -#define il2cpp_type_get_name_chunked_ptr 0x003BB6C0 -#define il2cpp_type_get_object_ptr 0x003BB6D0 -#define il2cpp_type_get_type_ptr 0x003BB6E0 -#define il2cpp_type_is_byref_ptr 0x003BB6F0 -#define il2cpp_type_is_pointer_type_ptr 0x003BB700 -#define il2cpp_type_is_static_ptr 0x003BB710 -#define il2cpp_unhandled_exception_ptr 0x0034EDB0 -#define il2cpp_unity_install_unitytls_interface_ptr 0x003BB720 -#define il2cpp_unity_liveness_allocate_struct_ptr 0x003BB730 -#define il2cpp_unity_liveness_calculation_from_root_ptr 0x003BB740 -#define il2cpp_unity_liveness_calculation_from_statics_ptr 0x003BB750 -#define il2cpp_unity_liveness_finalize_ptr 0x003BB760 -#define il2cpp_unity_liveness_free_struct_ptr 0x003BB770 -#define il2cpp_unity_set_android_network_up_state_func_ptr 0x003BB780 -#define il2cpp_value_box_ptr 0x00345850 +#define il2cpp_add_internal_call_ptr 0x003FC130 +#define il2cpp_alloc_ptr 0x003FC140 +#define il2cpp_allocation_granularity_ptr 0x00267750 +#define il2cpp_array_class_get_ptr 0x003FC150 +#define il2cpp_array_element_size_ptr 0x003FC160 +#define il2cpp_array_get_byte_length_ptr 0x003FC170 +#define il2cpp_array_length_ptr 0x003FC180 +#define il2cpp_array_new_ptr 0x003FC190 +#define il2cpp_array_new_full_ptr 0x003FC1A0 +#define il2cpp_array_new_specific_ptr 0x003FC1B0 +#define il2cpp_array_object_header_size_ptr 0x00305360 +#define il2cpp_assembly_get_image_ptr 0x003EC9D0 +#define il2cpp_bounded_array_class_get_ptr 0x003FC1C0 +#define il2cpp_capture_memory_snapshot_ptr 0x003FC1D0 +#define il2cpp_class_array_element_size_ptr 0x003FC1E0 +#define il2cpp_class_enum_basetype_ptr 0x003FC1F0 +#define il2cpp_class_for_each_ptr 0x003FC200 +#define il2cpp_class_from_il2cpp_type_ptr 0x003FC210 +#define il2cpp_class_from_name_ptr 0x003FC220 +#define il2cpp_class_from_system_type_ptr 0x003FC230 +#define il2cpp_class_from_type_ptr 0x003FC210 +#define il2cpp_class_get_assemblyname_ptr 0x003FC240 +#define il2cpp_class_get_bitmap_ptr 0x003FC250 +#define il2cpp_class_get_bitmap_size_ptr 0x003FC270 +#define il2cpp_class_get_data_size_ptr 0x003FC280 +#define il2cpp_class_get_declaring_type_ptr 0x003FC290 +#define il2cpp_class_get_element_class_ptr 0x003FC2A0 +#define il2cpp_class_get_events_ptr 0x003FC2B0 +#define il2cpp_class_get_field_from_name_ptr 0x003FC2C0 +#define il2cpp_class_get_fields_ptr 0x003FC2D0 +#define il2cpp_class_get_flags_ptr 0x003FC2E0 +#define il2cpp_class_get_image_ptr 0x003EC9D0 +#define il2cpp_class_get_interfaces_ptr 0x003FC2F0 +#define il2cpp_class_get_method_from_name_ptr 0x003FC300 +#define il2cpp_class_get_methods_ptr 0x003FC310 +#define il2cpp_class_get_name_ptr 0x003FC320 +#define il2cpp_class_get_namespace_ptr 0x003FC330 +#define il2cpp_class_get_nested_types_ptr 0x003FC340 +#define il2cpp_class_get_parent_ptr 0x003FC350 +#define il2cpp_class_get_properties_ptr 0x003FC360 +#define il2cpp_class_get_property_from_name_ptr 0x003FC370 +#define il2cpp_class_get_rank_ptr 0x003FC380 +#define il2cpp_class_get_static_field_data_ptr 0x00003110 +#define il2cpp_class_get_type_ptr 0x00370920 +#define il2cpp_class_get_type_token_ptr 0x003FC390 +#define il2cpp_class_get_userdata_offset_ptr 0x003FC3A0 +#define il2cpp_class_has_attribute_ptr 0x003FC3B0 +#define il2cpp_class_has_parent_ptr 0x003FC3C0 +#define il2cpp_class_has_references_ptr 0x003FC3D0 +#define il2cpp_class_instance_size_ptr 0x003FC3E0 +#define il2cpp_class_is_abstract_ptr 0x003FC3F0 +#define il2cpp_class_is_assignable_from_ptr 0x003870F0 +#define il2cpp_class_is_blittable_ptr 0x003FC400 +#define il2cpp_class_is_enum_ptr 0x003FC410 +#define il2cpp_class_is_generic_ptr 0x003FC420 +#define il2cpp_class_is_inflated_ptr 0x003FC430 +#define il2cpp_class_is_interface_ptr 0x003FC440 +#define il2cpp_class_is_subclass_of_ptr 0x003FC450 +#define il2cpp_class_is_valuetype_ptr 0x003FC460 +#define il2cpp_class_num_fields_ptr 0x003FC470 +#define il2cpp_class_set_userdata_ptr 0x00297E50 +#define il2cpp_class_value_size_ptr 0x003FC480 +#define il2cpp_current_thread_get_frame_at_ptr 0x003FC490 +#define il2cpp_current_thread_get_stack_depth_ptr 0x003FC4A0 +#define il2cpp_current_thread_get_top_frame_ptr 0x003FC4C0 +#define il2cpp_current_thread_walk_frame_stack_ptr 0x003FC4D0 +#define il2cpp_custom_attrs_construct_ptr 0x003FC4E0 +#define il2cpp_custom_attrs_free_ptr 0x00003650 +#define il2cpp_custom_attrs_from_class_ptr 0x003FC4F0 +#define il2cpp_custom_attrs_from_method_ptr 0x003FC500 +#define il2cpp_custom_attrs_get_attr_ptr 0x003FC510 +#define il2cpp_custom_attrs_has_attr_ptr 0x003FC520 +#define il2cpp_debug_get_method_info_ptr 0x003FC530 +#define il2cpp_debugger_set_agent_options_ptr 0x00003650 +#define il2cpp_domain_assembly_open_ptr 0x003FC540 +#define il2cpp_domain_get_ptr 0x003FC550 +#define il2cpp_domain_get_assemblies_ptr 0x003FC560 +#define il2cpp_exception_from_name_msg_ptr 0x003FC590 +#define il2cpp_field_get_flags_ptr 0x003FC5A0 +#define il2cpp_field_get_name_ptr 0x003EC9D0 +#define il2cpp_field_get_offset_ptr 0x003FC5B0 +#define il2cpp_field_get_parent_ptr 0x003FC320 +#define il2cpp_field_get_type_ptr 0x003FC5C0 +#define il2cpp_field_get_value_ptr 0x003FC5D0 +#define il2cpp_field_get_value_object_ptr 0x003FC5E0 +#define il2cpp_field_has_attribute_ptr 0x003FC5F0 +#define il2cpp_field_is_literal_ptr 0x003FC600 +#define il2cpp_field_set_value_ptr 0x003FC610 +#define il2cpp_field_set_value_object_ptr 0x003FC620 +#define il2cpp_field_static_get_value_ptr 0x003FC630 +#define il2cpp_field_static_set_value_ptr 0x003FC640 +#define il2cpp_format_exception_ptr 0x003FC650 +#define il2cpp_format_stack_trace_ptr 0x003FC6E0 +#define il2cpp_free_ptr 0x00370900 +#define il2cpp_free_captured_memory_snapshot_ptr 0x003FC770 +#define il2cpp_gc_alloc_fixed_ptr 0x003FC780 +#define il2cpp_gc_collect_ptr 0x003E50C0 +#define il2cpp_gc_collect_a_little_ptr 0x003FC790 +#define il2cpp_gc_disable_ptr 0x003FC7A0 +#define il2cpp_gc_enable_ptr 0x003FC7B0 +#define il2cpp_gc_foreach_heap_ptr 0x003FC7C0 +#define il2cpp_gc_free_fixed_ptr 0x003FC7F0 +#define il2cpp_gc_get_heap_size_ptr 0x003FC800 +#define il2cpp_gc_get_max_time_slice_ns_ptr 0x003FC810 +#define il2cpp_gc_get_used_size_ptr 0x003FC820 +#define il2cpp_gc_has_strict_wbarriers_ptr 0x00113EF0 +#define il2cpp_gc_is_disabled_ptr 0x003FC830 +#define il2cpp_gc_is_incremental_ptr 0x003FC840 +#define il2cpp_gc_set_external_allocation_tracker_ptr 0x00003650 +#define il2cpp_gc_set_external_wbarrier_tracker_ptr 0x00003650 +#define il2cpp_gc_set_max_time_slice_ns_ptr 0x003FC850 +#define il2cpp_gc_set_mode_ptr 0x003FC860 +#define il2cpp_gc_start_incremental_collection_ptr 0x003FC870 +#define il2cpp_gc_wbarrier_set_field_ptr 0x003FC880 +#define il2cpp_gchandle_foreach_get_target_ptr 0x003FC890 +#define il2cpp_gchandle_free_ptr 0x003A5F30 +#define il2cpp_gchandle_get_target_ptr 0x003A5FF0 +#define il2cpp_gchandle_new_ptr 0x003FC8C0 +#define il2cpp_gchandle_new_weakref_ptr 0x003FC8D0 +#define il2cpp_get_corlib_ptr 0x003FC900 +#define il2cpp_get_exception_argument_null_ptr 0x00387250 +#define il2cpp_image_get_assembly_ptr 0x003FC320 +#define il2cpp_image_get_class_ptr 0x003FC910 +#define il2cpp_image_get_class_count_ptr 0x003FC920 +#define il2cpp_image_get_entry_point_ptr 0x003FC930 +#define il2cpp_image_get_filename_ptr 0x003EC9D0 +#define il2cpp_image_get_name_ptr 0x003EC9D0 +#define il2cpp_init_ptr 0x003FC940 +#define il2cpp_init_utf16_ptr 0x003FC970 +#define il2cpp_is_debugger_attached_ptr 0x003FCA00 +#define il2cpp_is_vm_thread_ptr 0x003FCA10 +#define il2cpp_method_get_class_ptr 0x00387630 +#define il2cpp_method_get_declaring_type_ptr 0x00387630 +#define il2cpp_method_get_flags_ptr 0x003FCA20 +#define il2cpp_method_get_from_reflection_ptr 0x003FC320 +#define il2cpp_method_get_name_ptr 0x003FC330 +#define il2cpp_method_get_object_ptr 0x003FCA50 +#define il2cpp_method_get_param_ptr 0x003FCA60 +#define il2cpp_method_get_param_count_ptr 0x003FCA70 +#define il2cpp_method_get_param_name_ptr 0x003FCA80 +#define il2cpp_method_get_return_type_ptr 0x003FCA90 +#define il2cpp_method_get_token_ptr 0x003FCAA0 +#define il2cpp_method_has_attribute_ptr 0x003FCAB0 +#define il2cpp_method_is_generic_ptr 0x003FCAC0 +#define il2cpp_method_is_inflated_ptr 0x003FCAD0 +#define il2cpp_method_is_instance_ptr 0x003FCAE0 +#define il2cpp_monitor_enter_ptr 0x003FCAF0 +#define il2cpp_monitor_exit_ptr 0x003FCB00 +#define il2cpp_monitor_pulse_ptr 0x003FCB10 +#define il2cpp_monitor_pulse_all_ptr 0x003FCB20 +#define il2cpp_monitor_try_enter_ptr 0x003FCB30 +#define il2cpp_monitor_try_wait_ptr 0x003FCB40 +#define il2cpp_monitor_wait_ptr 0x003FCB50 +#define il2cpp_native_stack_trace_ptr 0x003FCB60 +#define il2cpp_object_get_class_ptr 0x003EC9D0 +#define il2cpp_object_get_size_ptr 0x003FCC30 +#define il2cpp_object_get_virtual_method_ptr 0x003FCC40 +#define il2cpp_object_header_size_ptr 0x00267750 +#define il2cpp_object_new_ptr 0x003FCC50 +#define il2cpp_object_unbox_ptr 0x003870E0 +#define il2cpp_offset_of_array_bounds_in_array_object_header_ptr 0x00267750 +#define il2cpp_offset_of_array_length_in_array_object_header_ptr 0x003FCC70 +#define il2cpp_override_stack_backtrace_ptr 0x003FCC80 +#define il2cpp_profiler_install_ptr 0x003FCC90 +#define il2cpp_profiler_install_allocation_ptr 0x003FCCA0 +#define il2cpp_profiler_install_enter_leave_ptr 0x003FCCB0 +#define il2cpp_profiler_install_fileio_ptr 0x003FCCC0 +#define il2cpp_profiler_install_gc_ptr 0x003FCCD0 +#define il2cpp_profiler_install_thread_ptr 0x003FCCE0 +#define il2cpp_profiler_set_events_ptr 0x003FCCF0 +#define il2cpp_property_get_flags_ptr 0x003FCD00 +#define il2cpp_property_get_get_method_ptr 0x003FC320 +#define il2cpp_property_get_name_ptr 0x003FC5C0 +#define il2cpp_property_get_parent_ptr 0x003EC9D0 +#define il2cpp_property_get_set_method_ptr 0x003FC330 +#define il2cpp_raise_exception_ptr 0x003FCD10 +#define il2cpp_register_debugger_agent_transport_ptr 0x00003650 +#define il2cpp_register_log_callback_ptr 0x003FCD20 +#define il2cpp_resolve_icall_ptr 0x003FCD30 +#define il2cpp_runtime_class_init_ptr 0x00387760 +#define il2cpp_runtime_invoke_ptr 0x003FCD40 +#define il2cpp_runtime_invoke_convert_args_ptr 0x003FCD50 +#define il2cpp_runtime_object_init_ptr 0x003FCD60 +#define il2cpp_runtime_object_init_exception_ptr 0x003FCD70 +#define il2cpp_runtime_unhandled_exception_policy_set_ptr 0x003FCD80 +#define il2cpp_set_commandline_arguments_ptr 0x003FCD90 +#define il2cpp_set_commandline_arguments_utf16_ptr 0x003FCDA0 +#define il2cpp_set_config_ptr 0x003FCDB0 +#define il2cpp_set_config_dir_ptr 0x003FCDC0 +#define il2cpp_set_config_utf16_ptr 0x003FCDD0 +#define il2cpp_set_data_dir_ptr 0x003FCDE0 +#define il2cpp_set_default_thread_affinity_ptr 0x003E5300 +#define il2cpp_set_find_plugin_callback_ptr 0x003FCDF0 +#define il2cpp_set_memory_callbacks_ptr 0x003FCE00 +#define il2cpp_set_temp_dir_ptr 0x003FCE10 +#define il2cpp_shutdown_ptr 0x003FCE20 +#define il2cpp_start_gc_world_ptr 0x003FCE30 +#define il2cpp_stats_dump_to_file_ptr 0x003FCE40 +#define il2cpp_stats_get_value_ptr 0x003FD0A0 +#define il2cpp_stop_gc_world_ptr 0x003FD130 +#define il2cpp_string_chars_ptr 0x003FD140 +#define il2cpp_string_intern_ptr 0x003FD150 +#define il2cpp_string_is_interned_ptr 0x003FD160 +#define il2cpp_string_length_ptr 0x003FD170 +#define il2cpp_string_new_ptr 0x003FD180 +#define il2cpp_string_new_len_ptr 0x003FD190 +#define il2cpp_string_new_utf16_ptr 0x003FD1A0 +#define il2cpp_string_new_wrapper_ptr 0x003FD180 +#define il2cpp_thread_attach_ptr 0x003FD1B0 +#define il2cpp_thread_current_ptr 0x003FD1C0 +#define il2cpp_thread_detach_ptr 0x003FD1D0 +#define il2cpp_thread_get_all_attached_threads_ptr 0x003FD1E0 +#define il2cpp_thread_get_frame_at_ptr 0x003FD1F0 +#define il2cpp_thread_get_stack_depth_ptr 0x003FD200 +#define il2cpp_thread_get_top_frame_ptr 0x003FD210 +#define il2cpp_thread_walk_frame_stack_ptr 0x003FD220 +#define il2cpp_type_equals_ptr 0x003FD230 +#define il2cpp_type_get_assembly_qualified_name_ptr 0x003FD240 +#define il2cpp_type_get_attrs_ptr 0x003FD2E0 +#define il2cpp_type_get_class_or_element_class_ptr 0x003FD2F0 +#define il2cpp_type_get_name_ptr 0x003FD300 +#define il2cpp_type_get_name_chunked_ptr 0x003FD3A0 +#define il2cpp_type_get_object_ptr 0x003FD3B0 +#define il2cpp_type_get_type_ptr 0x003FD3C0 +#define il2cpp_type_is_byref_ptr 0x003FD3D0 +#define il2cpp_type_is_pointer_type_ptr 0x003FD3E0 +#define il2cpp_type_is_static_ptr 0x003FD3F0 +#define il2cpp_unhandled_exception_ptr 0x00390530 +#define il2cpp_unity_install_unitytls_interface_ptr 0x003FD400 +#define il2cpp_unity_liveness_allocate_struct_ptr 0x003FD410 +#define il2cpp_unity_liveness_calculation_from_root_ptr 0x003FD420 +#define il2cpp_unity_liveness_calculation_from_statics_ptr 0x003FD430 +#define il2cpp_unity_liveness_finalize_ptr 0x003FD440 +#define il2cpp_unity_liveness_free_struct_ptr 0x003FD450 +#define il2cpp_unity_set_android_network_up_state_func_ptr 0x003FD460 +#define il2cpp_value_box_ptr 0x00386FC0 diff --git a/cheat/src/appdata/il2cpp-functions.h b/cheat/src/appdata/il2cpp-functions.h index 34dfc3c..30fa9d4 100644 --- a/cheat/src/appdata/il2cpp-functions.h +++ b/cheat/src/appdata/il2cpp-functions.h @@ -6,88 +6,69 @@ // ****************************************************************************** using namespace app; -DO_APP_FUNC(0x00455F30, void, GameFrameWork_Update, (void/*GameFrameWork*/* __this, MethodInfo* method)); +DO_APP_FUNC(0x0048CF50, void, GameFrameWork_Update, (void/*GameFrameWork*/* __this, MethodInfo* method)); -DO_APP_FUNC(0x0208ABF0, String*, Marshal_PtrToStringAnsi, (void* ptr, MethodInfo* method)); -DO_APP_FUNC(0x0208AC10, String*, Marshal_PtrToStringUni, (void* ptr, MethodInfo* method)); +DO_APP_FUNC(0x028E7220, String*, Marshal_PtrToStringAnsi, (void* ptr, MethodInfo* method)); +DO_APP_FUNC(0x028E7240, String*, Marshal_PtrToStringUni, (void* ptr, MethodInfo* method)); // FovChanger -DO_APP_FUNC(0x030797E0, void, Camera_set_fieldOfView, (void* __this, float value, MethodInfo* method)); +DO_APP_FUNC(0x03953C40, void, Camera_set_fieldOfView, (void* __this, float value, MethodInfo* method)); // FPSUnlock -DO_APP_FUNC(0x03072580, int, Application_get_targetFrameRate, (MethodInfo* method)); -DO_APP_FUNC(0x03072CA0, void, Application_set_targetFrameRate, (int value, MethodInfo* method)); +DO_APP_FUNC(0x0394C9E0, int, Application_get_targetFrameRate, (MethodInfo* method)); +DO_APP_FUNC(0x0394D100, void, Application_set_targetFrameRate, (int value, MethodInfo* method)); -DO_APP_FUNC(0x03096A60, void, QualitySettings_set_vSyncCount, (int value, MethodInfo* method)); +DO_APP_FUNC(0x03970F60, void, QualitySettings_set_vSyncCount, (int value, MethodInfo* method)); // TimeScale -DO_APP_FUNC(0x030CF0A0, float, Time_get_timeScale, (MethodInfo * method)); -DO_APP_FUNC(0x030CF190, void, Time_set_timeScale, (float value, MethodInfo * method)); +DO_APP_FUNC(0x039A9F10, float, Time_get_timeScale, (MethodInfo* method)); +DO_APP_FUNC(0x039AA000, void, Time_set_timeScale, (float value, MethodInfo* method)); -// Unity & C# Stuff -DO_APP_FUNC(0x030BE050, GameObject*, GameObject_Find, (String* name, MethodInfo* method)); -DO_APP_FUNC(0x030BBE00, GameObject*, Component_get_gameObject, (Component* __this, MethodInfo* method)); -DO_APP_FUNC(0x030BE2A0, Component*, GameObject_GetComponent, (GameObject* __this, Type* type, MethodInfo* method)); -DO_APP_FUNC(0x030BF0A0, Transform*, GameObject_get_transform, (GameObject* __this, MethodInfo* method)); -DO_APP_FUNC(0x010B2BD0, GameObject*, GameObject_get_gameObject, (GameObject* __this, MethodInfo* method)); -DO_APP_FUNC(0x021BFF00, Type*, Type_GetType_3, (String* typeName, MethodInfo* method)); -DO_APP_FUNC(0x020A21F0, Type*, Assembly_GetType, (Assembly* __this, String* name, MethodInfo* method)); -DO_APP_FUNC(0x020A2310, Assembly*, Assembly_LoadWithPartialName, (String* partialName, MethodInfo* method)); -DO_APP_FUNC(0x030B8BB0, Vector3, Vector3_Lerp, (Vector3 a, Vector3 b, float t, MethodInfo* method)); -DO_APP_FUNC(0x030B8940, float, Vector3_Distance, (Vector3 a, Vector3 b, MethodInfo* method)); -DO_APP_FUNC(0x030C4320, String*, Object_1_get_name, (Object_1* __this, MethodInfo* method)); -DO_APP_FUNC(0x030C23D0, void, Object_1_Destroy_1, (Object_1* obj, MethodInfo* method)); -DO_APP_FUNC(0x030C2E40, Object_1__Array*, Object_1_FindObjectsOfType_1, (Type* type, bool includeInactive, MethodInfo* method)); -DO_APP_FUNC(0x030D3C30, Vector3, Transform_get_position, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x030D44A0, void, Transform_set_position, (Transform* __this, Vector3 value, MethodInfo* method)); -DO_APP_FUNC(0x030D3900, Vector3, Transform_get_localPosition, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x030D4200, void, Transform_set_localPosition, (Transform* __this, Vector3 value, MethodInfo* method)); -DO_APP_FUNC(0x030D0CA0, Vector3, Transform_GetLocalEulerAngles, (Transform* __this, RotationOrder__Enum order, MethodInfo* method)); -DO_APP_FUNC(0x030D25E0, void, Transform_SetLocalEulerAngles, (Transform* __this, Vector3 euler, RotationOrder__Enum order, MethodInfo* method)); -DO_APP_FUNC(0x030D2690, void, Transform_SetLocalEulerHint, (Transform* __this, Vector3 euler, MethodInfo* method)); -DO_APP_FUNC(0x030D3560, Vector3, Transform_get_eulerAngles, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x030D3FB0, void, Transform_set_eulerAngles, (Transform* __this, Vector3 value, MethodInfo* method)); -DO_APP_FUNC(0x030D37D0, Vector3, Transform_get_localEulerAngles, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x030D4110, void, Transform_set_localEulerAngles, (Transform* __this, Vector3 value, MethodInfo* method)); -DO_APP_FUNC(0x030D3C80, Vector3, Transform_get_right, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x030D44F0, void, Transform_set_right, (Transform* __this, Vector3 value, MethodInfo* method)); -DO_APP_FUNC(0x030D3DF0, Vector3, Transform_get_up, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x030D4640, void, Transform_set_up, (Transform* __this, Vector3 value, MethodInfo* method)); -DO_APP_FUNC(0x030D3640, Vector3, Transform_get_forward, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x030D4050, void, Transform_set_forward, (Transform* __this, Vector3 value, MethodInfo* method)); -DO_APP_FUNC(0x030D3DA0, Quaternion, Transform_get_rotation, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x030D45F0, void, Transform_set_rotation, (Transform* __this, Quaternion value, MethodInfo* method)); -DO_APP_FUNC(0x030D39A0, Quaternion, Transform_get_localRotation, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x030D42A0, void, Transform_set_localRotation, (Transform* __this, Quaternion value, MethodInfo* method)); -DO_APP_FUNC(0x030D3520, int32_t, Transform_get_childCount, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x030ECDC0, String*, Scene_GetNameInternal, (int32_t sceneHandle, MethodInfo* method)); -DO_APP_FUNC(0x030EB790, Scene, SceneManager_GetActiveScene, (MethodInfo* method)); -DO_APP_FUNC(0x03069410, float, Animator_get_speed, (Animator* __this, MethodInfo* method)); -DO_APP_FUNC(0x03069E70, void, Animator_set_speed, (Animator* __this, float value, MethodInfo* method)); +// C# methods +DO_APP_FUNC(0x02A29840, Type*, Type_GetType_3, (String* typeName, MethodInfo* method)); +DO_APP_FUNC(0x028FE910, Type*, Assembly_GetType, (Assembly* __this, String* name, MethodInfo* method)); +DO_APP_FUNC(0x028FEA30, Assembly*, Assembly_LoadWithPartialName, (String* partialName, MethodInfo* method)); +// Unity methods +DO_APP_FUNC(0x03993A50, Vector3, Vector3_Lerp, (Vector3 a, Vector3 b, float t, MethodInfo* method)); +DO_APP_FUNC(0x039937E0, float, Vector3_Distance, (Vector3 a, Vector3 b, MethodInfo* method)); +DO_APP_FUNC(0x03999F40, Transform*, GameObject_get_transform, (GameObject* __this, MethodInfo* method)); +DO_APP_FUNC(0x03998EF0, GameObject*, GameObject_Find, (String* name, MethodInfo* method)); +DO_APP_FUNC(0x0399F1C0, String*, Object_1_get_name, (Object_1* __this, MethodInfo* method)); +DO_APP_FUNC(0x039AEAA0, Vector3, Transform_get_position, (Transform* __this, MethodInfo* method)); +DO_APP_FUNC(0x039AF310, void, Transform_set_position, (Transform* __this, Vector3 value, MethodInfo* method)); +DO_APP_FUNC(0x039AEAF0, Vector3, Transform_get_right, (Transform* __this, MethodInfo* method)); +DO_APP_FUNC(0x039AF360, void, Transform_set_right, (Transform* __this, Vector3 value, MethodInfo* method)); +DO_APP_FUNC(0x039AEC60, Vector3, Transform_get_up, (Transform* __this, MethodInfo* method)); +DO_APP_FUNC(0x039AF4B0, void, Transform_set_up, (Transform* __this, Vector3 value, MethodInfo* method)); +DO_APP_FUNC(0x039AE4B0, Vector3, Transform_get_forward, (Transform* __this, MethodInfo* method)); +DO_APP_FUNC(0x039AEEC0, void, Transform_set_forward, (Transform* __this, Vector3 value, MethodInfo* method)); +DO_APP_FUNC(0x039AE390, int32_t, Transform_get_childCount, (Transform* __this, MethodInfo* method)); +DO_APP_FUNC(0x039C7F90, String*, Scene_GetNameInternal, (int32_t sceneHandle, MethodInfo* method)); +DO_APP_FUNC(0x039C6960, Scene, SceneManager_GetActiveScene, (MethodInfo* method)); // No Cooldown -DO_APP_FUNC(0x008546C0, void/*KAAIFMKPKAG*/*, KAAIFMKPKAG_IOFMGMJCCFO, (KAAIFMKPKAG* __this, bool DEJNILEHENL, MethodInfo* method)); +DO_APP_FUNC(0x00913CD0, void/*KAAIFMKPKAG*/*, KAAIFMKPKAG_IOFMGMJCCFO, (KAAIFMKPKAG* __this, bool DEJNILEHENL, MethodInfo* method)); // Damage Hack -DO_APP_FUNC(0x00830370, void, PIPHNBOBFEF_KBCIIEFLPGB, (PIPHNBOBFEF* __this, ESpecialState__Enum OCKAHFDGNEL, int64_t MGFPJFANLBG, int64_t DIACKALMMKH, int64_t PBAPBJGDAPJ, String* DLOACPLHGMP, MethodInfo* method)); +DO_APP_FUNC(0x008F8420, void, PIPHNBOBFEF_KBCIIEFLPGB, (PIPHNBOBFEF* __this, ESpecialState__Enum OCKAHFDGNEL, int64_t MGFPJFANLBG, int64_t DIACKALMMKH, int64_t PBAPBJGDAPJ, String* DLOACPLHGMP, MethodInfo* method)); // God Mode -DO_APP_FUNC(0x009D6CB0, int32_t, GHINOEFFMPN_EKHGIHBHEPL, (SkillIdentity* EKPKPIJBPKE, void/*IEnumerable_1_UnityEngine_Component_*/* FKJDKGJBGOD, TargetHitData* COFCDKGCOGJ, MethodInfo* method)); +DO_APP_FUNC(0x00AA4D10, int32_t, GHINOEFFMPN_EKHGIHBHEPL, (SkillIdentity* EKPKPIJBPKE, void/*IEnumerable_1_UnityEngine_Component_*/* FKJDKGJBGOD, TargetHitData* COFCDKGCOGJ, MethodInfo* method)); // Dumb Enemies -DO_APP_FUNC(0x00A65FC0, void, EvadeProxy_Init, (EvadeProxy* __this, ENNEJEPMJLJ* IGBKKNODEGM, EvadePenetration* DHPMEMDBDMC, MethodInfo* method)); +DO_APP_FUNC(0x00B3EC40, void, EvadeProxy_Init, (EvadeProxy* __this, ENNEJEPMJLJ* IGBKKNODEGM, EvadePenetration* DHPMEMDBDMC, MethodInfo* method)); // EntityManager -DO_APP_FUNC(0x00865E30, void, ENHPKNIEKMI_MIFDFEHDDDD, (ENHPKNIEKMI* __this, MethodInfo* method)); -DO_APP_FUNC(0x00A3C540, ENHPKNIEKMI*, ENNEJEPMJLJ_FIGHFBNIDJA, (ENNEJEPMJLJ* __this, MethodInfo* method)); -DO_APP_FUNC(0x00A32AE0, bool, PCILGJOEPJM_PPAKPBOJLIP, (ENNEJEPMJLJ* IGBKKNODEGM, MethodInfo* method)); // Check if Entity is alive???? +DO_APP_FUNC(0x00926480, void, ENHPKNIEKMI_MIFDFEHDDDD, (ENHPKNIEKMI* __this, MethodInfo* method)); +DO_APP_FUNC(0x00B082C0, ENHPKNIEKMI*, ENNEJEPMJLJ_FIGHFBNIDJA, (ENNEJEPMJLJ* __this, MethodInfo* method)); +DO_APP_FUNC(0x00B0AE80, bool, PCILGJOEPJM_PPAKPBOJLIP, (ENNEJEPMJLJ* IGBKKNODEGM, MethodInfo* method)); // Check if Entity is alive???? // Mission Time -DO_APP_FUNC(0x00E40850, void, StageReadyPage_EnterUI, (StageReadyPage* __this, MethodInfo* method)); -DO_APP_FUNC(0x00E42FE0, void, StoryQuestChapterPage_EnterUI, (StoryQuestChapterPage* __this,MethodInfo* method)); +DO_APP_FUNC(0x00F3A7A0, void, StageReadyPage_EnterUI, (StageReadyPage* __this, MethodInfo* method)); +DO_APP_FUNC(0x00F3E030, void, StoryQuestChapterPage_EnterUI, (StoryQuestChapterPage* __this,MethodInfo* method)); // Intro Movie -DO_APP_FUNC(0x00B40AC0, void, GameMovie_Update, (GameMovie* __this, MethodInfo* method)); -DO_APP_FUNC(0x00B44FE0, void, IntroMovie_Update, (IntroMovie* __this, MethodInfo* method)); +DO_APP_FUNC(0x00C16180, void, GameMovie_Update, (GameMovie* __this, MethodInfo* method)); +DO_APP_FUNC(0x00C175B0, void, IntroMovie_Update, (IntroMovie* __this, MethodInfo* method)); // Disable Web View -DO_APP_FUNC(0x022E4BE0, void, WebViewDialog_Show, (void* __this, MethodInfo* method)); -DO_APP_FUNC(0x022E6950, void, WebViewUI_RefreshSize, (void* __this, MethodInfo* method)); +DO_APP_FUNC(0x02BD1040, void, WebViewDialog_Show, (void* __this, MethodInfo* method)); +DO_APP_FUNC(0x02BD2ED0, void, WebViewUI_RefreshSize, (void* __this, MethodInfo* method)); //DO_APP_FUNC(0x00430040, EGLGAPIAANF__Enum, JIBDAHKJHOG_PCLINKFFGNE, (JIBDAHKJHOG* __this, MethodInfo* method)); //DO_APP_FUNC(0x00837FE0, void, JIBDAHKJHOG_KPDGECAFJKA, (JIBDAHKJHOG* __this, MethodInfo* method)); @@ -96,10 +77,10 @@ DO_APP_FUNC(0x022E6950, void, WebViewUI_RefreshSize, (void* __this, MethodInfo* //DO_APP_FUNC(0x00836410, void, JIBDAHKJHOG_COLDHPFDOHG, (JIBDAHKJHOG* __this, MethodInfo* method)); // StageStart // Shadow Cooldown And Limit -DO_APP_FUNC(0x00A57810, void, JLLMICINIDA_LFCGJLAFFOM, (JLLMICINIDA* __this, MethodInfo* method)); +DO_APP_FUNC(0x00B202F0, void, JLLMICINIDA_LFCGJLAFFOM, (JLLMICINIDA* __this, MethodInfo* method)); // Singletons -DO_APP_FUNC(0x00345D80, void*, TSingleton_GetInstance, (MethodInfo* method)); // Search for this in IDA. Seems to be Singleton class -DO_APP_FUNC(0x0042D0E0, Object*, TSingleton_1_System_Object__get_Instance, (MethodInfo* method)); // Get the instance of the singleton +DO_APP_FUNC(0x00387510, void*, TSingleton_GetInstance, (MethodInfo* method)); // Search for this in IDA. Seems to be Singleton class +DO_APP_FUNC(0x0046F0E0, Object*, TSingleton_1_System_Object__get_Instance, (MethodInfo* method)); // Get the instance of the singleton // DO_APP_FUNC_METHODINFO(0x04038380, TSingleton_1_JIBDAHKJHOG__get_Instance__MethodInfo); // DO_APP_FUNC_METHODINFO(0x0403AC70, TSingleton_1_PJKMAOEINNH__get_Instance__MethodInfo); // Probably EntityManager or something similar \ No newline at end of file diff --git a/cheat/src/global.h b/cheat/src/global.h index 9bd6197..302790f 100644 --- a/cheat/src/global.h +++ b/cheat/src/global.h @@ -15,4 +15,6 @@ #include "events/handlers/methodeventhandler.hpp" #include "events/handlers/functoreventhandler.hpp" #include "events/joins/handlereventjoin.hpp" -#include "events/joins/eventjoinwrapper.hpp" \ No newline at end of file +#include "events/joins/eventjoinwrapper.hpp" + +#include "UnityResolve.hpp" \ No newline at end of file diff --git a/cheat/src/main.cpp b/cheat/src/main.cpp index 51328f1..b42dd96 100644 --- a/cheat/src/main.cpp +++ b/cheat/src/main.cpp @@ -15,11 +15,14 @@ void Run(HMODULE hModule) LOG(xorstr("[SoloLevelling] game not found, waiting 3 seconds...")); Sleep(3000); } - + Utils::SetCurrentPath(Utils::GetModulePath(hModule)); ConfigManager::GetInstance().InitializeConfig((Utils::GetCurrentPath() / "config.json").string()); Init(Renderer::DXVersion::D3D11); + + // UnityResolve::Init(GetModuleHandleA(xorstr("GameAssembly.dll")), UnityResolve::Mode::Il2Cpp); + init_il2cpp(); init_cheat(); diff --git a/cheat/vendor/UnityResolve b/cheat/vendor/UnityResolve new file mode 160000 index 0000000..855d1e8 --- /dev/null +++ b/cheat/vendor/UnityResolve @@ -0,0 +1 @@ +Subproject commit 855d1e8d4ad3742c75edf874194d126d61b09284