Thanks M4j0r for that info, very useful! Basically I have a System 357 with Tekken 6 on it, and indeed I am wanting to work out all the security for preservation purposes. I've basically found a check where it is comparing the return value from that function against the contents of a 64-byte file called PS3GAME.DAT. Have been puzzled how it ends up with 64 bytes when Hdd Serials are usually maybe 20 chars max.
Looking at the contents of PS3GAME.DAT there's no ASCII characters so I am suspecting it might be hashing the serial number, and Sha256 would potentially explain the 64-bytes, but that's just a hunch. I'll step through the code a bit more. I'm pretty new to PS3 dev as well as PowerPC asm so I'm possibly overlooking something at first glance. Like you say, I may as well just patch it out. It's just gotten me a little curious, however. I look forward to having a peek at how it interacts with the dongle next.