pmdsky-debug-py 10.2.24__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.
@@ -6261,6 +6261,204 @@ class JpItcmArm9Functions:
6261
6261
  None,
6262
6262
  )
6263
6263
 
6264
+ InitOptionsVeneer = Symbol(
6265
+ None,
6266
+ None,
6267
+ None,
6268
+ "InitOptionsVeneer",
6269
+ "Likely a linker-generated veneer for InitOptions.\n\nSee https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-\n\nNo params.",
6270
+ None,
6271
+ )
6272
+
6273
+ InitOptions = Symbol(
6274
+ None,
6275
+ None,
6276
+ None,
6277
+ "InitOptions",
6278
+ "Initializes the game options struct (OPTIONS) with its default values.\n\nNo params.",
6279
+ None,
6280
+ )
6281
+
6282
+ GetOptions = Symbol(
6283
+ None,
6284
+ None,
6285
+ None,
6286
+ "GetOptions",
6287
+ "Copies the game options from OPTIONS to the given options struct.\n\nr0: options struct pointer to copy to.",
6288
+ None,
6289
+ )
6290
+
6291
+ SetOptions = Symbol(
6292
+ None,
6293
+ None,
6294
+ None,
6295
+ "SetOptions",
6296
+ "Copies the game options from the given options struct to OPTIONS.\n\nr0: options struct pointer to copy from.",
6297
+ None,
6298
+ )
6299
+
6300
+ SaveOptionsToCtx = Symbol(
6301
+ None,
6302
+ None,
6303
+ None,
6304
+ "SaveOptionsToCtx",
6305
+ "Saves the game options to the save file.\n\nr0: save file pointer to save the game options to.",
6306
+ None,
6307
+ )
6308
+
6309
+ LoadOptionsFromCtx = Symbol(
6310
+ None,
6311
+ None,
6312
+ None,
6313
+ "LoadOptionsFromCtx",
6314
+ "Loads the game options from the save file.\n\nr0: save file pointer to load the game options from.",
6315
+ None,
6316
+ )
6317
+
6318
+ IsTouchScreenNotOff = Symbol(
6319
+ None,
6320
+ None,
6321
+ None,
6322
+ "IsTouchScreenNotOff",
6323
+ "Returns false if the 'Touch Screen' option is set to 'Off', and true otherwise.\n\nreturn: bool",
6324
+ None,
6325
+ )
6326
+
6327
+ IsTouchScreenUseAnywhere = Symbol(
6328
+ None,
6329
+ None,
6330
+ None,
6331
+ "IsTouchScreenUseAnywhere",
6332
+ "Returns whether the 'Touch Screen' option is set to 'Use anywhere'.\n\nreturn: bool",
6333
+ None,
6334
+ )
6335
+
6336
+ GetTopScreenOption = Symbol(
6337
+ None,
6338
+ None,
6339
+ None,
6340
+ "GetTopScreenOption",
6341
+ "Returns the value of the 'Top screen' option.\n\nreturn: uint8_t",
6342
+ None,
6343
+ )
6344
+
6345
+ SetTopScreenOption = Symbol(
6346
+ None,
6347
+ None,
6348
+ None,
6349
+ "SetTopScreenOption",
6350
+ "Sets the value of the 'Top screen' option.\n\nr0: value to set 'Top screen' option to.",
6351
+ None,
6352
+ )
6353
+
6354
+ GetBottomScreenOption = Symbol(
6355
+ None,
6356
+ None,
6357
+ None,
6358
+ "GetBottomScreenOption",
6359
+ "Returns the value of the 'Bottom screen' option.\n\nreturn: uint8_t",
6360
+ None,
6361
+ )
6362
+
6363
+ GetGridsOption = Symbol(
6364
+ None,
6365
+ None,
6366
+ None,
6367
+ "GetGridsOption",
6368
+ "Returns whether the 'Grids' option is enabled.\n\nreturn: bool",
6369
+ None,
6370
+ )
6371
+
6372
+ GetSpeedOption = Symbol(
6373
+ None,
6374
+ None,
6375
+ None,
6376
+ "GetSpeedOption",
6377
+ "Returns the value of the 'Speed' option.\n\nreturn: uint8_t",
6378
+ None,
6379
+ )
6380
+
6381
+ GetFarOffPalsOption = Symbol(
6382
+ None,
6383
+ None,
6384
+ None,
6385
+ "GetFarOffPalsOption",
6386
+ "Returns the value of the 'Far-off pals' option.\n\nreturn: uint8_t",
6387
+ None,
6388
+ )
6389
+
6390
+ GetDamageTurnOption = Symbol(
6391
+ None,
6392
+ None,
6393
+ None,
6394
+ "GetDamageTurnOption",
6395
+ "Returns whether the 'Damage turn' option is enabled.\n\nreturn: bool",
6396
+ None,
6397
+ )
6398
+
6399
+ GetDPadAttackOption = Symbol(
6400
+ None,
6401
+ None,
6402
+ None,
6403
+ "GetDPadAttackOption",
6404
+ "Returns whether the 'D-pad attack' option is enabled.\n\nreturn: bool",
6405
+ None,
6406
+ )
6407
+
6408
+ GetCheckDirectionOption = Symbol(
6409
+ None,
6410
+ None,
6411
+ None,
6412
+ "GetCheckDirectionOption",
6413
+ "Returns whether the 'Check direction' option is enabled.\n\nreturn: bool",
6414
+ None,
6415
+ )
6416
+
6417
+ IsMapShownOnEitherScreen = Symbol(
6418
+ None,
6419
+ None,
6420
+ None,
6421
+ "IsMapShownOnEitherScreen",
6422
+ "Returns true if the map is configured in the options to show on either the top or bottom screen.\nThis includes 'Clear map' or 'Shaded map' on the bottom screen, and 'Map and team' on the top screen.\n\nreturn: bool",
6423
+ None,
6424
+ )
6425
+
6426
+ IsTeamStatsOnTopScreen = Symbol(
6427
+ None,
6428
+ None,
6429
+ None,
6430
+ "IsTeamStatsOnTopScreen",
6431
+ "Returns true if the top screen is configured in the options to show 'Team stats'.\n\nreturn: bool",
6432
+ None,
6433
+ )
6434
+
6435
+ IsTextLogOnTopScreen = Symbol(
6436
+ None,
6437
+ None,
6438
+ None,
6439
+ "IsTextLogOnTopScreen",
6440
+ "Returns true if the top screen is configured in the options to show 'Text log'.\n\nreturn: bool",
6441
+ None,
6442
+ )
6443
+
6444
+ CopyFrameTypeOption = Symbol(
6445
+ None,
6446
+ None,
6447
+ None,
6448
+ "CopyFrameTypeOption",
6449
+ "Copies the 'Frame Type' option from OPTIONS to the given pointer.\n\nr0: destination pointer for the 'Frame Type' option.",
6450
+ None,
6451
+ )
6452
+
6453
+ SetFrameTypeOption = Symbol(
6454
+ None,
6455
+ None,
6456
+ None,
6457
+ "SetFrameTypeOption",
6458
+ "Copies the 'Frame Type' option from the given pointer to OPTIONS.\n\nr0: source pointer for the 'Frame Type' option.",
6459
+ None,
6460
+ )
6461
+
6264
6462
  GetGameMode = Symbol(
6265
6463
  None,
6266
6464
  None,
@@ -6279,6 +6477,24 @@ class JpItcmArm9Functions:
6279
6477
  None,
6280
6478
  )
6281
6479
 
6480
+ SetGameMode = Symbol(
6481
+ None,
6482
+ None,
6483
+ None,
6484
+ "SetGameMode",
6485
+ "Sets the value of GAME_MODE.\n\nr0: value to set GAME_MODE to.",
6486
+ None,
6487
+ )
6488
+
6489
+ DebugPrintEventFlagSize = Symbol(
6490
+ None,
6491
+ None,
6492
+ None,
6493
+ "DebugPrintEventFlagSize",
6494
+ "Prints a debug message with values related to event flag size.\n\nNo params.",
6495
+ None,
6496
+ )
6497
+
6282
6498
  InitScriptVariableValues = Symbol(
6283
6499
  None,
6284
6500
  None,
@@ -6297,6 +6513,15 @@ class JpItcmArm9Functions:
6297
6513
  None,
6298
6514
  )
6299
6515
 
6516
+ DefaultInitScriptVariable = Symbol(
6517
+ None,
6518
+ None,
6519
+ None,
6520
+ "DefaultInitScriptVariable",
6521
+ "Initialize the values of the given script variable to the variable's default value, as defined in SCRIPT_VARS.\n\nr0: pointer to the local variable table (only needed if id >= VAR_LOCAL0)\nr1: script variable ID",
6522
+ None,
6523
+ )
6524
+
6300
6525
  ZinitScriptVariable = Symbol(
6301
6526
  None,
6302
6527
  None,
@@ -6720,6 +6945,15 @@ class JpItcmArm9Functions:
6720
6945
  None,
6721
6946
  )
6722
6947
 
