BOSSU:GetNsDataIdList

From 3dbrew
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00100102]
1 Unknown, usually 0xffffffff.
2 Buffer size in words(max entries).
3 u16, unknown.
4 u32, unknown.
5 Descriptor for mapping a write-only buffer in the target process
6 Destination pointer

Response

Index Word Description
0 Header code
1 Result code
2 u16 Actual number of output entries.
3 u16 Unknown

Description

This writes an array of u32 entries(NsDataId) to the output buffer, for the current programID.

This eventually calls a function with the following type parameters: 0, 1, 1. This function doesn't use the second type parameter. Afterwards another function is called using the programID.