pmdsky-debug-py 10.2.25__py3-none-any.whl → 10.2.27__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.
@@ -10201,6 +10201,51 @@ class JpItcmArm9Data:
10201
10201
  "",
10202
10202
  )
10203
10203
 
10204
+ ST_I2N_I_BIN_FILE_NAME = Symbol(
10205
+ None,
10206
+ None,
10207
+ None,
10208
+ "ST_I2N_I_BIN_FILE_NAME",
10209
+ "Name of the file st_i2n_i.bin",
10210
+ "char[12]",
10211
+ )
10212
+
10213
+ ST_I2N_E_BIN_FILE_NAME = Symbol(
10214
+ None,
10215
+ None,
10216
+ None,
10217
+ "ST_I2N_E_BIN_FILE_NAME",
10218
+ "Name of the file st_i2n_e.bin",
10219
+ "char[12]",
10220
+ )
10221
+
10222
+ ST_I2N_S_BIN_FILE_NAME = Symbol(
10223
+ None,
10224
+ None,
10225
+ None,
10226
+ "ST_I2N_S_BIN_FILE_NAME",
10227
+ "Name of the file st_i2n_s.bin",
10228
+ "char[12]",
10229
+ )
10230
+
10231
+ ST_I2N_G_BIN_FILE_NAME = Symbol(
10232
+ None,
10233
+ None,
10234
+ None,
10235
+ "ST_I2N_G_BIN_FILE_NAME",
10236
+ "Name of the file st_i2n_g.bin",
10237
+ "char[12]",
10238
+ )
10239
+
10240
+ ST_I2N_F_BIN_FILE_NAME = Symbol(
10241
+ None,
10242
+ None,
10243
+ None,
10244
+ "ST_I2N_F_BIN_FILE_NAME",
10245
+ "Name of the file st_i2n_f.bin",
10246
+ "char[12]",
10247
+ )
10248
+
10204
10249
  BABY_EXCLUSIVE_ITEM_PAIRS = Symbol(
10205
10250
  None,
10206
10251
  None,
@@ -10210,6 +10255,33 @@ class JpItcmArm9Data:
10210
10255
  "struct baby_exclusive_item_pair[16]",
10211
10256
  )
10212
10257
 
10258
+ ITEM_P_BIN_FILE_PATH = Symbol(
10259
+ None,
10260
+ None,
10261
+ None,
10262
+ "ITEM_P_BIN_FILE_PATH",
10263
+ "File path of the file item_p.bin",
10264
+ "char[24]",
10265
+ )
10266
+
10267
+ ITEM_S_P_BIN_FILE_PATH = Symbol(
10268
+ None,
10269
+ None,
10270
+ None,
10271
+ "ITEM_S_P_BIN_FILE_PATH",
10272
+ "File path of the file item_s_p.bin",
10273
+ "char[26]",
10274
+ )
10275
+
10276
+ ITEM_ST_I2N_BIN_FORMAT = Symbol(
10277
+ None,
10278
+ None,
10279
+ None,
10280
+ "ITEM_ST_I2N_BIN_FORMAT",
10281
+ "File path for language files. In EU, this is a format string where each of the language files can be inserted in. In NA/JP, this is just the file path of the file st_i2n_j.bin",
10282
+ "",
10283
+ )
10284
+
10213
10285
  ITEM_NAME_FORMAT_YELLOW = Symbol(
10214
10286
  None,
10215
10287
  None,
@@ -11976,6 +12048,15 @@ class JpItcmArm9Data:
11976
12048
  "void*[3]",
11977
12049
  )
11978
12050
 
12051
+ ITEM_LANG_FILE_ARRAY = Symbol(
12052
+ None,
12053
+ None,
12054
+ None,
12055
+ "ITEM_LANG_FILE_ARRAY",
12056
+ "An array containing the names of each language file. Only exists in EU.",
12057
+ "char*[5]",
12058
+ )
12059
+
11979
12060
  DUNGEON_MOVE_TABLES = Symbol(
11980
12061
  None,
11981
12062
  None,
@@ -13512,7 +13593,23 @@ class JpItcmLibsFunctions:
13512
13593
  None,
13513
13594
  )
13514
13595
 
13515
- Crypto_RC4Init = Symbol(None, None, None, "Crypto_RC4Init", "", None)
13596
+ Crypto_RC4Init = Symbol(
13597
+ None,
13598
+ None,
13599
+ None,
13600
+ "Crypto_RC4Init",
13601
+ "Initializes an RC4 context.\n\nr0: context\nr1: key\nr2: key length (clamped down to a maximum of 16)",
13602
+ None,
13603
+ )
13604
+
13605
+ Crypto_RC4Encrypt = Symbol(
13606
+ None,
13607
+ None,
13608
+ None,
13609
+ "Crypto_RC4Encrypt",
13610
+ "Encrypts/decrypts a buffer using an RC4 context.\n\nr0: context\nr1: src\nr2: size\nr3: dest",
13611
+ None,
13612
+ )
13516
13613
 
13517
13614
  Mtx_LookAt = Symbol(None, None, None, "Mtx_LookAt", "", None)
13518
13615
 
@@ -14128,6 +14225,28 @@ class JpItcmLibsFunctions:
14128
14225
  None,
14129
14226
  )
14130
14227
 
14228
+ MD5_Init = Symbol(
14229
+ None, None, None, "MD5_Init", "Initializes an MD5 context.\n\nr0: context", None
14230
+ )
14231
+
14232
+ MD5_Update = Symbol(
14233
+ None,
14234
+ None,
14235
+ None,
14236
+ "MD5_Update",
14237
+ "Updates an MD5 context using a buffer's bytes.\n\nr0: context\nr1: buffer\nr2: size of buffer",
14238
+ None,
14239
+ )
14240
+
14241
+ MD5_Digest = Symbol(
14242
+ None,
14243
+ None,
14244
+ None,
14245
+ "MD5_Digest",
14246
+ "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",
14247
+ None,
14248
+ )
14249
+
14131
14250
  PM_ForceToPowerOff = Symbol(
14132
14251
  None,
14133
14252
  None,
@@ -17615,6 +17734,249 @@ class JpItcmOverlay0Functions:
17615
17734
  None,
17616
17735
  )
17617
17736
 
