pmdsky-debug-py 10.2.25__py3-none-any.whl → 10.2.26__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- RELEASE = "v0.10.2+2994bc4db6"
1
+ RELEASE = "v0.10.2+36e9a85ec4"
pmdsky_debug_py/eu.py CHANGED
@@ -13699,7 +13699,23 @@ class EuLibsFunctions:
13699
13699
  None,
13700
13700
  )
13701
13701
 
13702
- Crypto_RC4Init = Symbol([0x9648], [0x2075AB8], None, "Crypto_RC4Init", "", None)
13702
+ Crypto_RC4Init = Symbol(
13703
+ [0x9648],
13704
+ [0x2075AB8],
13705
+ None,
13706
+ "Crypto_RC4Init",
13707
+ "Initializes an RC4 context.\n\nr0: context\nr1: key\nr2: key length (clamped down to a maximum of 16)",
13708
+ None,
13709
+ )
13710
+
13711
+ Crypto_RC4Encrypt = Symbol(
13712
+ [0x96D8],
13713
+ [0x2075B48],
13714
+ None,
13715
+ "Crypto_RC4Encrypt",
13716
+ "Encrypts/decrypts a buffer using an RC4 context.\n\nr0: context\nr1: src\nr2: size\nr3: dest",
13717
+ None,
13718
+ )
13703
13719
 
13704
13720
  Mtx_LookAt = Symbol([0x9750], [0x2075BC0], None, "Mtx_LookAt", "", None)
13705
13721
 
@@ -14369,6 +14385,33 @@ class EuLibsFunctions:
14369
14385
  None,
14370
14386
  )
14371
14387
 
14388
+ MD5_Init = Symbol(
14389
+ [0x14024],
14390
+ [0x2080494],
14391
+ None,
14392
+ "MD5_Init",
14393
+ "Initializes an MD5 context.\n\nr0: context",
14394
+ None,
14395
+ )
14396
+
14397
+ MD5_Update = Symbol(
14398
+ [0x14064],
14399
+ [0x20804D4],
14400
+ None,
14401
+ "MD5_Update",
14402
+ "Updates an MD5 context using a buffer's bytes.\n\nr0: context\nr1: buffer\nr2: size of buffer",
14403
+ None,
14404
+ )
14405
+
14406
+ MD5_Digest = Symbol(
14407
+ [0x1412C],
14408
+ [0x208059C],
14409
+ None,
14410
+ "MD5_Digest",
14411
+ "Calculates and stores an MD5 hash into a destination buffer. The MD5 context is zeroed-out after this operation.\n\nr0: [output] hash buffer (16 bytes)\nr1: context",
14412
+ None,
14413
+ )
14414
+
14372
14415
  PM_ForceToPowerOff = Symbol(
14373
14416
  [0x15F34],
14374
14417
  [0x20823A4],
@@ -17856,6 +17899,249 @@ class EuOverlay0Functions:
17856
17899
  None,
17857
17900
  )
17858
17901
 
