Jump to content

(“Class”_Typeinfo;) hidden trying to hook


Wowowowww
Go to solution Solved by Saitama,

5 posts in this topic

Recommended Posts

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

Link to comment
Share on other sites

// 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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Solution
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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Jurassic World™: The Game v1.75.4 +10 Cheats
      Modded/Hacked App: Jurassic World™: The Game By Ludia
      Bundle ID: com.ludia.jurassicworld
      iTunes Store Link: https://apps.apple.com/us/app/jurassic-world-the-game/id791211390?uo=4

      Hack Features:
      - Unlimited DNA*
      - Unlimited Food*
      - Unlimited Coins*
      - Unlimited Cash*
      - Unlimited Loyalty Points*
      - Enable VIP
      - Able to Buy Unlimited Special Packs
      - Evolution Always Successful
      - Feed Instant Max Level
      - Free Speed Up Costs

      * Spend to Gain & Freeze
      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 754 replies
    • Epic Stickman: RPG Idle Game v1.0 +2++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Epic Stickman: RPG Idle Game By Fansipan Limited
      Bundle ID: com.fansipan.epic.stickman.survival.rpg.idle.game
      iTunes Store Link: https://apps.apple.com/us/app/epic-stickman-rpg-idle-game/id6503872838?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.
      - Free In-App Purchases -> Toggle via iGMenu.


      Jailbreak required hack(s): [Mod Menu Hack] Epic Stickman: RPG Idle Game v1.0 +2++ Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 7 replies
    • Epic Stickman: RPG Idle Game v1.0 +2++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Epic Stickman: RPG Idle Game By Fansipan Limited
      Bundle ID: com.fansipan.epic.stickman.survival.rpg.idle.game
      iTunes Store Link: https://apps.apple.com/us/app/epic-stickman-rpg-idle-game/id6503872838?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.
      - Free In-App Purchases


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Epic Stickman: RPG Idle Game v1.0 +2++ Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Thanks
        • Like
      • 4 replies
    • Grow Shooter : Survivor RPG v1.0.26 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Grow Shooter : Survivor RPG By DongSik Moon
      Bundle ID: com.eastmoon.growshooterlive
      iTunes Store Link: https://apps.apple.com/us/app/grow-shooter-survivor-rpg/id6480362458?uo=4


      Hack Features:
      - Unlimited Coins -> Will not decrease.
      - Unlimited Rubies -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Grow Shooter : Survivor RPG v1.0.10 +4 Cheats [ Damage ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 44 replies
    • Grow Shooter : Survivor RPG v1.0.26 +4 Cheats [ Damage ]
      Modded/Hacked App: Grow Shooter : Survivor RPG By DongSik Moon
      Bundle ID: com.eastmoon.growshooterlive
      iTunes Store Link: https://apps.apple.com/us/app/grow-shooter-survivor-rpg/id6480362458?uo=4


      Hack Features:
      - Damage Multiplier
      - Move Speed Multiplier
      - Unlimited Coins -> Will not decrease.
      - Unlimited Rubies -> Will not decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Grow Shooter : Survivor RPG v1.0.10 +2 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 71 replies
    • Mighty Party: Heroes Clash v42.0.0 +2 Jailed Cheats [Unlimited Currencies]
      Modded/Hacked App: Mighty Party: Heroes Clash By Satege s.r.o.
      Bundle ID: com.panoramik.forgeofgodsblitz
      iTunes Store Link: https://itunes.apple.com/us/app/mighty-party-heroes-clash/id1163805393


      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Unlimited Currencies - Will not decrease.
      - Free Summoning
      - Complete All Quests
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 721 replies
    • Mighty Party: Battle Heroes v42.0.0 +4 Cheats [Unlimited Currencies]
      Modded/Hacked App: Mighty Party: Heroes Clash By Satege s.r.o.
      Bundle ID: com.panoramik.forgeofgodsblitz
      iTunes Store Link: https://itunes.apple.com/us/app/mighty-party-heroes-clash/id1163805393


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Unlimited Currencies - Will not decrease. Reason why I only added this was because there's always a ban wave on this game. I can hack currencies, yes but instant ban.
      - Free Summoning
      - Kill All / Auto Win - Linked. Wait till it's the enemies turn and before they spawn in a troop, enable this feature.
      - Complete All Quests
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,791 replies
    • Last Day On Earth: Survival v1.25.0 +36 FREE Hacks
      Modded/Hacked App: Last Day on Earth: Survival By Andrey Pryakhin
      Bundle ID: zombie.survival.craft.z
      iTunes Link: https://itunes.apple.com/us/app/last-day-on-earth-survival/id1241932094

      Hack Features:
      - Coins Hack - Spend/Buy something that costs Coins to increase Coins!
      - Durability Hack - Weapons, Clothes, Boots, etc. Will not break. You can always keep using them.
      - Crafting Hack - Able to craft stuff without required items!
      - Skill Points Hack - Skill Points won't decrease, reset to increase.
      - Duplicate Items Hack - Split Items to duplicate them! Now it will duplicate by 20!
      - Loot box hack - Open 1 lootbox for 1000! - x64 only
      - Items increase when Taking from Inbox. You will never run out of Items in your inbox! - x64 only
      - Minigun Doesn't Overheat - x64 only
      - Unlimited Energy. Energy Increases instead of subtracting! - x64 only
      - Bow One Hit Kill - x64 only
      - Anti-Ban

      During the month of December, we have decided to make the ViP hack for free for all users! :) Extra features include:
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 29,232 replies
    • Last Day on Earth: Survival v1.25.0 +17 FREE Jailed Cheats
      Modded/Hacked App: Last Day On Earth: Zombie Survival By Andrey Pryakhin
      Bundle ID: zombie.survival.craft.z
      iTunes Link: https://itunes.apple.com/us/app/last-day-on-earth-zombie-survival/id1241932094


      Hack Features
      Hack Features
      - Coins Hack - Buy something that costs coins to increase
      - Duplicate Items Hack - Split items to duplicate them :p
      - Skill Points Hack - Use to increase
      - Weapon/Item Durability Hack - Your weapons and items will never break.
      - Loot Boxes Hack! -> Open 1 loot box and gain 10,000!

      This hack was made by ZahirSher for iOSGods.com.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 41,457 replies
    • Fishing Clash v1.0.300 +3 Cheats
      Modded/Hacked App: Fishing Clash: Fish Game 2019 by Ten Square Games S.A.
      Bundle ID: com.tensquaregames.letsfish2
      iTunes Store Link: https://apps.apple.com/us/app/fishing-clash-fish-game-2019/id1151811380?uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate or Substitute.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Combo Always Active
      - Centered Line -> The line is always in the center zone. I didn't test enough but worked for 20 games. Duels too.
      - Line Never Breaks


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above.
      STEP 2: Copy the file over to your iDevice using any of the file managers mentioned above or skip this step if you're downloading from your iDevice.
      STEP 3: Using iFile or Filza, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will then need to press on 'Installer' or 'Install' from the options on your screen.
      STEP 5: Let iFile / Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: Now open your iDevice settings and scroll down until you see the settings for this cheat and tap on it. If the hack is a Mod Menu, the cheat features can be toggled in-game.
      STEP 7: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

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


      Credits:
      - @Zahir


      Cheat Video/Screenshots:

      N/A
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,287 replies
    • Towerlands - tower defense TD v3.2.6 +2 Cheats
      Modded/Hacked App: Towerlands - tower defense TD By CHERNYE MEDVEDI, OOO
      Bundle ID: mobi.blackbears.ios.towerlands
      iTunes Store Link: https://apps.apple.com/us/app/towerlands-tower-defense-td/id1491901979?uo=4



      Hack Features:
      - Unlimited Gold
      - Unlimited Gems


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 317 replies
    • Legend of Solgard v2.46.0 - [ x Player Damage & More ]
      Modded/Hacked App: Legend of Solgard By King
      Bundle ID: com.midasplayer.apps.solgard
      iTunes Store Link: https://apps.apple.com/us/app/legend-of-solgard/id1281263906

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate or Substitute.
      - PreferenceLoader (from Cydia).


      Hack Features:
      - x Player Damage - x1 - 30
      - God Mode

      All features are unlinked and only for player, you!
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 559 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