Skip to content
Guest Big Announcement

Featured Replies

Hey guys

 

I am a little new and finally getting the hang of things

 

I am trying to edit the gems of Ramboat ios game,

 

I found the offset for the gem and made sure it was the right now by monitoring it

 

This is the offset 0x9B45E

 

I then found it on IDA which the below is the few lines above it and few lines below it

 

__text:0009B43A                 MOV.W           R6, #0xFFFFFFFF
__text:0009B43E                 MOVS            R1, #1
__text:0009B440                 STR             R6, [SP,#0xC8+var_48]
__text:0009B442                 LDR             R4, [SP,#0xC8+var_B4]
__text:0009B444                 MOV             R0, R4
__text:0009B446                 BL              sub_48150
__text:0009B44A                 MOV             R0, R4
__text:0009B44C                 MOVS            R1, #1
__text:0009B44E                 STR             R6, [SP,#0xC8+var_48]
__text:0009B450                 BL              sub_48218
__text:0009B454                 LDR             R0, [SP,#0xC8+var_BC]
__text:0009B456                 LDR             R2, [R4,#8]
__text:0009B458                 LDR             R1, [R0,#0x2C]
__text:0009B45A                 SUBS            R1, R1, R2
__text:0009B45C                 STR             R1, [R0,#0x2C]
__text:0009B45E                 LDR             R1, [R0,#0x30]
__text:0009B460                 ADD             R1, R2
__text:0009B462                 STR             R1, [R0,#0x30]
__text:0009B464                 STR             R6, [SP,#0xC8+var_48]
__text:0009B466                 BL              sub_FAEF0
__text:0009B46A                 MOVW            R1, #(:lower16:(aGem - 0x9B47A)) ; "Gem"
__text:0009B46E                 ADD             R0, SP, #0xC8+var_68
__text:0009B470                 MOVT.W          R1, #(:upper16:(aGem - 0x9B47A)) ; "Gem"
__text:0009B474                 MOVS            R5, #0
__text:0009B476                 ADD             R1, PC  ; "Gem"
__text:0009B478                 MOVS            R2, #3
__text:0009B47A                 STRD.W          R5, R5, [SP,#0x60]
__text:0009B47E                 STR             R5, [SP,#0xC8+var_60]
__text:0009B480                 STR             R6, [SP,#0xC8+var_48]
__text:0009B482                 BLX.W           __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm ; std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>::__init(char const*,ulong)
__text:0009B486                 LDR             R0, [R4,#8]
__text:0009B488                 STR             R0, [SP,#0xC8+var_C0]
__text:0009B48A                 MOV             R1, #(aSkipmission - 0x9B49C) ; "SkipMission"
__text:0009B492                 MOVS            R0, #2
__text:0009B494                 STRD.W          R5, R5, [SP,#0x50]
__text:0009B498                 ADD             R1, PC  ; "SkipMission"

I have been modifying some values and trying to tweak around with it but it just keeps crashing the game

 

I found it by accident how to stop my gems from going down by using a few of these but i am not sure how to add gems been crashing my game alot

 

  • Author

So incase anyone was reading or watching this

 

I figured it out,

 

Basically what I did wrong was that I was trying to do stuff on the wrong offset,

I had the offset of the gems right but when editing I was editing the wrong section,

I was working on subtracting from the offset rather then finding the addition to the offset,

Now i know why I stopped my gems going down (even tho by accident it kinda makes sense)

 

For others that might see this

 

My plan for the future is to make sure that if I want increase gems i allow the offset of the gems to be triggered only by something in the game adding to that offset, that way I can make my life easier :)

 

Still a noob and what I wrote might be wrong above me but it kinda makes sense to me hopefully I am not wrong

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.