17902
+ close = Symbol(
17903
+ [0x11D28],
17904
+ [0x22CF0E8],
17905
+ None,
17906
+ "close",
17907
+ "Closes a file descriptor.\n\nr0: file descriptor\nreturn: 0 on success, or a negative value representing an error",
17908
+ None,
17909
+ )
17910
+
17911
+ socket = Symbol(
17912
+ [0x12600],
17913
+ [0x22CF9C0],
17914
+ None,
17915
+ "socket",
17916
+ "Creates a socket file descriptor for network activity.\n\nr0: domain\nr1: family\nr2: protocol\nreturn: socket file descriptor on success, negative value indicating error otherwise",
17917
+ None,
17918
+ )
17919
+
17920
+ bind = Symbol(
17921
+ [0x1262C],
17922
+ [0x22CF9EC],
17923
+ None,
17924
+ "bind",
17925
+ "Binds a socket to an address.\n\nr0: socket file descriptor\nr1: address\nreturn: 0 on success, or a negative value representing an error",
17926
+ None,
17927
+ )
17928
+
17929
+ connect = Symbol(
17930
+ [0x12658],
17931
+ [0x22CFA18],
17932
+ None,
17933
+ "connect",
17934
+ "Connects a socket to an address.\n\nr0: socket file descriptor\nr1: address\nreturn: 0 on success, or a negative value representing an error",
17935
+ None,
17936
+ )
17937
+
17938
+ recv = Symbol(
17939
+ [0x126B4],
17940
+ [0x22CFA74],
17941
+ None,
17942
+ "recv",
17943
+ "Receives a message from a connected socket.\n\nr0: socket file descriptor\nr1: destination buffer\nr2: size of buffer\nr3: flags\nreturn: number of bytes read, or a negative value representing an error",
17944
+ None,
17945
+ )
17946
+
17947
+ recvfrom = Symbol(
17948
+ [0x126D8],
17949
+ [0x22CFA98],
17950
+ None,
17951
+ "recvfrom",
17952
+ "Receives a message from a connectionless socket, also returning the source address that sent data.\n\nr0: socket file descriptor\nr1: destination buffer\nr2: size of buffer\nr3: flags\nstack[0]: destination address; can be NULL\nstack[1]: length of destination address\nreturn: number of bytes read, or a negative value representing an error",
17953
+ None,
17954
+ )
17955
+
17956
+ send = Symbol(
17957
+ [0x12768],
17958
+ [0x22CFB28],
17959
+ None,
17960
+ "send",
17961
+ "Sends a message to a connected socket.\n\nr0: socket file descriptor\nr1: source buffer\nr2: size of buffer\nr3: flags\nreturn: number of bytes sent, or a negative value representing an error",
17962
+ None,
17963
+ )
17964
+
17965
+ sendto = Symbol(
17966
+ [0x1278C],
17967
+ [0x22CFB4C],
17968
+ None,
17969
+ "sendto",
17970
+ "Sends a message to a connectionless socket.\n\nr0: socket file descriptor\nr1: source buffer\nr2: size of buffer\nr3: flags\nstack[0]: target address\nstack[1]: length of target address\nreturn: number of bytes sent, or a negative value representing an error",
17971
+ None,
17972
+ )
17973
+
17974
+ CloseVeneer = Symbol(
17975
+ [0x1281C],
17976
+ [0x22CFBDC],
17977
+ None,
17978
+ "CloseVeneer",
17979
+ "Likely a linker-generated veneer for close.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: file descriptor\nreturn: 0 on success, or a negative value representing an error",
17980
+ None,
17981
+ )
17982
+
17983
+ fcntl = Symbol(
17984
+ [0x12A20],
17985
+ [0x22CFDE0],
17986
+ None,
17987
+ "fcntl",
17988
+ "Performs an operation on a file descriptor.\n\nr0: file descriptor\nr1: operation\nr2: operation-specific argument\nreturn: operation-specific value",
17989
+ None,
17990
+ )
17991
+
17992
+ InitWfc = Symbol(
17993
+ [0x1ABE8],
17994
+ [0x22D7FA8],
17995
+ None,
17996
+ "InitWfc",
17997
+ "Just a guess. Repeatedly calling this eventually results in a DNS query for conntest.nintendowifi.net and allows for use of the socket functions.\n\nreturn: status?",
17998
+ None,
17999
+ )
18000
+
18001
+ SocketCastError = Symbol(
18002
+ [0x383DC],
18003
+ [0x22F579C],
18004
+ None,
18005
+ "SocketCastError",
18006
+ "Casts a value to a new value, if it is negative. Mostly used in socket functions to cast any potential errors to -1.\n\nr0: original value\nr1: new value to cast an error as, if original value is negative\nreturn: original value if non-negative, new value otherwise",
18007
+ None,
18008
+ )
18009
+
18010
+ SocketCreate = Symbol(
18011
+ [0x383F4],
18012
+ [0x22F57B4],
18013
+ None,
18014
+ "SocketCreate",
18015
+ "A wrapper for socket, casting any errors to -1.\n\nr0: domain\nr1: family\nr2: protocol\nreturn: socket file descriptor on success, -1 on an error",
18016
+ None,
18017
+ )
18018
+
18019
+ SocketClose = Symbol(
18020
+ [0x38408],
18021
+ [0x22F57C8],
18022
+ None,
18023
+ "SocketClose",
18024
+ "A wrapper for close, casting any errors to -1.\n\nr0: file descriptor\nreturn: 0 on success, -1 on an error",
18025
+ None,
18026
+ )
18027
+
18028
+ SocketBind = Symbol(
18029
+ [0x38430],
18030
+ [0x22F57F0],
18031
+ None,
18032
+ "SocketBind",
18033
+ "A wrapper for bind, casting any errors to -1.\n\nr0: socket file descriptor\nr1: address\nr2: length of address\nreturn: 0 on success, -1 on an error",
18034
+ None,
18035
+ )
18036
+
18037
+ SocketConnect = Symbol(
18038
+ [0x38490],
18039
+ [0x22F5850],
18040
+ None,
18041
+ "SocketConnect",
18042
+ "A wrapper for connect, casting any errors to -1.\n\nr0: socket file descriptor\nr1: address\nr2: length of address\nreturn: 0 on success, -1 on an error",
18043
+ None,
18044
+ )
18045
+
18046
+ SocketRecv = Symbol(
18047
+ [0x384DC],
18048
+ [0x22F589C],
18049
+ None,
18050
+ "SocketRecv",
18051
+ "A wrapper for recv, casting any errors to -1.\n\nr0: socket file descriptor\nr1: destination buffer\nr2: size of buffer\nr3: flags\nreturn: number of bytes read, or -1 on an error",
18052
+ None,
18053
+ )
18054
+
18055
+ SocketRecvFrom = Symbol(
18056
+ [0x384F0],
18057
+ [0x22F58B0],
18058
+ None,
18059
+ "SocketRecvFrom",
18060
+ "A wrapper for recvfrom, casting any errors to -1.\n\nr0: socket file descriptor\nr1: destination buffer\nr2: size of buffer\nr3: flags\nstack[0]: destination address; can be NULL\nstack[1]: length of destination address\nreturn: number of bytes read, or -1 on an error",
18061
+ None,
18062
+ )
18063
+
18064
+ SocketSend = Symbol(
18065
+ [0x38520],
18066
+ [0x22F58E0],
18067
+ None,
18068
+ "SocketSend",
18069
+ "A wrapper for send, casting any errors to -1.\n\nr0: socket file descriptor\nr1: source buffer\nr2: size of buffer\nr3: flags\nreturn: number of bytes sent, or -1 on an error",
18070
+ None,
18071
+ )
18072
+
18073
+ SocketSendTo = Symbol(
18074
+ [0x38534],
18075
+ [0x22F58F4],
18076
+ None,
18077
+ "SocketSendTo",
18078
+ "A wrapper for sendto, casting any errors to -1.\n\nr0: socket file descriptor\nr1: source buffer\nr2: size of buffer\nr3: flags\nstack[0]: target address\nstack[1]: length of target address\nreturn: number of bytes sent, or -1 on an error",
18079
+ None,
18080
+ )
18081
+
18082
+ SocketSetBlocking = Symbol(
18083
+ [0x386F0],
18084
+ [0x22F5AB0],
18085
+ None,
18086
+ "SocketSetBlocking",
18087
+ "Sets a socket to be blocking or non-blocking.\n\nr0: socket file descriptor\nr1: blocking flag\nreturn: success",
18088
+ None,
18089
+ )
18090
+
18091
+ DoRand = Symbol(
18092
+ [0x38A4C],
18093
+ [0x22F5E0C],
18094
+ None,
18095
+ "DoRand",
18096
+ "Generates a pseudorandom integer provided a parameter.\n\nr0: ctx\nreturn: pseudorandom integer",
18097
+ None,
18098
+ )
18099
+
18100
+ rand = Symbol(
18101
+ [0x38A98],
18102
+ [0x22F5E58],
18103
+ None,
18104
+ "rand",
18105
+ "Generates a new pseudorandom integer from the current PRNG sequence number and updates it.\n\nreturn: psuedorandom integer",
18106
+ None,
18107
+ )
18108
+
18109
+ srand = Symbol(
18110
+ [0x38AB8],
18111
+ [0x22F5E78],
18112
+ None,
18113
+ "srand",
18114
+ "Seeds a PRNG sequence number used by rand.\n\nr0: seed",
18115
+ None,
18116
+ )
18117
+
18118
+ RandRangeOverlay0 = Symbol(
18119
+ [0x38AD4],
18120
+ [0x22F5E94],
18121
+ None,
18122
+ "RandRangeOverlay0",
18123
+ "Generates a new pseudorandom integer by performing (rand() % (y - x) + x).\n\nr0: x\nr1: y\nreturn: pseudorandom integer on the interval [x, y - 1]",
18124
+ None,
18125
+ )
18126
+
18127
+ ResolveAvailableNintendoWifi = Symbol(
18128
+ [0x3904C],
18129
+ [0x22F640C],
18130
+ None,
18131
+ "ResolveAvailableNintendoWifi",
18132
+ "Seemingly resolves the IP of 'pokedungeonds.available.gs.nintendowifi.net', in which 'pokedungeonds' is provided as the first parameter.\n\nr0: string",
18133
+ None,
18134
+ )
18135
+
18136
+ PasswordEncryptString = Symbol(
18137
+ [0x4F134],
18138
+ [0x230C4F4],
18139
+ None,
18140
+ "PasswordEncryptString",
18141
+ "Performs XOR encryption/decryption on a string, the keystream derived from srand(0x79707367) and repeatedly calling randrange(0x0, 0xFF).\n\nSeemingly called mostly for the 'passenc' field in DWC messages.\n\nr0: src\nr1: dest",
18142
+ None,
18143
+ )
18144
+
17859
18145
 
