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,392
Trophies
4
Location
Space
XP
14,026
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,392
Trophies
4
Location
Space
XP
14,026
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
  • BakerMan @ BakerMan:
    first of all, i don't watch those kinds of videos, and if i did i'd pull a verbalase 50k but with wizards and wario
    +1
  • BakerMan @ BakerMan:
    second of all, i don't even have a 3ds
  • BigOnYa @ BigOnYa:
    OnlyWizard&WarioFans.com
    +2
  • BakerMan @ BakerMan:
    i just want a wizard to stick his wand (whether literal or figurative is up to interpretation, either way it's either freaky or sus, or both i guess) up my ass
  • BigOnYa @ BigOnYa:
    I'm making Texas sheet cake for first time today, my Nieghbor brought us some few weeks ago and damn that's good, so I got her recipe and gonna try it today.
  • BakerMan @ BakerMan:
    mmm, sounds good
  • BigOnYa @ BigOnYa:
    Its not a brownie, and its not a cake, so what is it- Texas sheet cake.
  • BigOnYa @ BigOnYa:
    I tried making chocolate lava cakes the other day in cupcake pan, what a mess, my lava exploded out of the cakes everywhere while baking, was still ok tho, just no lava inside.
  • BigOnYa @ BigOnYa:
    We had our grandkids over yesterday and I got a small above ground swimming pool I filled for them to play in. Well today I woke to find 3 ducks swimming around in it. Don't mind really but they are annoyingly loud, quack quack. Gotta drain it today. Guess what were having for dinner, lol.
    +1
  • BakerMan @ BakerMan:
    lol
  • AncientBoi @ AncientBoi:
    BBQ'd 🦆
    +1
  • BakerMan @ BakerMan:
    also i'm sorry your molten lava cakes failed
    +2
  • BakerMan @ BakerMan:
    just looked up a pic of texas sheet cake, and it looks delicious
    +1
  • AncientBoi @ AncientBoi:
    🌋 Science Project?
  • BakerMan @ BakerMan:
    i think i might need to try making lava cakes for the 4th of july fr
    +2
  • BigOnYa @ BigOnYa:
    I used butter instead of vegetable oil, and think that's why they squirted out during baking, who knows
  • BakerMan @ BakerMan:
    yeah i think oil is the right call
    +1
  • BakerMan @ BakerMan:
    plus if you're making brownies or lava cakes for people with dairy allergies, you should use oil instead of butter anyway
    +2
  • ZeroT21 @ ZeroT21:
    @BakerMan Make me a space cake plz
  • BigOnYa @ BigOnYa:
    I make rum cake for 4th July every year, I make it a week prior and then soak it in rum in the fridge all week. I flip the cake each day, and add little more rum, it soaks it up everyday, so good.
    +2
  • BakerMan @ BakerMan:
    sorry, idk what you mean by a space cake, and even if i did, i'm not really taking requests right now, because otherwise people will get mad at me for taking a request but not making a birthday cake for @Xdqwerty (i'm sorry for that btw bro)
  • ZeroT21 @ ZeroT21:
    @BakerMan lies, you just want to smoke it

    :rofl2:
  • ZeroT21 @ ZeroT21:
    Guess all the food in my fridge can knock out a cow or two
    ZeroT21 @ ZeroT21: Guess all the food in my fridge can knock out a cow or two