Jump to content

(“Class”_Typeinfo;) hidden trying to hook


Go to solution Solved by Saitama,

5 posts in this topic

Recommended Posts

Posted

Ok so the game is pocket ants very easy to modify with hex patches but now I’m trying to figure out if it’s possible with function pointers and stuff like that.

So I figured out a lot of useful fields (ints,floats,etc.)come from this class called Puntos problem is that in this game almost all fields from the other classes are just gameobjects,sprites,(basically no way to reference it as far as I know )

so I looked further via ida and I notice almost every class that related to changing values from Puntos  had this thing called Puntos_info in it and which it did ADRP x20,#Puntos_info@page then ADD... @pageoff then it would have a tbnz that would go to another area where it loaded the(ldr x0,[x20 or another x2#]=Puntos_typeinfo) Puntos_typeinfo then did this Ldr w8,[x0,#0xe0] after this a cbnz which if not nz then it would return but if is z it call some like this j_1l2cpp_runtime_class_init_0 then loads Puntos_typeinfo again also I can’t figure out what this 0xe0 really I checked dump.cs and fake .dlls and nothing is here that relates to that 

But Point is somehow Puntos is being referenced and I want to know if it’s possible to use it for function pointers so I can edit this useful field mostly the floats as it’s hard to edit them with arm64 without constantly crashing 

 

more info : Puntos seems to be some obfuscate thing as from the functions in the class

and game uses unityframework

Posted

// RVA: 0x1616D58 Offset: 0x1616D58 VA: 0x1616D58
public void ClaimDaily() { }