17860
18146
  class EuOverlay0Data:
17861
18147
 
@@ -17871,7 +18157,7 @@ class EuOverlay0Data:
17871
18157
 
17872
18158
  class EuOverlay0Section:
17873
18159
  name = "overlay0"
17874
- description = "Likely contains supporting data and code related to the top menu.\n\nThis is loaded together with overlay 1 while in the top menu. Since it's in overlay group 2 (together with overlay 10, which is another 'data' overlay), this overlay probably plays a similar role. It mentions several files from the BACK folder that are known backgrounds for the top menu."
18160
+ description = "Contains supporting data and code related to the Top Menu, as well as core networking functions.\n\nThis is loaded together with overlay 1 while in the Top Menu. Since it's in overlay group 2 (together with overlay 10, which is another 'data' overlay), this overlay probably plays a similar role. It mentions several files from the BACK folder that are known backgrounds for the Top Menu."
17875
18161
  loadaddress = 0x22BD3C0
17876
18162
  length = 0x60880
17877
18163
  functions = EuOverlay0Functions
@@ -13512,7 +13512,23 @@ class EuItcmLibsFunctions:
13512
13512
  None,
13513
13513
  )
13514
13514
 
13515
- Crypto_RC4Init = Symbol(None, None, None, "Crypto_RC4Init", "", None)
13515
+ Crypto_RC4Init = Symbol(
13516
+ None,
13517
+ None,
13518
+ None,
13519
+ "Crypto_RC4Init",
13520
+ "Initializes an RC4 context.\n\nr0: context\nr1: key\nr2: key length (clamped down to a maximum of 16)",
13521
+ None,
13522
+ )
13523
+
13524
+ Crypto_RC4Encrypt = Symbol(
13525
+ None,
13526
+ None,
13527
+ None,
13528
+ "Crypto_RC4Encrypt",
13529
+ "Encrypts/decrypts a buffer using an RC4 context.\n\nr0: context\nr1: src\nr2: size\nr3: dest",
13530
+ None,
13531
+ )
13516
13532
 
