forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
adrahil



Joined: 16 Mar 2006
Posts: 277

PostPosted: Tue Jul 25, 2006 1:05 am    Post subject: Some new(?) NIDs while browsing the 2.71 decrypted PRXs... Reply with quote

Title says it all...
Lib | NID | String
Code:
|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
Back to top
View user's profile Send private message
moonlight



Joined: 26 Oct 2005
Posts: 567

PostPosted: Tue Jul 25, 2006 2:07 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
adrahil



Joined: 16 Mar 2006
Posts: 277

PostPosted: Tue Jul 25, 2006 11:34 pm    Post subject: Reply with quote

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:
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:
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:
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:
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:
sceKernelIsCalledByUser


This is from umdman.prx:
Code:
0xBF8AED79    sceUmdMan_driver_BF8AED79 ->sceUmdManRegisterInsertEjectUMDCallBack
0xCC80CFC6    sceUmdMan_driver_CC80CFC6 -> sceUmdManActivate
0xF65D819F sceUmdMan_driver_F65D819F -> sceUmdManRegisterImposeCallBack

Not in any prx but plaintext:
Code:
sceUmdManIntrCallSubIntr
sceUmdExecRead10Cmd


In sceAta:
Code:
0xC21318E6    sceAta_driver_C21318E6 -> sceAtaWaitBusBusy2
0x6C58F096    sceAta_driver_6C58F096 -> sceAtaWaitBusBusy1
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Jul 26, 2006 12:50 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
moonlight



Joined: 26 Oct 2005
Posts: 567

PostPosted: Wed Jul 26, 2006 1:18 am    Post subject: Reply with quote

What a bunch of interesting nids :)
Back to top
View user's profile Send private message
groepaz



Joined: 01 Sep 2005
Posts: 305

PostPosted: Thu Jul 27, 2006 2:18 am    Post subject: Reply with quote

Code:
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.
_________________
http://www.hitmen-console.org
http://hitmen.c02.at/files/yapspd/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group