Some new(?) NIDs while browsing the 2.71 decrypted PRXs...

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
adrahil
Posts: 274
Joined: Thu Mar 16, 2006 1:55 am

Some new(?) NIDs while browsing the 2.71 decrypted PRXs...

Post by adrahil »

Title says it all...
Lib | NID | String

Code: Select all

|sceUsbMic                |2E6DCDCD|sceUsbMicInputBlocking
|sceUsbMic                |5F7F368D|sceUsbMicInput
|sceUsbMic                |F899001C|sceUsbMicWaitInputEnd


|sceUsbCam                |1A46CFE7|sceUsbCamStillPollInputEnd
|sceUsbCam                |36636925|sceUsbCamReadMicBlocking
|sceUsbCam                |3DC0088E|sceUsbCamReadMic
|sceUsbCam                |41E73E95|sceUsbCamPollReadVideoFrameEnd
|sceUsbCam                |4C34F553|sceUsbCamGetLensDirection
|sceUsbCam                |61BE5CAC|sceUsbCamStillInputBlocking
|sceUsbCam                |7563AFA1|sceUsbCamStillWaitInputEnd
|sceUsbCam                |7DAC0C71|sceUsbCamReadVideoFrameBlocking
|sceUsbCam                |99D86281|sceUsbCamReadVideoFrame
|sceUsbCam                |B048A67D|sceUsbCamWaitReadMicEnd
|sceUsbCam                |F8847F60|sceUsbCamPollReadMicEnd
|sceUsbCam                |F90B2293|sceUsbCamWaitReadVideoFrameEnd
|sceUsbCam                |FB0A6C5D|sceUsbCamStillInput


|sceVshCommonUtil         |2D564AF6|sceSystemFileGetIndex
|sceVshCommonUtil         |6349597A|sceSystemFileLoadAll2
|sceVshCommonUtil         |6B332472|sceSystemFileGetIndexInfo
|sceVshCommonUtil         |B6E7804E|sceSystemFileLoadAll
|sceVshCommonUtil         |E55CADD9|sceSystemFileLoadIndex
|sceVshCommonUtil         |F857F095|sceSystemFileGetValue

|vsh                      |58234CB0|vshRegSysconfUpdateRegistry
|vsh                      |C403411C|vshRegSysconfInitRegistry

|sceVshBridge             |61001D64|vshChkregGetPsCode
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

the usb cam/mic ones are obviously new, i added to my site last week.

The other ones, most of them are known, but i think you have found one or two that weren't known like sceSystemFileLoadAll2.
adrahil
Posts: 274
Joined: Thu Mar 16, 2006 1:55 am

Post by adrahil »

I've been looking thru your website and found out that I had a few more NIDs you didn't have (and inversely :3), so here are some not in your 2.71 ref :)

Here is the sce equivalent of the vsh GetPSCode function:

Code: Select all

0x59F8491D 	sceChkreg_driver_59F8491D   ->  sceChkregGetPsCode
And here is the http storage, which I suppose is a sort of wrapper for auth.dat and cookie.dat files, but the disassembly of which makes me sceptical... :

Code: Select all

0x24AA94F4 	sceHttpStorage_driver_24AA94F4 -> sceHttpStorageWrite
0x2D8DAE58 	sceHttpStorage_driver_2D8DAE58 -> sceHttpStorageGetstat
0x700AAD44 	sceHttpStorage_driver_700AAD44 -> sceHttpStorageOpen
0xB33389CE 	sceHttpStorage_driver_B33389CE -> sceHttpStorageLseek
0xC59AC98A 	sceHttpStorage_driver_C59AC98A
0xCDA3D8F6 	sceHttpStorage_driver_CDA3D8F6 -> sceHttpStorageClose
0xCDDF1103 	sceHttpStorage_driver_CDDF1103 -> sceHttpStorageRead
The 0xC59AC98A is actually only in the sceHttpStorage_driver, whereas the others are also in sceHttpStorage... The 0xC59AC98A is actually the address of the StartModule function... In the disassembly it does something weird, by calling sceIoClose with (I think) the FD = 0...

Next, mpeg_vsh prx:

Code: Select all

0x11F95CF1 	sceMpeg_11F95CF1 -> sceMpegGetAvcNalAu
0x6F314410 	sceMpeg_6F314410 -> sceMpegAvcDecodeGetDecodeSEI
0x921FCCCF 	sceMpeg_921FCCCF -> sceMpegGetAvcEsAu
Some MPEG functions in the plaintext dump of a prx but not present in ANY prx :

Code: Select all

sceMpegvideoAvcInit
sceMpegvideoAvcQueryWorkMemSize
sceMpegMpeg4DecodeDetail
sceMpegMpeg4Decode
Another function I didn't find in the references (the SVN is down, so it's hard to find anything):

Code: Select all

sceKernelIsCalledByUser
This is from umdman.prx:

Code: Select all

0xBF8AED79 	sceUmdMan_driver_BF8AED79 ->sceUmdManRegisterInsertEjectUMDCallBack
0xCC80CFC6 	sceUmdMan_driver_CC80CFC6 -> sceUmdManActivate
0xF65D819F sceUmdMan_driver_F65D819F -> sceUmdManRegisterImposeCallBack
Not in any prx but plaintext:

Code: Select all

sceUmdManIntrCallSubIntr
sceUmdExecRead10Cmd
In sceAta:

Code: Select all

0xC21318E6 	sceAta_driver_C21318E6 -> sceAtaWaitBusBusy2
0x6C58F096 	sceAta_driver_6C58F096 -> sceAtaWaitBusBusy1
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

The psplibdoc project could use some improvements, like the ability to store version information so that these sorts of firmware-specific functions could be included cleanly. Other tools, like maybe psp-fixup-imports or some other standalone program, could then use this to give a report on what firmware versions a particular binary is compatible with. I personally don't have time to work on this at the moment, but it might be more useful in the long run than starting alternative lists of these NIDs.
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

What a bunch of interesting nids :)
User avatar
groepaz
Posts: 305
Joined: Thu Sep 01, 2005 7:44 am
Contact:

Post by groepaz »

Code: Select all

Some MPEG functions in the plaintext dump of a prx but not present in ANY prx :
often when you can find functionnames in prxes that dont appear to be linked to a NID, you can trace them back to debug messages... by finding references to those strings and looking which functions print them you can in a lot of cases find function names for "internal" functions which arent exposed through NIDs.
Post Reply