13517
13533
  Mtx_LookAt = Symbol(None, None, None, "Mtx_LookAt", "", None)
13518
13534
 
@@ -14128,6 +14144,28 @@ class EuItcmLibsFunctions:
14128
14144
  None,
14129
14145
  )
14130
14146
 
14147
+ MD5_Init = Symbol(
14148
+ None, None, None, "MD5_Init", "Initializes an MD5 context.\n\nr0: context", None
14149
+ )
14150
+
14151
+ MD5_Update = Symbol(
14152
+ None,
14153
+ None,
14154
+ None,
14155
+ "MD5_Update",
14156
+ "Updates an MD5 context using a buffer's bytes.\n\nr0: context\nr1: buffer\nr2: size of buffer",
14157
+ None,
14158
+ )
14159
+
14160
+ MD5_Digest = Symbol(
14161
+ None,
14162
+ None,
14163
+ None,
14164
+ "MD5_Digest",
14165
+ "Calculates and stores an MD5 hash into a destination buffer. The MD5 context is zeroed-out after this operation.\n\nr0: [output] hash buffer (16 bytes)\nr1: context",
14166
+ None,
14167
+ )
14168
+
14131
14169
  PM_ForceToPowerOff = Symbol(
14132
14170
  None,
14133
14171
  None,
@@ -17615,6 +17653,249 @@ class EuItcmOverlay0Functions:
17615
17653
  None,
17616
17654
  )
