ROM Hack Change instructions with IDA Pro

MichiS97

"Leftist snowflake milennial"
OP
Member
Joined
Jun 14, 2011
Messages
1,815
Trophies
2
Age
26
Location
Munich
XP
3,597
Country
Germany
Hi,

I'm trying to make some ASM-based cheats to learn more about ASM and I've got a problem with it right now. I've found the instruction that reduces your health when you take damage in A Link Between Worlds but I don't know how to change that instruction. Currently, it reads: strb r1, [r0] and all I'd need to do is to change that instruction to strb r2, [r0] (the maximum amount of health is stored in r2). I have no idea how to actually make that change though. I know where the instruction is located in the code.bin file but I don't know how to turn the instruction strb r2, [r0] into hex values.

Can anyone help me out here? I've gained a basic amount of knowledge in ASM by hacking games on the NES, SNES, GBC, GBA and DS but I've never used IDA Pro before and I just don't know how to pull this off. On all those other systems I'd just check the opcodes for the respective CPUs but I just can't find any information on those for the ARM9 and ARM11 that the 3DS uses.
I'd greatly appreciate if you could point me in the right direction, thank you!

EDIT: Nevermind. I found the instruction set, I was just being stupid.
 
Last edited by MichiS97,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: Brb