From 175aae504aae42f68156868c5c3f7bba8be9d399 Mon Sep 17 00:00:00 2001 From: Joaquin Date: Sun, 14 Jul 2024 16:32:12 -0600 Subject: [PATCH] feat: Update 1.1.37 --- cheat/src/appdata/il2cpp-api-functions-ptr.h | 460 +++++++++---------- cheat/src/appdata/il2cpp-functions.h | 80 ++-- cheat/src/cheat/cheat.cpp | 4 +- cheat/src/cheat/features/EntityManager.cpp | 14 +- 4 files changed, 281 insertions(+), 277 deletions(-) diff --git a/cheat/src/appdata/il2cpp-api-functions-ptr.h b/cheat/src/appdata/il2cpp-api-functions-ptr.h index c73f312..4f3dfc7 100644 --- a/cheat/src/appdata/il2cpp-api-functions-ptr.h +++ b/cheat/src/appdata/il2cpp-api-functions-ptr.h @@ -5,239 +5,239 @@ // * IL2CPP API function pointers // ****************************************************************************** -#define il2cpp_add_internal_call_ptr 0x003FB830 -#define il2cpp_alloc_ptr 0x003FB840 -#define il2cpp_allocation_granularity_ptr 0x00267740 -#define il2cpp_array_class_get_ptr 0x003FB850 -#define il2cpp_array_element_size_ptr 0x003FB860 -#define il2cpp_array_get_byte_length_ptr 0x003FB870 -#define il2cpp_array_length_ptr 0x003FB880 -#define il2cpp_array_new_ptr 0x003FB890 -#define il2cpp_array_new_full_ptr 0x003FB8A0 -#define il2cpp_array_new_specific_ptr 0x003FB8B0 -#define il2cpp_array_object_header_size_ptr 0x00304930 -#define il2cpp_assembly_get_image_ptr 0x003EC0D0 -#define il2cpp_bounded_array_class_get_ptr 0x003FB8C0 -#define il2cpp_capture_memory_snapshot_ptr 0x003FB8D0 -#define il2cpp_class_array_element_size_ptr 0x003FB8E0 -#define il2cpp_class_enum_basetype_ptr 0x003FB8F0 -#define il2cpp_class_for_each_ptr 0x003FB900 -#define il2cpp_class_from_il2cpp_type_ptr 0x003FB910 -#define il2cpp_class_from_name_ptr 0x003FB920 -#define il2cpp_class_from_system_type_ptr 0x003FB930 -#define il2cpp_class_from_type_ptr 0x003FB910 -#define il2cpp_class_get_assemblyname_ptr 0x003FB940 -#define il2cpp_class_get_bitmap_ptr 0x003FB950 -#define il2cpp_class_get_bitmap_size_ptr 0x003FB970 -#define il2cpp_class_get_data_size_ptr 0x003FB980 -#define il2cpp_class_get_declaring_type_ptr 0x003FB990 -#define il2cpp_class_get_element_class_ptr 0x003FB9A0 -#define il2cpp_class_get_events_ptr 0x003FB9B0 -#define il2cpp_class_get_field_from_name_ptr 0x003FB9C0 -#define il2cpp_class_get_fields_ptr 0x003FB9D0 -#define il2cpp_class_get_flags_ptr 0x003FB9E0 -#define il2cpp_class_get_image_ptr 0x003EC0D0 -#define il2cpp_class_get_interfaces_ptr 0x003FB9F0 -#define il2cpp_class_get_method_from_name_ptr 0x003FBA00 -#define il2cpp_class_get_methods_ptr 0x003FBA10 -#define il2cpp_class_get_name_ptr 0x003FBA20 -#define il2cpp_class_get_namespace_ptr 0x003FBA30 -#define il2cpp_class_get_nested_types_ptr 0x003FBA40 -#define il2cpp_class_get_parent_ptr 0x003FBA50 -#define il2cpp_class_get_properties_ptr 0x003FBA60 -#define il2cpp_class_get_property_from_name_ptr 0x003FBA70 -#define il2cpp_class_get_rank_ptr 0x003FBA80 +#define il2cpp_add_internal_call_ptr 0x00385200 +#define il2cpp_alloc_ptr 0x00385210 +#define il2cpp_allocation_granularity_ptr 0x00265630 +#define il2cpp_array_class_get_ptr 0x00385220 +#define il2cpp_array_element_size_ptr 0x00385230 +#define il2cpp_array_get_byte_length_ptr 0x00385240 +#define il2cpp_array_length_ptr 0x00385250 +#define il2cpp_array_new_ptr 0x00385260 +#define il2cpp_array_new_full_ptr 0x00385270 +#define il2cpp_array_new_specific_ptr 0x00385280 +#define il2cpp_array_object_header_size_ptr 0x003032B0 +#define il2cpp_assembly_get_image_ptr 0x00350FE0 +#define il2cpp_bounded_array_class_get_ptr 0x00385290 +#define il2cpp_capture_memory_snapshot_ptr 0x003852A0 +#define il2cpp_class_array_element_size_ptr 0x003852B0 +#define il2cpp_class_enum_basetype_ptr 0x003852C0 +#define il2cpp_class_for_each_ptr 0x003852D0 +#define il2cpp_class_from_il2cpp_type_ptr 0x003852E0 +#define il2cpp_class_from_name_ptr 0x003852F0 +#define il2cpp_class_from_system_type_ptr 0x00385300 +#define il2cpp_class_from_type_ptr 0x003852E0 +#define il2cpp_class_get_assemblyname_ptr 0x00385310 +#define il2cpp_class_get_bitmap_ptr 0x00385320 +#define il2cpp_class_get_bitmap_size_ptr 0x00385340 +#define il2cpp_class_get_data_size_ptr 0x00385350 +#define il2cpp_class_get_declaring_type_ptr 0x00385360 +#define il2cpp_class_get_element_class_ptr 0x00385370 +#define il2cpp_class_get_events_ptr 0x00385380 +#define il2cpp_class_get_field_from_name_ptr 0x00385390 +#define il2cpp_class_get_fields_ptr 0x003853A0 +#define il2cpp_class_get_flags_ptr 0x003853B0 +#define il2cpp_class_get_image_ptr 0x00350FE0 +#define il2cpp_class_get_interfaces_ptr 0x003853C0 +#define il2cpp_class_get_method_from_name_ptr 0x003853D0 +#define il2cpp_class_get_methods_ptr 0x003853E0 +#define il2cpp_class_get_name_ptr 0x003853F0 +#define il2cpp_class_get_namespace_ptr 0x00385400 +#define il2cpp_class_get_nested_types_ptr 0x00385410 +#define il2cpp_class_get_parent_ptr 0x00385420 +#define il2cpp_class_get_properties_ptr 0x00385430 +#define il2cpp_class_get_property_from_name_ptr 0x00385440 +#define il2cpp_class_get_rank_ptr 0x00385450 #define il2cpp_class_get_static_field_data_ptr 0x00003110 -#define il2cpp_class_get_type_ptr 0x00370020 -#define il2cpp_class_get_type_token_ptr 0x003FBA90 -#define il2cpp_class_get_userdata_offset_ptr 0x003FBAA0 -#define il2cpp_class_has_attribute_ptr 0x003FBAB0 -#define il2cpp_class_has_parent_ptr 0x003FBAC0 -#define il2cpp_class_has_references_ptr 0x003FBAD0 -#define il2cpp_class_instance_size_ptr 0x003FBAE0 -#define il2cpp_class_is_abstract_ptr 0x003FBAF0 -#define il2cpp_class_is_assignable_from_ptr 0x003867F0 -#define il2cpp_class_is_blittable_ptr 0x003FBB00 -#define il2cpp_class_is_enum_ptr 0x003FBB10 -#define il2cpp_class_is_generic_ptr 0x003FBB20 -#define il2cpp_class_is_inflated_ptr 0x003FBB30 -#define il2cpp_class_is_interface_ptr 0x003FBB40 -#define il2cpp_class_is_subclass_of_ptr 0x003FBB50 -#define il2cpp_class_is_valuetype_ptr 0x003FBB60 -#define il2cpp_class_num_fields_ptr 0x003FBB70 -#define il2cpp_class_set_userdata_ptr 0x002972F0 -#define il2cpp_class_value_size_ptr 0x003FBB80 -#define il2cpp_current_thread_get_frame_at_ptr 0x003FBB90 -#define il2cpp_current_thread_get_stack_depth_ptr 0x003FBBA0 -#define il2cpp_current_thread_get_top_frame_ptr 0x003FBBC0 -#define il2cpp_current_thread_walk_frame_stack_ptr 0x003FBBD0 -#define il2cpp_custom_attrs_construct_ptr 0x003FBBE0 +#define il2cpp_class_get_type_ptr 0x00385460 +#define il2cpp_class_get_type_token_ptr 0x00385470 +#define il2cpp_class_get_userdata_offset_ptr 0x00385480 +#define il2cpp_class_has_attribute_ptr 0x00385490 +#define il2cpp_class_has_parent_ptr 0x003854A0 +#define il2cpp_class_has_references_ptr 0x003854B0 +#define il2cpp_class_instance_size_ptr 0x003854C0 +#define il2cpp_class_is_abstract_ptr 0x003854D0 +#define il2cpp_class_is_assignable_from_ptr 0x003741E0 +#define il2cpp_class_is_blittable_ptr 0x003854E0 +#define il2cpp_class_is_enum_ptr 0x003854F0 +#define il2cpp_class_is_generic_ptr 0x00385500 +#define il2cpp_class_is_inflated_ptr 0x00385510 +#define il2cpp_class_is_interface_ptr 0x00385520 +#define il2cpp_class_is_subclass_of_ptr 0x00385530 +#define il2cpp_class_is_valuetype_ptr 0x00385540 +#define il2cpp_class_num_fields_ptr 0x00385550 +#define il2cpp_class_set_userdata_ptr 0x00295560 +#define il2cpp_class_value_size_ptr 0x00385560 +#define il2cpp_current_thread_get_frame_at_ptr 0x00385570 +#define il2cpp_current_thread_get_stack_depth_ptr 0x00385580 +#define il2cpp_current_thread_get_top_frame_ptr 0x003855A0 +#define il2cpp_current_thread_walk_frame_stack_ptr 0x003855B0 +#define il2cpp_custom_attrs_construct_ptr 0x003855C0 #define il2cpp_custom_attrs_free_ptr 0x00003650 -#define il2cpp_custom_attrs_from_class_ptr 0x003FBBF0 -#define il2cpp_custom_attrs_from_method_ptr 0x003FBC00 -#define il2cpp_custom_attrs_get_attr_ptr 0x003FBC10 -#define il2cpp_custom_attrs_has_attr_ptr 0x003FBC20 -#define il2cpp_debug_get_method_info_ptr 0x003FBC30 +#define il2cpp_custom_attrs_from_class_ptr 0x003855D0 +#define il2cpp_custom_attrs_from_method_ptr 0x003855E0 +#define il2cpp_custom_attrs_get_attr_ptr 0x003855F0 +#define il2cpp_custom_attrs_has_attr_ptr 0x00385600 +#define il2cpp_debug_get_method_info_ptr 0x00385610 #define il2cpp_debugger_set_agent_options_ptr 0x00003650 -#define il2cpp_domain_assembly_open_ptr 0x003FBC40 -#define il2cpp_domain_get_ptr 0x003FBC50 -#define il2cpp_domain_get_assemblies_ptr 0x003FBC60 -#define il2cpp_exception_from_name_msg_ptr 0x003FBC90 -#define il2cpp_field_get_flags_ptr 0x003FBCA0 -#define il2cpp_field_get_name_ptr 0x003EC0D0 -#define il2cpp_field_get_offset_ptr 0x003FBCB0 -#define il2cpp_field_get_parent_ptr 0x003FBA20 -#define il2cpp_field_get_type_ptr 0x003FBCC0 -#define il2cpp_field_get_value_ptr 0x003FBCD0 -#define il2cpp_field_get_value_object_ptr 0x003FBCE0 -#define il2cpp_field_has_attribute_ptr 0x003FBCF0 -#define il2cpp_field_is_literal_ptr 0x003FBD00 -#define il2cpp_field_set_value_ptr 0x003FBD10 -#define il2cpp_field_set_value_object_ptr 0x003FBD20 -#define il2cpp_field_static_get_value_ptr 0x003FBD30 -#define il2cpp_field_static_set_value_ptr 0x003FBD40 -#define il2cpp_format_exception_ptr 0x003FBD50 -#define il2cpp_format_stack_trace_ptr 0x003FBDE0 -#define il2cpp_free_ptr 0x00370000 -#define il2cpp_free_captured_memory_snapshot_ptr 0x003FBE70 -#define il2cpp_gc_alloc_fixed_ptr 0x003FBE80 -#define il2cpp_gc_collect_ptr 0x003E47C0 -#define il2cpp_gc_collect_a_little_ptr 0x003FBE90 -#define il2cpp_gc_disable_ptr 0x003FBEA0 -#define il2cpp_gc_enable_ptr 0x003FBEB0 -#define il2cpp_gc_foreach_heap_ptr 0x003FBEC0 -#define il2cpp_gc_free_fixed_ptr 0x003FBEF0 -#define il2cpp_gc_get_heap_size_ptr 0x003FBF00 -#define il2cpp_gc_get_max_time_slice_ns_ptr 0x003FBF10 -#define il2cpp_gc_get_used_size_ptr 0x003FBF20 -#define il2cpp_gc_has_strict_wbarriers_ptr 0x00115150 -#define il2cpp_gc_is_disabled_ptr 0x003FBF30 -#define il2cpp_gc_is_incremental_ptr 0x003FBF40 +#define il2cpp_domain_assembly_open_ptr 0x00385620 +#define il2cpp_domain_get_ptr 0x00385630 +#define il2cpp_domain_get_assemblies_ptr 0x00385640 +#define il2cpp_exception_from_name_msg_ptr 0x00385670 +#define il2cpp_field_get_flags_ptr 0x00385680 +#define il2cpp_field_get_name_ptr 0x00350FE0 +#define il2cpp_field_get_offset_ptr 0x00385690 +#define il2cpp_field_get_parent_ptr 0x003853F0 +#define il2cpp_field_get_type_ptr 0x003856A0 +#define il2cpp_field_get_value_ptr 0x003856B0 +#define il2cpp_field_get_value_object_ptr 0x003856C0 +#define il2cpp_field_has_attribute_ptr 0x003856D0 +#define il2cpp_field_is_literal_ptr 0x003856E0 +#define il2cpp_field_set_value_ptr 0x003856F0 +#define il2cpp_field_set_value_object_ptr 0x00385700 +#define il2cpp_field_static_get_value_ptr 0x00385710 +#define il2cpp_field_static_set_value_ptr 0x00385720 +#define il2cpp_format_exception_ptr 0x00385730 +#define il2cpp_format_stack_trace_ptr 0x003857C0 +#define il2cpp_free_ptr 0x00385850 +#define il2cpp_free_captured_memory_snapshot_ptr 0x00385860 +#define il2cpp_gc_alloc_fixed_ptr 0x00385870 +#define il2cpp_gc_collect_ptr 0x00385880 +#define il2cpp_gc_collect_a_little_ptr 0x00385890 +#define il2cpp_gc_disable_ptr 0x003858A0 +#define il2cpp_gc_enable_ptr 0x003858B0 +#define il2cpp_gc_foreach_heap_ptr 0x003858C0 +#define il2cpp_gc_free_fixed_ptr 0x003858F0 +#define il2cpp_gc_get_heap_size_ptr 0x00385900 +#define il2cpp_gc_get_max_time_slice_ns_ptr 0x00385910 +#define il2cpp_gc_get_used_size_ptr 0x00385920 +#define il2cpp_gc_has_strict_wbarriers_ptr 0x0010FD60 +#define il2cpp_gc_is_disabled_ptr 0x00385930 +#define il2cpp_gc_is_incremental_ptr 0x00385940 #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 0x003FBF50 -#define il2cpp_gc_set_mode_ptr 0x003FBF60 -#define il2cpp_gc_start_incremental_collection_ptr 0x003FBF70 -#define il2cpp_gc_wbarrier_set_field_ptr 0x003FBF80 -#define il2cpp_gchandle_foreach_get_target_ptr 0x003FBF90 -#define il2cpp_gchandle_free_ptr 0x003A5630 -#define il2cpp_gchandle_get_target_ptr 0x003A56F0 -#define il2cpp_gchandle_new_ptr 0x003FBFC0 -#define il2cpp_gchandle_new_weakref_ptr 0x003FBFD0 -#define il2cpp_get_corlib_ptr 0x003FC000 -#define il2cpp_get_exception_argument_null_ptr 0x00386950 -#define il2cpp_image_get_assembly_ptr 0x003FBA20 -#define il2cpp_image_get_class_ptr 0x003FC010 -#define il2cpp_image_get_class_count_ptr 0x003FC020 -#define il2cpp_image_get_entry_point_ptr 0x003FC030 -#define il2cpp_image_get_filename_ptr 0x003EC0D0 -#define il2cpp_image_get_name_ptr 0x003EC0D0 -#define il2cpp_init_ptr 0x003FC040 -#define il2cpp_init_utf16_ptr 0x003FC070 -#define il2cpp_is_debugger_attached_ptr 0x003FC100 -#define il2cpp_is_vm_thread_ptr 0x003FC110 -#define il2cpp_method_get_class_ptr 0x00386D30 -#define il2cpp_method_get_declaring_type_ptr 0x00386D30 -#define il2cpp_method_get_flags_ptr 0x003FC120 -#define il2cpp_method_get_from_reflection_ptr 0x003FBA20 -#define il2cpp_method_get_name_ptr 0x003FBA30 -#define il2cpp_method_get_object_ptr 0x003FC150 -#define il2cpp_method_get_param_ptr 0x003FC160 -#define il2cpp_method_get_param_count_ptr 0x003FC170 -#define il2cpp_method_get_param_name_ptr 0x003FC180 -#define il2cpp_method_get_return_type_ptr 0x003FC190 -#define il2cpp_method_get_token_ptr 0x003FC1A0 -#define il2cpp_method_has_attribute_ptr 0x003FC1B0 -#define il2cpp_method_is_generic_ptr 0x003FC1C0 -#define il2cpp_method_is_inflated_ptr 0x003FC1D0 -#define il2cpp_method_is_instance_ptr 0x003FC1E0 -#define il2cpp_monitor_enter_ptr 0x003FC1F0 -#define il2cpp_monitor_exit_ptr 0x003FC200 -#define il2cpp_monitor_pulse_ptr 0x003FC210 -#define il2cpp_monitor_pulse_all_ptr 0x003FC220 -#define il2cpp_monitor_try_enter_ptr 0x003FC230 -#define il2cpp_monitor_try_wait_ptr 0x003FC240 -#define il2cpp_monitor_wait_ptr 0x003FC250 -#define il2cpp_native_stack_trace_ptr 0x003FC260 -#define il2cpp_object_get_class_ptr 0x003EC0D0 -#define il2cpp_object_get_size_ptr 0x003FC330 -#define il2cpp_object_get_virtual_method_ptr 0x003FC340 -#define il2cpp_object_header_size_ptr 0x00267740 -#define il2cpp_object_new_ptr 0x003FC350 -#define il2cpp_object_unbox_ptr 0x003867E0 -#define il2cpp_offset_of_array_bounds_in_array_object_header_ptr 0x00267740 -#define il2cpp_offset_of_array_length_in_array_object_header_ptr 0x003FC370 -#define il2cpp_override_stack_backtrace_ptr 0x003FC380 -#define il2cpp_profiler_install_ptr 0x003FC390 -#define il2cpp_profiler_install_allocation_ptr 0x003FC3A0 -#define il2cpp_profiler_install_enter_leave_ptr 0x003FC3B0 -#define il2cpp_profiler_install_fileio_ptr 0x003FC3C0 -#define il2cpp_profiler_install_gc_ptr 0x003FC3D0 -#define il2cpp_profiler_install_thread_ptr 0x003FC3E0 -#define il2cpp_profiler_set_events_ptr 0x003FC3F0 -#define il2cpp_property_get_flags_ptr 0x003FC400 -#define il2cpp_property_get_get_method_ptr 0x003FBA20 -#define il2cpp_property_get_name_ptr 0x003FBCC0 -#define il2cpp_property_get_parent_ptr 0x003EC0D0 -#define il2cpp_property_get_set_method_ptr 0x003FBA30 -#define il2cpp_raise_exception_ptr 0x003FC410 +#define il2cpp_gc_set_max_time_slice_ns_ptr 0x00385950 +#define il2cpp_gc_set_mode_ptr 0x00385960 +#define il2cpp_gc_start_incremental_collection_ptr 0x00385970 +#define il2cpp_gc_wbarrier_set_field_ptr 0x00385980 +#define il2cpp_gchandle_foreach_get_target_ptr 0x00385990 +#define il2cpp_gchandle_free_ptr 0x0036A820 +#define il2cpp_gchandle_get_target_ptr 0x0036A8F0 +#define il2cpp_gchandle_new_ptr 0x003859C0 +#define il2cpp_gchandle_new_weakref_ptr 0x003859D0 +#define il2cpp_get_corlib_ptr 0x00385A00 +#define il2cpp_get_exception_argument_null_ptr 0x00374340 +#define il2cpp_image_get_assembly_ptr 0x003853F0 +#define il2cpp_image_get_class_ptr 0x00385A10 +#define il2cpp_image_get_class_count_ptr 0x00385A20 +#define il2cpp_image_get_entry_point_ptr 0x00385A30 +#define il2cpp_image_get_filename_ptr 0x00350FE0 +#define il2cpp_image_get_name_ptr 0x00350FE0 +#define il2cpp_init_ptr 0x00385A40 +#define il2cpp_init_utf16_ptr 0x00385A70 +#define il2cpp_is_debugger_attached_ptr 0x00385B00 +#define il2cpp_is_vm_thread_ptr 0x00385B10 +#define il2cpp_method_get_class_ptr 0x00374710 +#define il2cpp_method_get_declaring_type_ptr 0x00374710 +#define il2cpp_method_get_flags_ptr 0x00385B20 +#define il2cpp_method_get_from_reflection_ptr 0x003853F0 +#define il2cpp_method_get_name_ptr 0x00385400 +#define il2cpp_method_get_object_ptr 0x00385B50 +#define il2cpp_method_get_param_ptr 0x00385B60 +#define il2cpp_method_get_param_count_ptr 0x00385B70 +#define il2cpp_method_get_param_name_ptr 0x00385B80 +#define il2cpp_method_get_return_type_ptr 0x00385B90 +#define il2cpp_method_get_token_ptr 0x00385BA0 +#define il2cpp_method_has_attribute_ptr 0x00385BB0 +#define il2cpp_method_is_generic_ptr 0x00385BC0 +#define il2cpp_method_is_inflated_ptr 0x00385BD0 +#define il2cpp_method_is_instance_ptr 0x00385BE0 +#define il2cpp_monitor_enter_ptr 0x00385BF0 +#define il2cpp_monitor_exit_ptr 0x00385C00 +#define il2cpp_monitor_pulse_ptr 0x00385C10 +#define il2cpp_monitor_pulse_all_ptr 0x00385C20 +#define il2cpp_monitor_try_enter_ptr 0x00385C30 +#define il2cpp_monitor_try_wait_ptr 0x00385C40 +#define il2cpp_monitor_wait_ptr 0x00385C50 +#define il2cpp_native_stack_trace_ptr 0x00385C60 +#define il2cpp_object_get_class_ptr 0x00350FE0 +#define il2cpp_object_get_size_ptr 0x00385D30 +#define il2cpp_object_get_virtual_method_ptr 0x00385D40 +#define il2cpp_object_header_size_ptr 0x00265630 +#define il2cpp_object_new_ptr 0x00385D50 +#define il2cpp_object_unbox_ptr 0x003741D0 +#define il2cpp_offset_of_array_bounds_in_array_object_header_ptr 0x00265630 +#define il2cpp_offset_of_array_length_in_array_object_header_ptr 0x00385D70 +#define il2cpp_override_stack_backtrace_ptr 0x00385D80 +#define il2cpp_profiler_install_ptr 0x00385D90 +#define il2cpp_profiler_install_allocation_ptr 0x00385DA0 +#define il2cpp_profiler_install_enter_leave_ptr 0x00385DB0 +#define il2cpp_profiler_install_fileio_ptr 0x00385DC0 +#define il2cpp_profiler_install_gc_ptr 0x00385DD0 +#define il2cpp_profiler_install_thread_ptr 0x00385DE0 +#define il2cpp_profiler_set_events_ptr 0x00385DF0 +#define il2cpp_property_get_flags_ptr 0x00385E00 +#define il2cpp_property_get_get_method_ptr 0x003853F0 +#define il2cpp_property_get_name_ptr 0x003856A0 +#define il2cpp_property_get_parent_ptr 0x00350FE0 +#define il2cpp_property_get_set_method_ptr 0x00385400 +#define il2cpp_raise_exception_ptr 0x00385E10 #define il2cpp_register_debugger_agent_transport_ptr 0x00003650 -#define il2cpp_register_log_callback_ptr 0x003FC420 -#define il2cpp_resolve_icall_ptr 0x003FC430 -#define il2cpp_runtime_class_init_ptr 0x00386E60 -#define il2cpp_runtime_invoke_ptr 0x003FC440 -#define il2cpp_runtime_invoke_convert_args_ptr 0x003FC450 -#define il2cpp_runtime_object_init_ptr 0x003FC460 -#define il2cpp_runtime_object_init_exception_ptr 0x003FC470 -#define il2cpp_runtime_unhandled_exception_policy_set_ptr 0x003FC480 -#define il2cpp_set_commandline_arguments_ptr 0x003FC490 -#define il2cpp_set_commandline_arguments_utf16_ptr 0x003FC4A0 -#define il2cpp_set_config_ptr 0x003FC4B0 -#define il2cpp_set_config_dir_ptr 0x003FC4C0 -#define il2cpp_set_config_utf16_ptr 0x003FC4D0 -#define il2cpp_set_data_dir_ptr 0x003FC4E0 -#define il2cpp_set_default_thread_affinity_ptr 0x003E4A00 -#define il2cpp_set_find_plugin_callback_ptr 0x003FC4F0 -#define il2cpp_set_memory_callbacks_ptr 0x003FC500 -#define il2cpp_set_temp_dir_ptr 0x003FC510 -#define il2cpp_shutdown_ptr 0x003FC520 -#define il2cpp_start_gc_world_ptr 0x003FC530 -#define il2cpp_stats_dump_to_file_ptr 0x003FC540 -#define il2cpp_stats_get_value_ptr 0x003FC7A0 -#define il2cpp_stop_gc_world_ptr 0x003FC830 -#define il2cpp_string_chars_ptr 0x003FC840 -#define il2cpp_string_intern_ptr 0x003FC850 -#define il2cpp_string_is_interned_ptr 0x003FC860 -#define il2cpp_string_length_ptr 0x003FC870 -#define il2cpp_string_new_ptr 0x003FC880 -#define il2cpp_string_new_len_ptr 0x003FC890 -#define il2cpp_string_new_utf16_ptr 0x003FC8A0 -#define il2cpp_string_new_wrapper_ptr 0x003FC880 -#define il2cpp_thread_attach_ptr 0x003FC8B0 -#define il2cpp_thread_current_ptr 0x003FC8C0 -#define il2cpp_thread_detach_ptr 0x003FC8D0 -#define il2cpp_thread_get_all_attached_threads_ptr 0x003FC8E0 -#define il2cpp_thread_get_frame_at_ptr 0x003FC8F0 -#define il2cpp_thread_get_stack_depth_ptr 0x003FC900 -#define il2cpp_thread_get_top_frame_ptr 0x003FC910 -#define il2cpp_thread_walk_frame_stack_ptr 0x003FC920 -#define il2cpp_type_equals_ptr 0x003FC930 -#define il2cpp_type_get_assembly_qualified_name_ptr 0x003FC940 -#define il2cpp_type_get_attrs_ptr 0x003FC9E0 -#define il2cpp_type_get_class_or_element_class_ptr 0x003FC9F0 -#define il2cpp_type_get_name_ptr 0x003FCA00 -#define il2cpp_type_get_name_chunked_ptr 0x003FCAA0 -#define il2cpp_type_get_object_ptr 0x003FCAB0 -#define il2cpp_type_get_type_ptr 0x003FCAC0 -#define il2cpp_type_is_byref_ptr 0x003FCAD0 -#define il2cpp_type_is_pointer_type_ptr 0x003FCAE0 -#define il2cpp_type_is_static_ptr 0x003FCAF0 -#define il2cpp_unhandled_exception_ptr 0x0038FC30 -#define il2cpp_unity_install_unitytls_interface_ptr 0x003FCB00 -#define il2cpp_unity_liveness_allocate_struct_ptr 0x003FCB10 -#define il2cpp_unity_liveness_calculation_from_root_ptr 0x003FCB20 -#define il2cpp_unity_liveness_calculation_from_statics_ptr 0x003FCB30 -#define il2cpp_unity_liveness_finalize_ptr 0x003FCB40 -#define il2cpp_unity_liveness_free_struct_ptr 0x003FCB50 -#define il2cpp_unity_set_android_network_up_state_func_ptr 0x003FCB60 -#define il2cpp_value_box_ptr 0x003866C0 +#define il2cpp_register_log_callback_ptr 0x00385E20 +#define il2cpp_resolve_icall_ptr 0x00385E30 +#define il2cpp_runtime_class_init_ptr 0x00374830 +#define il2cpp_runtime_invoke_ptr 0x00385E40 +#define il2cpp_runtime_invoke_convert_args_ptr 0x00385E50 +#define il2cpp_runtime_object_init_ptr 0x00385E60 +#define il2cpp_runtime_object_init_exception_ptr 0x00385E70 +#define il2cpp_runtime_unhandled_exception_policy_set_ptr 0x00385E80 +#define il2cpp_set_commandline_arguments_ptr 0x00385E90 +#define il2cpp_set_commandline_arguments_utf16_ptr 0x00385EA0 +#define il2cpp_set_config_ptr 0x00385EB0 +#define il2cpp_set_config_dir_ptr 0x00385EC0 +#define il2cpp_set_config_utf16_ptr 0x00385ED0 +#define il2cpp_set_data_dir_ptr 0x00385EE0 +#define il2cpp_set_default_thread_affinity_ptr 0x00385EF0 +#define il2cpp_set_find_plugin_callback_ptr 0x00385F00 +#define il2cpp_set_memory_callbacks_ptr 0x00385F10 +#define il2cpp_set_temp_dir_ptr 0x00385F20 +#define il2cpp_shutdown_ptr 0x00385F30 +#define il2cpp_start_gc_world_ptr 0x00385F40 +#define il2cpp_stats_dump_to_file_ptr 0x00385F50 +#define il2cpp_stats_get_value_ptr 0x003861C0 +#define il2cpp_stop_gc_world_ptr 0x00386250 +#define il2cpp_string_chars_ptr 0x00386260 +#define il2cpp_string_intern_ptr 0x00386270 +#define il2cpp_string_is_interned_ptr 0x00386280 +#define il2cpp_string_length_ptr 0x00386290 +#define il2cpp_string_new_ptr 0x003862A0 +#define il2cpp_string_new_len_ptr 0x003862B0 +#define il2cpp_string_new_utf16_ptr 0x003862C0 +#define il2cpp_string_new_wrapper_ptr 0x003862A0 +#define il2cpp_thread_attach_ptr 0x003862D0 +#define il2cpp_thread_current_ptr 0x003862E0 +#define il2cpp_thread_detach_ptr 0x003862F0 +#define il2cpp_thread_get_all_attached_threads_ptr 0x00386300 +#define il2cpp_thread_get_frame_at_ptr 0x00386310 +#define il2cpp_thread_get_stack_depth_ptr 0x00386320 +#define il2cpp_thread_get_top_frame_ptr 0x00386330 +#define il2cpp_thread_walk_frame_stack_ptr 0x00386340 +#define il2cpp_type_equals_ptr 0x00386350 +#define il2cpp_type_get_assembly_qualified_name_ptr 0x00386360 +#define il2cpp_type_get_attrs_ptr 0x00386400 +#define il2cpp_type_get_class_or_element_class_ptr 0x00386410 +#define il2cpp_type_get_name_ptr 0x00386420 +#define il2cpp_type_get_name_chunked_ptr 0x003864C0 +#define il2cpp_type_get_object_ptr 0x003864D0 +#define il2cpp_type_get_type_ptr 0x003864E0 +#define il2cpp_type_is_byref_ptr 0x003864F0 +#define il2cpp_type_is_pointer_type_ptr 0x00386500 +#define il2cpp_type_is_static_ptr 0x00386510 +#define il2cpp_unhandled_exception_ptr 0x0035E910 +#define il2cpp_unity_install_unitytls_interface_ptr 0x00386520 +#define il2cpp_unity_liveness_allocate_struct_ptr 0x00386530 +#define il2cpp_unity_liveness_calculation_from_root_ptr 0x00386540 +#define il2cpp_unity_liveness_calculation_from_statics_ptr 0x00386550 +#define il2cpp_unity_liveness_finalize_ptr 0x00386560 +#define il2cpp_unity_liveness_free_struct_ptr 0x00386570 +#define il2cpp_unity_set_android_network_up_state_func_ptr 0x00386580 +#define il2cpp_value_box_ptr 0x003740C0 diff --git a/cheat/src/appdata/il2cpp-functions.h b/cheat/src/appdata/il2cpp-functions.h index 508d8cd..bf6db09 100644 --- a/cheat/src/appdata/il2cpp-functions.h +++ b/cheat/src/appdata/il2cpp-functions.h @@ -6,61 +6,61 @@ // ****************************************************************************** using namespace app; -DO_APP_FUNC(0x00685EE0, void, GameFrameWork_Update, (void/*GameFrameWork*/* __this, MethodInfo* method)); +DO_APP_FUNC(0x00695990, void, GameFrameWork_Update, (void/*GameFrameWork*/* __this, MethodInfo* method)); -DO_APP_FUNC(0x02957E60, String*, Marshal_PtrToStringAnsi, (void* ptr, MethodInfo* method)); -DO_APP_FUNC(0x02957E80, String*, Marshal_PtrToStringUni, (void* ptr, MethodInfo* method)); +DO_APP_FUNC(0x0299B990, String*, Marshal_PtrToStringAnsi, (void* ptr, MethodInfo* method)); +DO_APP_FUNC(0x0299B9B0, String*, Marshal_PtrToStringUni, (void* ptr, MethodInfo* method)); // FovChanger -DO_APP_FUNC(0x039BE080, void, Camera_set_fieldOfView, (void* __this, float value, MethodInfo* method)); +DO_APP_FUNC(0x03A00850, void, Camera_set_fieldOfView, (void* __this, float value, MethodInfo* method)); // C# methods -DO_APP_FUNC(0x02A9A200, Type*, Type_GetType_3, (String* typeName, MethodInfo* method)); -DO_APP_FUNC(0x0296F550, Type*, Assembly_GetType, (Assembly* __this, String* name, MethodInfo* method)); -DO_APP_FUNC(0x0296F670, Assembly*, Assembly_LoadWithPartialName, (String* partialName, MethodInfo* method)); +DO_APP_FUNC(0x02ADDA60, Type*, Type_GetType_3, (String* typeName, MethodInfo* method)); +DO_APP_FUNC(0x029B23E0, Type*, Assembly_GetType, (Assembly* __this, String* name, MethodInfo* method)); +DO_APP_FUNC(0x029B2500, Assembly*, Assembly_LoadWithPartialName, (String* partialName, MethodInfo* method)); // Unity methods -DO_APP_FUNC(0x03A16690, Vector3, Vector3_Lerp, (Vector3 a, Vector3 b, float t, MethodInfo* method)); -DO_APP_FUNC(0x03A16420, float, Vector3_Distance, (Vector3 a, Vector3 b, MethodInfo* method)); -DO_APP_FUNC(0x03A00910, Transform*, GameObject_get_transform, (GameObject* __this, MethodInfo* method)); -DO_APP_FUNC(0x039FF8C0, GameObject*, GameObject_Find, (String* name, MethodInfo* method)); -DO_APP_FUNC(0x03A055A0, String*, Object_1_get_name, (Object_1* __this, MethodInfo* method)); -DO_APP_FUNC(0x03A12740, Vector3, Transform_get_position, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x03A13320, void, Transform_set_position, (Transform* __this, Vector3 value, MethodInfo* method)); -DO_APP_FUNC(0x03A12790, Vector3, Transform_get_right, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x03A13370, void, Transform_set_right, (Transform* __this, Vector3 value, MethodInfo* method)); -DO_APP_FUNC(0x03A12A60, Vector3, Transform_get_up, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x03A134F0, void, Transform_set_up, (Transform* __this, Vector3 value, MethodInfo* method)); -DO_APP_FUNC(0x03A12040, Vector3, Transform_get_forward, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x03A12E40, void, Transform_set_forward, (Transform* __this, Vector3 value, MethodInfo* method)); -DO_APP_FUNC(0x03A11F70, int32_t, Transform_get_childCount, (Transform* __this, MethodInfo* method)); -DO_APP_FUNC(0x03A2C200, String*, Scene_GetNameInternal, (int32_t sceneHandle, MethodInfo* method)); -DO_APP_FUNC(0x03A2ABD0, Scene, SceneManager_GetActiveScene, (MethodInfo* method)); -DO_APP_FUNC(0x039B6E20, int32_t, Application_get_targetFrameRate, (MethodInfo* method)); -DO_APP_FUNC(0x039B7540, void, Application_set_targetFrameRate, (int32_t value, MethodInfo* method)); -DO_APP_FUNC(0x03A0E380, void, Time_3_set_timeScale, (float value, MethodInfo* method)); +DO_APP_FUNC(0x039F96E0, int32_t, Application_get_targetFrameRate, (MethodInfo* method)); +DO_APP_FUNC(0x039F9E00, void, Application_set_targetFrameRate, (int32_t value, MethodInfo* method)); +DO_APP_FUNC(0x03A59010, Vector3, Vector3_Lerp, (Vector3 a, Vector3 b, float t, MethodInfo* method)); +DO_APP_FUNC(0x03A58DB0, float, Vector3_Distance, (Vector3 a, Vector3 b, MethodInfo* method)); +DO_APP_FUNC(0x03A43530, Transform*, GameObject_get_transform, (GameObject* __this, MethodInfo* method)); +DO_APP_FUNC(0x03A424E0, GameObject*, GameObject_Find, (String* name, MethodInfo* method)); +DO_APP_FUNC(0x03A48130, String*, Object_1_get_name, (Object_1* __this, MethodInfo* method)); +DO_APP_FUNC(0x03A50D70, void, Time_3_set_timeScale, (float value, MethodInfo* method)); +DO_APP_FUNC(0x03A550A0, Vector3, Transform_get_position, (Transform* __this, MethodInfo* method)); +DO_APP_FUNC(0x03A55C80, void, Transform_set_position, (Transform* __this, Vector3 value, MethodInfo* method)); +DO_APP_FUNC(0x03A550F0, Vector3, Transform_get_right, (Transform* __this, MethodInfo* method)); +DO_APP_FUNC(0x03A55CD0, void, Transform_set_right, (Transform* __this, Vector3 value, MethodInfo* method)); +DO_APP_FUNC(0x03A553C0, Vector3, Transform_get_up, (Transform* __this, MethodInfo* method)); +DO_APP_FUNC(0x03A55E50, void, Transform_set_up, (Transform* __this, Vector3 value, MethodInfo* method)); +DO_APP_FUNC(0x03A54910, Vector3, Transform_get_forward, (Transform* __this, MethodInfo* method)); +DO_APP_FUNC(0x03A557A0, void, Transform_set_forward, (Transform* __this, Vector3 value, MethodInfo* method)); +DO_APP_FUNC(0x03A547B0, int32_t, Transform_get_childCount, (Transform* __this, MethodInfo* method)); +DO_APP_FUNC(0x03A6EB90, String*, Scene_GetNameInternal, (int32_t sceneHandle, MethodInfo* method)); +DO_APP_FUNC(0x03A6D560, Scene, SceneManager_GetActiveScene, (MethodInfo* method)); // No Cooldown -DO_APP_FUNC(0x009B7980, void/*KAAIFMKPKAG*/*, KAAIFMKPKAG_IOFMGMJCCFO, (KAAIFMKPKAG* __this, bool DEJNILEHENL, MethodInfo* method)); +DO_APP_FUNC(0x0091C360, void/*KAAIFMKPKAG*/*, KAAIFMKPKAG_IOFMGMJCCFO, (KAAIFMKPKAG* __this, bool DEJNILEHENL, MethodInfo* method)); // Damage Hack -DO_APP_FUNC(0x0098B4D0, void, PIPHNBOBFEF_KBCIIEFLPGB, (PIPHNBOBFEF* __this, ESpecialState__Enum OCKAHFDGNEL, int64_t MGFPJFANLBG, int64_t DIACKALMMKH, int64_t PBAPBJGDAPJ, String* DLOACPLHGMP, MethodInfo* method)); +DO_APP_FUNC(0x008FB0F0, 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(0x00B6B0A0, int32_t, GHINOEFFMPN_EKHGIHBHEPL, (SkillIdentity* EKPKPIJBPKE, void/*IEnumerable_1_UnityEngine_Component_*/* FKJDKGJBGOD, TargetHitData* COFCDKGCOGJ, MethodInfo* method)); +DO_APP_FUNC(0x00BCA790, int32_t, GHINOEFFMPN_EKHGIHBHEPL, (SkillIdentity* EKPKPIJBPKE, void/*IEnumerable_1_UnityEngine_Component_*/* FKJDKGJBGOD, TargetHitData* COFCDKGCOGJ, MethodInfo* method)); // Dumb Enemies -DO_APP_FUNC(0x00BFF700, void, EvadeProxy_Init, (EvadeProxy* __this, ENNEJEPMJLJ* IGBKKNODEGM, EvadePenetration* DHPMEMDBDMC, MethodInfo* method)); +DO_APP_FUNC(0x00C57920, void, EvadeProxy_Init, (EvadeProxy* __this, ENNEJEPMJLJ* IGBKKNODEGM, EvadePenetration* DHPMEMDBDMC, MethodInfo* method)); // EntityManager -DO_APP_FUNC(0x009ACFC0, void, ENHPKNIEKMI_MIFDFEHDDDD, (ENHPKNIEKMI* __this, MethodInfo* method)); -DO_APP_FUNC(0x0058CE70, ENHPKNIEKMI*, ENNEJEPMJLJ_FIGHFBNIDJA, (ENNEJEPMJLJ* __this, MethodInfo* method)); -DO_APP_FUNC(0x00BB6740, bool, PCILGJOEPJM_PPAKPBOJLIP, (ENNEJEPMJLJ* IGBKKNODEGM, MethodInfo* method)); // Check if Entity is alive???? +DO_APP_FUNC(0x00910340, void, ENHPKNIEKMI_MIFDFEHDDDD, (ENHPKNIEKMI* __this, MethodInfo* method)); +DO_APP_FUNC(0x005A36C0, ENHPKNIEKMI*, ENNEJEPMJLJ_FIGHFBNIDJA, (ENNEJEPMJLJ* __this, MethodInfo* method)); +DO_APP_FUNC(0x00C13B60, bool, PCILGJOEPJM_PPAKPBOJLIP, (ENNEJEPMJLJ* IGBKKNODEGM, MethodInfo* method)); // Check if Entity is alive???? // Mission Time -DO_APP_FUNC(0x01018470, void, StageReadyPage_EnterUI, (StageReadyPage* __this, MethodInfo* method)); -DO_APP_FUNC(0x004A0500, void, StoryQuestChapterPage_EnterUI, (StoryQuestChapterPage* __this, MethodInfo* method)); +DO_APP_FUNC(0x004DD3B0, void, StageReadyPage_EnterUI, (StageReadyPage* __this, MethodInfo* method)); +DO_APP_FUNC(0x004DFA60, void, StoryQuestChapterPage_EnterUI, (StoryQuestChapterPage* __this, MethodInfo* method)); // Intro Movie -DO_APP_FUNC(0x00CDB770, void, IntroMovie_Update, (IntroMovie* __this, MethodInfo* method)); +DO_APP_FUNC(0x00D49780, void, IntroMovie_Update, (IntroMovie* __this, MethodInfo* method)); // Disable Web View -DO_APP_FUNC(0x02C3A8A0, void, WebViewDialog_Show, (void* __this, MethodInfo* method)); -DO_APP_FUNC(0x02C3C8E0, void, WebViewUI_RefreshSize, (void* __this, MethodInfo* method)); +DO_APP_FUNC(0x02C7DE30, void, WebViewDialog_Show, (void* __this, MethodInfo* method)); +DO_APP_FUNC(0x02C7FE80, 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)); @@ -69,10 +69,10 @@ DO_APP_FUNC(0x02C3C8E0, 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(0x00BC6B60, void, JLLMICINIDA_LFCGJLAFFOM, (JLLMICINIDA* __this, MethodInfo* method)); +DO_APP_FUNC(0x00C2E710, void, JLLMICINIDA_LFCGJLAFFOM, (JLLMICINIDA* __this, MethodInfo* method)); // Singletons // DO_APP_FUNC(0x00384E60, void*, TSingleton_GetInstance, (MethodInfo* method)); // Search for this in IDA. Seems to be Singleton class -DO_APP_FUNC(0x0046EC60, Object*, TSingleton_1_System_Object__get_Instance, (MethodInfo* method)); // Get the instance of the singleton +DO_APP_FUNC(0x0046FAE0, 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/cheat/cheat.cpp b/cheat/src/cheat/cheat.cpp index fb9a031..8dc346a 100644 --- a/cheat/src/cheat/cheat.cpp +++ b/cheat/src/cheat/cheat.cpp @@ -30,7 +30,7 @@ void init_cheat() INIT_FEATURE(NoCooldown); INIT_FEATURE(DamageHack); INIT_FEATURE(GodMode); - //INIT_FEATURE(MobVacuum); + // INIT_FEATURE(MobVacuum); INIT_FEATURE(DumbEnemies); INIT_FEATURE(MissionTime); INIT_FEATURE(TimeScale); @@ -39,7 +39,7 @@ void init_cheat() INIT_FEATURE(FovChanger); INIT_FEATURE(DisableWebView); INIT_FEATURE(Debug); - INIT_FEATURE(EntityManager); + // INIT_FEATURE(EntityManager); #undef INIT_FEATURE HookManager::install(app::GameFrameWork_Update, GameFrameWork_Update_Hook); diff --git a/cheat/src/cheat/features/EntityManager.cpp b/cheat/src/cheat/features/EntityManager.cpp index 536375d..7b48271 100644 --- a/cheat/src/cheat/features/EntityManager.cpp +++ b/cheat/src/cheat/features/EntityManager.cpp @@ -89,9 +89,13 @@ namespace Cheat::Features auto& em = EntityManager::GetInstance(); auto ret = CALL_ORIGIN(ENNEJEPMJLJ_FIGHFBNIDJA_Hook, __this, method); - if (__this != nullptr && + if (__this != nullptr && + __this->fields.NKONPDBOBAG != nullptr && + __this->fields.NKONPDBOBAG->fields.IALANALADIL != nullptr && + __this->fields.NKONPDBOBAG->fields.IALANALADIL->fields.HOAFECEANLC != nullptr && __this->fields.NKONPDBOBAG->fields.IALANALADIL->fields.HOAFECEANLC->fields._.m_CachedPtr != nullptr && __this->fields.AJEHLIOMMJN != app::ECharacterType__Enum::None) + { //LOG(xorstr("resourceName %s"), il2cppi_to_string(__this->fields.PEFKKKBMDKN->fields.m_ResourceName).c_str()); //LOG(xorstr("CharType %s"), magic_enum::enum_name(__this->fields.AJEHLIOMMJN).data()); @@ -99,14 +103,14 @@ namespace Cheat::Features if (__this->fields.FHNGHHPLPGD == app::eCharGroup__Enum::PLAYER && __this->fields.AJEHLIOMMJN == app::ECharacterType__Enum::Hunter) { - //em.m_pPlayer = __this; - //em.m_pPlayerGO = __this->fields.NKONPDBOBAG->fields.IALANALADIL->fields.HOAFECEANLC; + em.m_pPlayer = __this; + em.m_pPlayerGO = __this->fields.NKONPDBOBAG->fields.IALANALADIL->fields.HOAFECEANLC; } else if (__this->fields.FHNGHHPLPGD == app::eCharGroup__Enum::ENEMY && __this->fields.AJEHLIOMMJN == app::ECharacterType__Enum::Monster) { - //if (std::find(em.m_pEnemiesVec.begin(), em.m_pEnemiesVec.end(), __this) == em.m_pEnemiesVec.end()) - // em.m_pEnemiesVec.push_back(__this); + if (std::find(em.m_pEnemiesVec.begin(), em.m_pEnemiesVec.end(), __this) == em.m_pEnemiesVec.end()) + em.m_pEnemiesVec.push_back(__this); } }