Jump to content

11 posts in this topic

Recommended Posts

Posted

MOVS R0, #1
MOVS R1, #0
STR R0, [R4]
MOVS R0, #4
BL.W sub_1636258
MOV R1, #(off_1CA9384 - 0xDF0A98)
STR R0, [R4,#4]
ADD R1, PC ; off_1CA9384
LDR R1, [R1] ; unk_1E5F0A0
LDR R0, [R1]
BL.W sub_165EE94
MOV R5, R0
MOV R0, #(aGems - 0xDF0AAC) ; "gems"
ADD R0, PC ; "gems"
BL.W sub_1666BD8
MOV R1, R0
MOV R0, R5
MOVS R2, #0
BL.W sub_1CC144
LDR R0, [R4,#4]
STR R5, [R0]
POP {R4,R5,R7,PC}

Posted

Look at sub_1cc144

sub_1CC144

PUSH {R4,R5,R7,LR}

ADD R7, SP, #8

MOV R5, R0

MOV R4, R1

MOVS R1, #0

BL.W nullsub_704

MOV R0, R5

MOV R1, R4

POP.W {R4,R5,R7,LR}

B.W sub_1CC160

; End of function sub_1CC144

Posted

sub_1CC144

PUSH {R4,R5,R7,LR}

ADD R7, SP, #8

MOV R5, R0

MOV R4, R1

MOVS R1, #0

BL.W nullsub_704

MOV R0, R5

MOV R1, R4

POP.W {R4,R5,R7,LR}

B.W sub_1CC160

; End of function sub_1CC144

 

mov r0, r7 bx lr it

Posted

Try out other functions and maybe you're using the wrong string.

 

That was the only thing references to gem ... And when I clicked on it I noticed the coins,exp,etc etc so I was sure I was in the right area and when I xreferenced gems .. It was everything I posted above

Posted

That was the only thing references to gem ... And when I clicked on it I noticed the coins,exp,etc etc so I was sure I was in the right area and when I xreferenced gems .. It was everything I posted above

Try MOV R0, R7 + BX LR the branches above. :p

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

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines