Sockets services: Difference between revisions
Line 437: | Line 437: | ||
Gets the 0x100-byte [[System_Settings|sys-setting]] for <code>nsd!setting_url</code> with the data being located on stack, memcpys the 0x100-bytes to the output buffer, then returns 0. | Gets the 0x100-byte [[System_Settings|sys-setting]] for <code>nsd!setting_url</code> with the data being located on stack, memcpys the 0x100-bytes to the output buffer, then returns 0. | ||
With newer sysvers, after loading the sys-setting it checks if the first 8-bytes match "https://", when it doesn't match then the tmp data on stack is overwritten with an [[#Url]] for <nowiki>"https://api.sect.srv.nintendo.net/v1/setting"</nowiki> (which is also the default value of this sys-setting). Prior to loading the sys-setting it also checks the size of the sys-setting (setsys GetSettingsItemValueSize), jumping to this memcpy-block when the size is 0. | |||
== GetSettingName == | == GetSettingName == |