ShyRayq
Unprofessional Unprofessional
- 1,856
- Posts
- 17
- Years
- Seen Apr 21, 2025
Well bytes are loaded by "ldrb r(X), YYY"
If you want a half-word, do "ldrh r(X), YYY"
But you'd need to move the location of the bytes around as to not corrupt what follows
Okay, so the ASM at around that part is:
Code:
Loc: 0x80791EE
2006 mov R0, #0x06
2100 mov R1, #0x00
F7F8 bl $08071DF0
7B20 ldrb R0, [R4, #0xC]
So, could I just like, branch this to a different location, make it Mov R0, #0x196 (rayquaza's number) and then
LDRH R0 [R4, #0xC] and then branch back? Sorry, ASM is a bit hard to understand