Skip to content
Guest Big Announcement

Why doesn't it increase when I change this function?

Featured Replies

Hi,

 

I am here again. Really want to learn IDA Game Hacking but still nothing is succesfull.

 

This is the code: 

; ShopViewController - (void)setEstoqueDeRetry:(int)

; void __cdecl -[ShopViewController setEstoqueDeRetry:](struct ShopViewController *self, SEL, int)
__ShopViewController_setEstoqueDeRetry__
MOV             R1, #(_OBJC_IVAR_$_ShopViewController.estoqueDeRetry - 0x50244) ; int estoqueDeRetry;
ADD             R1, PC  ; int estoqueDeRetry;
LDR             R1, [R1] ; int estoqueDeRetry;
STR             R2, [R0,R1]
BX              LR

I changed it to:

; ShopViewController - (void)setEstoqueDeRetry:(int)

; void __cdecl -[ShopViewController setEstoqueDeRetry:](struct ShopViewController *self, SEL, int)
__ShopViewController_setEstoqueDeRetry__
MOV             R1, #(_OBJC_IVAR_$_ShopViewController.estoqueDeRetry - 0x50244) ; int estoqueDeRetry;
ADD             R1, PC  ; int estoqueDeRetry;
LDR             R7, [R1] ; int estoqueDeRetry;
STR             R7, [R0,R1]
BX              LR

it does act like a NOP to me now ://

 

any help..?

you need better function 

 

try change first 2 line

MOV             R1, #(_OBJC_IVAR_$_ShopViewController.estoqueDeRetry - 0x50244) ; int estoqueDeRetry;
ADD             R1, PC  ; int estoqueDeRetry;

to

MOV R0, R7
BX LR

Updated by Tyramisu

I know. Flex 2 can do it too. I just want to learn it...

Try a game that is not possible with flex :p

  • Author

Try a game that is not possible with flex :p

When I try that I don't even know what I have to search. I am trying to learn iDA Hacking.... 

The point of hacking with IDA is that it works with games Flex can't keep up with. You learn nothing when you can see everything of the app and what everything does

  • Author

The point of hacking with IDA is that it works with games Flex can't keep up with. You learn nothing when you can see everything of the app and what everything does

Yes.. but don't I need to understand the basics of changing functions before doing it on games which are 874887 times harder?

Yes.. but don't I need to understand the basics of changing functions before doing it on games which are 874887 times harder?

Lol there is a lot of easy sub_x games

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.