6948
+ ScenarioFlagRestore = Symbol(
6949
+ None,
6950
+ None,
6951
+ None,
6952
+ "ScenarioFlagRestore",
6953
+ "Loads scenario flag script variables (SCENARIO_SELECT, SCENARIO_MAIN_BIT_FLAG) from their respective BACKUP script variables, but only in certain game modes.\n\nThis function prints the debug string 'ScenarioFlag ResumeGameMode %d' with the game mode.\n\nNo params.",
6954
+ None,
6955
+ )
6956
+
6723
6957
  ScenarioFlagBackup = Symbol(
6724
6958
  None,
6725
6959
  None,
@@ -9723,6 +9957,8 @@ class JpItcmArm9Functions:
9723
9957
 
9724
9958
  IsMoveRangeString19 = _Deprecated("IsMoveRangeString19", IsMoveRangeStringUser)
9725
9959
 
9960
+ ZeroInitScriptVariable = _Deprecated("ZeroInitScriptVariable", ZinitScriptVariable)
9961
+
9726
9962
  InitScenarioProgressScriptVars = _Deprecated(
9727
9963
  "InitScenarioProgressScriptVars", InitScenarioScriptVars
9728
9964
  )
@@ -9974,6 +10210,42 @@ class JpItcmArm9Data:
9974
10210
  "struct baby_exclusive_item_pair[16]",
9975
10211
  )
9976
10212
 
10213
+ ITEM_NAME_FORMAT_YELLOW = Symbol(
10214
+ None,
10215
+ None,
10216
+ None,
10217
+ "ITEM_NAME_FORMAT_YELLOW",
10218
+ "Format string for items with a yellow name, like boxes",
10219
+ "char[16]",
10220
+ )
10221
+
10222
+ ITEM_NAME_FORMAT_INDIGO = Symbol(
10223
+ None,
10224
+ None,
10225
+ None,
10226
+ "ITEM_NAME_FORMAT_INDIGO",
10227
+ "Format string for items with an indigo name, like exclusive items",
10228
+ "char[16]",
10229
+ )
10230
+
10231
+ ITEM_NAME_FORMAT_PLAIN = Symbol(
10232
+ None,
10233
+ None,
10234
+ None,
10235
+ "ITEM_NAME_FORMAT_PLAIN",
10236
+ "Format string for items with no color formatting",
10237
+ "char[4]",
10238
+ )
10239
+
10240
+ ITEM_NAME_FORMAT_CREAM = Symbol(
10241
+ None,
10242
+ None,
10243
+ None,
10244
+ "ITEM_NAME_FORMAT_CREAM",
10245
+ "Format string for items with a cream pink name, the usual text color for items",
10246
+ "char[16]",
10247
+ )
10248
+
9977
10249
  KECLEON_SHOP_ITEM_TABLE_LISTS_1 = Symbol(
9978
10250
  None,
9979
10251
  None,
@@ -10289,6 +10561,15 @@ class JpItcmArm9Data:
10289
10561
  "struct script_local_var_table",
10290
10562
  )
10291
10563
 
10564
+ EVENT_FLAG_SIZE_DEBUG_MSG = Symbol(
10565
+ None,
10566
+ None,
10567
+ None,
10568
+ "EVENT_FLAG_SIZE_DEBUG_MSG",
10569
+ "Debug log message that says 'EventFlagSize'",
10570
+ "",
10571
+ )
10572
+
10292
10573
  EVENT_FLAG_CALC_SCRIPT_VARIABLES_ERROR = Symbol(
10293
10574
  None,
10294
10575
  None,
@@ -10325,6 +10606,28 @@ class JpItcmArm9Data:
10325
10606
  "",
10326
10607
  )
10327
10608
 
10609
+ SUM_MSG = Symbol(
10610
+ None, None, None, "SUM_MSG", "Debug log message that says 'SUM'", ""
10611
+ )
10612
+
10613
+ SUB30_PROJECTP_MSG = Symbol(
10614
+ None,
10615
+ None,
10616
+ None,
10617
+ "SUB30_PROJECTP_MSG",
10618
+ "Debug log message that says 'SUB30_PROJECTP'",
10619
+ "",
10620
+ )
10621
+
10622
+ NOTE_MODIFY_FLAG_MSG = Symbol(
10623
+ None,
10624
+ None,
10625
+ None,
10626
+ "NOTE_MODIFY_FLAG_MSG",
10627
+ "Debug log message that says 'NOTE_MODIFY_FLAG'",
10628
+ "",
10629
+ )
10630
+
10328
10631
  SCRIPT_VARS = Symbol(
10329
10632
  None,
10330
10633
  None,
@@ -10343,6 +10646,24 @@ class JpItcmArm9Data:
10343
10646
  "",
10344
10647
  )