17617
17655
 
17656
+ close = Symbol(
17657
+ None,
17658
+ None,
17659
+ None,
17660
+ "close",
17661
+ "Closes a file descriptor.\n\nr0: file descriptor\nreturn: 0 on success, or a negative value representing an error",
17662
+ None,
17663
+ )
17664
+
17665
+ socket = Symbol(
17666
+ None,
17667
+ None,
17668
+ None,
17669
+ "socket",
17670
+ "Creates a socket file descriptor for network activity.\n\nr0: domain\nr1: family\nr2: protocol\nreturn: socket file descriptor on success, negative value indicating error otherwise",
17671
+ None,
17672
+ )
17673
+
17674
+ bind = Symbol(
17675
+ None,
17676
+ None,
17677
+ None,
17678
+ "bind",
17679
+ "Binds a socket to an address.\n\nr0: socket file descriptor\nr1: address\nreturn: 0 on success, or a negative value representing an error",
17680
+ None,
17681
+ )
17682
+
17683
+ connect = Symbol(
17684
+ None,
17685
+ None,
17686
+ None,
17687
+ "connect",
17688
+ "Connects a socket to an address.\n\nr0: socket file descriptor\nr1: address\nreturn: 0 on success, or a negative value representing an error",
17689
+ None,
17690
+ )
17691
+
17692
+ recv = Symbol(
17693
+ None,
17694
+ None,
17695
+ None,
17696
+ "recv",
17697
+ "Receives a message from a connected socket.\n\nr0: socket file descriptor\nr1: destination buffer\nr2: size of buffer\nr3: flags\nreturn: number of bytes read, or a negative value representing an error",
17698
+ None,
17699
+ )
17700
+
17701
+ recvfrom = Symbol(
17702
+ None,
17703
+ None,
17704
+ None,
17705
+ "recvfrom",
17706
+ "Receives a message from a connectionless socket, also returning the source address that sent data.\n\nr0: socket file descriptor\nr1: destination buffer\nr2: size of buffer\nr3: flags\nstack[0]: destination address; can be NULL\nstack[1]: length of destination address\nreturn: number of bytes read, or a negative value representing an error",
17707
+ None,
17708
+ )
17709
+
17710
+ send = Symbol(
17711
+ None,
17712
+ None,
17713
+ None,
17714
+ "send",
17715
+ "Sends a message to a connected socket.\n\nr0: socket file descriptor\nr1: source buffer\nr2: size of buffer\nr3: flags\nreturn: number of bytes sent, or a negative value representing an error",
17716
+ None,
17717
+ )
17718
+
17719
+ sendto = Symbol(
17720
+ None,
17721
+ None,
17722
+ None,
17723
+ "sendto",
17724
+ "Sends a message to a connectionless socket.\n\nr0: socket file descriptor\nr1: source buffer\nr2: size of buffer\nr3: flags\nstack[0]: target address\nstack[1]: length of target address\nreturn: number of bytes sent, or a negative value representing an error",
17725
+ None,
17726
+ )
17727
+
17728
+ CloseVeneer = Symbol(
17729
+ None,
17730
+ None,
17731
+ None,
17732
+ "CloseVeneer",
17733
+ "Likely a linker-generated veneer for close.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nr0: file descriptor\nreturn: 0 on success, or a negative value representing an error",
17734
+ None,
17735
+ )
17736
+
17737
+ fcntl = Symbol(
17738
+ None,
17739
+ None,
17740
+ None,
17741
+ "fcntl",
17742
+ "Performs an operation on a file descriptor.\n\nr0: file descriptor\nr1: operation\nr2: operation-specific argument\nreturn: operation-specific value",
17743
+ None,
17744
+ )
17745
+
17746
+ InitWfc = Symbol(
17747
+ None,
17748
+ None,
17749
+ None,
17750
+ "InitWfc",
17751
+ "Just a guess. Repeatedly calling this eventually results in a DNS query for conntest.nintendowifi.net and allows for use of the socket functions.\n\nreturn: status?",
17752
+ None,
17753
+ )
17754
+
17755
+ SocketCastError = Symbol(
17756
+ None,
17757
+ None,
17758
+ None,
17759
+ "SocketCastError",
17760
+ "Casts a value to a new value, if it is negative. Mostly used in socket functions to cast any potential errors to -1.\n\nr0: original value\nr1: new value to cast an error as, if original value is negative\nreturn: original value if non-negative, new value otherwise",
17761
+ None,
17762
+ )
17763
+
17764
+ SocketCreate = Symbol(
17765
+ None,
17766
+ None,
17767
+ None,
17768
+ "SocketCreate",
17769
+ "A wrapper for socket, casting any errors to -1.\n\nr0: domain\nr1: family\nr2: protocol\nreturn: socket file descriptor on success, -1 on an error",
17770
+ None,
17771
+ )
17772
+
17773
+ SocketClose = Symbol(
17774
+ None,
17775
+ None,
17776
+ None,
17777
+ "SocketClose",
17778
+ "A wrapper for close, casting any errors to -1.\n\nr0: file descriptor\nreturn: 0 on success, -1 on an error",
17779
+ None,
17780
+ )
17781
+
17782
+ SocketBind = Symbol(
17783
+ None,
17784
+ None,
17785
+ None,
17786
+ "SocketBind",
17787
+ "A wrapper for bind, casting any errors to -1.\n\nr0: socket file descriptor\nr1: address\nr2: length of address\nreturn: 0 on success, -1 on an error",
17788
+ None,
17789
+ )
17790
+
17791
+ SocketConnect = Symbol(
17792
+ None,
17793
+ None,
17794
+ None,
17795
+ "SocketConnect",
17796
+ "A wrapper for connect, casting any errors to -1.\n\nr0: socket file descriptor\nr1: address\nr2: length of address\nreturn: 0 on success, -1 on an error",
17797
+ None,
17798
+ )
17799
+
17800
+ SocketRecv = Symbol(
17801
+ None,
17802
+ None,
17803
+ None,
17804
+ "SocketRecv",
17805
+ "A wrapper for recv, casting any errors to -1.\n\nr0: socket file descriptor\nr1: destination buffer\nr2: size of buffer\nr3: flags\nreturn: number of bytes read, or -1 on an error",
17806
+ None,
17807
+ )
17808
+
17809
+ SocketRecvFrom = Symbol(
17810
+ None,
17811
+ None,
17812
+ None,
17813
+ "SocketRecvFrom",
17814
+ "A wrapper for recvfrom, casting any errors to -1.\n\nr0: socket file descriptor\nr1: destination buffer\nr2: size of buffer\nr3: flags\nstack[0]: destination address; can be NULL\nstack[1]: length of destination address\nreturn: number of bytes read, or -1 on an error",
17815
+ None,
17816
+ )
17817
+
17818
+ SocketSend = Symbol(
17819
+ None,
17820
+ None,
17821
+ None,
17822
+ "SocketSend",
17823
+ "A wrapper for send, casting any errors to -1.\n\nr0: socket file descriptor\nr1: source buffer\nr2: size of buffer\nr3: flags\nreturn: number of bytes sent, or -1 on an error",
17824
+ None,
17825
+ )
17826
+
17827
+ SocketSendTo = Symbol(
17828
+ None,
17829
+ None,
17830
+ None,
17831
+ "SocketSendTo",
17832
+ "A wrapper for sendto, casting any errors to -1.\n\nr0: socket file descriptor\nr1: source buffer\nr2: size of buffer\nr3: flags\nstack[0]: target address\nstack[1]: length of target address\nreturn: number of bytes sent, or -1 on an error",
17833
+ None,
17834
+ )
17835
+
17836
+ SocketSetBlocking = Symbol(
17837
+ None,
17838
+ None,
17839
+ None,
17840
+ "SocketSetBlocking",
17841
+ "Sets a socket to be blocking or non-blocking.\n\nr0: socket file descriptor\nr1: blocking flag\nreturn: success",
17842
+ None,
17843
+ )
17844
+
17845
+ DoRand = Symbol(
17846
+ None,
17847
+ None,
17848
+ None,
17849
+ "DoRand",
17850
+ "Generates a pseudorandom integer provided a parameter.\n\nr0: ctx\nreturn: pseudorandom integer",
17851
+ None,
17852
+ )
17853
+
17854
+ rand = Symbol(
17855
+ None,
17856
+ None,
17857
+ None,
17858
+ "rand",
17859
+ "Generates a new pseudorandom integer from the current PRNG sequence number and updates it.\n\nreturn: psuedorandom integer",
17860
+ None,
17861
+ )
17862
+
17863
+ srand = Symbol(
17864
+ None,
17865
+ None,
17866
+ None,
17867
+ "srand",
17868
+ "Seeds a PRNG sequence number used by rand.\n\nr0: seed",
17869
+ None,
17870
+ )
17871
+
17872
+ RandRangeOverlay0 = Symbol(
17873
+ None,
17874
+ None,
17875
+ None,
17876
+ "RandRangeOverlay0",
17877
+ "Generates a new pseudorandom integer by performing (rand() % (y - x) + x).\n\nr0: x\nr1: y\nreturn: pseudorandom integer on the interval [x, y - 1]",
17878
+ None,
17879
+ )
17880
+
17881
+ ResolveAvailableNintendoWifi = Symbol(
17882
+ None,
17883
+ None,
17884
+ None,
17885
+ "ResolveAvailableNintendoWifi",
17886
+ "Seemingly resolves the IP of 'pokedungeonds.available.gs.nintendowifi.net', in which 'pokedungeonds' is provided as the first parameter.\n\nr0: string",
17887
+ None,
17888
+ )
17889
+
17890
+ PasswordEncryptString = Symbol(
17891
+ None,
17892
+ None,
17893
+ None,
17894
+ "PasswordEncryptString",
17895
+ "Performs XOR encryption/decryption on a string, the keystream derived from srand(0x79707367) and repeatedly calling randrange(0x0, 0xFF).\n\nSeemingly called mostly for the 'passenc' field in DWC messages.\n\nr0: src\nr1: dest",
17896
+ None,
17897
+ )
17898
+
17618
17899
 
17619
17900
  class EuItcmOverlay0Data:
17620
17901
 
@@ -17630,7 +17911,7 @@ class EuItcmOverlay0Data:
17630
17911
 
17631
17912
  class EuItcmOverlay0Section:
17632
17913
  name = "overlay0"
17633
- description = "Likely contains supporting data and code related to the top menu.\n\nThis is loaded together with overlay 1 while in the top menu. Since it's in overlay group 2 (together with overlay 10, which is another 'data' overlay), this overlay probably plays a similar role. It mentions several files from the BACK folder that are known backgrounds for the top menu."
17914
+ description = "Contains supporting data and code related to the Top Menu, as well as core networking functions.\n\nThis is loaded together with overlay 1 while in the Top Menu. Since it's in overlay group 2 (together with overlay 10, which is another 'data' overlay), this overlay probably plays a similar role. It mentions several files from the BACK folder that are known backgrounds for the Top Menu."
17634
17915
  loadaddress = None
17635
17916
  length = None
17636
17917
  functions = EuItcmOverlay0Functions