name demangling question - Printable Version

+- (
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: Development (/forumdisplay.php?fid=3)
+--- Thread: name demangling question (/showthread.php?tid=23985)

name demangling question - grief3r - 02-04-2018 08:23 PM

How do i demangle psp game function names.

Off the top of my head iterating through each jal to get function entry points would give me a general sense, but I'm no expert at this so i figured I'd ask it here

RE: name demangling question - AkiraJkr - 02-04-2018 08:45 PM


RE: name demangling question - grief3r - 02-04-2018 10:01 PM

(02-04-2018 08:45 PM)MorrisonGamer Wrote:  What...?

Demangling. Transforming C++ ABI identifiers (like RTTI symbols) into the original C++ source identifiers is called “demangling.” ... One of the exposed functions is used for demangling

RE: name demangling question - [Unknown] - 02-11-2018 04:00 AM

Commercial games in many cases don't actually have debug info.

But, in the cases where you do have the mangled function names, you can just use standard C++ rules to demangle them. Many games and homebrew are just compiled with g++ targeting MIPS.

If you're asking how to get function names from the ether - when there's no debug info - I'm afraid we can't get what the compiler didn't save to the binary. Short of contacting the developers of the game, you'll just have to dream up your own names.