10345
10648
 
10649
+ SCENARIO_FLAG_RESUME_DEBUG_MSG = Symbol(
10650
+ None,
10651
+ None,
10652
+ None,
10653
+ "SCENARIO_FLAG_RESUME_DEBUG_MSG",
10654
+ "Debug log message that prints the current game mode when ScenarioFlagRestore is invoked.",
10655
+ "",
10656
+ )
10657
+
10658
+ SCENARIO_FLAG_BACKUP_DEBUG_MSG = Symbol(
10659
+ None,
10660
+ None,
10661
+ None,
10662
+ "SCENARIO_FLAG_BACKUP_DEBUG_MSG",
10663
+ "Debug log message that prints the current game mode when ScenarioFlagBackup is invoked.",
10664
+ "",
10665
+ )
10666
+
10346
10667
  PORTRAIT_LAYOUTS = Symbol(
10347
10668
  None,
10348
10669
  None,
@@ -10964,6 +11285,168 @@ class JpItcmArm9Data:
10964
11285
  "struct guest_monster[18]",
10965
11286
  )
10966
11287
 
11288
+ GUEST_MONSTER_BANETTE = Symbol(
11289
+ None,
11290
+ None,
11291
+ None,
11292
+ "GUEST_MONSTER_BANETTE",
11293
+ "Guest monster data for Banette in Murky Cave during Igglybuff the Prodigy.",
11294
+ "struct guest_monster",
11295
+ )
11296
+
11297
+ GUEST_MONSTER_SKORUPI = Symbol(
11298
+ None,
11299
+ None,
11300
+ None,
11301
+ "GUEST_MONSTER_SKORUPI",
11302
+ "Guest monster data for Skorupi in Murky Cave during Igglybuff the Prodigy.",
11303
+ "struct guest_monster",
11304
+ )
11305
+
11306
+ GUEST_MONSTER_BIDOOF = Symbol(
11307
+ None,
11308
+ None,
11309
+ None,
11310
+ "GUEST_MONSTER_BIDOOF",
11311
+ "Guest monster data for Bidoof in Craggy Coast during the main story.",
11312
+ "struct guest_monster",
11313
+ )
11314
+
11315
+ GUEST_MONSTER_SNOVER = Symbol(
11316
+ None,
11317
+ None,
11318
+ None,
11319
+ "GUEST_MONSTER_SNOVER",
11320
+ "Guest monster data for Snover in Deep Star Cave during Bidoof's Wish.",
11321
+ "struct guest_monster",
11322
+ )
11323
+
11324
+ GUEST_MONSTER_BIDOOF_2 = Symbol(
11325
+ None,
11326
+ None,
11327
+ None,
11328
+ "GUEST_MONSTER_BIDOOF_2",
11329
+ "Guest monster data for Bidoof in Rock Path during the main story.",
11330
+ "struct guest_monster",
11331
+ )
11332
+
11333
+ GUEST_MONSTER_GROVYLE = Symbol(
11334
+ None,
11335
+ None,
11336
+ None,
11337
+ "GUEST_MONSTER_GROVYLE",
11338
+ "Guest monster data for Grovyle in Dusk Forest during the main story.",
11339
+ "struct guest_monster",
11340
+ )
11341
+
11342
+ GUEST_MONSTER_LOUDRED = Symbol(
11343
+ None,
11344
+ None,
11345
+ None,
11346
+ "GUEST_MONSTER_LOUDRED",
11347
+ "Guest monster data for Loudred in Spring Cave Pit during Today's 'Oh My Gosh'.",
11348
+ "struct guest_monster",
11349
+ )
11350
+
11351
+ GUEST_MONSTER_DUSKNOIR = Symbol(
11352
+ None,
11353
+ None,
11354
+ None,
11355
+ "GUEST_MONSTER_DUSKNOIR",
11356
+ "Guest monster data for Dusknoir during In the Future of Darkness.",
11357
+ "struct guest_monster",
11358
+ )
11359
+
11360
+ GUEST_MONSTER_GROVYLE_2 = Symbol(
11361
+ None,
11362
+ None,
11363
+ None,
11364
+ "GUEST_MONSTER_GROVYLE_2",
11365
+ "Guest monster data for Grovyle in Treeshroud Forest during the main story.",
11366
+ "struct guest_monster",
11367
+ )
11368
+
11369
+ GUEST_MONSTER_CHATOT = Symbol(
11370
+ None,
11371
+ None,
11372
+ None,
11373
+ "GUEST_MONSTER_CHATOT",
11374
+ "Guest monster data for Chatot in Brine Cave during the main story.",
11375
+ "struct guest_monster",
11376
+ )
11377
+
11378
+ GUEST_MONSTER_SHINY_CELEBI = Symbol(
11379
+ None,
11380
+ None,
11381
+ None,
11382
+ "GUEST_MONSTER_SHINY_CELEBI",
11383
+ "Guest monster data for Celebi in Deep Dusk Forest during the main story.",
11384
+ "struct guest_monster",
11385
+ )
11386
+
11387
+ GUEST_MONSTER_GROVYLE_3 = Symbol(
11388
+ None,
11389
+ None,
11390
+ None,
11391
+ "GUEST_MONSTER_GROVYLE_3",
11392
+ "Guest monster data for Grovyle in Deep Dusk Forest during the main story.",
11393
+ "struct guest_monster",
11394
+ )
11395
+
11396
+ GUEST_MONSTER_GROVYLE_4 = Symbol(
11397
+ None,
11398
+ None,
11399
+ None,
11400
+ "GUEST_MONSTER_GROVYLE_4",
11401
+ "Guest monster data for Grovyle in Hidden Land, Hidden Highland, and the Old Ruins during the main story.",
11402
+ "struct guest_monster",
11403
+ )
11404
+
11405
+ GUEST_MONSTER_CRESSELIA = Symbol(
11406
+ None,
11407
+ None,
11408
+ None,
11409
+ "GUEST_MONSTER_CRESSELIA",
11410
+ "Guest monster data for Cresselia in Dark Crater, Deep Dark Crater, and Dark Crater Pit during the postgame story.",
11411
+ "struct guest_monster",
11412
+ )
11413
+
11414
+ GUEST_MONSTER_BIDOOF_3 = Symbol(
11415
+ None,
11416
+ None,
11417
+ None,
11418
+ "GUEST_MONSTER_BIDOOF_3",
11419
+ "Guest monster data for Bidoof in Mt. Horn during the main story.",
11420
+ "struct guest_monster",
11421
+ )
11422
+
11423
+ GUEST_MONSTER_BIDOOF_4 = Symbol(
11424
+ None,
11425
+ None,
11426
+ None,
11427
+ "GUEST_MONSTER_BIDOOF_4",
11428
+ "Guest monster data for Bidoof in Side Path during the main story.",
11429
+ "struct guest_monster",
11430
+ )
11431
+
11432
+ GUEST_MONSTER_SHAYMIN_LAND = Symbol(
11433
+ None,
11434
+ None,
11435
+ None,
11436
+ "GUEST_MONSTER_SHAYMIN_LAND",
11437
+ "Guest monster data for Shaymin in Sky Peak during the postgame story.",
11438
+ "struct guest_monster",
11439
+ )
11440
+
11441
+ GUEST_MONSTER_SNOVER_2 = Symbol(
11442
+ None,
11443
+ None,
11444
+ None,
11445
+ "GUEST_MONSTER_SNOVER_2",
11446
+ "Guest monster data for Snover in Star Cave during Bidoof's Wish.",
11447
+ "struct guest_monster",
11448
+ )
11449
+
10967
11450
  RANK_UP_TABLE = Symbol(
10968
11451
  None, None, None, "RANK_UP_TABLE", "", "struct rankup_table_entry[13]"
10969
11452
  )
@@ -13029,7 +13512,23 @@ class JpItcmLibsFunctions:
13029
13512
  None,
13030
13513
  )
13031
13514
 
13032
- 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
+ )
13033
13532
 
13034
13533
  Mtx_LookAt = Symbol(None, None, None, "Mtx_LookAt", "", None)
13035
13534
 
@@ -13645,6 +14144,28 @@ class JpItcmLibsFunctions:
13645
14144
  None,
13646
14145
  )
13647
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
+
13648
14169
  PM_ForceToPowerOff = Symbol(
13649
14170
  None,
13650
14171
  None,
@@ -17132,6 +17653,249 @@ class JpItcmOverlay0Functions:
17132
17653
  None,
17133
17654
  )
17134
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
+
17135
17899
 
17136
17900
  class JpItcmOverlay0Data:
17137
17901
 
@@ -17147,7 +17911,7 @@ class JpItcmOverlay0Data:
17147
17911
 
17148
17912
  class JpItcmOverlay0Section:
17149
17913
  name = "overlay0"
17150
- 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."
17151
17915
  loadaddress = None
17152
17916
  length = None
17153
17917
  functions = JpItcmOverlay0Functions