SceDeci4pDfMgr: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
Line 57: Line 57:
| 1.69-3.60 || 0x529979FB
| 1.69-3.60 || 0x529979FB
|}
|}
This is a guessed name.


Handler is called on reboot/standby/suspend/SceShell process create.
Handler is called on reboot/standby/suspend/SceShell process create.


Up to 32 handlers can be registered and their ids should not be covered (with exceptions).
Up to 32 handlers can be registered and their IDs should not be covered (with exceptions).


<source lang="C">
<source lang="C">
typedef int (* SceDeci4pDfMgrForDebugger_529979FB_handler)(int a1, void *a2, void *args);
typedef int (* sceDeci4pDfMgrRegisterSysEventForDebugger_handler)(int a1, void *a2, void *args);


typedef struct SceDeci4pDfMgrForDebugger_529979FB { // size is 0x38
typedef struct sceDeci4pDfMgrRegisterSysEventForDebugger_struct { // size is 0x38
SceSize size;
SceSize size;
uint32_t unk4;  // some id
uint32_t unk4;  // some id
uint32_t unk8;
uint32_t unk8;
uint32_t unkC;  // ex:0x1000004
uint32_t unkC;  // ex: 0x1000004
uint32_t unk10;  // ex:0x20001
uint32_t unk10;  // ex: 0x20001
uint16_t unk14;  // ex:0
uint16_t unk14;  // ex: 0
uint16_t unk16;  // ex:1
uint16_t unk16;  // ex: 1
char name[0x20];
char name[0x20];
} SceDeci4pDfMgrForDebugger_529979FB;
} sceDeci4pDfMgrRegisterSysEventForDebugger_struct;


// return id on success, < 0 on error.
// return id on success, < 0 on error.
int sceDeci4pDfMgrRegisterSysEventForDebugger(SceDeci4pDfMgrForDebugger_529979FB_handler handler, SceDeci4pDfMgrForDebugger_529979FB *a2, void *args);
int sceDeci4pDfMgrRegisterSysEventForDebugger(sceDeci4pDfMgrRegisterSysEventForDebugger_handler handler, sceDeci4pDfMgrRegisterSysEventForDebugger_struct *a2, void *args);
</source>
</source>



Revision as of 23:36, 24 August 2021

Module

Version World Privilege
3.60-3.65 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
3.65 SceDeci4pDfMgrForDebugger Non-secure Kernel 0x849E3DF5

Types


// SceDeci4pDfMgrForDebugger_529979FB_Internal *pInfoInt = (SceDeci4pDfMgrForDebugger_529979FB_Internal *)(data_seg + 0x14); // max entries is 32
typedef struct SceDeci4pDfMgrForDebugger_529979FB_Internal { // size is 0x54
	SceDeci4pDfMgrForDebugger_529979FB_handler handler;
	SceDeci4pDfMgrForDebugger_529979FB info;
	int data_0x3C;
	int data_0x40;
	int data_0x44;
	int data_0x48;
	int data_0x4C;
	int data_0x50;
} SceDeci4pDfMgrForDebugger_529979FB_Internal;

SceDeci4pDfMgrForDebugger

SceDeci4pDfMgrForDebugger_1CC6ED4B

Version NID
1.69 0x1CC6ED4B
int SceDeci4pDfMgrForDebugger_1CC6ED4B(int a1);

sceDeci4pDfMgrRegisterSysEventForDebugger

Version NID
1.69-3.60 0x529979FB

This is a guessed name.

Handler is called on reboot/standby/suspend/SceShell process create.

Up to 32 handlers can be registered and their IDs should not be covered (with exceptions).

typedef int (* sceDeci4pDfMgrRegisterSysEventForDebugger_handler)(int a1, void *a2, void *args);

typedef struct sceDeci4pDfMgrRegisterSysEventForDebugger_struct { // size is 0x38
	SceSize size;
	uint32_t unk4;   // some id
	uint32_t unk8;
	uint32_t unkC;   // ex: 0x1000004
	uint32_t unk10;  // ex: 0x20001
	uint16_t unk14;  // ex: 0
	uint16_t unk16;  // ex: 1
	char name[0x20];
} sceDeci4pDfMgrRegisterSysEventForDebugger_struct;

// return id on success, < 0 on error.
int sceDeci4pDfMgrRegisterSysEventForDebugger(sceDeci4pDfMgrRegisterSysEventForDebugger_handler handler, sceDeci4pDfMgrRegisterSysEventForDebugger_struct *a2, void *args);

SceDeci4pDfMgrForDebugger_5F2C7E11

Version NID
1.69 0x5F2C7E11
int SceDeci4pDfMgrForDebugger_5F2C7E11(int a1, int a2, int a3);

SceDeci4pDfMgrForDebugger_6D26CC56

Version NID
1.69 0x6D26CC56
void SceDeci4pDfMgrForDebugger_6D26CC56(void *a1, int a2);

SceDeci4pDfMgrForDebugger_7EAE4FA2

Version NID
1.69 0x7EAE4FA2
int SceDeci4pDfMgrForDebugger_7EAE4FA2(int a1);

SceDeci4pDfMgrForDebugger_BADEF855

Version NID
1.69-3.60 0xBADEF855
// @param[in] id - id received in the return value of sceDeci4pDfMgrRegisterSysEventForDebugger
int SceDeci4pDfMgrForDebugger_BADEF855(int id);

SceDeci4pDfMgrForDebugger_C3390112

Version NID
1.69 0xC3390112
int SceDeci4pDfMgrForDebugger_C3390112(int a1, int a2);

SceDeci4pDfMgrForDebugger_CACAB5F9

Version NID
1.69 0xCACAB5F9
int SceDeci4pDfMgrForDebugger_CACAB5F9(void *a1);
         SceDeci4pDfMgrForDebugger_D0CCF840: 0xD0CCF840