Jump to content

[RESEARCH/CODING] The Silent Archivist — IL2CPP Research & F4CK Scripts


8 posts in this topic

Recommended Posts

Updated (edited)

Game: The Silent Archivist
Platform: iOS / Unity IL2CPP
Tool: F4CK IL2CPP Tool v1.1.10

Hello everyone,

I've spent some time reverse-engineering The Silent Archivist (currently modded by @Laxus) with F4CK IL2CPP Tool, mainly to understand how the game's equipment, enhancements, jobs and character progression systems work. Rather than keeping the results to myself, I thought I'd share them here in case they are useful to other players, researchers, or mod-menu developers.
Everything below has been tested in-game, rather than inferred from metadata alone.

Equipment creation:

Both armor and weapons can be created directly from their corresponding Master objects and added to the player's inventory.

Armor:

Quote

ArmorMaster
    ↓
Armor.Create(master, damageDifference)
    ↓
Armor
    ↓
GameData.AddEquipment()
    ↓
Inventory

Weapon:

Quote

WeaponMaster
    ↓
Weapon.Create(master)
    ↓
Weapon
    ↓
GameData.AddEquipment()
    ↓
Inventory

The exact internal Master ID can therefore be selected directly. See the scripts below.
I also catalogued the available definitions:

  • 313 ArmorMaster entries
  • 443 WeaponMaster entries
  • Internal IDs
  • Levels
  • Display names

Enhancements:

The Enhancement class contains:
kind @ 0x10
value @ 0x14

I identified 33 Enhancement.Kind values, including Damage, Defense, MaxDamage, MaxDefense, MagicDefense, Agility, CriticalRate, Avoid, MagicPower, Fire, Ice, and others.
The most interesting discovery was:
Equipment.RunCraft(Int32)

The parameter is not the Forge level.
Testing showed:
RunCraft(6)    → 6 new Enhancements
RunCraft(100)  → 100 new Enhancements

The generated enhancements are real native Enhancement objects and are attached to the equipment normally.
This makes it possible to generate a large number of enhancements on the equipment currently displayed in the UI. A wooden Sword+100 basically.
See the end of the post for the working script.

Jobs / XP:

The Job system exposes:

Quote

Job.Exp : UInt64
Job.AddExp(UInt64)
Character.ApplyAdventureExp()
Character.JobChange(Job, Boolean)

A large amount of XP can be assigned to jobs and then processed through the game's normal Adventure XP / level-up mechanism.
A working script was made to raise all jobs to their maximum level. Once again, see the bottom of the post.

Attribute points:

This one was particularly interesting to reverse-engineer.
CreateAdventureDialog contains:
addPoint @ 0xC8
System.Int32

This is the available attribute-point budget.
Temporary allocations are stored separately:
CharacterPointCellView.Point
addPoint @ 0x18

The actual flow is:

Quote

CreateAdventureDialog.addPoint
        ↓
Available points
        ↓
Point.addPoint
        ↓
Temporary allocation
        ↓
Hire / Submit
        ↓
Character statistics

This was confirmed through controlled in-game tests.
A native F4CK write to CreateAdventureDialog + 0xC8 successfully changes the available distribution-point counter.
There is, however, one limitation:

F4CK v1.1.10 does not expose its native write_field/read_field functions to Lua.

The Lua bridge currently exposes only:

Quote

Class.fromName
Class.search
print
sleep
obj.field
obj:Method()

So a clean standalone Lua implementation for the attribute-point budget is currently impossible.
For anyone developing a mod menu or extending the F4CK bridge, exposing something equivalent to... :

Quote

Native.writeInt32(object, offset, value)
Native.readInt32(object, offset)

...would be sufficient to make this fully scriptable.

Working scripts:

The following scripts have been tested and work perfectly:

SPAWN - Armor (Only change the ArmorID based on the catalogue)
SPAWN - Weapons (Only change the WeaponID based on the catalogue) (Need to have the chosen equipment window opened)
MAX ALL JOBS
MAX ENHANCEMENTS — CURRENT EQUIPMENT (Need to have the chosen equipment window opened)

The scripts are posted on CodeShare.
I can also provide the PDF for ArmorMaster and WeaponMaster catalogues if anyone is interested.

Also, if anyone is interested in integrating these findings into a proper mod menu, please feel free to use or build upon them.
The following have been experimentally verified:

  • direct Armor creation
  • direct Weapon creation
  • inventory insertion through GameData.AddEquipment
  • arbitrary enhancement generation through RunCraft(N)
  • Job XP manipulation
  • attribute-point budget manipulation through native F4CK writing

Hopefully this saves someone else a few hours of digging through IL2CPP metadata..!

Thanks to everyone who develops and maintains the tools that make this kind of research possible.
And if anyone takes these findings further, I'd be genuinely happy to see what you come up with.

Updated by Dark Light
Posted

Well done

I don't even play the game or understand how to play it so I can only mod from what I can see xD 

  • Like 1
Posted
14 minutes ago, Laxus said:

Well done

I don't even play the game or understand how to play it so I can only mod from what I can see xD 

