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,384
Trophies
4
Location
Space
XP
14,016
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,384
Trophies
4
Location
Space
XP
14,016
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
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    +1
  • Xdqwerty @ Xdqwerty:
    sigh
  • Xdqwerty @ Xdqwerty:
    @a_username_that_isnt_cool, could you change your username?
  • Xdqwerty @ Xdqwerty:
    i guess not...
  • Xdqwerty @ Xdqwerty:
    yawn
    Xdqwerty @ Xdqwerty: yawn