Jump to content

13 posts in this topic

Recommended Posts

Posted

I'm here again...

 

Someone told me to practice with an old version of Candy Crush because this would be "easy"...

I thought this function is hackable:

AcHJ7Pt.png

 

I did this:

; _DWORD __fastcall CSaveData::SetNumLives(CSaveData *__hidden this, int)
EXPORT _ZN9CSaveData11SetNumLivesEi
_ZN9CSaveData11SetNumLivesEi
STMFD           SP!, {R4-R6,LR}
MOV             R4, R0
LDR             R6, [R0,#0x29C] --> LDR R6 [R7,#0x29C]
MOV             R5, R1
BL              _ZN9CSaveData14GetNumMaxLivesEv ; CSaveData::GetNumMaxLives(void)
CMP             R6, R0
BLT             loc_F4DC0

loc_F4DC0
STR             R5, [R4,#0x29C] --> STR R7, [R4,#0x29C]
LDMFD           SP!, {R4-R6,PC}
; End of function CSaveData::SetNumLives(int)

I though this would be it because the LDR function tells #0x29C and so does the STR function.

 

Results: after playing one level it gave me a negative number of lives...

 

any help? :/

Posted

You can mshook that.

 

And are you sure the lives are minus? Or is the value too large to fit on screen? :p

Posted

You can mshook that.

 

And are you sure the lives are minus? Or is the value too large to fit on screen? :p

mshook on a android .so? :p

 

and yes, I am sure. I tried playing a level and it says not enough lives

Why do you ask us and don't test it?

 

Yes it is

I already tested it, I already told you the results so....

Posted

mshook on a android .so? :p

 

and yes, I am sure. I tried playing a level and it says not enough lives

I already tested it, I already told you the results so....

Oops

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