No need to worry about that..!
If you add these to your existing mod, I'll test everything myself and make sure to give you feedbacks if you allow it.

Posted
9 phút trước, Dark Light đã nói:

Không cần phải lo lắng về điều đó..!
Nếu bạn thêm những thứ này vào bản mod hiện có của mình, tôi sẽ tự mình kiểm tra mọi thứ và đảm bảo cung cấp cho bạn phản hồi nếu bạn cho phép.

nice work 😝

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

    • The Catapult 2: Castle defense v8.1.0 [ +13 Cheats ] Add Currency
      Modded/Hacked App: The Catapult 2: Castle defense By BYV GAMES EOOD
      Bundle ID: com.byv.TheCatapult2
      App Store Link: https://apps.apple.com/us/app/the-catapult-2-castle-defense/id1449450263?uo=4

      🤩 Hack Features

      - Ads No
      - ViP Active
      - Double XP Active
      - Battle Pass Active
      - Unlock All Map
      - Unlock All Weapons
      - Play Any Level
      - Add Currency
      - Add Ticket
      - Aimbot
      - Aim Power
      - Never Die
      - Max Damage
      - Enemy Can't Attack
      • 0 replies
    • The Catapult 2: Castle defense v8.1.0 [ +13 Jailed ] Add Currency
      Modded/Hacked App: The Catapult 2: Castle defense By BYV GAMES EOOD
      Bundle ID: com.byv.TheCatapult2
      App Store Link: https://apps.apple.com/us/app/the-catapult-2-castle-defense/id1449450263?uo=4

      🤩 Hack Features

      - Ads No
      - ViP Active
      - Double XP Active
      - Battle Pass Active
      - Unlock All Map
      - Unlock All Weapons
      - Play Any Level
      - Add Currency
      - Add Ticket
      - Aimbot
      - Aim Power
      - Never Die
      - Max Damage
      - Enemy Can't Attack
      • 2 replies
    • Arcane Breakout +4 Mods [ Damage & Defence ]
      Mod APK Game Name: Arcane Breakout By KEYSTORM HOLDINGS LTD
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.game.arcanebreakout

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Freeze Enemies
      • 1 reply
    • Dream Zone: My Fantasy Episode +2 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Dream Zone: My Fantasy Episode By SWAG MASHA
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.swagmasha.dreamzone

       

      🤩 Hack Features

      - Unlimited Keys -> Spend some.
      - Unlimited Diamonds -> Spend some.
      • 0 replies
    • Love Sparks: Dating Sim +2 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Love Sparks: Dating Sim By SWAG MASHA
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.swagmasha.lovespark

       

      🤩 Hack Features

      - Unlimited Currencies -> Earn or spend some.
      -- VIP Enabled
      • 0 replies
    • Field Day +6 Mods [ Damage & Defence ]
      Mod APK Game Name: Field Day By BIT ODD
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.bitodd.vortex

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Freeze Enemies
      - Move Speed Multiplier
      - Kill All Enemies
      • 0 replies
    • Love Sick: My Love Episode +2 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Love Sick: My Love Episode By SWAG MASHA
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.swagmasha.genres

       

      🤩 Hack Features

      - Unlimited Keys -> Spend some.
      - Unlimited Diamonds -> Spend some.
      • 0 replies
    • Field Day +6 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Field Day By BIT ODD oy
      Bundle ID: com.bitodd.vortex
      App Store Link: https://apps.apple.com/us/app/field-day/id6754967275?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Freeze Enemies
      - Move Speed Multiplier
      - Kill All Enemies
      • 0 replies
    • Love Sick: Stories & Choices +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Love Sick: Stories & Choices By SVEG MASHA, OOO
      Bundle ID: com.swagmasha.genres
      iTunes Store Link: https://apps.apple.com/us/app/love-sick-stories-choices/id1450264153?uo=4


      Hack Features:
      - Unlimited Keys -> Spend some.
      - Unlimited Diamonds -> Spend some.


      Jailbreak required hack(s): [Mod Menu Hack] Love Sick: Stories & Choices ( All Versions ) +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/
      • 79 replies
    • BOOM BOOM TD +4 Mods [ Damage & Defence ]
      Mod APK Game Name: BOOM BOOM TD By Gamezaaa
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.yblbsea.gpgat

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Kill All Enemies
      • 0 replies
    • Slime Hunter Idle Dx +7 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Slime Hunter Idle Dx By Gyeongtae Park
      Bundle ID: com.fingercat.slimehunterworldios
      App Store Link: https://apps.apple.com/us/app/slime-hunter-idle-dx/id6816451708?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Move Speed Multiplier
      - Kill All Enemies
      - Freeze Currencies
      - Unlimited Currencies -> Will increase instead of decrease.
      • 2 replies
    • BOOM BOOM TD +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: BOOM BOOM TD By Cedar Technology HK Limited
      Bundle ID: com.yblbsea.iosgat
      App Store Link: https://apps.apple.com/th/app/boom-boom-td/id6780721388?uo=4

       

      🤩 Hack Features

      - Damage Multiplier 
      - Defence Multiplier
      - God Mode
      - Kill All Enemies
      • 1 reply
×
  • 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