mirror of
https://github.com/projectPiki/pikmin2.git
synced 2024-11-23 13:29:55 +00:00
Link JASPlayer_impl.cpp
This commit is contained in:
parent
2f47fdaebe
commit
1234a9378a
@ -1,790 +0,0 @@
|
||||
.include "macros.inc"
|
||||
.section .rodata # 0x804732E0 - 0x8049E220
|
||||
.balign 8
|
||||
.obj s_key_table, local
|
||||
.float 1.0
|
||||
.float 1.00091
|
||||
.float 1.001821
|
||||
.float 1.002733
|
||||
.float 1.003645
|
||||
.float 1.004559
|
||||
.float 1.005473
|
||||
.float 1.006388
|
||||
.float 1.007304
|
||||
.float 1.00822
|
||||
.float 1.009138
|
||||
.float 1.010056
|
||||
.float 1.010975
|
||||
.float 1.011896
|
||||
.float 1.012816
|
||||
.float 1.013738
|
||||
.float 1.014661
|
||||
.float 1.015584
|
||||
.float 1.016508
|
||||
.float 1.017433
|
||||
.float 1.018359
|
||||
.float 1.019286
|
||||
.float 1.020214
|
||||
.float 1.021142
|
||||
.float 1.022071
|
||||
.float 1.023002
|
||||
.float 1.023933
|
||||
.float 1.024864
|
||||
.float 1.025797
|
||||
.float 1.026731
|
||||
.float 1.027665
|
||||
.float 1.0286
|
||||
.float 1.029536
|
||||
.float 1.030473
|
||||
.float 1.031411
|
||||
.float 1.03235
|
||||
.float 1.033289
|
||||
.float 1.03423
|
||||
.float 1.035171
|
||||
.float 1.036113
|
||||
.float 1.037056
|
||||
.float 1.038
|
||||
.float 1.038944
|
||||
.float 1.03989
|
||||
.float 1.040836
|
||||
.float 1.041783
|
||||
.float 1.042731
|
||||
.float 1.04368
|
||||
.float 1.04463
|
||||
.float 1.045581
|
||||
.float 1.046532
|
||||
.float 1.047485
|
||||
.float 1.048438
|
||||
.float 1.049392
|
||||
.float 1.050347
|
||||
.float 1.051303
|
||||
.float 1.05226
|
||||
.float 1.053217
|
||||
.float 1.054176
|
||||
.float 1.055135
|
||||
.float 1.056095
|
||||
.float 1.057056
|
||||
.float 1.058018
|
||||
.float 1.058981
|
||||
.endobj s_key_table
|
||||
.obj sAdsrDef__9JASPlayer, global
|
||||
.4byte 0
|
||||
.float 1.0
|
||||
.4byte 0x00000000
|
||||
.4byte 0x00000000
|
||||
.float 1.0
|
||||
.float 0.0
|
||||
.endobj sAdsrDef__9JASPlayer
|
||||
.obj sEnvelopeDef__9JASPlayer, global
|
||||
.4byte 0
|
||||
.float 1.0
|
||||
.4byte 0x00000000
|
||||
.4byte sRelTable__9JASPlayer
|
||||
.float 1.0
|
||||
.float 0.0
|
||||
.endobj sEnvelopeDef__9JASPlayer
|
||||
.obj sVibratoDef__9JASPlayer, global
|
||||
.4byte 1
|
||||
.float 0.5
|
||||
.4byte sVibTable__9JASPlayer
|
||||
.4byte sVibTable__9JASPlayer
|
||||
.float 0.0
|
||||
.float 1.0
|
||||
.endobj sVibratoDef__9JASPlayer
|
||||
.obj sTremoroDef__9JASPlayer, global
|
||||
.4byte 0
|
||||
.float 0.5
|
||||
.4byte sTreTable__9JASPlayer
|
||||
.4byte sTreTable__9JASPlayer
|
||||
.float 0.0
|
||||
.float 1.0
|
||||
.endobj sTremoroDef__9JASPlayer
|
||||
|
||||
.section .data, "wa" # 0x8049E220 - 0x804EFC20
|
||||
.balign 8
|
||||
.obj CUTOFF_TO_IIR_TABLE__9JASPlayer, global
|
||||
.2byte 0x0F5C
|
||||
.2byte 0x0A3D
|
||||
.2byte 0x4665
|
||||
.2byte 0x3999
|
||||
.2byte 0x103F
|
||||
.2byte 0x0A28
|
||||
.2byte 0x45D7
|
||||
.2byte 0x3925
|
||||
.2byte 0x1122
|
||||
.2byte 0x0A14
|
||||
.2byte 0x454A
|
||||
.2byte 0x38B0
|
||||
.2byte 0x1205
|
||||
.2byte 0x09FF
|
||||
.2byte 0x44BC
|
||||
.2byte 0x383C
|
||||
.2byte 0x12E8
|
||||
.2byte 0x09EA
|
||||
.2byte 0x442E
|
||||
.2byte 0x37C8
|
||||
.2byte 0x13CB
|
||||
.2byte 0x09D6
|
||||
.2byte 0x43A0
|
||||
.2byte 0x3754
|
||||
.2byte 0x14AE
|
||||
.2byte 0x09C1
|
||||
.2byte 0x4312
|
||||
.2byte 0x36E0
|
||||
.2byte 0x1591
|
||||
.2byte 0x09AC
|
||||
.2byte 0x4284
|
||||
.2byte 0x366C
|
||||
.2byte 0x1674
|
||||
.2byte 0x0998
|
||||
.2byte 0x41F6
|
||||
.2byte 0x35F8
|
||||
.2byte 0x1757
|
||||
.2byte 0x0983
|
||||
.2byte 0x4168
|
||||
.2byte 0x3584
|
||||
.2byte 0x183A
|
||||
.2byte 0x096E
|
||||
.2byte 0x40DA
|
||||
.2byte 0x3510
|
||||
.2byte 0x191D
|
||||
.2byte 0x095A
|
||||
.2byte 0x404C
|
||||
.2byte 0x349C
|
||||
.2byte 0x1A00
|
||||
.2byte 0x0945
|
||||
.2byte 0x3FBE
|
||||
.2byte 0x3427
|
||||
.2byte 0x1AE3
|
||||
.2byte 0x0931
|
||||
.2byte 0x3F31
|
||||
.2byte 0x33B3
|
||||
.2byte 0x1BC6
|
||||
.2byte 0x091C
|
||||
.2byte 0x3EA3
|
||||
.2byte 0x333F
|
||||
.2byte 0x1CA9
|
||||
.2byte 0x0907
|
||||
.2byte 0x3E15
|
||||
.2byte 0x32CB
|
||||
.2byte 0x1D8C
|
||||
.2byte 0x08F3
|
||||
.2byte 0x3D87
|
||||
.2byte 0x3257
|
||||
.2byte 0x1E6F
|
||||
.2byte 0x08DE
|
||||
.2byte 0x3CF9
|
||||
.2byte 0x31E3
|
||||
.2byte 0x1F52
|
||||
.2byte 0x08C9
|
||||
.2byte 0x3C6B
|
||||
.2byte 0x316F
|
||||
.2byte 0x2035
|
||||
.2byte 0x08B5
|
||||
.2byte 0x3BDD
|
||||
.2byte 0x30FB
|
||||
.2byte 0x2118
|
||||
.2byte 0x08A0
|
||||
.2byte 0x3B4F
|
||||
.2byte 0x3087
|
||||
.2byte 0x21FC
|
||||
.2byte 0x088B
|
||||
.2byte 0x3AC1
|
||||
.2byte 0x3012
|
||||
.2byte 0x22DF
|
||||
.2byte 0x0877
|
||||
.2byte 0x3A33
|
||||
.2byte 0x2F9E
|
||||
.2byte 0x23C2
|
||||
.2byte 0x0862
|
||||
.2byte 0x39A6
|
||||
.2byte 0x2F2A
|
||||
.2byte 0x24A5
|
||||
.2byte 0x084D
|
||||
.2byte 0x3918
|
||||
.2byte 0x2EB6
|
||||
.2byte 0x2588
|
||||
.2byte 0x0839
|
||||
.2byte 0x388A
|
||||
.2byte 0x2E42
|
||||
.2byte 0x266B
|
||||
.2byte 0x0824
|
||||
.2byte 0x37FC
|
||||
.2byte 0x2DCE
|
||||
.2byte 0x274E
|
||||
.2byte 0x0810
|
||||
.2byte 0x376E
|
||||
.2byte 0x2D5A
|
||||
.2byte 0x2831
|
||||
.2byte 0x07FB
|
||||
.2byte 0x36E0
|
||||
.2byte 0x2CE6
|
||||
.2byte 0x2914
|
||||
.2byte 0x07E6
|
||||
.2byte 0x3652
|
||||
.2byte 0x2C72
|
||||
.2byte 0x29F7
|
||||
.2byte 0x07D2
|
||||
.2byte 0x35C4
|
||||
.2byte 0x2BFE
|
||||
.2byte 0x2ADA
|
||||
.2byte 0x07BD
|
||||
.2byte 0x3536
|
||||
.2byte 0x2B89
|
||||
.2byte 0x2BBD
|
||||
.2byte 0x07A8
|
||||
.2byte 0x34A8
|
||||
.2byte 0x2B15
|
||||
.2byte 0x2CA0
|
||||
.2byte 0x0794
|
||||
.2byte 0x341B
|
||||
.2byte 0x2AA1
|
||||
.2byte 0x2D83
|
||||
.2byte 0x077F
|
||||
.2byte 0x338D
|
||||
.2byte 0x2A2D
|
||||
.2byte 0x2E66
|
||||
.2byte 0x076A
|
||||
.2byte 0x32FF
|
||||
.2byte 0x29B9
|
||||
.2byte 0x2F49
|
||||
.2byte 0x0756
|
||||
.2byte 0x3271
|
||||
.2byte 0x2945
|
||||
.2byte 0x302C
|
||||
.2byte 0x0741
|
||||
.2byte 0x31E3
|
||||
.2byte 0x28D1
|
||||
.2byte 0x310F
|
||||
.2byte 0x072D
|
||||
.2byte 0x3155
|
||||
.2byte 0x285D
|
||||
.2byte 0x31F2
|
||||
.2byte 0x0718
|
||||
.2byte 0x30C7
|
||||
.2byte 0x27E9
|
||||
.2byte 0x32D5
|
||||
.2byte 0x0703
|
||||
.2byte 0x3039
|
||||
.2byte 0x2775
|
||||
.2byte 0x33B8
|
||||
.2byte 0x06EF
|
||||
.2byte 0x2FAB
|
||||
.2byte 0x2700
|
||||
.2byte 0x349C
|
||||
.2byte 0x06DA
|
||||
.2byte 0x2F1D
|
||||
.2byte 0x268C
|
||||
.2byte 0x357F
|
||||
.2byte 0x06C5
|
||||
.2byte 0x2E8F
|
||||
.2byte 0x2618
|
||||
.2byte 0x3662
|
||||
.2byte 0x06B1
|
||||
.2byte 0x2E02
|
||||
.2byte 0x25A4
|
||||
.2byte 0x3745
|
||||
.2byte 0x069C
|
||||
.2byte 0x2D74
|
||||
.2byte 0x2530
|
||||
.2byte 0x3828
|
||||
.2byte 0x0687
|
||||
.2byte 0x2CE6
|
||||
.2byte 0x24BC
|
||||
.2byte 0x390B
|
||||
.2byte 0x0673
|
||||
.2byte 0x2C58
|
||||
.2byte 0x2448
|
||||
.2byte 0x39EE
|
||||
.2byte 0x065E
|
||||
.2byte 0x2BCA
|
||||
.2byte 0x23D4
|
||||
.2byte 0x3AD1
|
||||
.2byte 0x0649
|
||||
.2byte 0x2B3C
|
||||
.2byte 0x2360
|
||||
.2byte 0x3BB4
|
||||
.2byte 0x0635
|
||||
.2byte 0x2AAE
|
||||
.2byte 0x22EB
|
||||
.2byte 0x3C97
|
||||
.2byte 0x0620
|
||||
.2byte 0x2A20
|
||||
.2byte 0x2277
|
||||
.2byte 0x3D7A
|
||||
.2byte 0x060C
|
||||
.2byte 0x2992
|
||||
.2byte 0x2203
|
||||
.2byte 0x3E5D
|
||||
.2byte 0x05F7
|
||||
.2byte 0x2904
|
||||
.2byte 0x218F
|
||||
.2byte 0x3F40
|
||||
.2byte 0x05E2
|
||||
.2byte 0x2877
|
||||
.2byte 0x211B
|
||||
.2byte 0x4023
|
||||
.2byte 0x05CE
|
||||
.2byte 0x27E9
|
||||
.2byte 0x20A7
|
||||
.2byte 0x4106
|
||||
.2byte 0x05B9
|
||||
.2byte 0x275B
|
||||
.2byte 0x2033
|
||||
.2byte 0x41E9
|
||||
.2byte 0x05A4
|
||||
.2byte 0x26CD
|
||||
.2byte 0x1FBF
|
||||
.2byte 0x42CC
|
||||
.2byte 0x0590
|
||||
.2byte 0x263F
|
||||
.2byte 0x1F4B
|
||||
.2byte 0x43AF
|
||||
.2byte 0x057B
|
||||
.2byte 0x25B1
|
||||
.2byte 0x1ED7
|
||||
.2byte 0x4492
|
||||
.2byte 0x0566
|
||||
.2byte 0x2523
|
||||
.2byte 0x1E62
|
||||
.2byte 0x4575
|
||||
.2byte 0x0552
|
||||
.2byte 0x2495
|
||||
.2byte 0x1DEE
|
||||
.2byte 0x4658
|
||||
.2byte 0x053D
|
||||
.2byte 0x2407
|
||||
.2byte 0x1D7A
|
||||
.2byte 0x473B
|
||||
.2byte 0x0529
|
||||
.2byte 0x2379
|
||||
.2byte 0x1D06
|
||||
.2byte 0x481F
|
||||
.2byte 0x0514
|
||||
.2byte 0x22EB
|
||||
.2byte 0x1C92
|
||||
.2byte 0x4902
|
||||
.2byte 0x04FF
|
||||
.2byte 0x225E
|
||||
.2byte 0x1C1E
|
||||
.2byte 0x49E5
|
||||
.2byte 0x04EB
|
||||
.2byte 0x21D0
|
||||
.2byte 0x1BAA
|
||||
.2byte 0x4AC8
|
||||
.2byte 0x04D6
|
||||
.2byte 0x2142
|
||||
.2byte 0x1B36
|
||||
.2byte 0x4BAB
|
||||
.2byte 0x04C1
|
||||
.2byte 0x20B4
|
||||
.2byte 0x1AC2
|
||||
.2byte 0x4C8E
|
||||
.2byte 0x04AD
|
||||
.2byte 0x2026
|
||||
.2byte 0x1A4E
|
||||
.2byte 0x4D71
|
||||
.2byte 0x0498
|
||||
.2byte 0x1F98
|
||||
.2byte 0x19D9
|
||||
.2byte 0x4E54
|
||||
.2byte 0x0483
|
||||
.2byte 0x1F0A
|
||||
.2byte 0x1965
|
||||
.2byte 0x4F37
|
||||
.2byte 0x046F
|
||||
.2byte 0x1E7C
|
||||
.2byte 0x18F1
|
||||
.2byte 0x501A
|
||||
.2byte 0x045A
|
||||
.2byte 0x1DEE
|
||||
.2byte 0x187D
|
||||
.2byte 0x50FD
|
||||
.2byte 0x0445
|
||||
.2byte 0x1D60
|
||||
.2byte 0x1809
|
||||
.2byte 0x51E0
|
||||
.2byte 0x0431
|
||||
.2byte 0x1CD3
|
||||
.2byte 0x1795
|
||||
.2byte 0x52C3
|
||||
.2byte 0x041C
|
||||
.2byte 0x1C45
|
||||
.2byte 0x1721
|
||||
.2byte 0x53A6
|
||||
.2byte 0x0408
|
||||
.2byte 0x1BB7
|
||||
.2byte 0x16AD
|
||||
.2byte 0x5489
|
||||
.2byte 0x03F3
|
||||
.2byte 0x1B29
|
||||
.2byte 0x1639
|
||||
.2byte 0x556C
|
||||
.2byte 0x03DE
|
||||
.2byte 0x1A9B
|
||||
.2byte 0x15C4
|
||||
.2byte 0x564F
|
||||
.2byte 0x03CA
|
||||
.2byte 0x1A0D
|
||||
.2byte 0x1550
|
||||
.2byte 0x5732
|
||||
.2byte 0x03B5
|
||||
.2byte 0x197F
|
||||
.2byte 0x14DC
|
||||
.2byte 0x5815
|
||||
.2byte 0x03A0
|
||||
.2byte 0x18F1
|
||||
.2byte 0x1468
|
||||
.2byte 0x58F8
|
||||
.2byte 0x038C
|
||||
.2byte 0x1863
|
||||
.2byte 0x13F4
|
||||
.2byte 0x59DB
|
||||
.2byte 0x0377
|
||||
.2byte 0x17D5
|
||||
.2byte 0x1380
|
||||
.2byte 0x5ABF
|
||||
.2byte 0x0362
|
||||
.2byte 0x1747
|
||||
.2byte 0x130C
|
||||
.2byte 0x5BA2
|
||||
.2byte 0x034E
|
||||
.2byte 0x16BA
|
||||
.2byte 0x1298
|
||||
.2byte 0x5C85
|
||||
.2byte 0x0339
|
||||
.2byte 0x162C
|
||||
.2byte 0x1224
|
||||
.2byte 0x5D68
|
||||
.2byte 0x0324
|
||||
.2byte 0x159E
|
||||
.2byte 0x11B0
|
||||
.2byte 0x5E4B
|
||||
.2byte 0x0310
|
||||
.2byte 0x1510
|
||||
.2byte 0x113B
|
||||
.2byte 0x5F2E
|
||||
.2byte 0x02FB
|
||||
.2byte 0x1482
|
||||
.2byte 0x10C7
|
||||
.2byte 0x6011
|
||||
.2byte 0x02E7
|
||||
.2byte 0x13F4
|
||||
.2byte 0x1053
|
||||
.2byte 0x60F4
|
||||
.2byte 0x02D2
|
||||
.2byte 0x1366
|
||||
.2byte 0x0FDF
|
||||
.2byte 0x61D7
|
||||
.2byte 0x02BD
|
||||
.2byte 0x12D8
|
||||
.2byte 0x0F6B
|
||||
.2byte 0x62BA
|
||||
.2byte 0x02A9
|
||||
.2byte 0x124A
|
||||
.2byte 0x0EF7
|
||||
.2byte 0x639D
|
||||
.2byte 0x0294
|
||||
.2byte 0x11BC
|
||||
.2byte 0x0E83
|
||||
.2byte 0x6480
|
||||
.2byte 0x027F
|
||||
.2byte 0x112F
|
||||
.2byte 0x0E0F
|
||||
.2byte 0x6563
|
||||
.2byte 0x026B
|
||||
.2byte 0x10A1
|
||||
.2byte 0x0D9B
|
||||
.2byte 0x6646
|
||||
.2byte 0x0256
|
||||
.2byte 0x1013
|
||||
.2byte 0x0D27
|
||||
.2byte 0x6729
|
||||
.2byte 0x0241
|
||||
.2byte 0x0F85
|
||||
.2byte 0x0CB2
|
||||
.2byte 0x680C
|
||||
.2byte 0x022D
|
||||
.2byte 0x0EF7
|
||||
.2byte 0x0C3E
|
||||
.2byte 0x68EF
|
||||
.2byte 0x0218
|
||||
.2byte 0x0E69
|
||||
.2byte 0x0BCA
|
||||
.2byte 0x69D2
|
||||
.2byte 0x0204
|
||||
.2byte 0x0DDB
|
||||
.2byte 0x0B56
|
||||
.2byte 0x6AB5
|
||||
.2byte 0x01EF
|
||||
.2byte 0x0D4D
|
||||
.2byte 0x0AE2
|
||||
.2byte 0x6B98
|
||||
.2byte 0x01DA
|
||||
.2byte 0x0CBF
|
||||
.2byte 0x0A6E
|
||||
.2byte 0x6C7B
|
||||
.2byte 0x01C6
|
||||
.2byte 0x0C31
|
||||
.2byte 0x09FA
|
||||
.2byte 0x6D5F
|
||||
.2byte 0x01B1
|
||||
.2byte 0x0BA3
|
||||
.2byte 0x0986
|
||||
.2byte 0x6E42
|
||||
.2byte 0x019C
|
||||
.2byte 0x0B16
|
||||
.2byte 0x0912
|
||||
.2byte 0x6F25
|
||||
.2byte 0x0188
|
||||
.2byte 0x0A88
|
||||
.2byte 0x089D
|
||||
.2byte 0x7008
|
||||
.2byte 0x0173
|
||||
.2byte 0x09FA
|
||||
.2byte 0x0829
|
||||
.2byte 0x70EB
|
||||
.2byte 0x015E
|
||||
.2byte 0x096C
|
||||
.2byte 0x07B5
|
||||
.2byte 0x71CE
|
||||
.2byte 0x014A
|
||||
.2byte 0x08DE
|
||||
.2byte 0x0741
|
||||
.2byte 0x72B1
|
||||
.2byte 0x0135
|
||||
.2byte 0x0850
|
||||
.2byte 0x06CD
|
||||
.2byte 0x7394
|
||||
.2byte 0x0120
|
||||
.2byte 0x07C2
|
||||
.2byte 0x0659
|
||||
.2byte 0x7477
|
||||
.2byte 0x010C
|
||||
.2byte 0x0734
|
||||
.2byte 0x05E5
|
||||
.2byte 0x755A
|
||||
.2byte 0x00F7
|
||||
.2byte 0x06A6
|
||||
.2byte 0x0571
|
||||
.2byte 0x763D
|
||||
.2byte 0x00E3
|
||||
.2byte 0x0618
|
||||
.2byte 0x04FD
|
||||
.2byte 0x7720
|
||||
.2byte 0x00CE
|
||||
.2byte 0x058B
|
||||
.2byte 0x0489
|
||||
.2byte 0x7803
|
||||
.2byte 0x00B9
|
||||
.2byte 0x04FD
|
||||
.2byte 0x0414
|
||||
.2byte 0x78E6
|
||||
.2byte 0x00A5
|
||||
.2byte 0x046F
|
||||
.2byte 0x03A0
|
||||
.2byte 0x79C9
|
||||
.2byte 0x0090
|
||||
.2byte 0x03E1
|
||||
.2byte 0x032C
|
||||
.2byte 0x7AAC
|
||||
.2byte 0x007B
|
||||
.2byte 0x0353
|
||||
.2byte 0x02B8
|
||||
.2byte 0x7B8F
|
||||
.2byte 0x0067
|
||||
.2byte 0x02C5
|
||||
.2byte 0x0244
|
||||
.2byte 0x7C72
|
||||
.2byte 0x0052
|
||||
.2byte 0x0237
|
||||
.2byte 0x01D0
|
||||
.2byte 0x7D55
|
||||
.2byte 0x003D
|
||||
.2byte 0x01A9
|
||||
.2byte 0x015C
|
||||
.2byte 0x7E38
|
||||
.2byte 0x0029
|
||||
.2byte 0x011B
|
||||
.2byte 0x00E8
|
||||
.2byte 0x7F1B
|
||||
.2byte 0x0014
|
||||
.2byte 0x008D
|
||||
.2byte 0x0074
|
||||
.2byte 0x7FFF
|
||||
.2byte 0x0000
|
||||
.2byte 0x0000
|
||||
.2byte 0x0000
|
||||
.endobj CUTOFF_TO_IIR_TABLE__9JASPlayer
|
||||
.obj sAdsTable__9JASPlayer, global
|
||||
.4byte 0x00000000
|
||||
.4byte 0x7FFF0000
|
||||
.4byte 0x00007FFF
|
||||
.4byte 0x00000000
|
||||
.4byte 0x0000000E
|
||||
.4byte 0x00000000
|
||||
.endobj sAdsTable__9JASPlayer
|
||||
.obj sRelTable__9JASPlayer, global
|
||||
.4byte 0x0000000A
|
||||
.4byte 0x0000000F
|
||||
.4byte 0x00010000
|
||||
.endobj sRelTable__9JASPlayer
|
||||
.obj sVibTable__9JASPlayer, global
|
||||
.4byte 0x00000000
|
||||
.4byte 0x00000000
|
||||
.4byte 0x000C7FFF
|
||||
.4byte 0x0000000C
|
||||
.4byte 0x00000000
|
||||
.4byte 0x000CC000
|
||||
.4byte 0x0000000C
|
||||
.4byte 0x0000000D
|
||||
.4byte 0x00000001
|
||||
.endobj sVibTable__9JASPlayer
|
||||
.obj sTreTable__9JASPlayer, global
|
||||
.4byte 0x00000000
|
||||
.4byte 0x7FFF0000
|
||||
.4byte 0x00140000
|
||||
.4byte 0x00000014
|
||||
.4byte 0x80010000
|
||||
.4byte 0x00140000
|
||||
.4byte 0x00000014
|
||||
.4byte 0x7FFF000D
|
||||
.4byte 0x00000001
|
||||
.endobj sTreTable__9JASPlayer
|
||||
|
||||
.section .sbss # 0x80514D80 - 0x80516360
|
||||
.balign 8
|
||||
.obj sV0$663, local
|
||||
.skip 0x4
|
||||
.endobj sV0$663
|
||||
.obj init$664, local
|
||||
.skip 0x1
|
||||
.endobj init$664
|
||||
.balign 4
|
||||
.obj sV1$666, local
|
||||
.skip 0x4
|
||||
.endobj sV1$666
|
||||
.obj init$667, local
|
||||
.skip 0x1
|
||||
.endobj init$667
|
||||
|
||||
.section .sdata2, "a" # 0x80516360 - 0x80520E40
|
||||
.balign 8
|
||||
.obj lbl_80516D18, local
|
||||
.float 4.0
|
||||
.endobj lbl_80516D18
|
||||
.obj lbl_80516D1C, local
|
||||
.float 0.0
|
||||
.endobj lbl_80516D1C
|
||||
.obj lbl_80516D20, local
|
||||
.float 1.0
|
||||
.endobj lbl_80516D20
|
||||
.obj lbl_80516D24, local
|
||||
.float 64.0
|
||||
.endobj lbl_80516D24
|
||||
.balign 8
|
||||
.obj lbl_80516D28, local
|
||||
.8byte 0x4330000080000000
|
||||
.endobj lbl_80516D28
|
||||
|
||||
.section .text, "ax" # 0x800056C0 - 0x80472F00
|
||||
.fn extend8to16__9JASPlayerFUc, global
|
||||
/* 8009C5B4 000994F4 54 60 06 31 */ rlwinm. r0, r3, 0, 0x18, 0x18
|
||||
/* 8009C5B8 000994F8 54 63 06 3E */ clrlwi r3, r3, 0x18
|
||||
/* 8009C5BC 000994FC 4D 82 00 20 */ beqlr
|
||||
/* 8009C5C0 00099500 3C 63 00 01 */ addis r3, r3, 1
|
||||
/* 8009C5C4 00099504 38 03 FF 00 */ addi r0, r3, -256
|
||||
/* 8009C5C8 00099508 7C 03 07 34 */ extsh r3, r0
|
||||
/* 8009C5CC 0009950C 4E 80 00 20 */ blr
|
||||
.endfn extend8to16__9JASPlayerFUc
|
||||
|
||||
.fn pitchToCent__9JASPlayerFff, global
|
||||
/* 8009C5D0 00099510 94 21 FF D0 */ stwu r1, -0x30(r1)
|
||||
/* 8009C5D4 00099514 7C 08 02 A6 */ mflr r0
|
||||
/* 8009C5D8 00099518 90 01 00 34 */ stw r0, 0x34(r1)
|
||||
/* 8009C5DC 0009951C DB E1 00 20 */ stfd f31, 0x20(r1)
|
||||
/* 8009C5E0 00099520 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
|
||||
/* 8009C5E4 00099524 C0 02 89 B8 */ lfs f0, lbl_80516D18@sda21(r2)
|
||||
/* 8009C5E8 00099528 3C 00 43 30 */ lis r0, 0x4330
|
||||
/* 8009C5EC 0009952C 90 01 00 10 */ stw r0, 0x10(r1)
|
||||
/* 8009C5F0 00099530 EC 20 00 72 */ fmuls f1, f0, f1
|
||||
/* 8009C5F4 00099534 C8 62 89 C8 */ lfd f3, lbl_80516D28@sda21(r2)
|
||||
/* 8009C5F8 00099538 C0 02 89 BC */ lfs f0, lbl_80516D1C@sda21(r2)
|
||||
/* 8009C5FC 0009953C EC 41 00 B2 */ fmuls f2, f1, f2
|
||||
/* 8009C600 00099540 FC 20 10 1E */ fctiwz f1, f2
|
||||
/* 8009C604 00099544 FC 02 00 40 */ fcmpo cr0, f2, f0
|
||||
/* 8009C608 00099548 D8 21 00 08 */ stfd f1, 8(r1)
|
||||
/* 8009C60C 0009954C 80 61 00 0C */ lwz r3, 0xc(r1)
|
||||
/* 8009C610 00099550 7C 60 07 34 */ extsh r0, r3
|
||||
/* 8009C614 00099554 6C 00 80 00 */ xoris r0, r0, 0x8000
|
||||
/* 8009C618 00099558 90 01 00 14 */ stw r0, 0x14(r1)
|
||||
/* 8009C61C 0009955C C8 21 00 10 */ lfd f1, 0x10(r1)
|
||||
/* 8009C620 00099560 EC 21 18 28 */ fsubs f1, f1, f3
|
||||
/* 8009C624 00099564 EF E2 08 28 */ fsubs f31, f2, f1
|
||||
/* 8009C628 00099568 40 80 00 18 */ bge .L_8009C640
|
||||
/* 8009C62C 0009956C FC 00 F8 00 */ fcmpu cr0, f0, f31
|
||||
/* 8009C630 00099570 41 82 00 10 */ beq .L_8009C640
|
||||
/* 8009C634 00099574 C0 02 89 C0 */ lfs f0, lbl_80516D20@sda21(r2)
|
||||
/* 8009C638 00099578 38 63 FF FF */ addi r3, r3, -1
|
||||
/* 8009C63C 0009957C EF FF 00 2A */ fadds f31, f31, f0
|
||||
.L_8009C640:
|
||||
/* 8009C640 00099580 C0 02 89 C0 */ lfs f0, lbl_80516D20@sda21(r2)
|
||||
/* 8009C644 00099584 FC 1F 00 40 */ fcmpo cr0, f31, f0
|
||||
/* 8009C648 00099588 4C 41 13 82 */ cror 2, 1, 2
|
||||
/* 8009C64C 0009958C 40 82 00 0C */ bne .L_8009C658
|
||||
/* 8009C650 00099590 EF FF 00 28 */ fsubs f31, f31, f0
|
||||
/* 8009C654 00099594 38 63 00 01 */ addi r3, r3, 1
|
||||
.L_8009C658:
|
||||
/* 8009C658 00099598 7C 63 07 34 */ extsh r3, r3
|
||||
/* 8009C65C 0009959C 38 63 00 3C */ addi r3, r3, 0x3c
|
||||
/* 8009C660 000995A0 48 00 81 79 */ bl key2pitch_c5__9JASDriverFi
|
||||
/* 8009C664 000995A4 C0 02 89 C4 */ lfs f0, lbl_80516D24@sda21(r2)
|
||||
/* 8009C668 000995A8 3C 60 80 48 */ lis r3, s_key_table@ha
|
||||
/* 8009C66C 000995AC 38 63 8A E0 */ addi r3, r3, s_key_table@l
|
||||
/* 8009C670 000995B0 EC 00 07 F2 */ fmuls f0, f0, f31
|
||||
/* 8009C674 000995B4 FC 00 00 1E */ fctiwz f0, f0
|
||||
/* 8009C678 000995B8 D8 01 00 10 */ stfd f0, 0x10(r1)
|
||||
/* 8009C67C 000995BC 80 01 00 14 */ lwz r0, 0x14(r1)
|
||||
/* 8009C680 000995C0 54 00 13 BA */ rlwinm r0, r0, 2, 0xe, 0x1d
|
||||
/* 8009C684 000995C4 7C 03 04 2E */ lfsx f0, r3, r0
|
||||
/* 8009C688 000995C8 EC 20 00 72 */ fmuls f1, f0, f1
|
||||
/* 8009C68C 000995CC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
|
||||
/* 8009C690 000995D0 80 01 00 34 */ lwz r0, 0x34(r1)
|
||||
/* 8009C694 000995D4 CB E1 00 20 */ lfd f31, 0x20(r1)
|
||||
/* 8009C698 000995D8 7C 08 03 A6 */ mtlr r0
|
||||
/* 8009C69C 000995DC 38 21 00 30 */ addi r1, r1, 0x30
|
||||
/* 8009C6A0 000995E0 4E 80 00 20 */ blr
|
||||
.endfn pitchToCent__9JASPlayerFff
|
||||
|
||||
.fn getRandomS32__9JASPlayerFv, global
|
||||
/* 8009C6A4 000995E4 88 0D 8A 64 */ lbz r0, init$664@sda21(r13)
|
||||
/* 8009C6A8 000995E8 7C 00 07 75 */ extsb. r0, r0
|
||||
/* 8009C6AC 000995EC 40 82 00 14 */ bne .L_8009C6C0
|
||||
/* 8009C6B0 000995F0 38 60 10 00 */ li r3, 0x1000
|
||||
/* 8009C6B4 000995F4 38 00 00 01 */ li r0, 1
|
||||
/* 8009C6B8 000995F8 90 6D 8A 60 */ stw r3, sV0$663@sda21(r13)
|
||||
/* 8009C6BC 000995FC 98 0D 8A 64 */ stb r0, init$664@sda21(r13)
|
||||
.L_8009C6C0:
|
||||
/* 8009C6C0 00099600 88 0D 8A 6C */ lbz r0, init$667@sda21(r13)
|
||||
/* 8009C6C4 00099604 7C 00 07 75 */ extsb. r0, r0
|
||||
/* 8009C6C8 00099608 40 82 00 14 */ bne .L_8009C6DC
|
||||
/* 8009C6CC 0009960C 38 60 55 55 */ li r3, 0x5555
|
||||
/* 8009C6D0 00099610 38 00 00 01 */ li r0, 1
|
||||
/* 8009C6D4 00099614 90 6D 8A 68 */ stw r3, sV1$666@sda21(r13)
|
||||
/* 8009C6D8 00099618 98 0D 8A 6C */ stb r0, init$667@sda21(r13)
|
||||
.L_8009C6DC:
|
||||
/* 8009C6DC 0009961C 3C 60 13 58 */ lis r3, 0x13579BDE@ha
|
||||
/* 8009C6E0 00099620 80 8D 8A 60 */ lwz r4, sV0$663@sda21(r13)
|
||||
/* 8009C6E4 00099624 38 03 9B DE */ addi r0, r3, 0x13579BDE@l
|
||||
/* 8009C6E8 00099628 80 AD 8A 68 */ lwz r5, sV1$666@sda21(r13)
|
||||
/* 8009C6EC 0009962C 3C 60 98 76 */ lis r3, 0x98765432@ha
|
||||
/* 8009C6F0 00099630 38 63 54 32 */ addi r3, r3, 0x98765432@l
|
||||
/* 8009C6F4 00099634 90 AD 8A 60 */ stw r5, sV0$663@sda21(r13)
|
||||
/* 8009C6F8 00099638 7C 04 01 D6 */ mullw r0, r4, r0
|
||||
/* 8009C6FC 0009963C 7C 65 19 D6 */ mullw r3, r5, r3
|
||||
/* 8009C700 00099640 7C 00 26 70 */ srawi r0, r0, 4
|
||||
/* 8009C704 00099644 7C 63 02 14 */ add r3, r3, r0
|
||||
/* 8009C708 00099648 38 63 00 01 */ addi r3, r3, 1
|
||||
/* 8009C70C 0009964C 90 6D 8A 68 */ stw r3, sV1$666@sda21(r13)
|
||||
/* 8009C710 00099650 4E 80 00 20 */ blr
|
||||
.endfn getRandomS32__9JASPlayerFv
|
@ -321,7 +321,7 @@ LIBS = [
|
||||
["JSystem/JAudio/JAS/JASBank", True],
|
||||
["JSystem/JAudio/JAS/JASTrackPort", True],
|
||||
["JSystem/JAudio/JAS/JASOuterParam", True],
|
||||
["JSystem/JAudio/JAS/JASPlayer_impl", False],
|
||||
["JSystem/JAudio/JAS/JASPlayer_impl", True],
|
||||
["JSystem/JAudio/JAS/JASRegisterParam", True],
|
||||
["JSystem/JAudio/JAS/JASSeqCtrl", True],
|
||||
["JSystem/JAudio/JAS/JASSeqParser", False],
|
||||
|
@ -40,39 +40,39 @@
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAIObject.cpp">JAudio//JAI/JAIObject.cpp</a> | 11254 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio_JStage/object-light.cpp">JStudio_JStage/object-light.cpp</a> | 11408 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASDSPChannel.cpp">JAudio//JAS/JASDSPChannel.cpp</a> | 12096 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAIInitData.cpp">JAudio//JAI/JAIInitData.cpp</a> | 12734 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASTaskThread.cpp">JAudio//JAS/JASTaskThread.cpp</a> | 13136 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASWSParser.cpp">JAudio//JAS/JASWSParser.cpp</a> | 13462 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASPlayer_impl.cpp">JAudio//JAS/JASPlayer_impl.cpp</a> | 14134 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASAiCtrl.cpp">JAudio//JAS/JASAiCtrl.cpp</a> | 14267 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAISequenceHeap.cpp">JAudio//JAI/JAISequenceHeap.cpp</a> | 14530 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASOscillator.cpp">JAudio//JAS/JASOscillator.cpp</a> | 14813 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JGadget/std-vector.cpp">JGadget/std-vector.cpp</a> | 15951 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio/stb.cpp">JStudio/stb.cpp</a> | 16172 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio_JParticle/object-particle.cpp">JStudio_JParticle/object-particle.cpp</a> | 16538 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio_JStage/object-camera.cpp">JStudio_JStage/object-camera.cpp</a> | 17755 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DCluster.cpp">J3D/J3DCluster.cpp</a> | 18124 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAISystemInterface.cpp">JAudio//JAI/JAISystemInterface.cpp</a> | 18900 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DShape.cpp">J3D/J3DShape.cpp</a> | 19462 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DTransform.cpp">J3D/J3DTransform.cpp</a> | 19873 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio_JAudio/object-sound.cpp">JStudio_JAudio/object-sound.cpp</a> | 20083 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JMessage/resource.cpp">JMessage/resource.cpp</a> | 20331 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DModelLoaderCalcSize.cpp">J3D/J3DModelLoaderCalcSize.cpp</a> | 21239 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASHeapCtrl.cpp">JAudio//JAS/JASHeapCtrl.cpp</a> | 21414 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASBNKParser.cpp">JAudio//JAS/JASBNKParser.cpp</a> | 21657 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DWindow.cpp">J2D/J2DWindow.cpp</a> | 22735 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3DU/J3DUMotion.cpp">J3DU/J3DUMotion.cpp</a> | 23337 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DJoint.cpp">J3D/J3DJoint.cpp</a> | 23493 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DMaterial.cpp">J2D/J2DMaterial.cpp</a> | 23586 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JKernel/JKRHeap.cpp">JKernel/JKRHeap.cpp</a> | 23801 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DMtxBuffer.cpp">J3D/J3DMtxBuffer.cpp</a> | 23904 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JParticle/JPADynamicsBlock.cpp">JParticle/JPADynamicsBlock.cpp</a> | 24229 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DTextBoxEx.cpp">J2D/J2DTextBoxEx.cpp</a> | 24399 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DPacket.cpp">J3D/J3DPacket.cpp</a> | 24689 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAIAnimation.cpp">JAudio//JAI/JAIAnimation.cpp</a> | 24968 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DPane.cpp">J2D/J2DPane.cpp</a> | 26908 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DModel.cpp">J3D/J3DModel.cpp</a> | 28915 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DMaterial.cpp">J3D/J3DMaterial.cpp</a> | 29170 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DMaterialAttach.cpp">J3D/J3DMaterialAttach.cpp</a> | 29947 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAIBasic.cpp">JAudio//JAI/JAIBasic.cpp</a> | 31236 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASDSPInterface.cpp">JAudio//JAS/JASDSPInterface.cpp</a> | 33820 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio_JStage/object-actor.cpp">JStudio_JStage/object-actor.cpp</a> | 35160 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DScreen.cpp">J2D/J2DScreen.cpp</a> | 37227 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio/fvb.cpp">JStudio/fvb.cpp</a> | 37460 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DPrint.cpp">J2D/J2DPrint.cpp</a> | 38968 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JParticle/JPAParticle.cpp">JParticle/JPAParticle.cpp</a> | 39432 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASChannel.cpp">JAudio//JAS/JASChannel.cpp</a> | 39709 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DMaterialFactory.cpp">J2D/J2DMaterialFactory.cpp</a> | 39928 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASAramStream.cpp">JAudio//JAS/JASAramStream.cpp</a> | 40025 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DMaterialFactory_v21.cpp">J3D/J3DMaterialFactory_v21.cpp</a> | 41204 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DShapeMtx.cpp">J3D/J3DShapeMtx.cpp</a> | 42377 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DTevs.cpp">J3D/J3DTevs.cpp</a> | 44120 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DModelLoader.cpp">J3D/J3DModelLoader.cpp</a> | 47976 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JMessage/processor.cpp">JMessage/processor.cpp</a> | 49155 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JUtility/JUTGamePad.cpp">JUtility/JUTGamePad.cpp</a> | 52288 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAIStreamMgr.cpp">JAudio//JAI/JAIStreamMgr.cpp</a> | 62627 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DAnimation.cpp">J3D/J3DAnimation.cpp</a> | 65959 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAISeMgr.cpp">JAudio//JAI/JAISeMgr.cpp</a> | 68579 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASSeqParser.cpp">JAudio//JAS/JASSeqParser.cpp</a> | 68829 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JParticle/JPAFieldBlock.cpp">JParticle/JPAFieldBlock.cpp</a> | 69307 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DWindowEx.cpp">J2D/J2DWindowEx.cpp</a> | 72267 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAISound.cpp">JAudio//JAI/JAISound.cpp</a> | 79855 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DGD.cpp">J3D/J3DGD.cpp</a> | 81004 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JParticle/JPAResource.cpp">JParticle/JPAResource.cpp</a> | 81389 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DMaterialFactory.cpp">J3D/J3DMaterialFactory.cpp</a> | 83566 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAISequenceMgr.cpp">JAudio//JAI/JAISequenceMgr.cpp</a> | 88860 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DPicture.cpp">J2D/J2DPicture.cpp</a> | 92735 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASTrack.cpp">JAudio//JAS/JASTrack.cpp</a> | 96254 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JParticle/JPABaseShape.cpp">JParticle/JPABaseShape.cpp</a> | 105587 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio/functionvalue.cpp">JStudio/functionvalue.cpp</a> | 109415 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DPictureEx.cpp">J2D/J2DPictureEx.cpp</a> | 111006 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DMatBlock.cpp">J2D/J2DMatBlock.cpp</a> | 116686 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio/jstudio-object.cpp">JStudio/jstudio-object.cpp</a> | 144108 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DMatBlock.cpp">J3D/J3DMatBlock.cpp</a> | 311971 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASAiCtrl.cpp">JAudio//JAS/JASAiCtrl.cpp</a> | 14267 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAISequenceHeap.cpp">JAudio//JAI/JAISequenceHeap.cpp</a> | 14530 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASOscillator.cpp">JAudio//JAS/JASOscillator.cpp</a> | 14813 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JGadget/std-vector.cpp">JGadget/std-vector.cpp</a> | 15951 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio/stb.cpp">JStudio/stb.cpp</a> | 16172 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio_JParticle/object-particle.cpp">JStudio_JParticle/object-particle.cpp</a> | 16538 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio_JStage/object-camera.cpp">JStudio_JStage/object-camera.cpp</a> | 17755 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DCluster.cpp">J3D/J3DCluster.cpp</a> | 18124 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAISystemInterface.cpp">JAudio//JAI/JAISystemInterface.cpp</a> | 18900 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DShape.cpp">J3D/J3DShape.cpp</a> | 19462 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DTransform.cpp">J3D/J3DTransform.cpp</a> | 19873 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio_JAudio/object-sound.cpp">JStudio_JAudio/object-sound.cpp</a> | 20083 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JMessage/resource.cpp">JMessage/resource.cpp</a> | 20331 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DModelLoaderCalcSize.cpp">J3D/J3DModelLoaderCalcSize.cpp</a> | 21239 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASHeapCtrl.cpp">JAudio//JAS/JASHeapCtrl.cpp</a> | 21414 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASBNKParser.cpp">JAudio//JAS/JASBNKParser.cpp</a> | 21657 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DWindow.cpp">J2D/J2DWindow.cpp</a> | 22735 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3DU/J3DUMotion.cpp">J3DU/J3DUMotion.cpp</a> | 23337 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DJoint.cpp">J3D/J3DJoint.cpp</a> | 23493 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DMaterial.cpp">J2D/J2DMaterial.cpp</a> | 23586 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JKernel/JKRHeap.cpp">JKernel/JKRHeap.cpp</a> | 23801 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DMtxBuffer.cpp">J3D/J3DMtxBuffer.cpp</a> | 23904 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JParticle/JPADynamicsBlock.cpp">JParticle/JPADynamicsBlock.cpp</a> | 24229 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DTextBoxEx.cpp">J2D/J2DTextBoxEx.cpp</a> | 24399 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DPacket.cpp">J3D/J3DPacket.cpp</a> | 24689 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAIAnimation.cpp">JAudio//JAI/JAIAnimation.cpp</a> | 24968 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DPane.cpp">J2D/J2DPane.cpp</a> | 26908 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DModel.cpp">J3D/J3DModel.cpp</a> | 28915 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DMaterial.cpp">J3D/J3DMaterial.cpp</a> | 29170 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DMaterialAttach.cpp">J3D/J3DMaterialAttach.cpp</a> | 29947 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAIBasic.cpp">JAudio//JAI/JAIBasic.cpp</a> | 31236 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASDSPInterface.cpp">JAudio//JAS/JASDSPInterface.cpp</a> | 33820 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio_JStage/object-actor.cpp">JStudio_JStage/object-actor.cpp</a> | 35160 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DScreen.cpp">J2D/J2DScreen.cpp</a> | 37227 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio/fvb.cpp">JStudio/fvb.cpp</a> | 37460 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DPrint.cpp">J2D/J2DPrint.cpp</a> | 38968 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JParticle/JPAParticle.cpp">JParticle/JPAParticle.cpp</a> | 39432 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASChannel.cpp">JAudio//JAS/JASChannel.cpp</a> | 39709 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DMaterialFactory.cpp">J2D/J2DMaterialFactory.cpp</a> | 39928 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASAramStream.cpp">JAudio//JAS/JASAramStream.cpp</a> | 40025 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DMaterialFactory_v21.cpp">J3D/J3DMaterialFactory_v21.cpp</a> | 41204 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DShapeMtx.cpp">J3D/J3DShapeMtx.cpp</a> | 42377 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DTevs.cpp">J3D/J3DTevs.cpp</a> | 44120 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DModelLoader.cpp">J3D/J3DModelLoader.cpp</a> | 47976 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JMessage/processor.cpp">JMessage/processor.cpp</a> | 49155 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JUtility/JUTGamePad.cpp">JUtility/JUTGamePad.cpp</a> | 52288 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAIStreamMgr.cpp">JAudio//JAI/JAIStreamMgr.cpp</a> | 62627 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DAnimation.cpp">J3D/J3DAnimation.cpp</a> | 65959 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAISeMgr.cpp">JAudio//JAI/JAISeMgr.cpp</a> | 68579 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASSeqParser.cpp">JAudio//JAS/JASSeqParser.cpp</a> | 68829 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JParticle/JPAFieldBlock.cpp">JParticle/JPAFieldBlock.cpp</a> | 69307 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DWindowEx.cpp">J2D/J2DWindowEx.cpp</a> | 72267 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAISound.cpp">JAudio//JAI/JAISound.cpp</a> | 79855 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DGD.cpp">J3D/J3DGD.cpp</a> | 81004 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JParticle/JPAResource.cpp">JParticle/JPAResource.cpp</a> | 81389 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DMaterialFactory.cpp">J3D/J3DMaterialFactory.cpp</a> | 83566 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAI/JAISequenceMgr.cpp">JAudio//JAI/JAISequenceMgr.cpp</a> | 88860 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DPicture.cpp">J2D/J2DPicture.cpp</a> | 92735 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JAudio/JSystem/JAS/JASTrack.cpp">JAudio//JAS/JASTrack.cpp</a> | 96254 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JParticle/JPABaseShape.cpp">JParticle/JPABaseShape.cpp</a> | 105587 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio/functionvalue.cpp">JStudio/functionvalue.cpp</a> | 109415 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DPictureEx.cpp">J2D/J2DPictureEx.cpp</a> | 111006 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J2D/J2DMatBlock.cpp">J2D/J2DMatBlock.cpp</a> | 116686 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/JStudio/jstudio-object.cpp">JStudio/jstudio-object.cpp</a> | 144108 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/JSystem/J3D/J3DMatBlock.cpp">J3D/J3DMatBlock.cpp</a> | 311971 | | |
|
||||
|
||||
### <section id="plugProjectEbisawaU">plugProjectEbisawaU</section>
|
||||
| File | Size (bytes) | File | Size (bytes) |
|
||||
@ -189,7 +189,7 @@
|
||||
### <section id="plugProjectYamashitaU">plugProjectYamashitaU</section>
|
||||
| File | Size (bytes) | File | Size (bytes) |
|
||||
| ---- | ---- | ---- | ---- |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectYamashitaU/enemyStoneDrawInfo.cpp">enemyStoneDrawInfo.cpp</a> | 18822 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectYamashitaU/lifeGaugeMgr.cpp">lifeGaugeMgr.cpp</a> | 19437 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectYamashitaU/enemyStoneDrawInfo.cpp">enemyStoneDrawInfo.cpp</a> | 18822 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectYamashitaU/lifeGaugeMgr.cpp">lifeGaugeMgr.cpp</a> | 19683 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectYamashitaU/singleGS_ZukanParms.cpp">singleGS_ZukanParms.cpp</a> | 21519 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectYamashitaU/carryInfoMgr.cpp">carryInfoMgr.cpp</a> | 22599 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectYamashitaU/vtxAnm.cpp">vtxAnm.cpp</a> | 31268 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectYamashitaU/enemyAction.cpp">enemyAction.cpp</a> | 51416 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectYamashitaU/generalEnemyMgr.cpp">generalEnemyMgr.cpp</a> | 54897 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectYamashitaU/kochappyState.cpp">kochappyState.cpp</a> | 65810 |
|
||||
|
@ -1,437 +1,67 @@
|
||||
#include "JSystem/JAudio/JAS/JASPlayer.h"
|
||||
#include "types.h"
|
||||
#include "JSystem/JAudio/JAS/JASDriver.h"
|
||||
#include "JSystem/JAudio/JAS/JASOscillator.h"
|
||||
|
||||
/*
|
||||
Generated from dpostproc
|
||||
static const f32 s_key_table[] = {
|
||||
1.000000f, 1.000910f, 1.001821f, 1.002733f, 1.003645f, 1.004559f, 1.005473f, 1.006388f, 1.007304f, 1.008220f, 1.009138f,
|
||||
1.010056f, 1.010975f, 1.011896f, 1.012816f, 1.013738f, 1.014661f, 1.015584f, 1.016508f, 1.017433f, 1.018359f, 1.019286f,
|
||||
1.020214f, 1.021142f, 1.022071f, 1.023002f, 1.023933f, 1.024864f, 1.025797f, 1.026731f, 1.027665f, 1.028600f, 1.029536f,
|
||||
1.030473f, 1.031411f, 1.032350f, 1.033289f, 1.034230f, 1.035171f, 1.036113f, 1.037056f, 1.038000f, 1.038944f, 1.039890f,
|
||||
1.040836f, 1.041783f, 1.042731f, 1.043680f, 1.044630f, 1.045581f, 1.046532f, 1.047485f, 1.048438f, 1.049392f, 1.050347f,
|
||||
1.051303f, 1.052260f, 1.053217f, 1.054176f, 1.055135f, 1.056095f, 1.057056f, 1.058018f, 1.058981f,
|
||||
};
|
||||
|
||||
.section .rodata # 0x804732E0 - 0x8049E220
|
||||
.global s_key_table
|
||||
s_key_table:
|
||||
.float 1.0
|
||||
.4byte 0x3F801DD2
|
||||
.4byte 0x3F803BAC
|
||||
.4byte 0x3F80598E
|
||||
.4byte 0x3F807770
|
||||
.4byte 0x3F809564
|
||||
.4byte 0x3F80B357
|
||||
.4byte 0x3F80D152
|
||||
.4byte 0x3F80EF56
|
||||
.4byte 0x3F810D5A
|
||||
.4byte 0x3F812B6F
|
||||
.4byte 0x3F814984
|
||||
.4byte 0x3F8167A1
|
||||
.4byte 0x3F8185CF
|
||||
.4byte 0x3F81A3F4
|
||||
.4byte 0x3F81C22B
|
||||
.4byte 0x3F81E069
|
||||
.4byte 0x3F81FEA8
|
||||
.4byte 0x3F821CEF
|
||||
.4byte 0x3F823B3F
|
||||
.4byte 0x3F825996
|
||||
.4byte 0x3F8277F7
|
||||
.4byte 0x3F82965F
|
||||
.4byte 0x3F82B4C8
|
||||
.4byte 0x3F82D339
|
||||
.4byte 0x3F82F1BB
|
||||
.4byte 0x3F83103D
|
||||
.4byte 0x3F832EBE
|
||||
.4byte 0x3F834D51
|
||||
.4byte 0x3F836BEC
|
||||
.4byte 0x3F838A87
|
||||
.4byte 0x3F83A92A
|
||||
.4byte 0x3F83C7D6
|
||||
.4byte 0x3F83E68A
|
||||
.4byte 0x3F840547
|
||||
.4byte 0x3F84240B
|
||||
.4byte 0x3F8442D0
|
||||
.4byte 0x3F8461A6
|
||||
.4byte 0x3F84807C
|
||||
.4byte 0x3F849F5A
|
||||
.4byte 0x3F84BE40
|
||||
.4byte 0x3F84DD2F
|
||||
.4byte 0x3F84FC1E
|
||||
.4byte 0x3F851B1E
|
||||
.4byte 0x3F853A1D
|
||||
.4byte 0x3F855925
|
||||
.4byte 0x3F857836
|
||||
.4byte 0x3F85974E
|
||||
.4byte 0x3F85B670
|
||||
.4byte 0x3F85D599
|
||||
.4byte 0x3F85F4C3
|
||||
.4byte 0x3F8613FD
|
||||
.4byte 0x3F863337
|
||||
.4byte 0x3F86527A
|
||||
.4byte 0x3F8671C5
|
||||
.4byte 0x3F869119
|
||||
.4byte 0x3F86B075
|
||||
.4byte 0x3F86CFD1
|
||||
.4byte 0x3F86EF3D
|
||||
.4byte 0x3F870EAA
|
||||
.4byte 0x3F872E1F
|
||||
.4byte 0x3F874D9C
|
||||
.4byte 0x3F876D22
|
||||
.4byte 0x3F878CB0
|
||||
.global sAdsrDef__9JASPlayer
|
||||
sAdsrDef__9JASPlayer:
|
||||
.4byte 0x00000000
|
||||
.float 1.0
|
||||
.4byte 0x00000000
|
||||
.4byte 0x00000000
|
||||
.float 1.0
|
||||
.4byte 0x00000000
|
||||
.global sEnvelopeDef__9JASPlayer
|
||||
sEnvelopeDef__9JASPlayer:
|
||||
.4byte 0x00000000
|
||||
.float 1.0
|
||||
.4byte 0x00000000
|
||||
.4byte sRelTable__9JASPlayer
|
||||
.float 1.0
|
||||
.4byte 0x00000000
|
||||
.global sVibratoDef__9JASPlayer
|
||||
sVibratoDef__9JASPlayer:
|
||||
.4byte 0x00000001
|
||||
.float 0.5
|
||||
.4byte sVibTable__9JASPlayer
|
||||
.4byte sVibTable__9JASPlayer
|
||||
.4byte 0x00000000
|
||||
.float 1.0
|
||||
.global sTremoroDef__9JASPlayer
|
||||
sTremoroDef__9JASPlayer:
|
||||
.4byte 0x00000000
|
||||
.float 0.5
|
||||
.4byte sTreTable__9JASPlayer
|
||||
.4byte sTreTable__9JASPlayer
|
||||
.4byte 0x00000000
|
||||
.float 1.0
|
||||
const JASOscillator::Data JASPlayer::sAdsrDef = { 0, 1.0f, nullptr, nullptr, 1.0f, 0.0f };
|
||||
|
||||
.section .data, "wa" # 0x8049E220 - 0x804EFC20
|
||||
.global CUTOFF_TO_IIR_TABLE__9JASPlayer
|
||||
CUTOFF_TO_IIR_TABLE__9JASPlayer:
|
||||
.4byte 0x0F5C0A3D
|
||||
.4byte 0x46653999
|
||||
.4byte 0x103F0A28
|
||||
.4byte 0x45D73925
|
||||
.4byte 0x11220A14
|
||||
.4byte 0x454A38B0
|
||||
.4byte 0x120509FF
|
||||
.4byte 0x44BC383C
|
||||
.4byte 0x12E809EA
|
||||
.4byte 0x442E37C8
|
||||
.4byte 0x13CB09D6
|
||||
.4byte 0x43A03754
|
||||
.4byte 0x14AE09C1
|
||||
.4byte 0x431236E0
|
||||
.4byte 0x159109AC
|
||||
.4byte 0x4284366C
|
||||
.4byte 0x16740998
|
||||
.4byte 0x41F635F8
|
||||
.4byte 0x17570983
|
||||
.4byte 0x41683584
|
||||
.4byte 0x183A096E
|
||||
.4byte 0x40DA3510
|
||||
.4byte 0x191D095A
|
||||
.4byte 0x404C349C
|
||||
.4byte 0x1A000945
|
||||
.4byte 0x3FBE3427
|
||||
.4byte 0x1AE30931
|
||||
.4byte 0x3F3133B3
|
||||
.4byte 0x1BC6091C
|
||||
.4byte 0x3EA3333F
|
||||
.4byte 0x1CA90907
|
||||
.4byte 0x3E1532CB
|
||||
.4byte 0x1D8C08F3
|
||||
.4byte 0x3D873257
|
||||
.4byte 0x1E6F08DE
|
||||
.4byte 0x3CF931E3
|
||||
.4byte 0x1F5208C9
|
||||
.4byte 0x3C6B316F
|
||||
.4byte 0x203508B5
|
||||
.4byte 0x3BDD30FB
|
||||
.4byte 0x211808A0
|
||||
.4byte 0x3B4F3087
|
||||
.4byte 0x21FC088B
|
||||
.4byte 0x3AC13012
|
||||
.4byte 0x22DF0877
|
||||
.4byte 0x3A332F9E
|
||||
.4byte 0x23C20862
|
||||
.4byte 0x39A62F2A
|
||||
.4byte 0x24A5084D
|
||||
.4byte 0x39182EB6
|
||||
.4byte 0x25880839
|
||||
.4byte 0x388A2E42
|
||||
.4byte 0x266B0824
|
||||
.4byte 0x37FC2DCE
|
||||
.4byte 0x274E0810
|
||||
.4byte 0x376E2D5A
|
||||
.4byte 0x283107FB
|
||||
.4byte 0x36E02CE6
|
||||
.4byte 0x291407E6
|
||||
.4byte 0x36522C72
|
||||
.4byte 0x29F707D2
|
||||
.4byte 0x35C42BFE
|
||||
.4byte 0x2ADA07BD
|
||||
.4byte 0x35362B89
|
||||
.4byte 0x2BBD07A8
|
||||
.4byte 0x34A82B15
|
||||
.4byte 0x2CA00794
|
||||
.4byte 0x341B2AA1
|
||||
.4byte 0x2D83077F
|
||||
.4byte 0x338D2A2D
|
||||
.4byte 0x2E66076A
|
||||
.4byte 0x32FF29B9
|
||||
.4byte 0x2F490756
|
||||
.4byte 0x32712945
|
||||
.4byte 0x302C0741
|
||||
.4byte 0x31E328D1
|
||||
.4byte 0x310F072D
|
||||
.4byte 0x3155285D
|
||||
.4byte 0x31F20718
|
||||
.4byte 0x30C727E9
|
||||
.4byte 0x32D50703
|
||||
.4byte 0x30392775
|
||||
.4byte 0x33B806EF
|
||||
.4byte 0x2FAB2700
|
||||
.4byte 0x349C06DA
|
||||
.4byte 0x2F1D268C
|
||||
.4byte 0x357F06C5
|
||||
.4byte 0x2E8F2618
|
||||
.4byte 0x366206B1
|
||||
.4byte 0x2E0225A4
|
||||
.4byte 0x3745069C
|
||||
.4byte 0x2D742530
|
||||
.4byte 0x38280687
|
||||
.4byte 0x2CE624BC
|
||||
.4byte 0x390B0673
|
||||
.4byte 0x2C582448
|
||||
.4byte 0x39EE065E
|
||||
.4byte 0x2BCA23D4
|
||||
.4byte 0x3AD10649
|
||||
.4byte 0x2B3C2360
|
||||
.4byte 0x3BB40635
|
||||
.4byte 0x2AAE22EB
|
||||
.4byte 0x3C970620
|
||||
.4byte 0x2A202277
|
||||
.4byte 0x3D7A060C
|
||||
.4byte 0x29922203
|
||||
.4byte 0x3E5D05F7
|
||||
.4byte 0x2904218F
|
||||
.4byte 0x3F4005E2
|
||||
.4byte 0x2877211B
|
||||
.4byte 0x402305CE
|
||||
.4byte 0x27E920A7
|
||||
.4byte 0x410605B9
|
||||
.4byte 0x275B2033
|
||||
.4byte 0x41E905A4
|
||||
.4byte 0x26CD1FBF
|
||||
.4byte 0x42CC0590
|
||||
.4byte 0x263F1F4B
|
||||
.4byte 0x43AF057B
|
||||
.4byte 0x25B11ED7
|
||||
.4byte 0x44920566
|
||||
.4byte 0x25231E62
|
||||
.4byte 0x45750552
|
||||
.4byte 0x24951DEE
|
||||
.4byte 0x4658053D
|
||||
.4byte 0x24071D7A
|
||||
.4byte 0x473B0529
|
||||
.4byte 0x23791D06
|
||||
.4byte 0x481F0514
|
||||
.4byte 0x22EB1C92
|
||||
.4byte 0x490204FF
|
||||
.4byte 0x225E1C1E
|
||||
.4byte 0x49E504EB
|
||||
.4byte 0x21D01BAA
|
||||
.4byte 0x4AC804D6
|
||||
.4byte 0x21421B36
|
||||
.4byte 0x4BAB04C1
|
||||
.4byte 0x20B41AC2
|
||||
.4byte 0x4C8E04AD
|
||||
.4byte 0x20261A4E
|
||||
.4byte 0x4D710498
|
||||
.4byte 0x1F9819D9
|
||||
.4byte 0x4E540483
|
||||
.4byte 0x1F0A1965
|
||||
.4byte 0x4F37046F
|
||||
.4byte 0x1E7C18F1
|
||||
.4byte 0x501A045A
|
||||
.4byte 0x1DEE187D
|
||||
.4byte 0x50FD0445
|
||||
.4byte 0x1D601809
|
||||
.4byte 0x51E00431
|
||||
.4byte 0x1CD31795
|
||||
.4byte 0x52C3041C
|
||||
.4byte 0x1C451721
|
||||
.4byte 0x53A60408
|
||||
.4byte 0x1BB716AD
|
||||
.4byte 0x548903F3
|
||||
.4byte 0x1B291639
|
||||
.4byte 0x556C03DE
|
||||
.4byte 0x1A9B15C4
|
||||
.4byte 0x564F03CA
|
||||
.4byte 0x1A0D1550
|
||||
.4byte 0x573203B5
|
||||
.4byte 0x197F14DC
|
||||
.4byte 0x581503A0
|
||||
.4byte 0x18F11468
|
||||
.4byte 0x58F8038C
|
||||
.4byte 0x186313F4
|
||||
.4byte 0x59DB0377
|
||||
.4byte 0x17D51380
|
||||
.4byte 0x5ABF0362
|
||||
.4byte 0x1747130C
|
||||
.4byte 0x5BA2034E
|
||||
.4byte 0x16BA1298
|
||||
.4byte 0x5C850339
|
||||
.4byte 0x162C1224
|
||||
.4byte 0x5D680324
|
||||
.4byte 0x159E11B0
|
||||
.4byte 0x5E4B0310
|
||||
.4byte 0x1510113B
|
||||
.4byte 0x5F2E02FB
|
||||
.4byte 0x148210C7
|
||||
.4byte 0x601102E7
|
||||
.4byte 0x13F41053
|
||||
.4byte 0x60F402D2
|
||||
.4byte 0x13660FDF
|
||||
.4byte 0x61D702BD
|
||||
.4byte 0x12D80F6B
|
||||
.4byte 0x62BA02A9
|
||||
.4byte 0x124A0EF7
|
||||
.4byte 0x639D0294
|
||||
.4byte 0x11BC0E83
|
||||
.4byte 0x6480027F
|
||||
.4byte 0x112F0E0F
|
||||
.4byte 0x6563026B
|
||||
.4byte 0x10A10D9B
|
||||
.4byte 0x66460256
|
||||
.4byte 0x10130D27
|
||||
.4byte 0x67290241
|
||||
.4byte 0x0F850CB2
|
||||
.4byte 0x680C022D
|
||||
.4byte 0x0EF70C3E
|
||||
.4byte 0x68EF0218
|
||||
.4byte 0x0E690BCA
|
||||
.4byte 0x69D20204
|
||||
.4byte 0x0DDB0B56
|
||||
.4byte 0x6AB501EF
|
||||
.4byte 0x0D4D0AE2
|
||||
.4byte 0x6B9801DA
|
||||
.4byte 0x0CBF0A6E
|
||||
.4byte 0x6C7B01C6
|
||||
.4byte 0x0C3109FA
|
||||
.4byte 0x6D5F01B1
|
||||
.4byte 0x0BA30986
|
||||
.4byte 0x6E42019C
|
||||
.4byte 0x0B160912
|
||||
.4byte 0x6F250188
|
||||
.4byte 0x0A88089D
|
||||
.4byte 0x70080173
|
||||
.4byte 0x09FA0829
|
||||
.4byte 0x70EB015E
|
||||
.4byte 0x096C07B5
|
||||
.4byte 0x71CE014A
|
||||
.4byte 0x08DE0741
|
||||
.4byte 0x72B10135
|
||||
.4byte 0x085006CD
|
||||
.4byte 0x73940120
|
||||
.4byte 0x07C20659
|
||||
.4byte 0x7477010C
|
||||
.4byte 0x073405E5
|
||||
.4byte 0x755A00F7
|
||||
.4byte 0x06A60571
|
||||
.4byte 0x763D00E3
|
||||
.4byte 0x061804FD
|
||||
.4byte 0x772000CE
|
||||
.4byte 0x058B0489
|
||||
.4byte 0x780300B9
|
||||
.4byte 0x04FD0414
|
||||
.4byte 0x78E600A5
|
||||
.4byte 0x046F03A0
|
||||
.4byte 0x79C90090
|
||||
.4byte 0x03E1032C
|
||||
.4byte 0x7AAC007B
|
||||
.4byte 0x035302B8
|
||||
.4byte 0x7B8F0067
|
||||
.4byte 0x02C50244
|
||||
.4byte 0x7C720052
|
||||
.4byte 0x023701D0
|
||||
.4byte 0x7D55003D
|
||||
.4byte 0x01A9015C
|
||||
.4byte 0x7E380029
|
||||
.4byte 0x011B00E8
|
||||
.4byte 0x7F1B0014
|
||||
.4byte 0x008D0074
|
||||
.4byte 0x7FFF0000
|
||||
.4byte 0x00000000
|
||||
.global sAdsTable__9JASPlayer
|
||||
sAdsTable__9JASPlayer:
|
||||
.4byte 0x00000000
|
||||
.4byte 0x7FFF0000
|
||||
.4byte 0x00007FFF
|
||||
.4byte 0x00000000
|
||||
.4byte 0x0000000E
|
||||
.4byte 0x00000000
|
||||
.global sRelTable__9JASPlayer
|
||||
sRelTable__9JASPlayer:
|
||||
.4byte 0x0000000A
|
||||
.4byte 0x0000000F
|
||||
.4byte 0x00010000
|
||||
.global sVibTable__9JASPlayer
|
||||
sVibTable__9JASPlayer:
|
||||
.4byte 0x00000000
|
||||
.4byte 0x00000000
|
||||
.4byte 0x000C7FFF
|
||||
.4byte 0x0000000C
|
||||
.4byte 0x00000000
|
||||
.4byte 0x000CC000
|
||||
.4byte 0x0000000C
|
||||
.4byte 0x0000000D
|
||||
.4byte 0x00000001
|
||||
.global sTreTable__9JASPlayer
|
||||
sTreTable__9JASPlayer:
|
||||
.4byte 0x00000000
|
||||
.4byte 0x7FFF0000
|
||||
.4byte 0x00140000
|
||||
.4byte 0x00000014
|
||||
.4byte 0x80010000
|
||||
.4byte 0x00140000
|
||||
.4byte 0x00000014
|
||||
.4byte 0x7FFF000D
|
||||
.4byte 0x00000001
|
||||
.4byte 0x00000000
|
||||
const JASOscillator::Data JASPlayer::sEnvelopeDef = { 0, 1.0f, nullptr, sRelTable, 1.0f, 0.0f };
|
||||
|
||||
.section .sbss # 0x80514D80 - 0x80516360
|
||||
.global sV0$663
|
||||
sV0$663:
|
||||
.skip 0x4
|
||||
.global init$664
|
||||
init$664:
|
||||
.skip 0x4
|
||||
.global sV1$666
|
||||
sV1$666:
|
||||
.skip 0x4
|
||||
.global init$667
|
||||
init$667:
|
||||
.skip 0x4
|
||||
const JASOscillator::Data JASPlayer::sVibratoDef = { 1, 0.5f, sVibTable, sVibTable, 0.0f, 1.0f };
|
||||
|
||||
.section .sdata2, "a" # 0x80516360 - 0x80520E40
|
||||
.global lbl_80516D18
|
||||
lbl_80516D18:
|
||||
.4byte 0x40800000
|
||||
.global lbl_80516D1C
|
||||
lbl_80516D1C:
|
||||
.4byte 0x00000000
|
||||
.global lbl_80516D20
|
||||
lbl_80516D20:
|
||||
.float 1.0
|
||||
.global lbl_80516D24
|
||||
lbl_80516D24:
|
||||
.4byte 0x42800000
|
||||
.global lbl_80516D28
|
||||
lbl_80516D28:
|
||||
.4byte 0x43300000
|
||||
.4byte 0x80000000
|
||||
*/
|
||||
const JASOscillator::Data JASPlayer::sTremoroDef = { 0, 0.5f, sTreTable, sTreTable, 0.0f, 1.0f };
|
||||
|
||||
s16 JASPlayer::CUTOFF_TO_IIR_TABLE[] = {
|
||||
0x0F5C, 0x0A3D, 0x4665, 0x3999, 0x103F, 0x0A28, 0x45D7, 0x3925, 0x1122, 0x0A14, 0x454A, 0x38B0, 0x1205, 0x09FF, 0x44BC, 0x383C, 0x12E8,
|
||||
0x09EA, 0x442E, 0x37C8, 0x13CB, 0x09D6, 0x43A0, 0x3754, 0x14AE, 0x09C1, 0x4312, 0x36E0, 0x1591, 0x09AC, 0x4284, 0x366C, 0x1674, 0x0998,
|
||||
0x41F6, 0x35F8, 0x1757, 0x0983, 0x4168, 0x3584, 0x183A, 0x096E, 0x40DA, 0x3510, 0x191D, 0x095A, 0x404C, 0x349C, 0x1A00, 0x0945, 0x3FBE,
|
||||
0x3427, 0x1AE3, 0x0931, 0x3F31, 0x33B3, 0x1BC6, 0x091C, 0x3EA3, 0x333F, 0x1CA9, 0x0907, 0x3E15, 0x32CB, 0x1D8C, 0x08F3, 0x3D87, 0x3257,
|
||||
0x1E6F, 0x08DE, 0x3CF9, 0x31E3, 0x1F52, 0x08C9, 0x3C6B, 0x316F, 0x2035, 0x08B5, 0x3BDD, 0x30FB, 0x2118, 0x08A0, 0x3B4F, 0x3087, 0x21FC,
|
||||
0x088B, 0x3AC1, 0x3012, 0x22DF, 0x0877, 0x3A33, 0x2F9E, 0x23C2, 0x0862, 0x39A6, 0x2F2A, 0x24A5, 0x084D, 0x3918, 0x2EB6, 0x2588, 0x0839,
|
||||
0x388A, 0x2E42, 0x266B, 0x0824, 0x37FC, 0x2DCE, 0x274E, 0x0810, 0x376E, 0x2D5A, 0x2831, 0x07FB, 0x36E0, 0x2CE6, 0x2914, 0x07E6, 0x3652,
|
||||
0x2C72, 0x29F7, 0x07D2, 0x35C4, 0x2BFE, 0x2ADA, 0x07BD, 0x3536, 0x2B89, 0x2BBD, 0x07A8, 0x34A8, 0x2B15, 0x2CA0, 0x0794, 0x341B, 0x2AA1,
|
||||
0x2D83, 0x077F, 0x338D, 0x2A2D, 0x2E66, 0x076A, 0x32FF, 0x29B9, 0x2F49, 0x0756, 0x3271, 0x2945, 0x302C, 0x0741, 0x31E3, 0x28D1, 0x310F,
|
||||
0x072D, 0x3155, 0x285D, 0x31F2, 0x0718, 0x30C7, 0x27E9, 0x32D5, 0x0703, 0x3039, 0x2775, 0x33B8, 0x06EF, 0x2FAB, 0x2700, 0x349C, 0x06DA,
|
||||
0x2F1D, 0x268C, 0x357F, 0x06C5, 0x2E8F, 0x2618, 0x3662, 0x06B1, 0x2E02, 0x25A4, 0x3745, 0x069C, 0x2D74, 0x2530, 0x3828, 0x0687, 0x2CE6,
|
||||
0x24BC, 0x390B, 0x0673, 0x2C58, 0x2448, 0x39EE, 0x065E, 0x2BCA, 0x23D4, 0x3AD1, 0x0649, 0x2B3C, 0x2360, 0x3BB4, 0x0635, 0x2AAE, 0x22EB,
|
||||
0x3C97, 0x0620, 0x2A20, 0x2277, 0x3D7A, 0x060C, 0x2992, 0x2203, 0x3E5D, 0x05F7, 0x2904, 0x218F, 0x3F40, 0x05E2, 0x2877, 0x211B, 0x4023,
|
||||
0x05CE, 0x27E9, 0x20A7, 0x4106, 0x05B9, 0x275B, 0x2033, 0x41E9, 0x05A4, 0x26CD, 0x1FBF, 0x42CC, 0x0590, 0x263F, 0x1F4B, 0x43AF, 0x057B,
|
||||
0x25B1, 0x1ED7, 0x4492, 0x0566, 0x2523, 0x1E62, 0x4575, 0x0552, 0x2495, 0x1DEE, 0x4658, 0x053D, 0x2407, 0x1D7A, 0x473B, 0x0529, 0x2379,
|
||||
0x1D06, 0x481F, 0x0514, 0x22EB, 0x1C92, 0x4902, 0x04FF, 0x225E, 0x1C1E, 0x49E5, 0x04EB, 0x21D0, 0x1BAA, 0x4AC8, 0x04D6, 0x2142, 0x1B36,
|
||||
0x4BAB, 0x04C1, 0x20B4, 0x1AC2, 0x4C8E, 0x04AD, 0x2026, 0x1A4E, 0x4D71, 0x0498, 0x1F98, 0x19D9, 0x4E54, 0x0483, 0x1F0A, 0x1965, 0x4F37,
|
||||
0x046F, 0x1E7C, 0x18F1, 0x501A, 0x045A, 0x1DEE, 0x187D, 0x50FD, 0x0445, 0x1D60, 0x1809, 0x51E0, 0x0431, 0x1CD3, 0x1795, 0x52C3, 0x041C,
|
||||
0x1C45, 0x1721, 0x53A6, 0x0408, 0x1BB7, 0x16AD, 0x5489, 0x03F3, 0x1B29, 0x1639, 0x556C, 0x03DE, 0x1A9B, 0x15C4, 0x564F, 0x03CA, 0x1A0D,
|
||||
0x1550, 0x5732, 0x03B5, 0x197F, 0x14DC, 0x5815, 0x03A0, 0x18F1, 0x1468, 0x58F8, 0x038C, 0x1863, 0x13F4, 0x59DB, 0x0377, 0x17D5, 0x1380,
|
||||
0x5ABF, 0x0362, 0x1747, 0x130C, 0x5BA2, 0x034E, 0x16BA, 0x1298, 0x5C85, 0x0339, 0x162C, 0x1224, 0x5D68, 0x0324, 0x159E, 0x11B0, 0x5E4B,
|
||||
0x0310, 0x1510, 0x113B, 0x5F2E, 0x02FB, 0x1482, 0x10C7, 0x6011, 0x02E7, 0x13F4, 0x1053, 0x60F4, 0x02D2, 0x1366, 0x0FDF, 0x61D7, 0x02BD,
|
||||
0x12D8, 0x0F6B, 0x62BA, 0x02A9, 0x124A, 0x0EF7, 0x639D, 0x0294, 0x11BC, 0x0E83, 0x6480, 0x027F, 0x112F, 0x0E0F, 0x6563, 0x026B, 0x10A1,
|
||||
0x0D9B, 0x6646, 0x0256, 0x1013, 0x0D27, 0x6729, 0x0241, 0x0F85, 0x0CB2, 0x680C, 0x022D, 0x0EF7, 0x0C3E, 0x68EF, 0x0218, 0x0E69, 0x0BCA,
|
||||
0x69D2, 0x0204, 0x0DDB, 0x0B56, 0x6AB5, 0x01EF, 0x0D4D, 0x0AE2, 0x6B98, 0x01DA, 0x0CBF, 0x0A6E, 0x6C7B, 0x01C6, 0x0C31, 0x09FA, 0x6D5F,
|
||||
0x01B1, 0x0BA3, 0x0986, 0x6E42, 0x019C, 0x0B16, 0x0912, 0x6F25, 0x0188, 0x0A88, 0x089D, 0x7008, 0x0173, 0x09FA, 0x0829, 0x70EB, 0x015E,
|
||||
0x096C, 0x07B5, 0x71CE, 0x014A, 0x08DE, 0x0741, 0x72B1, 0x0135, 0x0850, 0x06CD, 0x7394, 0x0120, 0x07C2, 0x0659, 0x7477, 0x010C, 0x0734,
|
||||
0x05E5, 0x755A, 0x00F7, 0x06A6, 0x0571, 0x763D, 0x00E3, 0x0618, 0x04FD, 0x7720, 0x00CE, 0x058B, 0x0489, 0x7803, 0x00B9, 0x04FD, 0x0414,
|
||||
0x78E6, 0x00A5, 0x046F, 0x03A0, 0x79C9, 0x0090, 0x03E1, 0x032C, 0x7AAC, 0x007B, 0x0353, 0x02B8, 0x7B8F, 0x0067, 0x02C5, 0x0244, 0x7C72,
|
||||
0x0052, 0x0237, 0x01D0, 0x7D55, 0x003D, 0x01A9, 0x015C, 0x7E38, 0x0029, 0x011B, 0x00E8, 0x7F1B, 0x0014, 0x008D, 0x0074, 0x7FFF, 0x0000,
|
||||
0x0000, 0x0000,
|
||||
};
|
||||
|
||||
s16 JASPlayer::sAdsTable[] = {
|
||||
0x0000, 0x0000, 0x7FFF, 0x0000, 0x0000, 0x7FFF, 0x0000, 0x0000, 0x0000, 0x000E, 0x0000, 0x0000,
|
||||
};
|
||||
|
||||
s16 JASPlayer::sRelTable[] = { 0, 10, 0, 15, 1, 0 };
|
||||
|
||||
s16 JASPlayer::sVibTable[] = { 0, 0, 0, 0, 12, 0x7FFF, 0, 12, 0, 0, 12, 0xC000, 0, 12, 0, 13, 0, 1 };
|
||||
|
||||
s16 JASPlayer::sTreTable[] = { 0, 0, 0x7FFF, 0, 20, 0, 0, 20, 0x8001, 0, 20, 0, 0, 20, 0x7FFF, 13, 0, 1 };
|
||||
|
||||
/**
|
||||
* @note Address: 0x8009C5B4
|
||||
@ -449,67 +79,20 @@ s16 JASPlayer::extend8to16(u8 value)
|
||||
* @note Address: 0x8009C5D0
|
||||
* @note Size: 0xD4
|
||||
*/
|
||||
f32 JASPlayer::pitchToCent(f32, f32)
|
||||
f32 JASPlayer::pitchToCent(f32 p1, f32 p2)
|
||||
{
|
||||
/*
|
||||
stwu r1, -0x30(r1)
|
||||
mflr r0
|
||||
stw r0, 0x34(r1)
|
||||
stfd f31, 0x20(r1)
|
||||
psq_st f31, 40(r1), 0, qr0
|
||||
lfs f0, lbl_80516D18@sda21(r2)
|
||||
lis r0, 0x4330
|
||||
stw r0, 0x10(r1)
|
||||
fmuls f1, f0, f1
|
||||
lfd f3, lbl_80516D28@sda21(r2)
|
||||
lfs f0, lbl_80516D1C@sda21(r2)
|
||||
fmuls f2, f1, f2
|
||||
fctiwz f1, f2
|
||||
fcmpo cr0, f2, f0
|
||||
stfd f1, 8(r1)
|
||||
lwz r3, 0xc(r1)
|
||||
extsh r0, r3
|
||||
xoris r0, r0, 0x8000
|
||||
stw r0, 0x14(r1)
|
||||
lfd f1, 0x10(r1)
|
||||
fsubs f1, f1, f3
|
||||
fsubs f31, f2, f1
|
||||
bge lbl_8009C640
|
||||
fcmpu cr0, f0, f31
|
||||
beq lbl_8009C640
|
||||
lfs f0, lbl_80516D20@sda21(r2)
|
||||
addi r3, r3, -1
|
||||
fadds f31, f31, f0
|
||||
|
||||
lbl_8009C640:
|
||||
lfs f0, lbl_80516D20@sda21(r2)
|
||||
fcmpo cr0, f31, f0
|
||||
cror 2, 1, 2
|
||||
bne lbl_8009C658
|
||||
fsubs f31, f31, f0
|
||||
addi r3, r3, 1
|
||||
|
||||
lbl_8009C658:
|
||||
extsh r3, r3
|
||||
addi r3, r3, 0x3c
|
||||
bl key2pitch_c5__9JASDriverFi
|
||||
lfs f0, lbl_80516D24@sda21(r2)
|
||||
lis r3, s_key_table@ha
|
||||
addi r3, r3, s_key_table@l
|
||||
fmuls f0, f0, f31
|
||||
fctiwz f0, f0
|
||||
stfd f0, 0x10(r1)
|
||||
lwz r0, 0x14(r1)
|
||||
rlwinm r0, r0, 2, 0xe, 0x1d
|
||||
lfsx f0, r3, r0
|
||||
fmuls f1, f0, f1
|
||||
psq_l f31, 40(r1), 0, qr0
|
||||
lwz r0, 0x34(r1)
|
||||
lfd f31, 0x20(r1)
|
||||
mtlr r0
|
||||
addi r1, r1, 0x30
|
||||
blr
|
||||
*/
|
||||
f32 var1 = p1 * 4.0f * p2;
|
||||
s16 var3 = var1;
|
||||
f32 var2 = var1 - var3;
|
||||
if (var1 < 0.0f && var2 != 0.0f) {
|
||||
var2 += 1.0f;
|
||||
var3 -= 1;
|
||||
}
|
||||
if (var2 >= 1.0f) {
|
||||
var2 -= 1.0f;
|
||||
var3 += 1;
|
||||
}
|
||||
return s_key_table[u16(var2 * 64.0f)] * JASDriver::key2pitch_c5(var3 + 0x3c);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -518,38 +101,10 @@ lbl_8009C658:
|
||||
*/
|
||||
s32 JASPlayer::getRandomS32()
|
||||
{
|
||||
/*
|
||||
lbz r0, init$664@sda21(r13)
|
||||
extsb. r0, r0
|
||||
bne lbl_8009C6C0
|
||||
li r3, 0x1000
|
||||
li r0, 1
|
||||
stw r3, sV0$663@sda21(r13)
|
||||
stb r0, init$664@sda21(r13)
|
||||
|
||||
lbl_8009C6C0:
|
||||
lbz r0, init$667@sda21(r13)
|
||||
extsb. r0, r0
|
||||
bne lbl_8009C6DC
|
||||
li r3, 0x5555
|
||||
li r0, 1
|
||||
stw r3, sV1$666@sda21(r13)
|
||||
stb r0, init$667@sda21(r13)
|
||||
|
||||
lbl_8009C6DC:
|
||||
lis r3, 0x13579BDE@ha
|
||||
lwz r4, sV0$663@sda21(r13)
|
||||
addi r0, r3, 0x13579BDE@l
|
||||
lwz r5, sV1$666@sda21(r13)
|
||||
lis r3, 0x98765432@ha
|
||||
addi r3, r3, 0x98765432@l
|
||||
stw r5, sV0$663@sda21(r13)
|
||||
mullw r0, r4, r0
|
||||
mullw r3, r5, r3
|
||||
srawi r0, r0, 4
|
||||
add r3, r3, r0
|
||||
addi r3, r3, 1
|
||||
stw r3, sV1$666@sda21(r13)
|
||||
blr
|
||||
*/
|
||||
static s32 sV0 = 0x1000;
|
||||
static s32 sV1 = 0x5555;
|
||||
s32 result = sV1 * -0x6789abce + 1 + (sV0 * 0x13579bde >> 4);
|
||||
sV0 = sV1;
|
||||
sV1 = result;
|
||||
return result;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ JAUDIO_JAS_FILES:=\
|
||||
$(BUILD_DIR)/src/JSystem/JAudio/JAS/JASBank.o\
|
||||
$(BUILD_DIR)/src/JSystem/JAudio/JAS/JASTrackPort.o\
|
||||
$(BUILD_DIR)/src/JSystem/JAudio/JAS/JASOuterParam.o\
|
||||
$(BUILD_DIR)/asm/JSystem/JAudio/JAS/JASPlayer_impl.o\
|
||||
$(BUILD_DIR)/src/JSystem/JAudio/JAS/JASPlayer_impl.o\
|
||||
$(BUILD_DIR)/src/JSystem/JAudio/JAS/JASRegisterParam.o\
|
||||
$(BUILD_DIR)/src/JSystem/JAudio/JAS/JASSeqCtrl.o\
|
||||
$(BUILD_DIR)/asm/JSystem/JAudio/JAS/JASSeqParser.o\
|
||||
|
@ -843,3 +843,5 @@ You have 3769 out of 10000 Pokos and 94 out of 201 treasures.",2023-12-30 11:56:
|
||||
You have 3771 out of 10000 Pokos and 95 out of 201 treasures.",2023-12-31 01:45:33.639207
|
||||
3772,1755028,0.3772345686654836,95,337627,0.4736258094201353,"
|
||||
You have 3772 out of 10000 Pokos and 95 out of 201 treasures.",2023-12-31 01:57:05.378378
|
||||
3773,1755380,0.3773102293205673,95,339149,0.47576088298337954,"
|
||||
You have 3773 out of 10000 Pokos and 95 out of 201 treasures.",2023-12-31 02:08:20.491811
|
||||
|
|
Loading…
Reference in New Issue
Block a user