Talk:VSH: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 353: Line 353:
<source lang="cpp">
<source lang="cpp">
// v0.1
// v0.1
// Mysis xRegistry.h v0.1
class xsetting_AF1F161_class
class xsetting_AF1F161_class
{
{

Revision as of 18:38, 18 June 2014

Searching functions

There is a more faster way to get functions by their real signatures if you have function declarations or you can get it somehow.

  • extract.sh
#/bin/sh
ppu-g++ -x c++ -I. -S $1 -o- | grep "^_.*:$" | sed -r 's/^_(.*?):$/\1/'

Now you need to pass a source code or a header file with an empty function bodies (to be able to compile them and get mangled names). It generates a list of mangled names, now you can use an algorithm from SPRX File Format to get their FNIDs. An example generated from cxmlaccess.cpp: http://pastie.org/private/izbnghfg2eidaas7lxqgdg

--Flatz (talk) 02:33, 16 June 2014 (EDT)

_x3_34E2588C

+0 x3BDVDIoctl::ServerControl ( 7 )
+4 x3BDVDIoctl::ServerControl ( 8 )
+8 x3BDVDIoctl::ServerControl ( 9 )
+C x3BDVDIoctl::ServerControl ( 0xA )
+0x10 x3BDVDIoctl::ServerControl ( 0xB )
+0x14 x3BDVDIoctl::ServerControl ( 0xC )
+0x18 Get Device Id by String ( char * mount_point, uint64_t * deviceid) ("/dev_bdvd" ...)

xRegistry Access

_xsetting_AF1F161

+0 get_product_code
+4 get_product_sub_code
+8 Get uint8_t [0x1C] { hdmi, ieee802.11, msslot, sdslot, cfslot }
+C Set uint8_t [0x1C] { hdmi, ieee802.11, msslot, sdslot, cfslot }
+0x10 GetEnterButtonAssign()
+0x14 SetEnterButtonAssign()
+0x18 GetLicenseArea "/setting/system/licenseArea"
+0x1c SetSystemInitialize "/setting/system/initialize"
+0x20 GetSystemInitialize 
+0x24 SetSystemLanguage
+0x28 GetSystemLanguage
+0x2c SetSystemNickname
+0x30 GetSystemNickname
+0x34 SetSystemCharacterCodeOem
+0x38 GetSystemCharacterCodeOem
+0x3c SetSystemCharacterCodeOem Value
+0x40 GetSystemCharacterCodeOem Value
+0x44 SetsystemCharacterCodeAnsi
+0x48 GetsystemCharacterCodeAnsi
+0x4c (Resets Nickname, DVDRegion, DlnaFlag)
+0x50 SetSystemNotificationEnabled
+0x54 GetSystemNotificationEnabled
+0x58 SetSystemDiscBootFirstEnabled "/setting/system/discBootFirst"
+0x5c GetSystemDiscBootFirstEnabled
+0x60 SetSystemSoundEffectEnabled "/setting/system/soundEffect"
+0x64 GetSystemSoundEffectEnabled
+0x68 (new)
+0x6c (delete)

_xsetting_43F98936

+0
+4
+8
+c
+0x10
+0x14
+0x18
+0x1C MpVpOutput::ChangeAudioConfig() GetDeviceInfo
+0x20
+0x24
+0x28
+0x2c
+0x30 cellAvsetSetAudioCPControl
+0x34 cellAvsetSetAudioACPInfo
+0x38
+0x3c
+0x40
+0x44
+0x48
+0x4c
+0x50
+0x54 GetMultiOutState()
+0x58
+0x5c
+0x60
+0x64
+0x68


_xsetting_4712F276

+0x10 GetDeviceInfo
+0xF0 HDCP Status




_xsetting_58560CA4

+0 - Get "/setting/video/screenMode" int*
+4 - Set "/setting/video/screenMode" 
+8 - Get "/setting/video/outputChannel" int*
+c - Set "/setting/video/outputChannel"
+0x10 - Get "/setting/video/videoplayervolume" int *
+0x14 - Set "/setting/video/videoplayervolume"


_xsetting_660ECC35

+0 - Set "/setting/photo/normalScenario"
+4 - Get "/setting/photo/normalScenario" int*
+8 - Set "/setting/photo/slideScenario"
+C - Get "/setting/photo/slideScenario" int *
+0x10 - Set "/setting/photo/slideInterval"
+0x14 - Get "/setting/photo/slideInterval" int*
+0x18 - Set "/setting/photo/slideRepeat"
+0x1C - Get "/setting/photo/slideRepeat" int*


_xsetting_7125FEB5

+0 - Set "/setting/music/codec"
+4 - Get "/setting/music/codec" int*
+8 - Set "/setting/music/bitRateAac"
+c - Get "/setting/music/bitRateAac" int*
+0x10 - Set "/setting/music/bitRateMp3"
+0x14 - Get "/setting/music/bitRateMp3"
+0x18 - Set "/setting/music/bitRateAtrac"
+0x1c - Get "/setting/music/bitRateAtrac"
+0x20 - Set "/setting/music/crossFadePlay"
+0x24 - Get "/setting/music/crossFadePlay"
+0x28 - Set "/setting/music/repeatMode"
+0x2c - Get "/setting/music/repeatMode"
+0x30 - Set "/setting/music/shuffleMode"
+0x34 - Get "/setting/music/shuffleMode"
+0x38 - Set "/setting/music/visualizerSelect"
+0x3c - Get "/setting/music/visualizerSelect"
+0x40 - Set "/setting/music/cddaEula"
+0x44 - Get "/setting/music/cddaEula"
+0x48 - Set "/setting/music/cddaServer"
+0x4c - Get "/setting/music/cddaServer"
+0x50 - Set "/setting/music/audioplayervolume"
+0x54 - Get "/setting/music/audioplayervolume"
+0x58 - Set "/setting/music/sacdplayervolume"
+0x5c - Get "/setting/music/sacdplayervolume"
+0x60 - Set "/setting/music/atracActivation"
+0x64 - Get "/setting/music/atracActivation"
+0x68 - Set "/setting/music/wmaActivation"
+0x6C LoadWmaActivation(int* )
+0x70 - Set "/setting/music/cdOutputFs"
+0x74 - Get "/setting/music/cdOutputFs"
+0x78 - Set "/setting/music/ditherSetting"
+0x7C - Get "/setting/music/ditherSetting"
+0x80 - Set "/setting/music/bitmappingSetting"
+0x84 - Get "/setting/music/bitmappingSetting"



_xsetting_7EDDAD29

+0 - Get uint8_t [0x20] { parental passwordNumber, bdPc, bdPcAge, dvdRegion, dvdLevel, gameLevel, browserStartControl }
+4 - Set "/setting/parental/dvdRegion"
+8 - Set "/setting/parental/bdPc"
+C - Set "/setting/parental/bdPcAge"
+10 - Set "/setting/parental/dvdRegion" (input is compared to a known list)
+14 - Set "/setting/parental/dvdLevel"
+18 - Set "/setting/parental/gameLevel"
+1C - Set "/setting/parental/browserStartControl"

_xsetting_8B69F85A

+0 - Get uint8_t [0x18] {diffTime, dateFormat, timeFormat, timeZone, summerTime }
+4 - Set "/setting/dateTime/diffTime"
+8 - Set "/setting/dateTime/dateFormat"
+c - Set "/setting/dateTime/timeFormat"
+10- Set "/setting/dateTime/timeZone"
+14- Set "/setting/dateTime/summerTime"
+18
+1c
+20 - Syscall sys_ss_rtc_set_rtc (0x3001)
+24
+28 - Syscall sys_time_set_timezone
+2c

_xsetting_CE27E884

+0 - Set "setting/premo/psp 0-5" uint8 [0x4B8] 
+4 - Get "setting/premo/psp 0-5" uint8 [0x4B8]
+8 - Set "/setting/premo/remoteBoot"
+c - Get "/setting/premo/remoteBoot" int*
+10- Set "/setting/premo/bootCount"
+14- Get "/setting/premo/bootCount" int*
+18- Set "/setting/premo/powerOffTime"
+1c- Get "/setting/premo/powerOffTime" uint64_t*
+20- Set "/setting/premo/audioConfig"
+24- Get "/setting/premo/audioConfig" int*


_xsetting_D0261D72

+0 - Set "/setting/avc/initialCameraMode"
+4 - Get "/setting/avc/initialCameraMode" int*
+8 - Set "/setting/np/env"
+c - Get "/setting/np/env"
+0x10 - set id, value - regInterface->SaveRegIntegerValue
+0x14 - get id, int * - regInterface->LoadRegIntegerValue
+0x18 - set id, value - regInterface->SaveRegStringValue
+0x1C - get id, value - regInterface->LoadRegStringValue
+0x20
+0x24
+0x28


id

0x00 || "/setting/avc/vga/lastBitrate"
0x01 || "/setting/parental/gameLevel0Control"
0x02 || "/setting/parental/networkServiceControl"
0x03 || "/setting/music/cddaServer"
0x04 || "/setting/music/gameBgmPlayback"
0x05 || "/setting/music/gameBgmVolume"
0x06 || "/setting/music/dummyBgmPlayer"
0x07 || "/setting/music/dynamicNormalizer"
0x08 || "/setting/np/debug"
0x09 || "/setting/np/titleId"
0x0A || "/setting/np/navOnly"
0x0B || "/setting/np/npAdClockDiff"
0x0C || "/setting/np/debugDrmError"
0x0D || "/setting/np/debugDrmClock"
0x0E || "/setting/np/debugConsoleBind"
0x0F || "/setting/np/debugIngameCommerce2"
0x10 || "/setting/np/debugSFForce"
0x11 || "/setting/np/npGeoFiltering"
0x12 || "/setting/np/gameUpdateImposeTest"
0x13 || "/setting/np/gameUpdateForceOverwrite"
0x14 || "/setting/np/fakeNpSnsThrottle"
0x15 || "/setting/np/fakeNpSnsThrottleWaitSeconds"
0x16 || "/setting/np/tppsProxyFlag"
0x17 || "/setting/np/tppsProxyServer"
0x18 || "/setting/np/tppsProxyPort"
0x19 || "/setting/np/tppsProxyUserName"
0x1A || "/setting/np/tppsProxyPassword"
0x1B || "/setting/system/region"
0x1C || "/setting/system/licenseArea"
0x1D || "/setting/system/hddSerial"
0x1E || "/setting/system/coreDump"
0x1F || "/setting/system/coreDumpOptionTrigger"
0x20 || "/setting/system/coreDumpOptionFileGen"
0x21 || "/setting/system/coreDumpOptionExeCtrl"
0x22 || "/setting/system/matEnable"
0x23 || "/setting/system/updateServerUrl"
0x24 || "/setting/system/fakeLimitSize"
0x25 || "/setting/system/fakeFreeSpace"
0x26 || "/setting/system/fakeSavedataOwner"
0x27 || "/setting/system/fakeHddSpeed"
0x28 || "/setting/system/debugGameType"
0x29 || "/setting/system/debugBootPath"
0x2A || "/setting/system/debugDirName"
0x2B || "/setting/system/appHomeBootPath"
0x2C || "/setting/system/wolDex"
0x2D || "/setting/system/dispHddSpace"
0x2E || "/setting/system/autoNetworkUpdate"
0x2F || "/setting/system/autoPowerOff"
0x30 || "/setting/system/autoPowerOffEx"
0x31 || "/setting/system/autoPowerOffDebug"
0x32 || "/setting/system/hdmiControl"
0x33 || "/setting/system/hdmiControlEx"
0x34 || "/setting/system/powerOnDiscBoot"
0x35 || "/setting/system/powerOnReset"
0x36 || "/setting/system/disable15Timeout"
0x37 || "/setting/system/debugSystemUpdate"
0x38 || "/setting/system/fakePlus"
0x39 || "/setting/system/turnOffWarning"
0x3A || "/setting/system/bootMode"
0x3B || "/setting/system/crashreport/crepo"
0x3C || "/setting/system/crashreport/reporterStatus"
0x3D || "/setting/system/crashreport/vshGeneratorEnableFlag"
0x3E || "/setting/dateTime/autoCorrection"
0x3F || "/setting/autoboot/startTime"
0x40 || "/setting/edy/debug"
0x41 || "/setting/video/upConvert" - loadRegistryUpConvert/saveRegistryUpConvert
0x42 || "/setting/video/fnr" - loadRegistryFnrLevel/saveRegistryFnrLevel
0x43 || "/setting/video/bnr" - loadRegistryBnrLevel/saveRegistryBnrLevel
0x44 || "/setting/video/mnr" - loadRegistryMnrLevel/saveRegistryMnrLevel
0x45 || "/setting/video/sequentialPlay" - loadRegistrySequentialPlay/saveRegistrySequentialPlay
0x46 || "/setting/video/hd50HzOutput" - laodRegistryHD50HzOutput/saveRegistryHD50HzOutput
0x47 || "/setting/video/outputExtMenu"
0x48 || "/setting/video/outputExtFunc"
0x49 || "/setting/video/dtcpipActMenu" - loadRegistryDtcpIpSettingMenu/saveRegistryDtcpIpSettingMenu
0x4A || "/setting/video/hddCaptionLanguage" - loadRegistryDefaultSubTitleLanguage()
0x4B || "/setting/video/hddSoundLanguage" - loadRegistryDefaultAudioLanguage()
0x4C || "/setting/game/emuUpConvert"
0x4D || "/setting/game/emuSmoothing"
0x4E || "/setting/game/minisUpConvert"
0x4F || "/setting/game/pspemuViewmode"
0x50 || "/setting/game/pspemu3dDisplay"
0x51 || "/setting/game/pspemu3dDepthAdjust"
0x52 || "/setting/game/pspemu3dMenu"
0x53 || "/setting/game/pspemuAdhocModeWlan"
0x54 || "/setting/game/pspemuAdhocModeCh"
0x55 || "/setting/game/ps2emuSaveUtility"
0x56 || "/setting/game/ps2softemuFunc"
0x57 || "/setting/game/ps2BgCaution"
0x58 || "/setting/camera/plfreq"
0x59 || "/setting/xmb/tvCategory"
0x5A || "/setting/xmb/homeInstaller"
0x5B || "/setting/xmb/homeQAMode"
0x5C || "/setting/xmb/dummyInGameXMB"
0x5D || "/setting/xmb/yconExplained"
0x5E || "/setting/xai/debugFlag"
0x5F || "/setting/libad/adServerURL"
0x60 || "/setting/libad/adCatalogVersion"
0x61 || "/setting/libad/adEnableNotification"
0x62 || "/setting/upload/debug"
0x63 || "/setting/net/autoDlDebug"
0x64 || "/setting/net/autoDlFlag"
0x65 || "/setting/net/autoDlTime"
0x66 || "/setting/net/autoDlFunc"
0x67 || "/setting/net/emulationType"
0x68 || "/setting/net/adhocSsidPrefix"
0x69 || "/setting/pad/vibrationEnable"
0x6A || "/setting/pad/autoPowerOff"
0x6B || "/setting/pad/magnetometer"
0x6C || "/setting/sound/0/initial"
0x6D || "/setting/sound/1/usbHeadsetSound"
0x6E || "/setting/dlna/dlnaFlag"
0x6F || "/setting/dlna/dtcpipDevCert"
0x70 || "/setting/browser/trendEula"
0x71 || "/setting/browser/trendEnable"
0x72 || "/setting/browser/trendLastTime"
0x73 || "/setting/browser/trendTtl"
0x74 || "/setting/browser/trendRegistered"
0x75 || "/setting/browser/heapSize"
0x76 || "/setting/browser/debugMenu"
0x77 || "/setting/browser/browserType"
0x78 || "/setting/wboard/baseUri"
0x79 || "/setting/smss/targetServer"
0x7A || "/setting/smss/resultOutput"
0x7B || "/setting/display/forceEnable3D"
0x7C || "/setting/display/screenSize"
0x7D || "/setting/display/deepColor"

xRegistry.h

Note: Load = Get, Save = Set
// v0.1
class xsetting_AF1F161_class
{
public:
	int (*GetProductCode)();
	int (*GetProductSubCode)(); // Model Type, Mobo Id ?
	int (*GetUnk1)(void *) ; // uint8_t [0x1C] { hdmi, ieee802.11, msslot, sdslot, cfslot }
	int (*SetUnk2)(void *) ;
	int (*GetEnterButtonAssign)(int *) ;
	int (*SetEnterButtonAssign)(int);
	int (*GetLicenseArea)(int *) ;
	int (*SetSystemInitialize)(int);
	int (*GetSystemInitialize)(int *);
	int (*SetSystemLanguage)(int) ;
	int (*GetSystemLanguage)(int *);
	int (*SetSystemNickname)(char *);
	int (*GetSystemNickname)(char *,int *); // nick, length
	int (*SetSystemCharacterCodeOem)(int) ;
	int (*GetSystemCharacterCodeOem)(int *) ;
	int (*SetSystemCharacterCodeOemValue)(int) ;
	int (*GetSystemCharacterCodeOemValue)(int *) ;
	int (*SetsystemCharacterCodeAnsi)(int) ;
	int (*GetSystemCharacterCodeAnsi)(int *) ;
	int (*ResetNicknameDvdRegionDlnaFlag)(void) ;
	int (*SetSystemNotificationEnabled)(int) ;
	int (*GetSystemNotificationEnabled)(int *) ;
	int (*SetSystemDiscBootFirstEnabled)(int) ;
	int (*GetSystemDiscBootFirstEnabled)(int *) ;
	int (*SetSystemSoundEffectEnabled)(int) ;
	int (*GetSystemSoundEffectEnabled)(int *) ;
	int (*unk_new)(void *, void *) ;
	int (*unk_delete)(void *, void *) ;
}; 

class xsetting_154430FC_class
{public:};
class xsetting_16A8A805_class
{public:};
class xsetting_1D6D60D4_class
{public:};
class xsetting_2FD1B113_class
{public:};
class xsetting_43F98936_class
{public:};
class xsetting_4712F276_class
{public:};

class xsetting_58560CA4_class
{
public:
	 int (*GetVideoScreenMode)(int *) ;
	 int (*SetVideoScreenMode)(int) ;
	 int (*GetVideoOutputChannel)(int *) ;
	 int (*SetVideoOutputChannel)(int) ;
	 int (*GetVideoPlayerVolume)(int *) ;
	 int (*SetVideoPlayerVolume)(int) ;
};

class xsetting_5FB90B89_class
{public:};

class xsetting_660ECC35_class
{
public:
	 int (*SetPhotoNormalScenario)(int) ;
	 int (*GetPhotoNormalScenario)(int *) ;
	 int (*SetPhotoSlideScenario)(int) ;
	 int (*GetPhotoSlideScenario)(int *) ;
	 int (*SetPhotoSlideInterval)(int) ;
	 int (*GetPhotoSlideInterval)(int *) ;
	 int (*SetPhotoSlideRepeat)(int) ;
	 int (*GetPhotoSlideRepeat)(int *) ;
};

class xsetting_69C19C7F_class
{public:};

class xsetting_7125FEB5_class
{
public:
	 int (*SaveMusicCodec)(int) ;
	 int (*loadMusicCodec)(int *) ;
	 int (*SaveBitRateAac)(int) ;
	 int (*loadBitRateAac)(int *) ;
	 int (*SaveBitRateMp3)(int) ;
	 int (*loadBitRateMp3)(int* ) ;
	 int (*SaveBitRateAtrac)(int) ;
	 int (*loadBitRateAtrac)(int* ) ;
	 int (*SaveCrossFadePlay)(int) ;
	 int (*loadCrossFadePlay)(int* ) ;
	 int (*SaveRepeatMode)(int) ;
	 int (*loadRepeatMode)(int* ) ;
	 int (*SaveShuffleMode)(int) ;
	 int (*loadShuffleMode)(int* ) ;
	 int (*SaveVisualizerSelect)(int) ;
	 int (*loadVisualizerSelect)(int* ) ;
	 int (*SaveCddaEula)(int) ;
	 int (*loadCddaEula)(int* ) ;
	 int (*SaveCddaServer)(int) ;
	 int (*loadCddaServer)(int* ) ;
	 int (*SaveAudioplayerVolume)(int) ;
	 int (*loadAudioplayerVolume)(int* ) ;
	 int (*SaveSacdPlayerVolume)(int) ;
	 int (*loadSacdPlayerVolume)(int* ) ;
	 int (*SaveAtracActivation)(int) ;
	 int (*loadAtracActivation)(int* ) ;
	 int (*SaveWmaActivation)(int) ;
	 int (*loadWmaActivation)(int* ) ;
	 int (*SaveCdOutputFs)(int) ;
	 int (*loadCdOutputFs)(int* ) ;
	 int (*SaveDitherSetting)(int) ;
	 int (*loadDitherSetting)(int* ) ;
	 int (*SaveBitmappingSetting)(int) ;
	 int (*loadBitmappingSetting)(int* ) ;
};

class xsetting_7EDDAD29_class
{
public:
	 int (*loadParentalInformation)(void *);// uint8_t [0x20] { parental passwordNumber, bdPc, bdPcAge, dvdRegion, dvdLevel, gameLevel, browserStartControl }
	 int (*SaveDvdRegion)(char *) ;
	 int (*SaveBdPc)(int) ;
	 int (*SaveBdPcAge)(int) ;
	 int (*SaveDvdRegionWithCheck)(int) ;
	 int (*SaveDvdLevel)(int) ;
	 int (*SaveGameLevel)(int) ;
	 int (*SaveBrowserStartControl)(int) ;
};

class xsetting_8B69F85A_class
{
public:
	 int (*loadDateTimeInformation)(void *);//uint8_t [0x18] {diffTime, dateFormat, timeFormat, timeZone, summerTime }
     int (*SaveDiffTime)(int);
     int (*SaveDateFormat)(int);
	 int (*SaveTimeFormat)(int);
	 int (*SaveTimeZone)(int);
	 int (*SaveSummerTime)(int);
	//and more
};

class xsetting_9EE60B4E_class
{public:};

class xsetting_C1008335_class
{public:};

class xsetting_CC56EB2D_class
{public:};

class xsetting_CE27E884_class
{
public:
	 int (*savePremoPSPInformation)(void *) ; // uint8_t [0x4B8]
	 int (*loadPremoPSPInformation)(void *) ; // uint8_t [0x4B8]
	 int (*saveRemoteBoot)(int) ;
	 int (*loadRemoteBoot)(int *) ;
	 int (*saveBootCount)(int) ;
	 int (*loadBootCount)(int *) ;
	 int (*savePowerOffTime)(void *) ;
	 int (*loadPowerOffTime)(void *) ;
	 int (*saveAudioConfig)(int) ;
	 int (*loadAudioConfig)(int *) ;
};

class xsetting_D0261D72_class
{
public:
	int (*saveAvcInitialCameraMode)(int) ;
	int (*loadAvcInitialCameraMode)(int *) ;
	int (*saveNpEnvironment)(char *,int *) ; // env, len
	int (*loadNpEnvironment)(char *,int *) ; // env, len
	int (*saveRegistryIntValue)(int, int) ; // id, value
	int (*loadRegistryIntValue)(int, int*) ; // id, value
	int (*saveRegistryStringValue)(int,char *, int) ; // id, string, len
	int (*loadRegistryStringValue)(int,char *, int) ; // id, string, len
	int (*Setunk1)(int) ;
	int (*Getunk2)(int, int *) ;
	int (*Setunk3)(int, int) ;

	int loadRegistryAvcVgaLastBitrate()	{int v; loadRegistryIntValue(0x00, &v);return v;}
	int	loadRegistryGameLevel0Control()	{int v; loadRegistryIntValue(0x01, &v);return v;}
	int loadRegistryNetworkServiceControl()	{int v; loadRegistryIntValue(0x02, &v);return v;}
	int loadRegistryCddaServer()	{int v; loadRegistryIntValue(0x03, &v);return v;}
	int loadRegistryGameBgmPlayback()	{int v; loadRegistryIntValue(0x04, &v);return v;}
	int loadRegistryGameBgmVolume()	{int v; loadRegistryIntValue(0x05, &v);return v;}
	int loadRegistryDummyBgmPlayer()	{int v; loadRegistryIntValue(0x06, &v);return v;}
	int loadRegistryDynamicNormalizer()	{int v; loadRegistryIntValue(0x07, &v);return v;}
	int loadRegistryNpDebug()	{int v; loadRegistryIntValue(0x08, &v);return v;}
	int loadRegistryNpTitleId(char * titleid,int max_len)	{loadRegistryStringValue(0x09,titleid,max_len);}
	int loadRegistryNavOnly()	{int v; loadRegistryIntValue(0x0A, &v);return v;}
	int loadRegistryNpAdClockDiff()	{int v; loadRegistryIntValue(0x0B, &v);return v;}
	int loadRegistryDebugDrmError()	{int v; loadRegistryIntValue(0x0C, &v);return v;}
	int loadRegistryDebugDrmClock()	{int v; loadRegistryIntValue(0x0D, &v);return v;}
	int loadRegistryDebugConsoleBind()	{int v; loadRegistryIntValue(0x0E, &v);return v;}
	int loadRegistryDebugIngameCommerce2()	{int v; loadRegistryIntValue(0x0F, &v);return v;}
	int loadRegistryDebugSFForce()	{int v; loadRegistryIntValue(0x10, &v);return v;}
	int loadRegistryNpGeoFiltering()	{int v; loadRegistryIntValue(0x11, &v);return v;}
	int loadRegistryGameUpdateImposeTest()	{int v; loadRegistryIntValue(0x12, &v);return v;}
	int loadRegistryGameUpdateForceOverwrite()	{int v; loadRegistryIntValue(0x13, &v);return v;}
	int loadRegistryFakeNpSnsThrottle()	{int v; loadRegistryIntValue(0x14, &v);return v;}
	int loadRegistryFakeNpSnsThrottleWaitSeconds()	{int v; loadRegistryIntValue(0x15, &v);return v;}
	int loadRegistryTppsProxyFlag()	{int v; loadRegistryIntValue(0x16, &v);return v;}
	int loadRegistryTppsProxyServer()	{int v; loadRegistryIntValue(0x17, &v);return v;} // questionable
	int loadRegistryTppsProxyPort()	{int v; loadRegistryIntValue(0x18, &v);return v;}
	int loadRegistryTppsProxyUserName(char * username,int max_len)	{loadRegistryStringValue(0x19,username,max_len);}
	int loadRegistryTppsProxyPassword(char * password,int max_len)	{loadRegistryStringValue(0x1A,password,max_len);}
	int loadRegistryRegion()	{int v; loadRegistryIntValue(0x1B, &v);return v;}
	int loadRegistryLicenseArea()	{int v; loadRegistryIntValue(0x1C, &v);return v;}
	int loadRegistryHddSerial(char * hddserial)	{loadRegistryStringValue(0x1D,hddserial,0x3D);}
	int loadRegistryCoreDump()	{int v; loadRegistryIntValue(0x1E, &v);return v;}
	int loadRegistryCoreDumpOptionTrigger()	{int v; loadRegistryIntValue(0x1F, &v);return v;}
	int loadRegistryCoreDumpOptionFileGen()	{int v; loadRegistryIntValue(0x20, &v);return v;}
	int loadRegistryCoreDumpOptionExeCtrl()	{int v; loadRegistryIntValue(0x21, &v);return v;}
	int loadRegistryMatEnable()	{int v; loadRegistryIntValue(0x22, &v);return v;}
	int loadRegistryUpdateServerUrl(char * url,int max_len)	{loadRegistryStringValue(0x23,url,max_len);}
	int loadRegistryFakeLimitSize()	{int v; loadRegistryIntValue(0x24, &v);return v;}
	int loadRegistryFakeFreeSpace()	{int v; loadRegistryIntValue(0x25, &v);return v;}
	int loadRegistryFakeSavedataOwner()	{int v; loadRegistryIntValue(0x26, &v);return v;}
	int loadRegistryFakeHddSpeed()	{int v; loadRegistryIntValue(0x27, &v);return v;}
	int loadRegistryDebugGameType()	{int v; loadRegistryIntValue(0x28, &v);return v;}
	int loadRegistryDebugBootPath()	{int v; loadRegistryIntValue(0x29, &v);return v;}
	int loadRegistryDebugDirName(char * path,int max_len)	{loadRegistryStringValue(0x2A,path,max_len);}
	int loadRegistryAppHomeBootPath()	{int v; loadRegistryIntValue(0x2B, &v);return v;}
	int loadRegistryWolDex()	{int v; loadRegistryIntValue(0x2C, &v);return v;}
	int loadRegistryDispHddSpace()	{int v; loadRegistryIntValue(0x2D, &v);return v;}
	int loadRegistryAutoNetworkUpdate()	{int v; loadRegistryIntValue(0x2E, &v);return v;}
	int loadRegistryAutoPowerOff()	{int v; loadRegistryIntValue(0x2F, &v);return v;}
	int loadRegistryAutoPowerOffEx()	{int v; loadRegistryIntValue(0x30, &v);return v;}
	int loadRegistryAutoPowerOffDebug()	{int v; loadRegistryIntValue(0x31, &v);return v;}
	int loadRegistryHdmiControl()	{int v; loadRegistryIntValue(0x32, &v);return v;}
	int loadRegistryHdmiControlEx()	{int v; loadRegistryIntValue(0x33, &v);return v;}
	int loadRegistryPowerOnDiscBoot()	{int v; loadRegistryIntValue(0x34, &v);return v;}
	int loadRegistryPowerOnReset()	{int v; loadRegistryIntValue(0x35, &v);return v;}
	int loadRegistryDisable15Timeout()	{int v; loadRegistryIntValue(0x36, &v);return v;}
	int loadRegistryDebugSystemUpdate()	{int v; loadRegistryIntValue(0x37, &v);return v;}
	int loadRegistryFakePlus()	{int v; loadRegistryIntValue(0x38, &v);return v;}
	int loadRegistryTurnOffWarning()	{int v; loadRegistryIntValue(0x39, &v);return v;}
	int loadRegistryBootMode(char * bootmode,int max_len)	{loadRegistryStringValue(0x3A,bootmode,max_len);}
	int loadRegistryCrashreportCrepo()	{int v; loadRegistryIntValue(0x3B, &v);return v;}
	int loadRegistryCrashreportReporterStatus()	{int v; loadRegistryIntValue(0x3C, &v);return v;}
	int loadRegistryCrashreportVshGeneratorEnableFlag()	{int v; loadRegistryIntValue(0x3D, &v);return v;}
	int loadRegistryDateTimeAutoCorrection()	{int v; loadRegistryIntValue(0x3E, &v);return v;}
	int loadRegistryAutobootStartTime()	{int v; loadRegistryIntValue(0x3F, &v);return v;}
	int loadRegistryEdyDebug()	{int v; loadRegistryIntValue(0x40, &v);return v;}
	int loadRegistryUpConvert()	{int v; loadRegistryIntValue(0x41, &v);return v;}
	int loadRegistryFnrLevel()	{int v; loadRegistryIntValue(0x42, &v);return v;}
	int loadRegistryBnrLevel()	{int v; loadRegistryIntValue(0x43, &v);return v;}
	int loadRegistryMnrLevel()	{int v; loadRegistryIntValue(0x44, &v);return v;}
	int loadRegistrySequentialPlay()	{int v; loadRegistryIntValue(0x45, &v);return v;}
	int loadRegistryHD50HzOutput()	{int v; loadRegistryIntValue(0x46, &v);return v;}
	int loadRegistryOutputExtMenu()	{int v; loadRegistryIntValue(0x47, &v);return v;}
	int loadRegistryOutputExtFunc()	{int v; loadRegistryIntValue(0x48, &v);return v;}
	int loadRegistryDtcpIpSettingMenu()	{int v; loadRegistryIntValue(0x49, &v);return v;}
	int loadRegistryDefaultSubTitleLanguage()	{int v; loadRegistryIntValue(0x4A, &v);return v;}
	int loadRegistryDefaultAudioLanguage()	{int v; loadRegistryIntValue(0x4B, &v);return v;}
	int loadRegistryEmuUpConvert()	{int v; loadRegistryIntValue(0x4C, &v);return v;}
	int loadRegistryEmuSmoothing()	{int v; loadRegistryIntValue(0x4D, &v);return v;}
	int loadRegistryMinisUpConvert()	{int v; loadRegistryIntValue(0x4E, &v);return v;}
	int loadRegistryPspemuViewmode()	{int v; loadRegistryIntValue(0x4F, &v);return v;}
	int loadRegistryPspemu3dDisplay()	{int v; loadRegistryIntValue(0x50, &v);return v;}
	int loadRegistryPspemu3dDepthAdjust()	{int v; loadRegistryIntValue(0x51, &v);return v;}
	int loadRegistryPspemu3dMenu()	{int v; loadRegistryIntValue(0x52, &v);return v;}
	int loadRegistryPspemuAdhocModeWlan()	{int v; loadRegistryIntValue(0x53, &v);return v;}
	int loadRegistryPspemuAdhocModeCh()	{int v; loadRegistryIntValue(0x54, &v);return v;}
	int loadRegistryPs2emuSaveUtility()	{int v; loadRegistryIntValue(0x55, &v);return v;}
	int loadRegistryPs2softemuFunc()	{int v; loadRegistryIntValue(0x56, &v);return v;}
	int loadRegistryPs2BgCaution()	{int v; loadRegistryIntValue(0x57, &v);return v;}
	int loadRegistryCameraPlfreq()	{int v; loadRegistryIntValue(0x58, &v);return v;}
	int loadRegistryTvCategory()	{int v; loadRegistryIntValue(0x59, &v);return v;}
	int loadRegistryHomeInstaller()	{int v; loadRegistryIntValue(0x5A, &v);return v;}
	int loadRegistryHomeQAMode()	{int v; loadRegistryIntValue(0x5B, &v);return v;}
	int loadRegistryDummyInGameXMB()	{int v; loadRegistryIntValue(0x5C, &v);return v;}
	int loadRegistryYconExplained()	{int v; loadRegistryIntValue(0x5D, &v);return v;}
	int loadRegistryXaiDebugFlag()	{int v; loadRegistryIntValue(0x5E, &v);return v;}
	int loadRegistryAdServerURL(char * url,int max_len)	{loadRegistryStringValue(0x5F,url,max_len);}
	int loadRegistryAdCatalogVersion(char * version,int max_len)	{loadRegistryStringValue(0x60,version,max_len);}
	int loadRegistryAdEnableNotification()	{int v; loadRegistryIntValue(0x61, &v);return v;}
	int loadRegistryUploadDebug()	{int v; loadRegistryIntValue(0x62, &v);return v;}
	int loadRegistryNetAutoDlDebug()	{int v; loadRegistryIntValue(0x63, &v);return v;}
	int loadRegistryNetAutoDlFlag()	{int v; loadRegistryIntValue(0x64, &v);return v;}
	int loadRegistryNetAutoDlTime()	{int v; loadRegistryIntValue(0x65, &v);return v;}
	int loadRegistryNetAutoDlFunc()	{int v; loadRegistryIntValue(0x66, &v);return v;}
	int loadRegistryNetEmulationType()	{int v; loadRegistryIntValue(0x67, &v);return v;}   // questionable
	int loadRegistryNetAdhocSsidPrefix(char * prefix,int max_len)	{loadRegistryStringValue(0x68,prefix,max_len);}
	int loadRegistryPadVibrationEnable()	{int v; loadRegistryIntValue(0x69, &v);return v;}
	int loadRegistryPadAutoPowerOff()	{int v; loadRegistryIntValue(0x6A, &v);return v;}
	int loadRegistryPadMagnetometer()	{int v; loadRegistryIntValue(0x6B, &v);return v;}
	int loadRegistrySound0Initial()	{int v; loadRegistryIntValue(0x6C, &v);return v;}
	int loadRegistrySound1UsbHeadSetSound()	{int v; loadRegistryIntValue(0x6D, &v);return v;}   // questionable
	int loadRegistryDlnaFlag()	{int v; loadRegistryIntValue(0x6E, &v);return v;}
	int loadRegistryDlnaDtcpipDevCert()	{int v; loadRegistryIntValue(0x6F, &v);return v;}   // questionable
	int loadRegistryBrowserTrendEula()	{int v; loadRegistryIntValue(0x70, &v);return v;}
	int loadRegistryBrowserTrendEnable()	{int v; loadRegistryIntValue(0x71, &v);return v;}
	int loadRegistryBrowserTrendLastTime()	{int v; loadRegistryIntValue(0x72, &v);return v;}
	int loadRegistryBrowserTrendTtl()	{int v; loadRegistryIntValue(0x73, &v);return v;}
	int loadRegistryBrowserTrendRegistered()	{int v; loadRegistryIntValue(0x74, &v);return v;}
	int loadRegistryBrowserHeapSize()	{int v; loadRegistryIntValue(0x75, &v);return v;}
	int loadRegistryBrowserDebugMenu()	{int v; loadRegistryIntValue(0x76, &v);return v;}
	int loadRegistryBrowserType()	{int v; loadRegistryIntValue(0x77, &v);return v;}
	int loadRegistryWboardBaseUri(char * uri,int max_len)	{loadRegistryStringValue(0x68,uri,max_len);}
	int loadRegistrySmssTargetServer()	{int v; loadRegistryIntValue(0x79, &v);return v;}
	int loadRegistrySmssResultOutput()	{int v; loadRegistryIntValue(0x7A, &v);return v;}
	int loadRegistryDisplayForceEnable3D()	{int v; loadRegistryIntValue(0x7B, &v);return v;}
	int loadRegistryDisplayScreenSize()	{int v; loadRegistryIntValue(0x7C, &v);return v;}
	int loadRegistryDisplayDeepColor()	{int v; loadRegistryIntValue(0x7D, &v);return v;}	
};

class xsetting_ED5B559F_class
{public:};

class xsetting_F48C0548_class
{public:};

class xsetting_FFAF9B19_class
{public:};

// xRegistry
xsetting_AF1F161_class* (*xsetting_AF1F161)() = 0;
xsetting_43F98936_class* (*xsetting_43F98936)() = 0;
xsetting_4712F276_class* (*xsetting_4712F276)() = 0;
xsetting_58560CA4_class* (*xsetting_58560CA4)() = 0;
xsetting_660ECC35_class* (*xsetting_660ECC35)() = 0;
xsetting_7125FEB5_class* (*xsetting_7125FEB5)() = 0;
xsetting_7EDDAD29_class* (*xsetting_7EDDAD29)() = 0;
xsetting_8B69F85A_class* (*xsetting_8B69F85A)() = 0;
xsetting_CC56EB2D_class* (*xsetting_CC56EB2D)() = 0; 
xsetting_CE27E884_class* (*xsetting_CE27E884)() = 0;
xsetting_D0261D72_class* (*xsetting_D0261D72)() = 0;

Example

#include xRegistry.h

...
(void*&)(xsetting_AF1F161) = (void*)((int)getNIDfunc("xsetting",0xAF1F161)); // setting up usage for export
...

//and then you can simply use this for example getting current ps3 nickname:

char nick[0x80];
memset(nick,0,0x80);
int nick_len=0;		
xsetting_AF1F161()->GetSystemNickname(nick,&nick_len);