Jump to content
  • 0

32 bit ARM editing several value types


7eventyTwo

Question

Posted

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

1 answer to this question

Recommended Posts

Posted
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;

.......

Archived

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

×
×
  • 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.