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,373
Trophies
4
Location
Space
XP
13,977
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,373
Trophies
4
Location
Space
XP
13,977
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
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1