mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 20:42:41 +01:00
more progz
This commit is contained in:
parent
e33c0b0d60
commit
052f201f6e
@ -256,87 +256,3 @@ glabel D_80078164
|
||||
|
||||
glabel D_80078168
|
||||
.word 0x001D0074, 0x001D0075
|
||||
|
||||
glabel D_80078170
|
||||
.word 0x00000000
|
||||
|
||||
glabel nuAuPreNMIFunc
|
||||
.word 0x00000000
|
||||
|
||||
glabel nuAuDmaNext
|
||||
.word 0x00000000
|
||||
|
||||
glabel nuAuFrameCounter
|
||||
.word 0x00000000
|
||||
|
||||
glabel D_80078180
|
||||
.byte 0x01
|
||||
|
||||
glabel D_80078181
|
||||
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
|
||||
glabel D_80078190
|
||||
.word 0xF8030125, 0x07D0FDBC, 0xF8860355, 0x06FCFBAB, 0xFEDAF82D, 0x0245077D, 0xFCA9F901, 0x0456065D, 0xFC33FBB2, 0xFCEFFE94, 0xFFD80080, 0x00A4007D, 0x090E0673, 0x02FF0053, 0xFEF2FEA7, 0xFEF9FF7B
|
||||
|
||||
glabel D_800781D0
|
||||
.word 0xB1011110, 0x00FFFE34, 0xBB90E21E, 0x00FB10EF, 0xF2D180C4, 0xB3B1D3CF, 0xD1FDFE80, 0x1D2D3D3B, 0x2C3BFC1D, 0x80DEF0D0, 0xD3D2B3D1, 0xF480A203, 0xD00DA9EA, 0xCB729041, 0x4E1D2D0C, 0x1E102F90, 0xF21203F0, 0xC2D1D4F3, 0x80B0A1BF, 0xD21E1270, 0x4D804C39, 0x2C7E306D, 0xB9CF90E1, 0xF2F3F2E1, 0xE21622C1, 0xE728F4F0, 0x211010FF, 0xA1ED9F2F, 0xF561333C, 0xD0A1DAC2, 0xFF144122, 0x2DEFA1FA, 0xE10E2330, 0x320EF091, 0x9AF2CF55, 0x1361EE1C, 0x919D0FD2, 0x52064DE1, 0x0991D01B, 0x152E36FD, 0x12CB8122, 0xBC65F073, 0xCE3FAE71, 0x4E9370F5, 0x6ED21BD1, 0x610A5D00, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078290
|
||||
.word 0x00000003, 0x0000000B, 0x00000000, 0x00000009, 0x00002666, 0xFFFFD99A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000007, 0x00000CCC, 0xFFFFF334, 0x00003FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000A, 0x00001388, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00005000
|
||||
|
||||
glabel D_800782F8
|
||||
.word 0x00000001, 0x0000000B, 0x00000000, 0x0000000A, 0x00004E20, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00007FFF
|
||||
|
||||
glabel D_80078320
|
||||
.word 0x00000001, 0x0000000D, 0x00000000, 0x0000000C, 0x00004E20, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00007FFF
|
||||
|
||||
glabel D_80078348
|
||||
.short 0x0000, 0x0001, 0x0000, 0x000E, 0x0000, 0x0000, 0x0000, 0x000D, 0x0000, 0x4E20, 0x0000, 0x0000, 0x0000, 0x7FFF, 0x0000, 0x0000, 0x0000
|
||||
|
||||
glabel D_8007836A
|
||||
.short 0x0000, 0x0000, 0x7FFF, 0x034A, 0x0349, 0x0100, 0x0000, 0x0100, 0x0000, 0x0008, 0x0012, 0x3C7F, 0x2D7F, 0x2B5F, 0x1D00, 0xFF00, 0x2700, 0xFF00, 0x0000, 0x0100, 0x0000, 0x0008, 0x001A, 0x3C7F, 0x237F, 0x3C3F, 0x2A1F, 0x2A0F, 0x2A07, 0x2A03, 0x3600, 0xFF00, 0x3600, 0xFF00, 0x0000, 0x3433, 0x7F26, 0x3F16, 0x00FF, 0x343B, 0x7F3B, 0x3FFF, 0x0000
|
||||
|
||||
glabel D_800783C0
|
||||
.word 0x80078378, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390
|
||||
|
||||
glabel D_80078400
|
||||
.word 0x8004CE70, 0x8004CEA4, 0x8004CEC4, 0x8004CF0C
|
||||
|
||||
glabel D_80078410
|
||||
.word 0x8004CF3C, 0x8004D00C, 0x8004D038, 0x8004D050, 0x8004D07C, 0x8004D114, 0x8004D130, 0x8004D15C, 0x8004D180, 0x8004D1B4, 0x8004D23C, 0x8004D2B0, 0x8004D2E4, 0x8004D310, 0x8004D31C, 0x8004D324, 0x8004D33C, 0x8004D354, 0x8004D36C, 0x8004D3A0, 0x8004D3F8
|
||||
|
||||
glabel D_80078464
|
||||
.word 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078470
|
||||
.word 0x8004FBBC, 0x8004FCB4, 0x8004FCE4, 0x8004FD04, 0x8004FD94, 0x8004FE10, 0x8004FD38, 0x80050560, 0x8004FE6C, 0x8004FEB0, 0x8004FF3C, 0x8004FF58, 0x8004FF70, 0x8004FF88, 0x8004FFA8, 0x8004FFB4, 0x8004FFC8, 0x8004FFE4, 0x8004FFF0, 0x8004FFFC, 0x80050004, 0x80050020, 0x8004FED0, 0x80050128, 0x80050560, 0x80050560, 0x80050560, 0x80050560, 0x800501A8, 0x8005015C, 0x80050184, 0x800502F0, 0x02010101, 0x04030200, 0x02010101, 0x01010102, 0x03010100, 0x02010301, 0x00000000, 0x03030303
|
||||
|
||||
glabel D_80078510
|
||||
.word 0x30182028, 0x30384030, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078520
|
||||
.word 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078530
|
||||
.word 0x00000200, 0x08001200, 0x20003200, 0x48006200, 0x80000000
|
||||
|
||||
glabel D_80078544
|
||||
.word 0x01000000, 0x0008000C
|
||||
|
||||
glabel D_8007854C
|
||||
.word 0x3D7FFF00, 0x3400FF00
|
||||
|
||||
glabel D_80078554
|
||||
.word 0x5C00FF00
|
||||
|
||||
glabel D_80078558
|
||||
.ascii "^]\\[ZXVSQOJE@;7531/-+)'&%#! "
|
||||
|
||||
glabel D_80078580
|
||||
.word 0x03040506, 0x0708090A, 0x0B0C0D0E, 0x0F101112, 0x13141516, 0x17000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_800785A0
|
||||
.word 0x0393756C, 0x034736DE, 0x02FAE1DA, 0x02AEA34C, 0x02624E48, 0x0215F944, 0x01C9BAB6, 0x01A39034, 0x017D65B2, 0x015751A6, 0x01312724, 0x0121E2F0, 0x01129EBC, 0x01035A88, 0x00F41654, 0x00E4D220, 0x00D58DEC, 0x00C649B8, 0x00B70584, 0x00A7D7C6, 0x00989392, 0x00894F5E, 0x007A0B2A, 0x006AC6F6, 0x005B82C2, 0x004C3E8E, 0x00449C74, 0x003CFA5A, 0x00355840, 0x002DB626, 0x0029F054, 0x0026140C, 0x00224E3A, 0x001E71F2, 0x001CF41C, 0x001B7646, 0x0019E1FA, 0x00186424, 0x0016CFD8, 0x00155202, 0x0013D42C, 0x00123FE0, 0x0010C20A, 0x000F2DBE, 0x000E7A0E, 0x000DAFE8, 0x000CE5C2, 0x000C3212, 0x000B67EC, 0x000A9DC6, 0x0009EA16, 0x00091FF0, 0x000855CA, 0x00078BA4, 0x0006D7F4, 0x00060DCE, 0x0005B3F6, 0x000543A8, 0x0004E9D0, 0x00048FF8, 0x0004630C, 0x00043620, 0x00040934, 0x0003F2BE, 0x0003C5D2, 0x000398E6, 0x00038270, 0x00035584, 0x00032898, 0x0002FBAC, 0x0002E536, 0x0002B84A, 0x00028B5E, 0x00025E72, 0x000247FC, 0x00021B10, 0x0001EE24, 0x0001C138, 0x0001AAC2, 0x00017DD6, 0x00016760, 0x00013A74, 0x00010D88, 0x0000F712, 0x0000E09C, 0x0000CA26, 0x0000B3B0, 0x00009D3A, 0x000086C4, 0x0000704E, 0x000059D8, 0x00004362, 0x00002CEC, 0x00001676, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078730
|
||||
.word 0x3F800000, 0x3F8012EF, 0x3F8025E1, 0x3F8038D6, 0x3F804BCD, 0x3F805EC7, 0x3F8071C4, 0x3F8084C4, 0x3F8097C7, 0x3F80AACC, 0x3F80BDD4, 0x3F80D0DF, 0x3F80E3ED, 0x3F80F6FE, 0x3F810A12, 0x3F811D28, 0x3F813041, 0x3F81435D, 0x3F81567C, 0x3F81699E, 0x3F817CC2, 0x3F818FE9, 0x3F81A313, 0x3F81B640, 0x3F81C970, 0x3F81DCA3, 0x3F81EFD9, 0x3F820311, 0x3F82164C, 0x3F82298A, 0x3F823CCB, 0x3F82500F, 0x3F826356, 0x3F82769F, 0x3F8289EB, 0x3F829D3A, 0x3F82B08C, 0x3F82C3E1, 0x3F82D739, 0x3F82EA94, 0x3F82FDF1, 0x3F831151, 0x3F8324B4, 0x3F83381A, 0x3F834B83, 0x3F835EEF, 0x3F83725E, 0x3F8385D0, 0x3F839944, 0x3F83ACBB, 0x3F83C035, 0x3F83D3B2, 0x3F83E732, 0x3F83FAB5, 0x3F840E3B, 0x3F8421C4, 0x3F84354F, 0x3F8448DD, 0x3F845C6E, 0x3F847002, 0x3F848399, 0x3F849733, 0x3F84AAD0, 0x3F84BE70, 0x3F84D213, 0x3F84E5B9, 0x3F84F961, 0x3F850D0C, 0x3F8520BA, 0x3F85346B, 0x3F85481F, 0x3F855BD6, 0x3F856F90, 0x3F85834D, 0x3F85970D, 0x3F85AAD0, 0x3F85BE96, 0x3F85D25F, 0x3F85E62A, 0x3F85F9F8, 0x3F860DC9, 0x3F86219D, 0x3F863574, 0x3F86494E, 0x3F865D2B, 0x3F86710B, 0x3F8684EE, 0x3F8698D4, 0x3F86ACBD, 0x3F86C0A9, 0x3F86D498, 0x3F86E88A, 0x3F86FC7F, 0x3F871077, 0x3F872472, 0x3F87386F, 0x3F874C6F, 0x3F876072, 0x3F877478, 0x3F878881, 0x3F879C8D, 0x3F87B09C, 0x3F87C4AE, 0x3F87D8C3, 0x3F87ECDB, 0x3F8800F6, 0x3F881514, 0x3F882935, 0x3F883D59, 0x3F885180, 0x3F8865AA, 0x3F8879D7, 0x3F888E07, 0x3F88A23A, 0x3F88B670, 0x3F88CAA9, 0x3F88DEE5, 0x3F88F324, 0x3F890766, 0x3F891BAB, 0x3F892FF3, 0x3F89443E, 0x3F89588C, 0x3F896CDD, 0x3F898131, 0x3F899588, 0x3F89A9E2, 0x3F89BE3F, 0x3F800000, 0x3F89D29F, 0x3F946637, 0x3F9FC997, 0x3FAC0CB1, 0x3FB940B0, 0x3FC77811, 0x3FD6C6BB, 0x3FE7421D, 0x3FF9014B, 0x40060E8F, 0x4010582B, 0x401B6BE2, 0x40275936, 0x403430DA, 0x404204C9, 0x4050E860, 0x4060F077, 0x40723381, 0x408264D5, 0x408C667B, 0x40972CB6, 0x40A2C69C, 0x40AF446B, 0x40BCB7A0, 0x40CB3311, 0x40DACB04, 0x40EB954F, 0x40FDA974, 0x41089062, 0x41130B3F, 0x411E53FF, 0x3F800000, 0x3F7FDA28, 0x3F7FB456, 0x3F7F8E89, 0x3F7F68C2, 0x3F7F4300, 0x3F7F1D44, 0x3F7EF78E, 0x3F7ED1DD, 0x3F7EAC32, 0x3F7E868C, 0x3F7E60EC, 0x3F7E3B51, 0x3F7E15BC, 0x3F7DF02C, 0x3F7DCAA2, 0x3F7DA51E, 0x3F7D7F9F, 0x3F7D5A26, 0x3F7D34B2, 0x3F7D0F44, 0x3F7CE9DB, 0x3F7CC478, 0x3F7C9F1A, 0x3F7C79C2, 0x3F7C546F, 0x3F7C2F22, 0x3F7C09DA, 0x3F7BE498, 0x3F7BBF5B, 0x3F7B9A24, 0x3F7B74F2, 0x3F7B4FC6, 0x3F7B2A9F, 0x3F7B057E, 0x3F7AE062, 0x3F7ABB4C, 0x3F7A963B, 0x3F7A7130, 0x3F7A4C2A, 0x3F7A272A, 0x3F7A022F, 0x3F79DD3A, 0x3F79B84A, 0x3F799360, 0x3F796E7B, 0x3F79499C, 0x3F7924C2, 0x3F78FFED, 0x3F78DB1E, 0x3F78B654, 0x3F789190, 0x3F786CD1, 0x3F784818, 0x3F782364, 0x3F77FEB6, 0x3F77DA0D, 0x3F77B569, 0x3F7790CB, 0x3F776C32, 0x3F77479F, 0x3F772311, 0x3F76FE88, 0x3F76DA05, 0x3F76B587, 0x3F76910F, 0x3F766C9C, 0x3F76482E, 0x3F7623C6, 0x3F75FF63, 0x3F75DB06, 0x3F75B6AE, 0x3F75925B, 0x3F756E0E, 0x3F7549C6, 0x3F752583, 0x3F750146, 0x3F74DD0E, 0x3F74B8DB, 0x3F7494AE, 0x3F747086, 0x3F744C63, 0x3F742846, 0x3F74042E, 0x3F73E01C, 0x3F73BC0F, 0x3F739807, 0x3F737404, 0x3F735007, 0x3F732C0F, 0x3F73081C, 0x3F72E42F, 0x3F72C047, 0x3F729C64, 0x3F727887, 0x3F7254AF, 0x3F7230DC, 0x3F720D0F, 0x3F71E947, 0x3F71C584, 0x3F71A1C6, 0x3F717E0E, 0x3F715A5B, 0x3F7136AD, 0x3F711305, 0x3F70EF62, 0x3F70CBC4, 0x3F70A82B, 0x3F708498, 0x3F70610A, 0x3F703D81, 0x3F7019FD, 0x3F6FF67F, 0x3F6FD306, 0x3F6FAF92, 0x3F6F8C23, 0x3F6F68BA, 0x3F6F4556, 0x3F6F21F7, 0x3F6EFE9D, 0x3F6EDB49, 0x3F6EB7FA, 0x3F6E94B0, 0x3F6E716B, 0x3F6E4E2B, 0x3F6E2AF1, 0x3F6E07BC, 0x3F6DE48C, 0x3F800000, 0x3F6DC161, 0x3F5CCFA0, 0x3F4D1303, 0x3F3E7583, 0x3F30E2A9, 0x3F244774, 0x3F18923F, 0x3F0DB2A4, 0x3F03996B, 0x3EF470E1, 0x3EE30526, 0x3ED2D741, 0x3EC3D08B, 0x3EB5DBFB, 0x3EA8E607, 0x3E9CDC8A, 0x3E91AEA9, 0x3E874CBE, 0x3E7B5080, 0x3E69675D, 0x3E58C500, 0x3E495220, 0x3E3AF91B, 0x3E2DA5DB, 0x3E2145B8, 0x3E15C75E, 0x3E0B1AB6, 0x3E0130CE, 0x3DEFF78B, 0x3DDEDD71, 0x3DCEFB5A, 0x3DC03B0C, 0x3DB287E0, 0x3DA5CEA6, 0x3D99FD90, 0x3D8F0410, 0x3D84D2CB, 0x3D76B6F6, 0x3D6521C0, 0x3D54CD52, 0x3D45A2D5, 0x3D378D0A, 0x3D2A7839, 0x3D1E5213, 0x3D130992, 0x3D088EF0, 0x3CFDA6F5, 0x3CEB932C, 0x3CDAC934, 0x3CCB318C, 0x3CBCB65A, 0x3CAF435F, 0x3CA2C5C3, 0x3C972C06, 0x3C8C65F5, 0x3C826474, 0x3C7232F8, 0x3C60F025, 0x3C50E83A, 0x3C4204D2, 0x3C3430FF, 0x3C275980, 0x3C1B6C42, 0x3C10589D, 0x3C060F18, 0x3BF90275, 0x3BE7435B, 0x3BD6C80E, 0x3BC7797C, 0x3BB9422B, 0x3BAC0E26, 0x3B9FCB0C, 0x3B9467C1, 0x3B89D42A, 0x3B800183, 0x3B6DC413, 0x3B5CD229, 0x3B4D1572, 0x3B3E77CA, 0x3B30E4BA, 0x3B24494B, 0x3B18940B, 0x3B0DB45E, 0x3B039B00, 0x3AF473B0, 0x3AE307F8, 0x3AD2D9AC, 0x3AC3D2FE, 0x3AB5DE1E, 0x3AA8E7EB, 0x3A9CDE48, 0x3A91B06C, 0x3A874E3D, 0x3A7B5348, 0x3A696A67, 0x3A58C7AD, 0x3A495447, 0x3A3AFB69, 0x3A2DA799, 0x3A214763, 0x3A15C955, 0x3A0B1CA9, 0x3A01329B, 0x39EFFA23, 0x39DEDFF5, 0x39CEFD29, 0x39C03D9D, 0x39B28A81, 0x39A5D10A, 0x3999FFC6, 0x398F0541, 0x3984D410, 0x3976BADD, 0x39652533, 0x3954CEFA, 0x3945A566, 0x39379050, 0x392A7A3D, 0x391E5312, 0x39130AB4, 0x39089109, 0x38FDABE8, 0x38EB9814, 0x38DACBBE, 0x38CB316C, 0x38BCB903, 0x38AF47AC
|
||||
|
69
asm/data/code_26840_len_20d0.data.s
Normal file
69
asm/data/code_26840_len_20d0.data.s
Normal file
@ -0,0 +1,69 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
|
||||
glabel D_80078190
|
||||
.word 0xF8030125, 0x07D0FDBC, 0xF8860355, 0x06FCFBAB, 0xFEDAF82D, 0x0245077D, 0xFCA9F901, 0x0456065D, 0xFC33FBB2, 0xFCEFFE94, 0xFFD80080, 0x00A4007D, 0x090E0673, 0x02FF0053, 0xFEF2FEA7, 0xFEF9FF7B
|
||||
|
||||
glabel D_800781D0
|
||||
.word 0xB1011110, 0x00FFFE34, 0xBB90E21E, 0x00FB10EF, 0xF2D180C4, 0xB3B1D3CF, 0xD1FDFE80, 0x1D2D3D3B, 0x2C3BFC1D, 0x80DEF0D0, 0xD3D2B3D1, 0xF480A203, 0xD00DA9EA, 0xCB729041, 0x4E1D2D0C, 0x1E102F90, 0xF21203F0, 0xC2D1D4F3, 0x80B0A1BF, 0xD21E1270, 0x4D804C39, 0x2C7E306D, 0xB9CF90E1, 0xF2F3F2E1, 0xE21622C1, 0xE728F4F0, 0x211010FF, 0xA1ED9F2F, 0xF561333C, 0xD0A1DAC2, 0xFF144122, 0x2DEFA1FA, 0xE10E2330, 0x320EF091, 0x9AF2CF55, 0x1361EE1C, 0x919D0FD2, 0x52064DE1, 0x0991D01B, 0x152E36FD, 0x12CB8122, 0xBC65F073, 0xCE3FAE71, 0x4E9370F5, 0x6ED21BD1, 0x610A5D00, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078290
|
||||
.word 0x00000003, 0x0000000B, 0x00000000, 0x00000009, 0x00002666, 0xFFFFD99A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000007, 0x00000CCC, 0xFFFFF334, 0x00003FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000A, 0x00001388, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00005000
|
||||
|
||||
glabel D_800782F8
|
||||
.word 0x00000001, 0x0000000B, 0x00000000, 0x0000000A, 0x00004E20, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00007FFF
|
||||
|
||||
glabel D_80078320
|
||||
.word 0x00000001, 0x0000000D, 0x00000000, 0x0000000C, 0x00004E20, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00007FFF
|
||||
|
||||
glabel D_80078348
|
||||
.short 0x0000, 0x0001, 0x0000, 0x000E, 0x0000, 0x0000, 0x0000, 0x000D, 0x0000, 0x4E20, 0x0000, 0x0000, 0x0000, 0x7FFF, 0x0000, 0x0000, 0x0000
|
||||
|
||||
glabel D_8007836A
|
||||
.short 0x0000, 0x0000, 0x7FFF, 0x034A, 0x0349, 0x0100, 0x0000, 0x0100, 0x0000, 0x0008, 0x0012, 0x3C7F, 0x2D7F, 0x2B5F, 0x1D00, 0xFF00, 0x2700, 0xFF00, 0x0000, 0x0100, 0x0000, 0x0008, 0x001A, 0x3C7F, 0x237F, 0x3C3F, 0x2A1F, 0x2A0F, 0x2A07, 0x2A03, 0x3600, 0xFF00, 0x3600, 0xFF00, 0x0000, 0x3433, 0x7F26, 0x3F16, 0x00FF, 0x343B, 0x7F3B, 0x3FFF, 0x0000
|
||||
|
||||
glabel D_800783C0
|
||||
.word 0x80078378, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390
|
||||
|
||||
glabel D_80078400
|
||||
.word 0x8004CE70, 0x8004CEA4, 0x8004CEC4, 0x8004CF0C
|
||||
|
||||
glabel D_80078410
|
||||
.word 0x8004CF3C, 0x8004D00C, 0x8004D038, 0x8004D050, 0x8004D07C, 0x8004D114, 0x8004D130, 0x8004D15C, 0x8004D180, 0x8004D1B4, 0x8004D23C, 0x8004D2B0, 0x8004D2E4, 0x8004D310, 0x8004D31C, 0x8004D324, 0x8004D33C, 0x8004D354, 0x8004D36C, 0x8004D3A0, 0x8004D3F8
|
||||
|
||||
glabel D_80078464
|
||||
.word 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078470
|
||||
.word 0x8004FBBC, 0x8004FCB4, 0x8004FCE4, 0x8004FD04, 0x8004FD94, 0x8004FE10, 0x8004FD38, 0x80050560, 0x8004FE6C, 0x8004FEB0, 0x8004FF3C, 0x8004FF58, 0x8004FF70, 0x8004FF88, 0x8004FFA8, 0x8004FFB4, 0x8004FFC8, 0x8004FFE4, 0x8004FFF0, 0x8004FFFC, 0x80050004, 0x80050020, 0x8004FED0, 0x80050128, 0x80050560, 0x80050560, 0x80050560, 0x80050560, 0x800501A8, 0x8005015C, 0x80050184, 0x800502F0, 0x02010101, 0x04030200, 0x02010101, 0x01010102, 0x03010100, 0x02010301, 0x00000000, 0x03030303
|
||||
|
||||
glabel D_80078510
|
||||
.word 0x30182028, 0x30384030, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078520
|
||||
.word 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078530
|
||||
.word 0x00000200, 0x08001200, 0x20003200, 0x48006200, 0x80000000
|
||||
|
||||
glabel D_80078544
|
||||
.word 0x01000000, 0x0008000C
|
||||
|
||||
glabel D_8007854C
|
||||
.word 0x3D7FFF00, 0x3400FF00
|
||||
|
||||
glabel D_80078554
|
||||
.word 0x5C00FF00
|
||||
|
||||
glabel D_80078558
|
||||
.ascii "^]\\[ZXVSQOJE@;7531/-+)'&%#! "
|
||||
|
||||
glabel D_80078580
|
||||
.word 0x03040506, 0x0708090A, 0x0B0C0D0E, 0x0F101112, 0x13141516, 0x17000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_800785A0
|
||||
.word 0x0393756C, 0x034736DE, 0x02FAE1DA, 0x02AEA34C, 0x02624E48, 0x0215F944, 0x01C9BAB6, 0x01A39034, 0x017D65B2, 0x015751A6, 0x01312724, 0x0121E2F0, 0x01129EBC, 0x01035A88, 0x00F41654, 0x00E4D220, 0x00D58DEC, 0x00C649B8, 0x00B70584, 0x00A7D7C6, 0x00989392, 0x00894F5E, 0x007A0B2A, 0x006AC6F6, 0x005B82C2, 0x004C3E8E, 0x00449C74, 0x003CFA5A, 0x00355840, 0x002DB626, 0x0029F054, 0x0026140C, 0x00224E3A, 0x001E71F2, 0x001CF41C, 0x001B7646, 0x0019E1FA, 0x00186424, 0x0016CFD8, 0x00155202, 0x0013D42C, 0x00123FE0, 0x0010C20A, 0x000F2DBE, 0x000E7A0E, 0x000DAFE8, 0x000CE5C2, 0x000C3212, 0x000B67EC, 0x000A9DC6, 0x0009EA16, 0x00091FF0, 0x000855CA, 0x00078BA4, 0x0006D7F4, 0x00060DCE, 0x0005B3F6, 0x000543A8, 0x0004E9D0, 0x00048FF8, 0x0004630C, 0x00043620, 0x00040934, 0x0003F2BE, 0x0003C5D2, 0x000398E6, 0x00038270, 0x00035584, 0x00032898, 0x0002FBAC, 0x0002E536, 0x0002B84A, 0x00028B5E, 0x00025E72, 0x000247FC, 0x00021B10, 0x0001EE24, 0x0001C138, 0x0001AAC2, 0x00017DD6, 0x00016760, 0x00013A74, 0x00010D88, 0x0000F712, 0x0000E09C, 0x0000CA26, 0x0000B3B0, 0x00009D3A, 0x000086C4, 0x0000704E, 0x000059D8, 0x00004362, 0x00002CEC, 0x00001676, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078730
|
||||
.word 0x3F800000, 0x3F8012EF, 0x3F8025E1, 0x3F8038D6, 0x3F804BCD, 0x3F805EC7, 0x3F8071C4, 0x3F8084C4, 0x3F8097C7, 0x3F80AACC, 0x3F80BDD4, 0x3F80D0DF, 0x3F80E3ED, 0x3F80F6FE, 0x3F810A12, 0x3F811D28, 0x3F813041, 0x3F81435D, 0x3F81567C, 0x3F81699E, 0x3F817CC2, 0x3F818FE9, 0x3F81A313, 0x3F81B640, 0x3F81C970, 0x3F81DCA3, 0x3F81EFD9, 0x3F820311, 0x3F82164C, 0x3F82298A, 0x3F823CCB, 0x3F82500F, 0x3F826356, 0x3F82769F, 0x3F8289EB, 0x3F829D3A, 0x3F82B08C, 0x3F82C3E1, 0x3F82D739, 0x3F82EA94, 0x3F82FDF1, 0x3F831151, 0x3F8324B4, 0x3F83381A, 0x3F834B83, 0x3F835EEF, 0x3F83725E, 0x3F8385D0, 0x3F839944, 0x3F83ACBB, 0x3F83C035, 0x3F83D3B2, 0x3F83E732, 0x3F83FAB5, 0x3F840E3B, 0x3F8421C4, 0x3F84354F, 0x3F8448DD, 0x3F845C6E, 0x3F847002, 0x3F848399, 0x3F849733, 0x3F84AAD0, 0x3F84BE70, 0x3F84D213, 0x3F84E5B9, 0x3F84F961, 0x3F850D0C, 0x3F8520BA, 0x3F85346B, 0x3F85481F, 0x3F855BD6, 0x3F856F90, 0x3F85834D, 0x3F85970D, 0x3F85AAD0, 0x3F85BE96, 0x3F85D25F, 0x3F85E62A, 0x3F85F9F8, 0x3F860DC9, 0x3F86219D, 0x3F863574, 0x3F86494E, 0x3F865D2B, 0x3F86710B, 0x3F8684EE, 0x3F8698D4, 0x3F86ACBD, 0x3F86C0A9, 0x3F86D498, 0x3F86E88A, 0x3F86FC7F, 0x3F871077, 0x3F872472, 0x3F87386F, 0x3F874C6F, 0x3F876072, 0x3F877478, 0x3F878881, 0x3F879C8D, 0x3F87B09C, 0x3F87C4AE, 0x3F87D8C3, 0x3F87ECDB, 0x3F8800F6, 0x3F881514, 0x3F882935, 0x3F883D59, 0x3F885180, 0x3F8865AA, 0x3F8879D7, 0x3F888E07, 0x3F88A23A, 0x3F88B670, 0x3F88CAA9, 0x3F88DEE5, 0x3F88F324, 0x3F890766, 0x3F891BAB, 0x3F892FF3, 0x3F89443E, 0x3F89588C, 0x3F896CDD, 0x3F898131, 0x3F899588, 0x3F89A9E2, 0x3F89BE3F, 0x3F800000, 0x3F89D29F, 0x3F946637, 0x3F9FC997, 0x3FAC0CB1, 0x3FB940B0, 0x3FC77811, 0x3FD6C6BB, 0x3FE7421D, 0x3FF9014B, 0x40060E8F, 0x4010582B, 0x401B6BE2, 0x40275936, 0x403430DA, 0x404204C9, 0x4050E860, 0x4060F077, 0x40723381, 0x408264D5, 0x408C667B, 0x40972CB6, 0x40A2C69C, 0x40AF446B, 0x40BCB7A0, 0x40CB3311, 0x40DACB04, 0x40EB954F, 0x40FDA974, 0x41089062, 0x41130B3F, 0x411E53FF, 0x3F800000, 0x3F7FDA28, 0x3F7FB456, 0x3F7F8E89, 0x3F7F68C2, 0x3F7F4300, 0x3F7F1D44, 0x3F7EF78E, 0x3F7ED1DD, 0x3F7EAC32, 0x3F7E868C, 0x3F7E60EC, 0x3F7E3B51, 0x3F7E15BC, 0x3F7DF02C, 0x3F7DCAA2, 0x3F7DA51E, 0x3F7D7F9F, 0x3F7D5A26, 0x3F7D34B2, 0x3F7D0F44, 0x3F7CE9DB, 0x3F7CC478, 0x3F7C9F1A, 0x3F7C79C2, 0x3F7C546F, 0x3F7C2F22, 0x3F7C09DA, 0x3F7BE498, 0x3F7BBF5B, 0x3F7B9A24, 0x3F7B74F2, 0x3F7B4FC6, 0x3F7B2A9F, 0x3F7B057E, 0x3F7AE062, 0x3F7ABB4C, 0x3F7A963B, 0x3F7A7130, 0x3F7A4C2A, 0x3F7A272A, 0x3F7A022F, 0x3F79DD3A, 0x3F79B84A, 0x3F799360, 0x3F796E7B, 0x3F79499C, 0x3F7924C2, 0x3F78FFED, 0x3F78DB1E, 0x3F78B654, 0x3F789190, 0x3F786CD1, 0x3F784818, 0x3F782364, 0x3F77FEB6, 0x3F77DA0D, 0x3F77B569, 0x3F7790CB, 0x3F776C32, 0x3F77479F, 0x3F772311, 0x3F76FE88, 0x3F76DA05, 0x3F76B587, 0x3F76910F, 0x3F766C9C, 0x3F76482E, 0x3F7623C6, 0x3F75FF63, 0x3F75DB06, 0x3F75B6AE, 0x3F75925B, 0x3F756E0E, 0x3F7549C6, 0x3F752583, 0x3F750146, 0x3F74DD0E, 0x3F74B8DB, 0x3F7494AE, 0x3F747086, 0x3F744C63, 0x3F742846, 0x3F74042E, 0x3F73E01C, 0x3F73BC0F, 0x3F739807, 0x3F737404, 0x3F735007, 0x3F732C0F, 0x3F73081C, 0x3F72E42F, 0x3F72C047, 0x3F729C64, 0x3F727887, 0x3F7254AF, 0x3F7230DC, 0x3F720D0F, 0x3F71E947, 0x3F71C584, 0x3F71A1C6, 0x3F717E0E, 0x3F715A5B, 0x3F7136AD, 0x3F711305, 0x3F70EF62, 0x3F70CBC4, 0x3F70A82B, 0x3F708498, 0x3F70610A, 0x3F703D81, 0x3F7019FD, 0x3F6FF67F, 0x3F6FD306, 0x3F6FAF92, 0x3F6F8C23, 0x3F6F68BA, 0x3F6F4556, 0x3F6F21F7, 0x3F6EFE9D, 0x3F6EDB49, 0x3F6EB7FA, 0x3F6E94B0, 0x3F6E716B, 0x3F6E4E2B, 0x3F6E2AF1, 0x3F6E07BC, 0x3F6DE48C, 0x3F800000, 0x3F6DC161, 0x3F5CCFA0, 0x3F4D1303, 0x3F3E7583, 0x3F30E2A9, 0x3F244774, 0x3F18923F, 0x3F0DB2A4, 0x3F03996B, 0x3EF470E1, 0x3EE30526, 0x3ED2D741, 0x3EC3D08B, 0x3EB5DBFB, 0x3EA8E607, 0x3E9CDC8A, 0x3E91AEA9, 0x3E874CBE, 0x3E7B5080, 0x3E69675D, 0x3E58C500, 0x3E495220, 0x3E3AF91B, 0x3E2DA5DB, 0x3E2145B8, 0x3E15C75E, 0x3E0B1AB6, 0x3E0130CE, 0x3DEFF78B, 0x3DDEDD71, 0x3DCEFB5A, 0x3DC03B0C, 0x3DB287E0, 0x3DA5CEA6, 0x3D99FD90, 0x3D8F0410, 0x3D84D2CB, 0x3D76B6F6, 0x3D6521C0, 0x3D54CD52, 0x3D45A2D5, 0x3D378D0A, 0x3D2A7839, 0x3D1E5213, 0x3D130992, 0x3D088EF0, 0x3CFDA6F5, 0x3CEB932C, 0x3CDAC934, 0x3CCB318C, 0x3CBCB65A, 0x3CAF435F, 0x3CA2C5C3, 0x3C972C06, 0x3C8C65F5, 0x3C826474, 0x3C7232F8, 0x3C60F025, 0x3C50E83A, 0x3C4204D2, 0x3C3430FF, 0x3C275980, 0x3C1B6C42, 0x3C10589D, 0x3C060F18, 0x3BF90275, 0x3BE7435B, 0x3BD6C80E, 0x3BC7797C, 0x3BB9422B, 0x3BAC0E26, 0x3B9FCB0C, 0x3B9467C1, 0x3B89D42A, 0x3B800183, 0x3B6DC413, 0x3B5CD229, 0x3B4D1572, 0x3B3E77CA, 0x3B30E4BA, 0x3B24494B, 0x3B18940B, 0x3B0DB45E, 0x3B039B00, 0x3AF473B0, 0x3AE307F8, 0x3AD2D9AC, 0x3AC3D2FE, 0x3AB5DE1E, 0x3AA8E7EB, 0x3A9CDE48, 0x3A91B06C, 0x3A874E3D, 0x3A7B5348, 0x3A696A67, 0x3A58C7AD, 0x3A495447, 0x3A3AFB69, 0x3A2DA799, 0x3A214763, 0x3A15C955, 0x3A0B1CA9, 0x3A01329B, 0x39EFFA23, 0x39DEDFF5, 0x39CEFD29, 0x39C03D9D, 0x39B28A81, 0x39A5D10A, 0x3999FFC6, 0x398F0541, 0x3984D410, 0x3976BADD, 0x39652533, 0x3954CEFA, 0x3945A566, 0x39379050, 0x392A7A3D, 0x391E5312, 0x39130AB4, 0x39089109, 0x38FDABE8, 0x38EB9814, 0x38DACBBE, 0x38CB316C, 0x38BCB903, 0x38AF47AC
|
@ -1,57 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel nuAuCleanDMABuffers
|
||||
/* 26668 8004B268 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 2666C 8004B26C 3C02800A */ lui $v0, %hi(nuAuDmaState)
|
||||
/* 26670 8004B270 24423BD0 */ addiu $v0, $v0, %lo(nuAuDmaState)
|
||||
/* 26674 8004B274 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 26678 8004B278 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 2667C 8004B27C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 26680 8004B280 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 26684 8004B284 8C500004 */ lw $s0, 4($v0)
|
||||
/* 26688 8004B288 1200001A */ beqz $s0, .L8004B2F4
|
||||
/* 2668C 8004B28C 0040902D */ daddu $s2, $v0, $zero
|
||||
.L8004B290:
|
||||
/* 26690 8004B290 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 26694 8004B294 3C038008 */ lui $v1, %hi(nuAuFrameCounter)
|
||||
/* 26698 8004B298 8C63817C */ lw $v1, %lo(nuAuFrameCounter)($v1)
|
||||
/* 2669C 8004B29C 8E110000 */ lw $s1, ($s0)
|
||||
/* 266A0 8004B2A0 24420001 */ addiu $v0, $v0, 1
|
||||
/* 266A4 8004B2A4 0043102B */ sltu $v0, $v0, $v1
|
||||
/* 266A8 8004B2A8 50400010 */ beql $v0, $zero, .L8004B2EC
|
||||
/* 266AC 8004B2AC 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 266B0 8004B2B0 8E420004 */ lw $v0, 4($s2)
|
||||
/* 266B4 8004B2B4 50500001 */ beql $v0, $s0, .L8004B2BC
|
||||
/* 266B8 8004B2B8 AE510004 */ sw $s1, 4($s2)
|
||||
.L8004B2BC:
|
||||
/* 266BC 8004B2BC 0C012D03 */ jal alUnlink
|
||||
/* 266C0 8004B2C0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 266C4 8004B2C4 8E450008 */ lw $a1, 8($s2)
|
||||
/* 266C8 8004B2C8 50A00005 */ beql $a1, $zero, .L8004B2E0
|
||||
/* 266CC 8004B2CC AE500008 */ sw $s0, 8($s2)
|
||||
/* 266D0 8004B2D0 0C012CFB */ jal alLink
|
||||
/* 266D4 8004B2D4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 266D8 8004B2D8 08012CBB */ j .L8004B2EC
|
||||
/* 266DC 8004B2DC 0220802D */ daddu $s0, $s1, $zero
|
||||
.L8004B2E0:
|
||||
/* 266E0 8004B2E0 AE000000 */ sw $zero, ($s0)
|
||||
/* 266E4 8004B2E4 AE000004 */ sw $zero, 4($s0)
|
||||
/* 266E8 8004B2E8 0220802D */ daddu $s0, $s1, $zero
|
||||
.L8004B2EC:
|
||||
/* 266EC 8004B2EC 1600FFE8 */ bnez $s0, .L8004B290
|
||||
/* 266F0 8004B2F0 00000000 */ nop
|
||||
.L8004B2F4:
|
||||
/* 266F4 8004B2F4 3C038008 */ lui $v1, %hi(nuAuFrameCounter)
|
||||
/* 266F8 8004B2F8 2463817C */ addiu $v1, $v1, %lo(nuAuFrameCounter)
|
||||
/* 266FC 8004B2FC 8C620000 */ lw $v0, ($v1)
|
||||
/* 26700 8004B300 3C018008 */ lui $at, %hi(nuAuDmaNext)
|
||||
/* 26704 8004B304 AC208178 */ sw $zero, %lo(nuAuDmaNext)($at)
|
||||
/* 26708 8004B308 24420001 */ addiu $v0, $v0, 1
|
||||
/* 2670C 8004B30C AC620000 */ sw $v0, ($v1)
|
||||
/* 26710 8004B310 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 26714 8004B314 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 26718 8004B318 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 2671C 8004B31C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 26720 8004B320 03E00008 */ jr $ra
|
||||
/* 26724 8004B324 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80056D78
|
||||
/* 32178 80056D78 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 3217C 80056D7C 00041040 */ sll $v0, $a0, 1
|
||||
/* 32180 80056D80 00441021 */ addu $v0, $v0, $a0
|
||||
/* 32184 80056D84 3C038008 */ lui $v1, %hi(D_80078E54)
|
||||
/* 32188 80056D88 8C638E54 */ lw $v1, %lo(D_80078E54)($v1)
|
||||
/* 3218C 80056D8C 000210C0 */ sll $v0, $v0, 3
|
||||
/* 32190 80056D90 8C630020 */ lw $v1, 0x20($v1)
|
||||
/* 32194 80056D94 30A57FFF */ andi $a1, $a1, 0x7fff
|
||||
/* 32198 80056D98 00621821 */ addu $v1, $v1, $v0
|
||||
/* 3219C 80056D9C 03E00008 */ jr $ra
|
||||
/* 321A0 80056DA0 A4650000 */ sh $a1, ($v1)
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80056DA4
|
||||
/* 321A4 80056DA4 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 321A8 80056DA8 00041840 */ sll $v1, $a0, 1
|
||||
/* 321AC 80056DAC 3C028008 */ lui $v0, %hi(D_80078E54)
|
||||
/* 321B0 80056DB0 8C428E54 */ lw $v0, %lo(D_80078E54)($v0)
|
||||
/* 321B4 80056DB4 00641821 */ addu $v1, $v1, $a0
|
||||
/* 321B8 80056DB8 8C420020 */ lw $v0, 0x20($v0)
|
||||
/* 321BC 80056DBC 000318C0 */ sll $v1, $v1, 3
|
||||
/* 321C0 80056DC0 00431021 */ addu $v0, $v0, $v1
|
||||
/* 321C4 80056DC4 03E00008 */ jr $ra
|
||||
/* 321C8 80056DC8 94420000 */ lhu $v0, ($v0)
|
@ -1,30 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80056DCC
|
||||
/* 321CC 80056DCC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 321D0 80056DD0 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 321D4 80056DD4 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 321D8 80056DD8 00041040 */ sll $v0, $a0, 1
|
||||
/* 321DC 80056DDC 00441021 */ addu $v0, $v0, $a0
|
||||
/* 321E0 80056DE0 3C038008 */ lui $v1, %hi(D_80078E54)
|
||||
/* 321E4 80056DE4 8C638E54 */ lw $v1, %lo(D_80078E54)($v1)
|
||||
/* 321E8 80056DE8 000210C0 */ sll $v0, $v0, 3
|
||||
/* 321EC 80056DEC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 321F0 80056DF0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 321F4 80056DF4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 321F8 80056DF8 8C700020 */ lw $s0, 0x20($v1)
|
||||
/* 321FC 80056DFC 30D100FF */ andi $s1, $a2, 0xff
|
||||
/* 32200 80056E00 02028021 */ addu $s0, $s0, $v0
|
||||
/* 32204 80056E04 8E040004 */ lw $a0, 4($s0)
|
||||
/* 32208 80056E08 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 3220C 80056E0C 0C016413 */ jal func_8005904C
|
||||
/* 32210 80056E10 A206000C */ sb $a2, 0xc($s0)
|
||||
/* 32214 80056E14 8E040008 */ lw $a0, 8($s0)
|
||||
/* 32218 80056E18 0C016413 */ jal func_8005904C
|
||||
/* 3221C 80056E1C 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 32220 80056E20 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 32224 80056E24 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 32228 80056E28 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 3222C 80056E2C 03E00008 */ jr $ra
|
||||
/* 32230 80056E30 27BD0020 */ addiu $sp, $sp, 0x20
|
55
src/audio.h
55
src/audio.h
@ -71,16 +71,21 @@ typedef struct UnkAl3 {
|
||||
typedef struct UnkLen18 {
|
||||
/* 0x00 */ u16 unk_00;
|
||||
/* 0x02 */ char unk_02[0x2];
|
||||
/* 0x04 */ s32 unk_04;
|
||||
/* 0x08 */ s32 unk_08;
|
||||
/* 0x04 */ s32* unk_04;
|
||||
/* 0x08 */ s32* unk_08;
|
||||
/* 0x0C */ s8 unk_0C;
|
||||
/* 0x0D */ char unk_0D[0xB];
|
||||
/* 0x0D */ char unk_0D[0x3];
|
||||
/* 0x10 */ s32* unk_10;
|
||||
/* 0x14 */ s32* unk_14;
|
||||
} UnkLen18;
|
||||
|
||||
typedef struct UnkAl7C {
|
||||
/* 0x00 */ char unk_00[0x14];
|
||||
/* 0x14 */ s32 unk_14;
|
||||
/* 0x18 */ s32 unk_18;
|
||||
/* 0x00 */ char unk_00[0x4];
|
||||
/* 0x04 */ s32* unk_04;
|
||||
/* 0x08 */ s32* unk_08;
|
||||
/* 0x0C */ char unk_0C[0x8];
|
||||
/* 0x14 */ s32* unk_14;
|
||||
/* 0x18 */ s32* unk_18;
|
||||
/* 0x1C */ char unk_1C[0xC];
|
||||
/* 0x28 */ s32 unk_28;
|
||||
/* 0x2C */ s32 unk_2C;
|
||||
@ -105,10 +110,13 @@ typedef struct UnkAl7C {
|
||||
} UnkAl7C;
|
||||
|
||||
typedef struct UnkAl0 {
|
||||
/* 0x00 */ char unk_00[0x18];
|
||||
/* 0x00 */ char unk_00[0x14];
|
||||
/* 0x14 */ s32* unk_14; // pointer to nuAuDmaNew
|
||||
/* 0x18 */ ALHeap* unk_18;
|
||||
/* 0x1C */ UnkAl7C* unk_1C;
|
||||
/* 0x20 */ UnkLen18 unk_20[1]; // amt unknown
|
||||
/* 0x1C */ UnkAl7C* unk_1C; // pointer to list of UnkAl7C
|
||||
/* 0x20 */ UnkLen18* unk_20; // amt unknown
|
||||
/* 0x24 */ s32* unk_24;
|
||||
/* 0x28 */ s32* unk_28;
|
||||
} UnkAl0;
|
||||
|
||||
typedef struct UnkAlA {
|
||||
@ -282,7 +290,9 @@ typedef struct UnkAl19E0 {
|
||||
/* 0x001C */ s32 unk_1C;
|
||||
/* 0x0020 */ UnkTemp2* unk_20;
|
||||
/* 0x0024 */ s32 unk_24;
|
||||
/* 0x0028 */ char unk_28[0xC];
|
||||
/* 0x0028 */ char unk_28[0x4];
|
||||
/* 0x002C */ s32* unk_2C;
|
||||
/* 0x0030 */ char unk_30[0x4];
|
||||
/* 0x0034 */ s32 unk_34;
|
||||
/* 0x0038 */ s32 unk_38;
|
||||
/* 0x003C */ UnkAl19E0Sub* unk_3C;
|
||||
@ -420,24 +430,24 @@ typedef struct UnkAl834 {
|
||||
/* 0x021 */ char unk_21[0x813];
|
||||
} UnkAl834;
|
||||
|
||||
extern s32 D_80078E50;
|
||||
extern UnkAl0* D_80078E54;
|
||||
extern s8* D_80078181;
|
||||
extern s32* D_80078190;
|
||||
extern s32* D_800781D0;
|
||||
extern s32* D_80078290;
|
||||
extern s32* D_800782F8;
|
||||
extern s32* D_80078348;
|
||||
extern s32* D_80078320;
|
||||
extern s32* D_80078544;
|
||||
extern s32* D_800785A0;
|
||||
extern u8 D_80078181;
|
||||
extern s32 D_80078190;
|
||||
extern s32 D_800781D0;
|
||||
extern s32 D_80078290;
|
||||
extern s32 D_800782F8;
|
||||
extern s32 D_80078348;
|
||||
extern s32 D_80078320;
|
||||
extern s32 D_80078544;
|
||||
extern s32 D_800785A0;
|
||||
extern s32 D_80078DB0;
|
||||
extern u16 D_80078DB6;
|
||||
|
||||
extern UnkAl0* D_80078E50;
|
||||
extern UnkAl0* D_80078E54;
|
||||
extern s8 D_80078E58;
|
||||
extern s16 D_80078E5A;
|
||||
extern s8 D_80078E5C;
|
||||
extern s32 D_8007F1F8;
|
||||
extern s32* D_8007F1F8; // points to 80078290
|
||||
|
||||
extern UnkAl19E0* D_8009A5C0;
|
||||
extern UnkAlA9C* D_8009A5CC;
|
||||
@ -545,6 +555,7 @@ void func_800561E4(s32);
|
||||
void func_80056204(void);
|
||||
void func_80056228(void);
|
||||
|
||||
void func_80056D44(s16);
|
||||
s16 func_80056D50(void);
|
||||
void func_80056D78(u8, u16);
|
||||
void func_80056DCC(u8, u8);
|
||||
|
@ -1,9 +1,16 @@
|
||||
#include "common.h"
|
||||
#include "nu/nusys.h"
|
||||
#include "nu/nualsgi.h"
|
||||
#include "audio.h"
|
||||
|
||||
extern NUDMAState nuAuDmaState;
|
||||
extern s32 nuAuDmaNext;
|
||||
|
||||
s32 D_80078170 = 0;
|
||||
NUAuPreNMIFunc nuAuPreNMIFunc = NULL;
|
||||
s32 nuAuDmaNext = 0;
|
||||
u32 nuAuFrameCounter = 0;
|
||||
u8 D_80078180 = 1;
|
||||
u8 D_80078181 = 1;
|
||||
|
||||
INCLUDE_ASM(s32, "code_25f00_len_940", func_8004AB00);
|
||||
|
||||
@ -31,45 +38,61 @@ ALDMAproc nuAuDmaNew(NUDMAState** state) {
|
||||
return nuAuDmaCallBack;
|
||||
}
|
||||
|
||||
// Some weird symbol loading shenanigans (addiu vs lw)
|
||||
#ifdef NON_MATCHING
|
||||
void nuAuCleanDMABuffers(void) {
|
||||
NUDMABuffer* dmaPtr = nuAuDmaState.firstUsed;
|
||||
NUDMABuffer* nextPtr;
|
||||
NUDMAState* state = &nuAuDmaState;
|
||||
NUDMABuffer* dmaPtr = state->firstUsed;
|
||||
|
||||
while (dmaPtr != NULL) {
|
||||
nextPtr = dmaPtr->node.next;
|
||||
if (&nuAuDmaState) {
|
||||
do {
|
||||
NUDMAState* state = &nuAuDmaState;
|
||||
NUDMABuffer* nextPtr;
|
||||
u32* frameCounter;
|
||||
|
||||
while (dmaPtr != NULL) {
|
||||
nextPtr = dmaPtr->node.next;
|
||||
if ((dmaPtr->frameCnt + 1) < nuAuFrameCounter) {
|
||||
if (state->firstUsed == dmaPtr) {
|
||||
state->firstUsed = nextPtr;
|
||||
}
|
||||
alUnlink(dmaPtr);
|
||||
if (state->firstFree != 0) {
|
||||
alLink(dmaPtr, state->firstFree);
|
||||
} else {
|
||||
state->firstFree = dmaPtr;
|
||||
dmaPtr->node.next = 0;
|
||||
dmaPtr->node.prev = 0;
|
||||
}
|
||||
}
|
||||
dmaPtr = nextPtr;
|
||||
}
|
||||
|
||||
if (dmaPtr->frameCnt + 1 < nuAuFrameCounter) {
|
||||
if (nuAuDmaState.firstUsed == dmaPtr) {
|
||||
nuAuDmaState.firstUsed = nextPtr;
|
||||
}
|
||||
|
||||
alUnlink(dmaPtr);
|
||||
|
||||
if (nuAuDmaState.firstFree != NULL) {
|
||||
alLink(dmaPtr, nuAuDmaState.firstFree);
|
||||
} else {
|
||||
nuAuDmaState.firstFree = dmaPtr;
|
||||
dmaPtr->node.next = NULL;
|
||||
dmaPtr->node.prev = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
dmaPtr = nextPtr;
|
||||
}
|
||||
|
||||
nuAuDmaNext = 0;
|
||||
nuAuFrameCounter += 1;
|
||||
nuAuDmaNext = 0;
|
||||
frameCounter = &nuAuFrameCounter;
|
||||
*frameCounter += 1;
|
||||
} while (0);
|
||||
}
|
||||
#else
|
||||
INCLUDE_ASM(void, "code_25f00_len_940", nuAuCleanDMABuffers);
|
||||
#endif
|
||||
|
||||
extern u16 D_800A0F50;
|
||||
|
||||
INCLUDE_ASM(s32, "code_25f00_len_940", func_8004B328);
|
||||
// void func_8004B328(s16 arg0, s32 arg1) {
|
||||
// s32 temp_s0;
|
||||
// s32 temp_hi;
|
||||
|
||||
// switch (arg0) {
|
||||
// case 2:
|
||||
// D_800A0F50 = func_80056D50();
|
||||
// func_80056D34();
|
||||
// break;
|
||||
// case 1:
|
||||
// temp_s0 = D_800A0F50 - D_800A0F50 * (s32)(0x66666667) * arg1;
|
||||
|
||||
// func_80056D44(temp_s0);
|
||||
// if (temp_s0 == 0) {
|
||||
// D_80078180 = 0;
|
||||
// }
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
|
||||
void alLink(ALLink* element, ALLink* after) {
|
||||
element->next = after->next;
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "common.h"
|
||||
#include "audio.h"
|
||||
|
||||
s32 D_80078E50 = 0;
|
||||
UnkAl0* D_80078E54 = 0;
|
||||
UnkAl0* D_80078E50 = NULL;
|
||||
UnkAl0* D_80078E54 = NULL;
|
||||
s8 D_80078E58 = 0;
|
||||
s16 D_80078E5A = 0x7FFF;
|
||||
s8 D_80078E5C = 0;
|
||||
@ -16,10 +16,10 @@ s32 D_80078E60[] = { 0x7FFF7FFC, 0x7FF57FE8, 0x7FD77FC0, 0x7FA57F84, 0x7F5F7F34,
|
||||
INCLUDE_ASM(s32, "code_31650", func_80056250);
|
||||
|
||||
void func_800565A4(void) {
|
||||
s32* sym = &D_80078E50;
|
||||
UnkAl0** sym = &D_80078E50;
|
||||
|
||||
if (*sym != 0) {
|
||||
*sym = 0;
|
||||
if (*sym != NULL) {
|
||||
*sym = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@ -46,17 +46,25 @@ void func_80056D5C(s8 arg0) {
|
||||
INCLUDE_ASM(s32, "code_31650", func_80056D5C);
|
||||
#endif
|
||||
|
||||
#ifdef NON_MATCHING
|
||||
void func_80056D78(u8 arg0, u16 arg1) {
|
||||
D_80078E54->unk_20[arg0].unk_00 = arg1 & 0x7FFF;
|
||||
UnkLen18* temp = &D_80078E54->unk_20[arg0];
|
||||
|
||||
temp->unk_00 = arg1 & 0x7FFF;
|
||||
}
|
||||
#else
|
||||
INCLUDE_ASM(void, "code_31650", func_80056D78, u8 arg0, u16 arg1);
|
||||
#endif
|
||||
|
||||
INCLUDE_ASM(s32, "code_31650", func_80056DA4);
|
||||
u16 func_80056DA4(u8 arg0, u16 arg1) {
|
||||
UnkLen18* temp = &D_80078E54->unk_20[arg0];
|
||||
|
||||
INCLUDE_ASM(void, "code_31650", func_80056DCC, u8 arg0, u8 arg1);
|
||||
return temp->unk_00;
|
||||
}
|
||||
|
||||
void func_80056DCC(u8 arg0, u8 arg1) {
|
||||
UnkLen18* temp = &D_80078E54->unk_20[arg0];
|
||||
|
||||
temp->unk_0C = arg1;
|
||||
func_8005904C(temp->unk_04, arg1);
|
||||
func_8005904C(temp->unk_08, arg1);
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "code_31650", func_80056E34);
|
||||
|
||||
|
@ -205,7 +205,9 @@ segments:
|
||||
- [0x4a1f0, c, os/code_4a1f0_len_170]
|
||||
- [0x4a360, c, os/code_4a360_len_930]
|
||||
- [0x4ac90, c, os/code_4ac90_len_3910]
|
||||
- [0x4E5A0, data, code_1000_len_60] # data until world
|
||||
- [0x4E5A0, data, code_1000_len_60]
|
||||
- [0x53570, .data, code_25f00_len_940]
|
||||
- [0x53590, data, code_26840_len_20d0]
|
||||
- [0x541B0, .data, code_303c0_len_3e10]
|
||||
- [0x54250, .data, code_31650]
|
||||
- [0x542E0, data, code_31650]
|
||||
|
Loading…
Reference in New Issue
Block a user