Hacking Others il2cppdumper

wolforedark

New Member
OP
Newbie
Joined
Apr 29, 2024
Messages
3
Trophies
0
Age
24
XP
14
Country
Spain
Hello I am very new to this, and I have learned some things along the way. I want to decompile a PS4 game made in Unity, so any program like AssetRipper can extract the files from the fpkg I have. Doing this got me the binaries and the metadata, which I couldn't use right away, as I had to transform the Il2CppUserAssemblies.prx to Il2CppUserAssemblies.elf with the unfself.exe tool. This allowed me to use both files in programs like il2cppdumper or cpp2il, but inspecting the generated .dlls leads me to very little readable code (everything else: signatures, types, returns are fine, but I want method bodies).

Doing everything again with Il2cppdumper, I noticed that it gave me this "ERROR: This file may be protected." and "Detected this may be a dump file." Now I don't know if there's any further step I have to take in order to dump the code, or maybe I am using the program wrong or I messed up somwhere (maybe I have to dump the game while the PS4 is running? I would need to jailbreak it for that no?). Thank you so much in advance.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,401
Trophies
4
Location
Space
XP
14,048
Country
Norway
Hello I am very new to this, and I have learned some things along the way. I want to decompile a PS4 game made in Unity, so any program like AssetRipper can extract the files from the fpkg I have. Doing this got me the binaries and the metadata, which I couldn't use right away, as I had to transform the Il2CppUserAssemblies.prx to Il2CppUserAssemblies.elf with the unfself.exe tool. This allowed me to use both files in programs like il2cppdumper or cpp2il, but inspecting the generated .dlls leads me to very little readable code (everything else: signatures, types, returns are fine, but I want method bodies).

Doing everything again with Il2cppdumper, I noticed that it gave me this "ERROR: This file may be protected." and "Detected this may be a dump file." Now I don't know if there's any further step I have to take in order to dump the code, or maybe I am using the program wrong or I messed up somwhere (maybe I have to dump the game while the PS4 is running? I would need to jailbreak it for that no?). Thank you so much in advance.
il2cppdumper only generates stubs, the actual code is C/C++ and can't really be decompiled back into C# code, you can decompile it into C/C++ code with Ghidra but making any sense of the obfuscated code is not an easy task.
 
  • Like
Reactions: wolforedark

wolforedark

New Member
OP
Newbie
Joined
Apr 29, 2024
Messages
3
Trophies
0
Age
24
XP
14
Country
Spain
il2cppdumper only generates stubs, the actual code is C/C++ and can't really be decompiled back into C# code, you can decompile it into C/C++ code with Ghidra but making any sense of the obfuscated code is not an easy task.
Thank you for the fast response! What about cpp2IL? similar program whose output I can view in ILspy, in C#, but I face the same problem, very little info for method bodies.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,401
Trophies
4
Location
Space
XP
14,048
Country
Norway
Thank you for the fast response! What about cpp2IL? similar program whose output I can view in ILspy, in C#, but I face the same problem, very little info for method bodies.
Same thing I believe. There aren't any tools that can decompile il2cpp fully into C# code. The conversion only works one way.
 

wolforedark

New Member
OP
Newbie
Joined
Apr 29, 2024
Messages
3
Trophies
0
Age
24
XP
14
Country
Spain
Sorry for reviving this, I was wondering if getting the files from the game with tools like this github/codemasterv/PS4Dumper which get the info on runtime and therefore, as I understand, decrypted could be done any other way? Perhaps with an emulator? Because doing it with a fpkg will not yield the same results right?
EDIT: is this a tutorial i should follow? guide-how-to-decrypt-dump-usermodules-by-grass-skeu.11396/
 
Last edited by wolforedark,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @MysticStarlight, oh Yea I recall my PS3 can do that
  • Xdqwerty @ Xdqwerty:
    Modded ofc
  • Xdqwerty @ Xdqwerty:
    Speaking of my PS3 i havent downloaded any games yet bc my wifi is too slow
  • Xdqwerty @ Xdqwerty:
    and also because blackouts here are very common and that could damage the console
  • MysticStarlight @ MysticStarlight:
    Do you have a surge protector or an UPS?
  • BigOnYa @ BigOnYa:
    Yea but to play the next gen games, you must have those games on internal, or buy the official ssd expansion cards, which are expensive
  • Xdqwerty @ Xdqwerty:
    @MysticStarlight, dunno what each one of those are
  • Xdqwerty @ Xdqwerty:
    @MysticStarlight, my PS3 was already modded when my dad bought it for me and my brother
  • MysticStarlight @ MysticStarlight:
    A surge protector is a device that protects your electronics from fluctuations. I recommend having your console plugged into one of those
  • MysticStarlight @ MysticStarlight:
    An UPS is even better because it has an internal battery that keeps your system on even if the power goes out, but it's much more expensive obviously
  • Xdqwerty @ Xdqwerty:
    @MysticStarlight, oh i recall seeing one in some in the houses of some relatives, including my dad's apartment
  • Xdqwerty @ Xdqwerty:
    @MysticStarlight, although whatever device we plug into them stops getting power anyways lol
  • MysticStarlight @ MysticStarlight:
    that's weird
  • Xdqwerty @ Xdqwerty:
    @MysticStarlight, and oh i was talking about ups
  • Xdqwerty @ Xdqwerty:
    No not that one
  • Xdqwerty @ Xdqwerty:
    Surge protectors are what i was talking about
  • Xdqwerty @ Xdqwerty:
    Yea I got confused for a bit
  • BakerMan @ BakerMan:
    @Xdqwerty literally juan:
    +1
  • BigOnYa @ BigOnYa:
    On the series s/x you can use a external HD but any next gen games must be on your internal ssd, or you can buy a ssd expansion card, but pricey. Any xbone, 360, or og Xbox games can be played from external tho.
  • K3Nv2 @ K3Nv2:
    Series §€×
  • BigOnYa @ BigOnYa:
    Insert **** here
    +1
  • K3Nv2 @ K3Nv2:
    What a tiny memory card
  • BigOnYa @ BigOnYa:
    Rumble packs are important
  • K3Nv2 @ K3Nv2:
    Make sure it's fully charged
  • Psionic Roshambo @ Psionic Roshambo:
    I remember someone made a vibrating Wiimote homebrew lol
    Psionic Roshambo @ Psionic Roshambo: I remember someone made a vibrating Wiimote homebrew lol