By entering this site you need to consent to the use of cookies and their functional use according to this privacy policy. Cookies help us to provide the functional services of the website. Kindly read the below message of use and consent to the use.
The following cookies are stored and shared when accessing this website:
- Internal cookies for the MediaWiki site. This is used for user authentication and article modifications.
- Third-party cookies from Google providing services for Google AdSense and Google Analytics
We will never use data collected outside of the above scope.
This is "nn::hid::system::NotificationLedPattern".
This is "nn::hid::system::NotificationLedPattern".
This is a 0x48-byte struct.
This is a 0x48-byte struct.
+
+
argdata in the subcommand is initialized as follows: <code>((u8*)cmd_argdata)[pos] = u8_in[pos2] | u8_in[pos3]<<4;</code> Hence, 4bits from pairs of 2-bytes of the input struct are combined to write to the subcommand. Only the low 4bits of each used byte in the struct is used. This is written to stack initially, then copied to the actual cmd_argdata (the data immediately following the subcommandID byte). There's a total of 0x1B-bytes of cmd_argdata initialized from this.
+
+
The 0xB-bytes at cmd_argdata+0x1B is cleared. The u64 at cmd_argdata+0x2B is set to an input value which is hard-coded 0. u16 +0x33 is set to 0. u8 +0x35 is set to 1.