Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
KlashKsa

code Tweak.xm for Danger Close v2019.13.3 game

Recommended Posts

This is my Tweak.xm for Danger Close game only works on 2019.13.3 version. This is just for learning purposes. If you want me update it, let me know in the comments. source https://github.com/klashksa/Danger-Close-Tweak-v2019.13.3

 

 

Hidden Content
You'll be able to see the hidden content once you reply to this topic.

 

 

NOTE : ill make it vip with more features soon

Edited by KlashKsa

Share this post


Link to post
Share on other sites

Short explanation:

1. He includes a bunch of header files containg functions he will use in his coding(like getRealOffset)

Code:

#import <substrate.h>

#import <mach-o/dyld.h>

#import <UIKit/UIKit.h>

 

 

2.

He unlinks a function, so he is only patching the thing YOU see

code:

uint64_t getRealOffset(uint64_t offset

)

3.

then he adds a slider using a plugin of the mod menu template and returns the unlinked function hooked to the slider:

{

return _dyld_get_image_vmaddr_slide(0)+offset;

}

offset was declared in the function header before and the function takes that extra piece of information.

 

4.

Then he patches the _Player_Movement_Update function to set a higher value:

code:

 

void (* PlayerMovement_Update)(void *PlayerMovement);

void _PlayerMovement_Update(void *PlayerMovement) {

*(float *)((uint64_t)PlayerMovement + 0x74) = 100.0f;

PlayerMovement_Update(PlayerMovement);

 

5. he creates a constructer (%ctor)

and hooks the unlinked hacks up to it

Share this post


Link to post
Share on other sites

This one was to announce he had an idea and see who would like it and who would get on board. The other one is to disscuss the game since he got enough yays.

Share this post


Link to post
Share on other sites

Uugdsvhjkokhsjshd

On 4/7/2019 at 3:23 AM, Klashksa said:

This is my Tweak.xm for Danger Close game only works on 2019.13.3 version. This is just for learning purposes. If you want me update it, let me know in the comments. source https://github.com/klashksa/Danger-Close-Hack-v2019.13.3

 

 

 

Hidden Content
You'll be able to see the hidden content once you reply to this topic.

 

 

 

NOTE : ill make it vip with more features soon

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...