Skip to content
Guest Big Announcement

Problem with data type - Unity game mshookfunction

Featured Replies

Hello everybody, sorry for my bad English.

I have some problem when try to make hook game: Play Together

Please help me with data type:

Action<uint> 

Action<bool, uint> 

I try bool and int but crash game when mshook run. (Some part of my hook with bool, int, float is work well)

And... dump.cs

public class FishingSystem : ISystem // TypeDefIndex: 12147
{
	// Fields
	[HeaderAttribute] // RVA: 0x19DCA4 Offset: 0x19DCA4 VA: 0x19DCA4
	[RangeAttribute] // RVA: 0x19DCA4 Offset: 0x19DCA4 VA: 0x19DCA4
	public float CastingHeightLimit; // 0x24
	[HeaderAttribute] // RVA: 0x19DCF8 Offset: 0x19DCF8 VA: 0x19DCF8
	[RangeAttribute] // RVA: 0x19DCF8 Offset: 0x19DCF8 VA: 0x19DCF8
	public float CastingDepthLimit; // 0x28
	[HeaderAttribute] // RVA: 0x19DD4C Offset: 0x19DD4C VA: 0x19DD4C
	public float FishBackStepMaxDist; // 0x2C
	private Action<uint> _fishingCastingCB; // 0x30
	private Action<bool, uint> _fishingCatchCB; // 0x38
	public bool FishingMiss; // 0x40

 

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.