il2cpp:0000000001616E3C                 ADRP            X22, #Puntos_TypeInfo@PAGE ; Puntos_TypeInfo
il2cpp:0000000001616E40                 ADD             X22, X22, #Puntos_TypeInfo@PAGEOFF ; Puntos_TypeInfo
il2cpp:0000000001616E44                 LDR             X0, [X22] ; Puntos_TypeInfo
il2cpp:0000000001616E48                 LDR             W8, [X0,#0xE0]
il2cpp:0000000001616E4C                 CBNZ            W8, loc_1616E58
il2cpp:0000000001616E50                 BL              j__il2cpp_runtime_class_init_0
il2cpp:0000000001616E54                 LDR             X0, [X22] ; Puntos_TypeInfo
il2cpp:0000000001616E58
il2cpp:0000000001616E58 loc_1616E58                             ; CODE XREF: Anniv2$$ClaimDaily+F4↑j
il2cpp:0000000001616E58                 LDR             X8, [X0,#0xB8]
il2cpp:0000000001616E5C                 LDR             W9, [X8,#0x1A0]

X8  -> public class Puntos : MonoBehaviour // TypeDefIndex: 704
W9 -> public static int a2day; // 0x1A0

 

// RVA: 0x17D1F14 Offset: 0x17D1F14 VA: 0x17D1F14
public void ClaimQuest(int index) { }

il2cpp:00000000017D208C                 LDR             X0, [X23] ; Puntos_TypeInfo
il2cpp:00000000017D2090                 LDR             W8, [X0,#0xE0]
il2cpp:00000000017D2094                 CBNZ            W8, loc_17D20A0
il2cpp:00000000017D2098                 BL              j__il2cpp_runtime_class_init_0
il2cpp:00000000017D209C                 LDR             X0, [X23] ; Puntos_TypeInfo
il2cpp:00000000017D20A0
il2cpp:00000000017D20A0 loc_17D20A0                             ; CODE XREF: Quests$$ClaimQuest+180↑j
il2cpp:00000000017D20A0                 LDR             X8, [X0,#0xB8]
il2cpp:00000000017D20A4                 LDR             X0, [X8,#0xC30]

X8  -> public class Puntos : MonoBehaviour // TypeDefIndex: 704
W9 -> public static List<Quest> misiones; // 0xC30

Class Puntos is looks like a static Singleton
 

 

  • Winner 1
Posted (edited)

17D2BCC                 BL              SaveData$$SaveQuests
17D2BCC -> 1F2003D5

17D1C3C                 BL              SaveData$$SaveDailies
17D1C3C -> 1F2003D5

18E1F4C                 BL              SaveData$$SaveSummerDaily
18E1F4C -> 1F2003D5

and after restart game u can again collect ur quest rewards :D

 

Updated by Saitama
  • Winner 1
Posted
On 10/2/2022 at 2:17 PM, Saitama said:

// RVA: 0x1616D58 Offset: 0x1616D58 VA: 0x1616D58
public void ClaimDaily() { }

il2cpp:0000000001616E3C                 ADRP            X22, #Puntos_TypeInfo@PAGE ; Puntos_TypeInfo
il2cpp:0000000001616E40                 ADD             X22, X22, #Puntos_TypeInfo@PAGEOFF ; Puntos_TypeInfo
il2cpp:0000000001616E44                 LDR             X0, [X22] ; Puntos_TypeInfo
il2cpp:0000000001616E48                 LDR             W8, [X0,#0xE0]
il2cpp:0000000001616E4C                 CBNZ            W8, loc_1616E58
il2cpp:0000000001616E50                 BL              j__il2cpp_runtime_class_init_0
il2cpp:0000000001616E54                 LDR             X0, [X22] ; Puntos_TypeInfo
il2cpp:0000000001616E58
il2cpp:0000000001616E58 loc_1616E58                             ; CODE XREF: Anniv2$$ClaimDaily+F4↑j
il2cpp:0000000001616E58                 LDR             X8, [X0,#0xB8]
il2cpp:0000000001616E5C                 LDR             W9, [X8,#0x1A0]

X8  -> public class Puntos : MonoBehaviour // TypeDefIndex: 704
W9 -> public static int a2day; // 0x1A0

 

// RVA: 0x17D1F14 Offset: 0x17D1F14 VA: 0x17D1F14
public void ClaimQuest(int index) { }

il2cpp:00000000017D208C                 LDR             X0, [X23] ; Puntos_TypeInfo
il2cpp:00000000017D2090                 LDR             W8, [X0,#0xE0]
il2cpp:00000000017D2094                 CBNZ            W8, loc_17D20A0
il2cpp:00000000017D2098                 BL              j__il2cpp_runtime_class_init_0
il2cpp:00000000017D209C                 LDR             X0, [X23] ; Puntos_TypeInfo
il2cpp:00000000017D20A0
il2cpp:00000000017D20A0 loc_17D20A0                             ; CODE XREF: Quests$$ClaimQuest+180↑j
il2cpp:00000000017D20A0                 LDR             X8, [X0,#0xB8]
il2cpp:00000000017D20A4                 LDR             X0, [X8,#0xC30]

X8  -> public class Puntos : MonoBehaviour // TypeDefIndex: 704
W9 -> public static List<Quest> misiones; // 0xC30

Class Puntos is looks like a static Singleton
 

 

Do you think its possible to use this static singleton with function pointers to modify the float fields? that’s really my main goal

  • Solution
Posted
1 hour ago, Wowowowww said:

Do you think its possible to use this static singleton with function pointers to modify the float fields? that’s really my main goal

sure
il2cpp:0000000001616E58                 LDR             X8, [X0,#0xB8]
il2cpp:0000000001616E5C                 LDR             W9, [X8,#0x1A0]

mov w28, 1
str w28,[X8,#0x1A0]


public static int a2day; // 0x1A0 == 1

also exist more easy way - i know thats is on forum exists
named like static bla bla bla dont remember

  • Like 1

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
  • Our picks

    • Raising a Pixel Wizard: Idle RPG v1.1.5 +5 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: 픽셀 법사 키우기 : 방치형 RPG By YONGJIN JO
      Bundle ID: com.streetcomplete.pixelmagician
      App Store Link: https://apps.apple.com/kr/app/%ED%94%BD%EC%85%80-%EB%B2%95%EC%82%AC-%ED%82%A4%EC%9A%B0%EA%B8%B0-%EB%B0%A9%EC%B9%98%ED%98%95-rpg/id6741889270?uo=4

       


      🤩 Hack Features

      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Diamonds -> Will increase instead of decrease.
      - Damage Multiplier
      - Kill All
      - Speed Multiplier
      • 0 replies
    • Raising a Pixel Wizard: Idle RPG v1.1.5 +5 Cheats [ Damage + More ]
      Modded/Hacked App: 픽셀 법사 키우기 : 방치형 RPG By YONGJIN JO
      Bundle ID: com.streetcomplete.pixelmagician
      App Store Link: https://apps.apple.com/kr/app/%ED%94%BD%EC%85%80-%EB%B2%95%EC%82%AC-%ED%82%A4%EC%9A%B0%EA%B8%B0-%EB%B0%A9%EC%B9%98%ED%98%95-rpg/id6741889270?uo=4

       


      🤩 Hack Features

      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Diamonds -> Will increase instead of decrease.
      - Damage Multiplier
      - Kill All
      - Speed Multiplier
      • 0 replies
    • Iron knight : Nonstop Idle RPG v1.4.0 [+7 Jailed Cheats]
      Modded/Hacked App: Iron knight : Nonstop Idle RPG By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.ironknightmaker
      iTunes Store Link: https://apps.apple.com/us/app/iron-knight-nonstop-idle-rpg/id1587861608?uo=4

       

      🤩 Hack Features

      -  High Damage

      -  Unlimited Diamond

      -  Increased Coin Gain (Don't Abuse)

      -  Increased Exp Gain (Don't Abuse)

      -  Free Weapon Upgrade

      -  Free Necklace Upgrade

      -  Free Accessory Upgrade
      • 12 replies
    • Iron knight : Nonstop Idle RPG v1.4.0 [+7 Cheats]
      Modded/Hacked App: Iron knight : Nonstop Idle RPG By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.ironknightmaker
      iTunes Store Link: https://apps.apple.com/us/app/iron-knight-nonstop-idle-rpg/id1587861608?uo=4

       

      🤩 Hack Features

      -  High Damage

      -  Unlimited Diamond

      -  Increased Coin Gain (Don't Abuse)

      -  Increased Exp Gain (Don't Abuse)

      -  Free Weapon Upgrade

      -  Free Necklace Upgrade

      -  Free Accessory Upgrade
      • 18 replies
    • Modded/Hacked App: Iron knight : Nonstop Idle RPG By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.ironknightmaker
      iTunes Store Link: https://apps.apple.com/us/app/iron-knight-nonstop-idle-rpg/id1587861608?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Cydia, Sileo or Zebra).

       

      🤩 Hack Features

      -  High Damage

      -  Unlimited Diamond

      -  Increased Coin Gain (Don't Abuse)

      -  Increased Exp Gain (Don't Abuse)

      -  Free Weapon Upgrade

      -  Free Necklace Upgrade

      -  Free Accessory Upgrade


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack







       

      📖 iOS Installation Instructions

      STEP 1: Download the .deb hack file from the link above. Use Safari, Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If needed, tap on the downloaded file again, then select ‘Normal Install’ from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. If it doesn’t install successfully, see the note below.
      STEP 5: Open the game, log in to your iOSGods account when asked, then toggle on the features you want and enjoy!

       

      NOTE: If you have any questions or problems, read our Jailbreak iOS Hack Troubleshooting & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - Cashlaz

       

      📷 Cheat Video/Screenshots

      N/A

       

      🔗 More iOS App Hacks & Android Modded APKs

      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOSGods No Jailbreak Section for a variety of modded games and apps for non-jailbroken iOS devices.

      Need Modded Android APKs too? Head over to the iOSGods Android Section for custom APK mods, cheats, and more.
      • 18 replies
    • Margonem Adventures v2.2.3 [+3 Jailed Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4

       

      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 21 replies
    • Margonem Adventures v2.2.3 [+3 Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4



      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 14 replies
    • Guns Arena: PvP Shooting Games v1.32.47 [+5 Cheats]
      Modded/Hacked App: Guns Arena: PvP Shooting Games By VIVA GAMES S.L.
      Bundle ID: com.vivastudios.gunsatdawn.shooter
      iTunes Store Link: https://apps.apple.com/us/app/guns-arena-pvp-shooting-games/id1613912708?uo=4

       

      🚀 Hack Features

      - [VIP] Enemy Can't Attack

      - [VIP] High Damage / OHK

      - [VIP] Enemy Can't Attack Battle Royale

      - [VIP] Always can Enter Battle Royale (Enable go Royale tab and click get dawn pass)

      - Inf Coins (Can't use on Characters, Weapons and Dawnpass)

      - Inf Gold (Can't use on Characters, Weapons and Dawnpass)


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 53 replies
    • Guns Arena: PvP Shooting Games v1.32.47 [+5 Jailed Cheats]
      Modded/Hacked App: Guns Arena: PvP Shooting Games By VIVA GAMES S.L.
      Bundle ID: com.vivastudios.gunsatdawn.shooter
      iTunes Store Link: https://apps.apple.com/us/app/guns-arena-pvp-shooting-games/id1613912708?uo=4
       

      🚀 Hack Features

      - [VIP] Enemy Can't Attack

      - [VIP] High Damage / OHK

      - [VIP] Enemy Can't Attack Battle Royale

      - [VIP] Always can Enter Battle Royale (Enable go Royale tab and click get dawn pass)

      - Inf Coins (Can't use on Characters, Weapons and Dawnpass)

      - Inf Gold (Can't use on Characters, Weapons and Dawnpass)


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 45 replies
    • Mafia Empire: Crime Tycoon v1.12.2 Cheat Menu [+10 Cheats]
      Modded/Hacked App: Mafia Empire: Crime Tycoon By PINPIN TEAM SARL
      Bundle ID: mafia.empire.tycoon
      App Store Link: https://apps.apple.com/us/app/mafia-empire-crime-tycoon/id6738845139?uo=4



      🤩 Hack Features

      - Cheat Menu (Enable and Cheat Menu Will Appear)
      • 15 replies
    • Mafia Empire: Crime Tycoon v1.12.2 Cheat Menu [+10 Jailed Cheats]
      Modded/Hacked App: Mafia Empire: Crime Tycoon By PINPIN TEAM SARL
      Bundle ID: mafia.empire.tycoon
      App Store Link: https://apps.apple.com/us/app/mafia-empire-crime-tycoon/id6738845139?uo=4



      🤩 Hack Features

      - Cheat Menu (Enable and Cheat Menu Will Appear)
      • 16 replies
    • Knights of Pen and Paper 3 v1.5.11 [+5 Cheats]
      Modded/Hacked App: Knights of Pen and Paper 3 By Northica Oy
      Bundle ID: com.northicagames.kopp3
      App Store Link: https://apps.apple.com/us/app/knights-of-pen-and-paper-3/id6462194230?uo=4



      🤩 Hack Features

      - High Gold Gain (Enable and Win Fight)
      - Always Can Claim Achievements
      - Auto Win (Enable inside battle)
      - Level Up Characters (Enable and your heroes levels up)
      - Max Level Equipments (Enable and all equipments will be max level)

      • 6 replies
×
  • 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