Skip to content
Guest Big Announcement

Hook causes game to crash

Featured Replies

Hello,

I am using Ted2 MM for my tweak and I found a function called kill(). I hooked the update function of the same class, however, with the hook, the game crashes on launch.

This is the code I am using:

6b7654641719a8cdc5aacdff16afeff2.png

This is my hook:

614458817ff7d808fabc357b2e04a2e0.png

I have tried the %ctor{} method of hooking too and it even crashes the game as soon as I click on the icon.

If I comment the HOOK, the game runs but the hack doesn't work. So, I believe that the hook is the issue.

Any ideas of what is making the hook crash the game?

  • Author
1 minute ago, Rook said:

Hey,

Are these UnityFramework offsets? I don’t know if Ted’s mod menu supports hooking in UnityFramework.

Yes it is UnityFramework. Is there a specific way to to hook UnityFramework?

Archived

This topic is now archived and is closed to further replies.

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.