17737
+ close = Symbol(
17738
+ None,
17739
+ None,
17740
+ None,
17741
+ "close",
17742
+ "Closes a file descriptor.\n\nr0: file descriptor\nreturn: 0 on success, or a negative value representing an error",
17743
+ None,
17744
+ )
17745
+
17746
+ socket = Symbol(
17747
+ None,
17748
+ None,
17749
+ None,
17750
+ "socket",
17751
+ "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",
17752
+ None,
17753
+ )
17754
+
17755
+ bind = Symbol(
17756
+ None,
17757
+ None,
17758
+ None,
17759
+ "bind",
17760
+ "Binds a socket to an address.\n\nr0: socket file descriptor\nr1: address\nreturn: 0 on success, or a negative value representing an error",
17761
+ None,
17762
+ )
17763
+
17764
+ connect = Symbol(
17765
+ None,
17766
+ None,
17767
+ None,
17768
+ "connect",
17769
+ "Connects a socket to an address.\n\nr0: socket file descriptor\nr1: address\nreturn: 0 on success, or a negative value representing an error",
17770
+ None,
17771
+ )
17772
+
17773
+ recv = Symbol(
17774
+ None,
17775
+ None,
17776
+ None,
17777
+ "recv",
17778
+ "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",
17779
+ None,
17780
+ )
17781
+
17782
+ recvfrom = Symbol(
17783
+ None,
17784
+ None,
17785
+ None,
17786
+ "recvfrom",
17787
+ "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",
17788
+ None,
17789
+ )
17790
+
17791
+ send = Symbol(
17792
+ None,
17793
+ None,
17794
+ None,
17795
+ "send",
17796
+ "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",
17797
+ None,
17798
+ )
17799
+
17800
+ sendto = Symbol(
17801
+ None,
17802
+ None,
17803
+ None,
17804
+ "sendto",
17805
+ "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",
17806
+ None,
17807
+ )
17808
+
17809
+ CloseVeneer = Symbol(
17810
+ None,
17811
+ None,
17812
+ None,
17813
+ "CloseVeneer",
17814
+ "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",
17815
+ None,
17816
+ )
17817
+
17818
+ fcntl = Symbol(
17819
+ None,
17820
+ None,
17821
+ None,
17822
+ "fcntl",
17823
+ "Performs an operation on a file descriptor.\n\nr0: file descriptor\nr1: operation\nr2: operation-specific argument\nreturn: operation-specific value",
17824
+ None,
17825
+ )
17826
+
17827
+ InitWfc = Symbol(
17828
+ None,
17829
+ None,
17830
+ None,
17831
+ "InitWfc",
17832
+ "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?",
17833
+ None,
17834
+ )
17835
+
17836
+ SocketCastError = Symbol(
17837
+ None,
17838
+ None,
17839
+ None,
17840
+ "SocketCastError",
17841
+ "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",
17842
+ None,
17843
+ )
17844
+
17845
+ SocketCreate = Symbol(
17846
+ None,
17847
+ None,
17848
+ None,
17849
+ "SocketCreate",
17850
+ "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",
17851
+ None,
17852
+ )
17853
+
17854
+ SocketClose = Symbol(
17855
+ None,
17856
+ None,
17857
+ None,
17858
+ "SocketClose",
17859
+ "A wrapper for close, casting any errors to -1.\n\nr0: file descriptor\nreturn: 0 on success, -1 on an error",
17860
+ None,
17861
+ )
17862
+
17863
+ SocketBind = Symbol(
17864
+ None,
17865
+ None,
17866
+ None,
17867
+ "SocketBind",
17868
+ "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",
17869
+ None,
17870
+ )
17871
+
17872
+ SocketConnect = Symbol(
17873
+ None,
17874
+ None,
17875
+ None,
17876
+ "SocketConnect",
17877
+ "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",
17878
+ None,
17879
+ )
17880
+
17881
+ SocketRecv = Symbol(
17882
+ None,
17883
+ None,
17884
+ None,
17885
+ "SocketRecv",
17886
+ "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",
17887
+ None,
17888
+ )
17889
+
17890
+ SocketRecvFrom = Symbol(
17891
+ None,
17892
+ None,
17893
+ None,
17894
+ "SocketRecvFrom",
17895
+ "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",
17896
+ None,
17897
+ )
17898
+
17899
+ SocketSend = Symbol(
17900
+ None,
17901
+ None,
17902
+ None,
17903
+ "SocketSend",
17904
+ "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",
17905
+ None,
17906
+ )
17907
+
17908
+ SocketSendTo = Symbol(
17909
+ None,
17910
+ None,
17911
+ None,
17912
+ "SocketSendTo",
17913
+ "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",
17914
+ None,
17915
+ )
17916
+
17917
+ SocketSetBlocking = Symbol(
17918
+ None,
17919
+ None,
17920
+ None,
17921
+ "SocketSetBlocking",
17922
+ "Sets a socket to be blocking or non-blocking.\n\nr0: socket file descriptor\nr1: blocking flag\nreturn: success",
17923
+ None,
17924
+ )
17925
+
17926
+ DoRand = Symbol(
17927
+ None,
17928
+ None,
17929
+ None,
17930
+ "DoRand",
17931
+ "Generates a pseudorandom integer provided a parameter.\n\nr0: ctx\nreturn: pseudorandom integer",
17932
+ None,
17933
+ )
17934
+
17935
+ rand = Symbol(
17936
+ None,
17937
+ None,
17938
+ None,
17939
+ "rand",
17940
+ "Generates a new pseudorandom integer from the current PRNG sequence number and updates it.\n\nreturn: psuedorandom integer",
17941
+ None,
17942
+ )
17943
+
17944
+ srand = Symbol(
17945
+ None,
17946
+ None,
17947
+ None,
17948
+ "srand",
17949
+ "Seeds a PRNG sequence number used by rand.\n\nr0: seed",
17950
+ None,
17951
+ )
17952
+
17953
+ RandRangeOverlay0 = Symbol(
17954
+ None,
17955
+ None,
17956
+ None,
17957
+ "RandRangeOverlay0",
17958
+ "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]",
17959
+ None,
17960
+ )
17961
+
17962
+ ResolveAvailableNintendoWifi = Symbol(
17963
+ None,
17964
+ None,
17965
+ None,
17966
+ "ResolveAvailableNintendoWifi",
17967
+ "Seemingly resolves the IP of 'pokedungeonds.available.gs.nintendowifi.net', in which 'pokedungeonds' is provided as the first parameter.\n\nr0: string",
17968
+ None,
17969
+ )
17970
+
17971
+ PasswordEncryptString = Symbol(
17972
+ None,
17973
+ None,
17974
+ None,
17975
+ "PasswordEncryptString",
17976
+ "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",
17977
+ None,
17978
+ )
17979
+
17618
17980
 
17619
17981
  class JpItcmOverlay0Data:
17620
17982
 
@@ -17630,7 +17992,7 @@ class JpItcmOverlay0Data:
17630
17992
 
17631
17993
  class JpItcmOverlay0Section:
17632
17994
  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."
17995
+ 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
17996
  loadaddress = None
17635
17997
  length = None
17636
17998
  functions = JpItcmOverlay0Functions