Jump to content
  • 0

32 bit ARM editing several value types


7eventyTwo
 Share

Question

1 answer to this question

Recommended Posts

  • -1
On 12/7/2023 at 2:04 PM, 7eventyTwo said:

Hello, I need help regarding editing some arm for a mod menu that has an int, float, and two bools but I keep on crashing the game after trying different tutorials and stuff Ive seen on here and youtube

image.thumb.png.26d41fa95eb7c77ccd68051abf83a5cb.png

Mod menu use hook better then hexpatch

for bool

bool (*old_exaample)(void*instance);

bool exaample(void*instance){

if(instance!=nullptr){

return true; // true or false

}

return old_exaample(instance);

}

For int

int (*........)

int .....

return 99999;

......

for void

void (*.....)

void .......

return;

.......

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.