Full deincbin

This commit is contained in:
Luke Street 2022-07-14 01:48:03 -04:00
parent 37f2e5cbbb
commit d05e75f6f9
759 changed files with 36342 additions and 23974 deletions

View File

@ -29,19 +29,19 @@ sTableIndex__16CCollidableAABox:
.global lbl_80479498
lbl_80479498:
.skip 0x48
.section .text, "ax"
.global GetTableIndex__16CCollidableAABoxCFv
GetTableIndex__16CCollidableAABoxCFv:
/* 802CD4C8 002CA428 80 6D 9B 28 */ lwz r3, sTableIndex__16CCollidableAABox@sda21(r13)
/* 802CD4CC 002CA42C 4E 80 00 20 */ blr
/* 802CD4CC 002CA42C 4E 80 00 20 */ blr
.global GetPrimType__16CCollidableAABoxCFv
GetPrimType__16CCollidableAABoxCFv:
/* 802CD4D0 002CA430 3C 60 41 41 */ lis r3, 0x41414258@ha
/* 802CD4D4 002CA434 38 63 42 58 */ addi r3, r3, 0x41414258@l
/* 802CD4D8 002CA438 4E 80 00 20 */ blr
/* 802CD4D8 002CA438 4E 80 00 20 */ blr
.global Transform__16CCollidableAABoxCFRC12CTransform4f
Transform__16CCollidableAABoxCFRC12CTransform4f:
@ -75,7 +75,7 @@ Transform__16CCollidableAABoxCFRC12CTransform4f:
/* 802CD548 002CA4A8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CD54C 002CA4AC 7C 08 03 A6 */ mtlr r0
/* 802CD550 002CA4B0 38 21 00 20 */ addi r1, r1, 0x20
/* 802CD554 002CA4B4 4E 80 00 20 */ blr
/* 802CD554 002CA4B4 4E 80 00 20 */ blr
.global CalculateAABox__16CCollidableAABoxCFRC12CTransform4f
CalculateAABox__16CCollidableAABoxCFRC12CTransform4f:
@ -89,7 +89,7 @@ CalculateAABox__16CCollidableAABoxCFRC12CTransform4f:
/* 802CD574 002CA4D4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CD578 002CA4D8 7C 08 03 A6 */ mtlr r0
/* 802CD57C 002CA4DC 38 21 00 10 */ addi r1, r1, 0x10
/* 802CD580 002CA4E0 4E 80 00 20 */ blr
/* 802CD580 002CA4E0 4E 80 00 20 */ blr
.global CalculateLocalAABox__16CCollidableAABoxCFv
CalculateLocalAABox__16CCollidableAABoxCFv:
@ -105,7 +105,7 @@ CalculateLocalAABox__16CCollidableAABoxCFv:
/* 802CD5A8 002CA508 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 802CD5AC 002CA50C C0 04 00 24 */ lfs f0, 0x24(r4)
/* 802CD5B0 002CA510 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 802CD5B4 002CA514 4E 80 00 20 */ blr
/* 802CD5B4 002CA514 4E 80 00 20 */ blr
.global CastRayInternal__16CCollidableAABoxCFRC25CInternalRayCastStructure
CastRayInternal__16CCollidableAABoxCFRC25CInternalRayCastStructure:
@ -132,7 +132,7 @@ CastRayInternal__16CCollidableAABoxCFRC25CInternalRayCastStructure:
/* 802CD608 002CA568 83 C5 00 6C */ lwz r30, 0x6c(r5)
/* 802CD60C 002CA56C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CD610 002CA570 7D 89 03 A6 */ mtctr r12
/* 802CD614 002CA574 4E 80 04 21 */ bctrl
/* 802CD614 002CA574 4E 80 04 21 */ bctrl
/* 802CD618 002CA578 7C 64 1B 78 */ mr r4, r3
/* 802CD61C 002CA57C 7F C3 F3 78 */ mr r3, r30
/* 802CD620 002CA580 48 00 7D 2D */ bl Passes__15CMaterialFilterCFRC13CMaterialList
@ -274,7 +274,7 @@ lbl_802CD820:
/* 802CD824 002CA784 81 9C 00 00 */ lwz r12, 0(r28)
/* 802CD828 002CA788 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CD82C 002CA78C 7D 89 03 A6 */ mtctr r12
/* 802CD830 002CA790 4E 80 04 21 */ bctrl
/* 802CD830 002CA790 4E 80 04 21 */ bctrl
/* 802CD834 002CA794 C0 C1 00 14 */ lfs f6, 0x14(r1)
/* 802CD838 002CA798 38 00 00 01 */ li r0, 1
/* 802CD83C 002CA79C C0 41 00 58 */ lfs f2, 0x58(r1)
@ -343,7 +343,7 @@ lbl_802CD904:
/* 802CD934 002CA894 83 81 01 30 */ lwz r28, 0x130(r1)
/* 802CD938 002CA898 7C 08 03 A6 */ mtlr r0
/* 802CD93C 002CA89C 38 21 01 80 */ addi r1, r1, 0x180
/* 802CD940 002CA8A0 4E 80 00 20 */ blr
/* 802CD940 002CA8A0 4E 80 00 20 */ blr
.global CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo
CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo:
@ -363,7 +363,7 @@ CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVecto
/* 802CD978 002CA8D8 7F A4 EB 78 */ mr r4, r29
/* 802CD97C 002CA8DC 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 802CD980 002CA8E0 7D 89 03 A6 */ mtctr r12
/* 802CD984 002CA8E4 4E 80 04 21 */ bctrl
/* 802CD984 002CA8E4 4E 80 04 21 */ bctrl
/* 802CD988 002CA8E8 C0 A1 00 60 */ lfs f5, 0x60(r1)
/* 802CD98C 002CA8EC 7F C4 F3 78 */ mr r4, r30
/* 802CD990 002CA8F0 C0 81 00 64 */ lfs f4, 0x64(r1)
@ -453,13 +453,13 @@ CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVecto
/* 802CDAE0 002CAA40 81 9E 00 00 */ lwz r12, 0(r30)
/* 802CDAE4 002CAA44 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CDAE8 002CAA48 7D 89 03 A6 */ mtctr r12
/* 802CDAEC 002CAA4C 4E 80 04 21 */ bctrl
/* 802CDAEC 002CAA4C 4E 80 04 21 */ bctrl
/* 802CDAF0 002CAA50 7C 7E 1B 78 */ mr r30, r3
/* 802CDAF4 002CAA54 7F A3 EB 78 */ mr r3, r29
/* 802CDAF8 002CAA58 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CDAFC 002CAA5C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CDB00 002CAA60 7D 89 03 A6 */ mtctr r12
/* 802CDB04 002CAA64 4E 80 04 21 */ bctrl
/* 802CDB04 002CAA64 4E 80 04 21 */ bctrl
/* 802CDB08 002CAA68 7C 65 1B 78 */ mr r5, r3
/* 802CDB0C 002CAA6C 7F C6 F3 78 */ mr r6, r30
/* 802CDB10 002CAA70 38 61 00 90 */ addi r3, r1, 0x90
@ -519,7 +519,7 @@ lbl_802CDBDC:
/* 802CDBE0 002CAB40 80 01 01 14 */ lwz r0, 0x114(r1)
/* 802CDBE4 002CAB44 7C 08 03 A6 */ mtlr r0
/* 802CDBE8 002CAB48 38 21 01 10 */ addi r1, r1, 0x110
/* 802CDBEC 002CAB4C 4E 80 00 20 */ blr
/* 802CDBEC 002CAB4C 4E 80 00 20 */ blr
.global CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo
CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo:
@ -606,13 +606,13 @@ CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector
/* 802CDD30 002CAC90 81 9E 00 00 */ lwz r12, 0(r30)
/* 802CDD34 002CAC94 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CDD38 002CAC98 7D 89 03 A6 */ mtctr r12
/* 802CDD3C 002CAC9C 4E 80 04 21 */ bctrl
/* 802CDD3C 002CAC9C 4E 80 04 21 */ bctrl
/* 802CDD40 002CACA0 7C 7E 1B 78 */ mr r30, r3
/* 802CDD44 002CACA4 7F A3 EB 78 */ mr r3, r29
/* 802CDD48 002CACA8 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CDD4C 002CACAC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CDD50 002CACB0 7D 89 03 A6 */ mtctr r12
/* 802CDD54 002CACB4 4E 80 04 21 */ bctrl
/* 802CDD54 002CACB4 4E 80 04 21 */ bctrl
/* 802CDD58 002CACB8 7C 65 1B 78 */ mr r5, r3
/* 802CDD5C 002CACBC 7F C6 F3 78 */ mr r6, r30
/* 802CDD60 002CACC0 38 61 00 98 */ addi r3, r1, 0x98
@ -673,7 +673,7 @@ lbl_802CDE30:
/* 802CDE34 002CAD94 80 01 01 14 */ lwz r0, 0x114(r1)
/* 802CDE38 002CAD98 7C 08 03 A6 */ mtlr r0
/* 802CDE3C 002CAD9C 38 21 01 10 */ addi r1, r1, 0x110
/* 802CDE40 002CADA0 4E 80 00 20 */ blr
/* 802CDE40 002CADA0 4E 80 00 20 */ blr
.global AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList
AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList:
@ -724,13 +724,13 @@ AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList:
/* 802CDEF4 002CAE54 81 9F 00 00 */ lwz r12, 0(r31)
/* 802CDEF8 002CAE58 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CDEFC 002CAE5C 7D 89 03 A6 */ mtctr r12
/* 802CDF00 002CAE60 4E 80 04 21 */ bctrl
/* 802CDF00 002CAE60 4E 80 04 21 */ bctrl
/* 802CDF04 002CAE64 7C 7F 1B 78 */ mr r31, r3
/* 802CDF08 002CAE68 7F C3 F3 78 */ mr r3, r30
/* 802CDF0C 002CAE6C 81 9E 00 00 */ lwz r12, 0(r30)
/* 802CDF10 002CAE70 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CDF14 002CAE74 7D 89 03 A6 */ mtctr r12
/* 802CDF18 002CAE78 4E 80 04 21 */ bctrl
/* 802CDF18 002CAE78 4E 80 04 21 */ bctrl
/* 802CDF1C 002CAE7C 7C 64 1B 78 */ mr r4, r3
/* 802CDF20 002CAE80 7F E6 FB 78 */ mr r6, r31
/* 802CDF24 002CAE84 7F A7 EB 78 */ mr r7, r29
@ -744,7 +744,7 @@ AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList:
/* 802CDF44 002CAEA4 83 81 00 70 */ lwz r28, 0x70(r1)
/* 802CDF48 002CAEA8 7C 08 03 A6 */ mtlr r0
/* 802CDF4C 002CAEAC 38 21 00 80 */ addi r1, r1, 0x80
/* 802CDF50 002CAEB0 4E 80 00 20 */ blr
/* 802CDF50 002CAEB0 4E 80 00 20 */ blr
.global AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure
AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure:
@ -795,7 +795,7 @@ AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure:
/* 802CE004 002CAF64 83 C1 00 68 */ lwz r30, 0x68(r1)
/* 802CE008 002CAF68 7C 08 03 A6 */ mtlr r0
/* 802CE00C 002CAF6C 38 21 00 70 */ addi r1, r1, 0x70
/* 802CE010 002CAF70 4E 80 00 20 */ blr
/* 802CE010 002CAF70 4E 80 00 20 */ blr
.global GetType__16CCollidableAABoxFv
GetType__16CCollidableAABoxFv:
@ -805,12 +805,12 @@ GetType__16CCollidableAABoxFv:
/* 802CE020 002CAF80 90 03 00 00 */ stw r0, 0(r3)
/* 802CE024 002CAF84 38 04 69 E8 */ addi r0, r4, lbl_803D69E8@l
/* 802CE028 002CAF88 90 03 00 04 */ stw r0, 4(r3)
/* 802CE02C 002CAF8C 4E 80 00 20 */ blr
/* 802CE02C 002CAF8C 4E 80 00 20 */ blr
.global SetStaticTableIndex__16CCollidableAABoxFUi
SetStaticTableIndex__16CCollidableAABoxFUi:
/* 802CE030 002CAF90 90 6D 9B 28 */ stw r3, sTableIndex__16CCollidableAABox@sda21(r13)
/* 802CE034 002CAF94 4E 80 00 20 */ blr
/* 802CE034 002CAF94 4E 80 00 20 */ blr
.global __sinit_CCollidableAABox_cpp
__sinit_CCollidableAABox_cpp:
@ -836,4 +836,4 @@ __sinit_CCollidableAABox_cpp:
/* 802CE084 002CAFE4 D0 23 00 3C */ stfs f1, 0x3c(r3)
/* 802CE088 002CAFE8 D0 23 00 40 */ stfs f1, 0x40(r3)
/* 802CE08C 002CAFEC D0 03 00 44 */ stfs f0, 0x44(r3)
/* 802CE090 002CAFF0 4E 80 00 20 */ blr
/* 802CE090 002CAFF0 4E 80 00 20 */ blr

View File

@ -18,7 +18,7 @@ GetType__27CCollidableCollisionSurfaceFv:
/* 802CE0A0 002CB000 90 03 00 00 */ stw r0, 0(r3)
/* 802CE0A4 002CB004 38 04 6A 00 */ addi r0, r4, lbl_803D6A00@l
/* 802CE0A8 002CB008 90 03 00 04 */ stw r0, 4(r3)
/* 802CE0AC 002CB00C 4E 80 00 20 */ blr
/* 802CE0AC 002CB00C 4E 80 00 20 */ blr
.global SetStaticTableIndex__27CCollidableCollisionSurfaceFUi
SetStaticTableIndex__27CCollidableCollisionSurfaceFUi:

View File

@ -78,13 +78,13 @@ lbl_805A86F8:
.global lbl_80479558
lbl_80479558:
.skip 0x48
.section .text, "ax"
.global GetTableIndex__17CCollidableSphereCFv
GetTableIndex__17CCollidableSphereCFv:
/* 802D3E70 002D0DD0 80 6D 9B 38 */ lwz r3, lbl_805A86F8@sda21(r13)
/* 802D3E74 002D0DD4 4E 80 00 20 */ blr
/* 802D3E74 002D0DD4 4E 80 00 20 */ blr
.global CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo
CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo:
@ -193,13 +193,13 @@ CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVect
/* 802D4010 002D0F70 81 9E 00 00 */ lwz r12, 0(r30)
/* 802D4014 002D0F74 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802D4018 002D0F78 7D 89 03 A6 */ mtctr r12
/* 802D401C 002D0F7C 4E 80 04 21 */ bctrl
/* 802D401C 002D0F7C 4E 80 04 21 */ bctrl
/* 802D4020 002D0F80 7C 7E 1B 78 */ mr r30, r3
/* 802D4024 002D0F84 7F A3 EB 78 */ mr r3, r29
/* 802D4028 002D0F88 81 9D 00 00 */ lwz r12, 0(r29)
/* 802D402C 002D0F8C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802D4030 002D0F90 7D 89 03 A6 */ mtctr r12
/* 802D4034 002D0F94 4E 80 04 21 */ bctrl
/* 802D4034 002D0F94 4E 80 04 21 */ bctrl
/* 802D4038 002D0F98 7C 65 1B 78 */ mr r5, r3
/* 802D403C 002D0F9C 7F C6 F3 78 */ mr r6, r30
/* 802D4040 002D0FA0 38 61 00 78 */ addi r3, r1, 0x78
@ -263,7 +263,7 @@ lbl_802D410C:
/* 802D4120 002D1080 80 01 01 14 */ lwz r0, 0x114(r1)
/* 802D4124 002D1084 7C 08 03 A6 */ mtlr r0
/* 802D4128 002D1088 38 21 01 10 */ addi r1, r1, 0x110
/* 802D412C 002D108C 4E 80 00 20 */ blr
/* 802D412C 002D108C 4E 80 00 20 */ blr
.global CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo
CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo:
@ -283,7 +283,7 @@ CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVecto
/* 802D4164 002D10C4 7F C4 F3 78 */ mr r4, r30
/* 802D4168 002D10C8 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 802D416C 002D10CC 7D 89 03 A6 */ mtctr r12
/* 802D4170 002D10D0 4E 80 04 21 */ bctrl
/* 802D4170 002D10D0 4E 80 04 21 */ bctrl
/* 802D4174 002D10D4 C0 A1 00 48 */ lfs f5, 0x48(r1)
/* 802D4178 002D10D8 7F A4 EB 78 */ mr r4, r29
/* 802D417C 002D10DC C0 81 00 4C */ lfs f4, 0x4c(r1)
@ -339,13 +339,13 @@ CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVecto
/* 802D4244 002D11A4 81 9E 00 00 */ lwz r12, 0(r30)
/* 802D4248 002D11A8 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802D424C 002D11AC 7D 89 03 A6 */ mtctr r12
/* 802D4250 002D11B0 4E 80 04 21 */ bctrl
/* 802D4250 002D11B0 4E 80 04 21 */ bctrl
/* 802D4254 002D11B4 7C 7E 1B 78 */ mr r30, r3
/* 802D4258 002D11B8 7F A3 EB 78 */ mr r3, r29
/* 802D425C 002D11BC 81 9D 00 00 */ lwz r12, 0(r29)
/* 802D4260 002D11C0 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802D4264 002D11C4 7D 89 03 A6 */ mtctr r12
/* 802D4268 002D11C8 4E 80 04 21 */ bctrl
/* 802D4268 002D11C8 4E 80 04 21 */ bctrl
/* 802D426C 002D11CC 7C 65 1B 78 */ mr r5, r3
/* 802D4270 002D11D0 7F C6 F3 78 */ mr r6, r30
/* 802D4274 002D11D4 38 61 00 78 */ addi r3, r1, 0x78
@ -405,7 +405,7 @@ lbl_802D4340:
/* 802D4344 002D12A4 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 802D4348 002D12A8 7C 08 03 A6 */ mtlr r0
/* 802D434C 002D12AC 38 21 00 F0 */ addi r1, r1, 0xf0
/* 802D4350 002D12B0 4E 80 00 20 */ blr
/* 802D4350 002D12B0 4E 80 00 20 */ blr
.global Transform__17CCollidableSphereCFRC12CTransform4f
Transform__17CCollidableSphereCFRC12CTransform4f:
@ -435,13 +435,13 @@ Transform__17CCollidableSphereCFRC12CTransform4f:
/* 802D43B0 002D1310 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802D43B4 002D1314 7C 08 03 A6 */ mtlr r0
/* 802D43B8 002D1318 38 21 00 30 */ addi r1, r1, 0x30
/* 802D43BC 002D131C 4E 80 00 20 */ blr
/* 802D43BC 002D131C 4E 80 00 20 */ blr
.global GetPrimType__17CCollidableSphereCFv
GetPrimType__17CCollidableSphereCFv:
/* 802D43C0 002D1320 3C 60 53 50 */ lis r3, 0x53504852@ha
/* 802D43C4 002D1324 38 63 48 52 */ addi r3, r3, 0x53504852@l
/* 802D43C8 002D1328 4E 80 00 20 */ blr
/* 802D43C8 002D1328 4E 80 00 20 */ blr
.global CalculateLocalAABox__17CCollidableSphereCFv
CalculateLocalAABox__17CCollidableSphereCFv:
@ -470,7 +470,7 @@ CalculateLocalAABox__17CCollidableSphereCFv:
/* 802D4424 002D1384 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802D4428 002D1388 7C 08 03 A6 */ mtlr r0
/* 802D442C 002D138C 38 21 00 20 */ addi r1, r1, 0x20
/* 802D4430 002D1390 4E 80 00 20 */ blr
/* 802D4430 002D1390 4E 80 00 20 */ blr
.global CalculateAABox__17CCollidableSphereCFRC12CTransform4f
CalculateAABox__17CCollidableSphereCFRC12CTransform4f:
@ -512,7 +512,7 @@ CalculateAABox__17CCollidableSphereCFRC12CTransform4f:
/* 802D44C0 002D1420 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 802D44C4 002D1424 7C 08 03 A6 */ mtlr r0
/* 802D44C8 002D1428 38 21 00 50 */ addi r1, r1, 0x50
/* 802D44CC 002D142C 4E 80 00 20 */ blr
/* 802D44CC 002D142C 4E 80 00 20 */ blr
.global CastRayInternal__17CCollidableSphereCFRC25CInternalRayCastStructure
CastRayInternal__17CCollidableSphereCFRC25CInternalRayCastStructure:
@ -531,7 +531,7 @@ CastRayInternal__17CCollidableSphereCFRC25CInternalRayCastStructure:
/* 802D4500 002D1460 83 E5 00 6C */ lwz r31, 0x6c(r5)
/* 802D4504 002D1464 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802D4508 002D1468 7D 89 03 A6 */ mtctr r12
/* 802D450C 002D146C 4E 80 04 21 */ bctrl
/* 802D450C 002D146C 4E 80 04 21 */ bctrl
/* 802D4510 002D1470 7C 64 1B 78 */ mr r4, r3
/* 802D4514 002D1474 7F E3 FB 78 */ mr r3, r31
/* 802D4518 002D1478 48 00 0E 35 */ bl Passes__15CMaterialFilterCFRC13CMaterialList
@ -625,7 +625,7 @@ lbl_802D4668:
/* 802D466C 002D15CC 81 9D 00 00 */ lwz r12, 0(r29)
/* 802D4670 002D15D0 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802D4674 002D15D4 7D 89 03 A6 */ mtctr r12
/* 802D4678 002D15D8 4E 80 04 21 */ bctrl
/* 802D4678 002D15D8 4E 80 04 21 */ bctrl
/* 802D467C 002D15DC 7C 7F 1B 78 */ mr r31, r3
/* 802D4680 002D15E0 38 61 00 24 */ addi r3, r1, 0x24
/* 802D4684 002D15E4 38 81 00 4C */ addi r4, r1, 0x4c
@ -690,7 +690,7 @@ lbl_802D4758:
/* 802D4768 002D16C8 83 81 00 70 */ lwz r28, 0x70(r1)
/* 802D476C 002D16CC 7C 08 03 A6 */ mtlr r0
/* 802D4770 002D16D0 38 21 00 80 */ addi r1, r1, 0x80
/* 802D4774 002D16D4 4E 80 00 20 */ blr
/* 802D4774 002D16D4 4E 80 00 20 */ blr
.global Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure
Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure:
@ -746,7 +746,7 @@ Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure:
/* 802D483C 002D179C 80 01 00 54 */ lwz r0, 0x54(r1)
/* 802D4840 002D17A0 7C 08 03 A6 */ mtlr r0
/* 802D4844 002D17A4 38 21 00 50 */ addi r1, r1, 0x50
/* 802D4848 002D17A8 4E 80 00 20 */ blr
/* 802D4848 002D17A8 4E 80 00 20 */ blr
.global Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList
Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList:
@ -856,13 +856,13 @@ lbl_802D499C:
/* 802D49E0 002D1940 81 9F 00 00 */ lwz r12, 0(r31)
/* 802D49E4 002D1944 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802D49E8 002D1948 7D 89 03 A6 */ mtctr r12
/* 802D49EC 002D194C 4E 80 04 21 */ bctrl
/* 802D49EC 002D194C 4E 80 04 21 */ bctrl
/* 802D49F0 002D1950 7C 7F 1B 78 */ mr r31, r3
/* 802D49F4 002D1954 7F C3 F3 78 */ mr r3, r30
/* 802D49F8 002D1958 81 9E 00 00 */ lwz r12, 0(r30)
/* 802D49FC 002D195C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802D4A00 002D1960 7D 89 03 A6 */ mtctr r12
/* 802D4A04 002D1964 4E 80 04 21 */ bctrl
/* 802D4A04 002D1964 4E 80 04 21 */ bctrl
/* 802D4A08 002D1968 7C 65 1B 78 */ mr r5, r3
/* 802D4A0C 002D196C 7F E6 FB 78 */ mr r6, r31
/* 802D4A10 002D1970 38 61 00 78 */ addi r3, r1, 0x78
@ -893,7 +893,7 @@ lbl_802D4A3C:
/* 802D4A6C 002D19CC 83 81 00 E0 */ lwz r28, 0xe0(r1)
/* 802D4A70 002D19D0 7C 08 03 A6 */ mtlr r0
/* 802D4A74 002D19D4 38 21 01 30 */ addi r1, r1, 0x130
/* 802D4A78 002D19D8 4E 80 00 20 */ blr
/* 802D4A78 002D19D8 4E 80 00 20 */ blr
.global Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList
Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList:
@ -1064,13 +1064,13 @@ lbl_802D4C44:
/* 802D4CF8 002D1C58 81 9E 00 00 */ lwz r12, 0(r30)
/* 802D4CFC 002D1C5C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802D4D00 002D1C60 7D 89 03 A6 */ mtctr r12
/* 802D4D04 002D1C64 4E 80 04 21 */ bctrl
/* 802D4D04 002D1C64 4E 80 04 21 */ bctrl
/* 802D4D08 002D1C68 7C 7E 1B 78 */ mr r30, r3
/* 802D4D0C 002D1C6C 7F A3 EB 78 */ mr r3, r29
/* 802D4D10 002D1C70 81 9D 00 00 */ lwz r12, 0(r29)
/* 802D4D14 002D1C74 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802D4D18 002D1C78 7D 89 03 A6 */ mtctr r12
/* 802D4D1C 002D1C7C 4E 80 04 21 */ bctrl
/* 802D4D1C 002D1C7C 4E 80 04 21 */ bctrl
/* 802D4D20 002D1C80 7C 65 1B 78 */ mr r5, r3
/* 802D4D24 002D1C84 7F C6 F3 78 */ mr r6, r30
/* 802D4D28 002D1C88 38 61 01 30 */ addi r3, r1, 0x130
@ -1104,7 +1104,7 @@ lbl_802D4D64:
/* 802D4D90 002D1CF0 38 63 CB 20 */ addi r3, r3, lbl_803ECB20@l
/* 802D4D94 002D1CF4 7C 03 00 2E */ lwzx r0, r3, r0
/* 802D4D98 002D1CF8 7C 09 03 A6 */ mtctr r0
/* 802D4D9C 002D1CFC 4E 80 04 20 */ bctr
/* 802D4D9C 002D1CFC 4E 80 04 20 */ bctr
.global lbl_802D4DA0
lbl_802D4DA0:
/* 802D4DA0 002D1D00 C0 61 00 C4 */ lfs f3, 0xc4(r1)
@ -1344,13 +1344,13 @@ lbl_802D5044:
/* 802D5078 002D1FD8 81 9E 00 00 */ lwz r12, 0(r30)
/* 802D507C 002D1FDC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802D5080 002D1FE0 7D 89 03 A6 */ mtctr r12
/* 802D5084 002D1FE4 4E 80 04 21 */ bctrl
/* 802D5084 002D1FE4 4E 80 04 21 */ bctrl
/* 802D5088 002D1FE8 7C 7E 1B 78 */ mr r30, r3
/* 802D508C 002D1FEC 7F A3 EB 78 */ mr r3, r29
/* 802D5090 002D1FF0 81 9D 00 00 */ lwz r12, 0(r29)
/* 802D5094 002D1FF4 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802D5098 002D1FF8 7D 89 03 A6 */ mtctr r12
/* 802D509C 002D1FFC 4E 80 04 21 */ bctrl
/* 802D509C 002D1FFC 4E 80 04 21 */ bctrl
/* 802D50A0 002D2000 7C 65 1B 78 */ mr r5, r3
/* 802D50A4 002D2004 7F C6 F3 78 */ mr r6, r30
/* 802D50A8 002D2008 38 61 00 D0 */ addi r3, r1, 0xd0
@ -1375,7 +1375,7 @@ lbl_802D50CC:
/* 802D50F0 002D2050 83 A1 01 94 */ lwz r29, 0x194(r1)
/* 802D50F4 002D2054 7C 08 03 A6 */ mtlr r0
/* 802D50F8 002D2058 38 21 01 D0 */ addi r1, r1, 0x1d0
/* 802D50FC 002D205C 4E 80 00 20 */ blr
/* 802D50FC 002D205C 4E 80 00 20 */ blr
.global Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure
Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure:
@ -1441,7 +1441,7 @@ Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure:
/* 802D51EC 002D214C 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 802D51F0 002D2150 7C 08 03 A6 */ mtlr r0
/* 802D51F4 002D2154 38 21 00 90 */ addi r1, r1, 0x90
/* 802D51F8 002D2158 4E 80 00 20 */ blr
/* 802D51F8 002D2158 4E 80 00 20 */ blr
.global Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox
Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox:
@ -1502,7 +1502,7 @@ lbl_802D52AC:
/* 802D52BC 002D221C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f
/* 802D52C0 002D2220 7C 00 00 34 */ cntlzw r0, r0
/* 802D52C4 002D2224 54 03 D9 7E */ srwi r3, r0, 5
/* 802D52C8 002D2228 4E 80 00 20 */ blr
/* 802D52C8 002D2228 4E 80 00 20 */ blr
.global GetType__17CCollidableSphereFv
GetType__17CCollidableSphereFv:
@ -1512,12 +1512,12 @@ GetType__17CCollidableSphereFv:
/* 802D52D8 002D2238 90 03 00 00 */ stw r0, 0(r3)
/* 802D52DC 002D223C 38 04 6A 90 */ addi r0, r4, lbl_803D6A90@l
/* 802D52E0 002D2240 90 03 00 04 */ stw r0, 4(r3)
/* 802D52E4 002D2244 4E 80 00 20 */ blr
/* 802D52E4 002D2244 4E 80 00 20 */ blr
.global SetStaticTableIndex__17CCollidableSphereFUi
SetStaticTableIndex__17CCollidableSphereFUi:
/* 802D52E8 002D2248 90 6D 9B 38 */ stw r3, lbl_805A86F8@sda21(r13)
/* 802D52EC 002D224C 4E 80 00 20 */ blr
/* 802D52EC 002D224C 4E 80 00 20 */ blr
.global __sinit_CCollidableSphere_cpp
__sinit_CCollidableSphere_cpp:

View File

@ -30,7 +30,7 @@ Swap__14CCollisionInfoFv:
/* 802CE114 002CB074 90 03 00 38 */ stw r0, 0x38(r3)
/* 802CE118 002CB078 90 C3 00 44 */ stw r6, 0x44(r3)
/* 802CE11C 002CB07C 90 A3 00 40 */ stw r5, 0x40(r3)
/* 802CE120 002CB080 4E 80 00 20 */ blr
/* 802CE120 002CB080 4E 80 00 20 */ blr
.global GetExtreme__14CCollisionInfoCFv
GetExtreme__14CCollisionInfoCFv:
@ -58,7 +58,7 @@ GetExtreme__14CCollisionInfoCFv:
/* 802CE178 002CB0D8 EC 02 08 2A */ fadds f0, f2, f1
/* 802CE17C 002CB0DC D0 63 00 04 */ stfs f3, 4(r3)
/* 802CE180 002CB0E0 D0 03 00 08 */ stfs f0, 8(r3)
/* 802CE184 002CB0E4 4E 80 00 20 */ blr
/* 802CE184 002CB0E4 4E 80 00 20 */ blr
.global __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid
__ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid:
@ -88,7 +88,7 @@ __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid:
/* 802CE1E4 002CB144 D0 03 00 54 */ stfs f0, 0x54(r3)
/* 802CE1E8 002CB148 D0 03 00 58 */ stfs f0, 0x58(r3)
/* 802CE1EC 002CB14C D0 03 00 5C */ stfs f0, 0x5c(r3)
/* 802CE1F0 002CB150 4E 80 00 20 */ blr
/* 802CE1F0 002CB150 4E 80 00 20 */ blr
.global GetSwapped__14CCollisionInfoCFv
GetSwapped__14CCollisionInfoCFv:
@ -140,7 +140,7 @@ GetSwapped__14CCollisionInfoCFv:
/* 802CE2A8 002CB208 D0 03 00 58 */ stfs f0, 0x58(r3)
/* 802CE2AC 002CB20C C0 04 00 50 */ lfs f0, 0x50(r4)
/* 802CE2B0 002CB210 D0 03 00 5C */ stfs f0, 0x5c(r3)
/* 802CE2B4 002CB214 4E 80 00 20 */ blr
/* 802CE2B4 002CB214 4E 80 00 20 */ blr
.global __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f
__ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f:
@ -192,7 +192,7 @@ __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC
/* 802CE36C 002CB2CC D0 03 00 58 */ stfs f0, 0x58(r3)
/* 802CE370 002CB2D0 C0 08 00 08 */ lfs f0, 8(r8)
/* 802CE374 002CB2D4 D0 03 00 5C */ stfs f0, 0x5c(r3)
/* 802CE378 002CB2D8 4E 80 00 20 */ blr
/* 802CE378 002CB2D8 4E 80 00 20 */ blr
.global __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f
__ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f:
@ -246,7 +246,7 @@ __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3
/* 802CE438 002CB398 D0 03 00 58 */ stfs f0, 0x58(r3)
/* 802CE43C 002CB39C C0 08 00 08 */ lfs f0, 8(r8)
/* 802CE440 002CB3A0 D0 03 00 5C */ stfs f0, 0x5c(r3)
/* 802CE444 002CB3A4 4E 80 00 20 */ blr
/* 802CE444 002CB3A4 4E 80 00 20 */ blr
.global __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f
__ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f:

View File

@ -47,7 +47,7 @@ lbl_805A9230:
.global lbl_805A9234
lbl_805A9234:
.skip 0x4
.section .text, "ax"
.global InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc
@ -63,7 +63,7 @@ InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC
/* 802CE6A4 002CB604 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CE6A8 002CB608 7C 08 03 A6 */ mtlr r0
/* 802CE6AC 002CB60C 38 21 00 20 */ addi r1, r1, 0x20
/* 802CE6B0 002CB610 4E 80 00 20 */ blr
/* 802CE6B0 002CB610 4E 80 00 20 */ blr
.global InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc
InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc:
@ -78,7 +78,7 @@ InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_
/* 802CE6D4 002CB634 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CE6D8 002CB638 7C 08 03 A6 */ mtlr r0
/* 802CE6DC 002CB63C 38 21 00 20 */ addi r1, r1, 0x20
/* 802CE6E0 002CB640 4E 80 00 20 */ blr
/* 802CE6E0 002CB640 4E 80 00 20 */ blr
.global InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc
InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc:
@ -93,7 +93,7 @@ InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CColl
/* 802CE704 002CB664 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CE708 002CB668 7C 08 03 A6 */ mtlr r0
/* 802CE70C 002CB66C 38 21 00 20 */ addi r1, r1, 0x20
/* 802CE710 002CB670 4E 80 00 20 */ blr
/* 802CE710 002CB670 4E 80 00 20 */ blr
.global CollideMoving__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescRC9CVector3fRdR14CCollisionInfo
CollideMoving__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescRC9CVector3fRdR14CCollisionInfo:
@ -135,7 +135,7 @@ CollideMoving__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDesc
/* 802CE7A0 002CB700 83 81 00 80 */ lwz r28, 0x80(r1)
/* 802CE7A4 002CB704 7C 08 03 A6 */ mtlr r0
/* 802CE7A8 002CB708 38 21 00 90 */ addi r1, r1, 0x90
/* 802CE7AC 002CB70C 4E 80 00 20 */ blr
/* 802CE7AC 002CB70C 4E 80 00 20 */ blr
.global Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList
Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList:
@ -169,7 +169,7 @@ Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227
/* 802CE81C 002CB77C 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 802CE820 002CB780 7C 08 03 A6 */ mtlr r0
/* 802CE824 002CB784 38 21 00 80 */ addi r1, r1, 0x80
/* 802CE828 002CB788 4E 80 00 20 */ blr
/* 802CE828 002CB788 4E 80 00 20 */ blr
.global CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc
CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc:
@ -199,7 +199,7 @@ CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDes
/* 802CE888 002CB7E8 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 802CE88C 002CB7EC 7C 08 03 A6 */ mtlr r0
/* 802CE890 002CB7F0 38 21 00 80 */ addi r1, r1, 0x80
/* 802CE894 002CB7F4 4E 80 00 20 */ blr
/* 802CE894 002CB7F4 4E 80 00 20 */ blr
.global Uninitialize__19CCollisionPrimitiveFv
Uninitialize__19CCollisionPrimitiveFv:
@ -257,7 +257,7 @@ lbl_802CE918:
/* 802CE954 002CB8B4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802CE958 002CB8B8 7C 08 03 A6 */ mtlr r0
/* 802CE95C 002CB8BC 38 21 00 20 */ addi r1, r1, 0x20
/* 802CE960 002CB8C0 4E 80 00 20 */ blr
/* 802CE960 002CB8C0 4E 80 00 20 */ blr
.global InternalCollideBoolean__19CCollisionPrimitiveFRC27CInternalCollisionStructure
InternalCollideBoolean__19CCollisionPrimitiveFRC27CInternalCollisionStructure:
@ -274,13 +274,13 @@ InternalCollideBoolean__19CCollisionPrimitiveFRC27CInternalCollisionStructure:
/* 802CE98C 002CB8EC 81 8C 00 08 */ lwz r12, 8(r12)
/* 802CE990 002CB8F0 83 7A 00 3C */ lwz r27, 0x3c(r26)
/* 802CE994 002CB8F4 7D 89 03 A6 */ mtctr r12
/* 802CE998 002CB8F8 4E 80 04 21 */ bctrl
/* 802CE998 002CB8F8 4E 80 04 21 */ bctrl
/* 802CE99C 002CB8FC 7C 7F 1B 78 */ mr r31, r3
/* 802CE9A0 002CB900 7F A3 EB 78 */ mr r3, r29
/* 802CE9A4 002CB904 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CE9A8 002CB908 81 8C 00 08 */ lwz r12, 8(r12)
/* 802CE9AC 002CB90C 7D 89 03 A6 */ mtctr r12
/* 802CE9B0 002CB910 4E 80 04 21 */ bctrl
/* 802CE9B0 002CB910 4E 80 04 21 */ bctrl
/* 802CE9B4 002CB914 3C 1F 00 01 */ addis r0, r31, 1
/* 802CE9B8 002CB918 28 00 FF FF */ cmplwi r0, 0xffff
/* 802CE9BC 002CB91C 41 82 00 10 */ beq lbl_802CE9CC
@ -307,7 +307,7 @@ lbl_802CE9F4:
/* 802CEA04 002CB964 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CEA08 002CB968 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CEA0C 002CB96C 7D 89 03 A6 */ mtctr r12
/* 802CEA10 002CB970 4E 80 04 21 */ bctrl
/* 802CEA10 002CB970 4E 80 04 21 */ bctrl
/* 802CEA14 002CB974 7C 64 1B 78 */ mr r4, r3
/* 802CEA18 002CB978 7F 83 E3 78 */ mr r3, r28
/* 802CEA1C 002CB97C 48 00 69 31 */ bl Passes__15CMaterialFilterCFRC13CMaterialList
@ -317,7 +317,7 @@ lbl_802CE9F4:
/* 802CEA2C 002CB98C 81 9E 00 00 */ lwz r12, 0(r30)
/* 802CEA30 002CB990 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CEA34 002CB994 7D 89 03 A6 */ mtctr r12
/* 802CEA38 002CB998 4E 80 04 21 */ bctrl
/* 802CEA38 002CB998 4E 80 04 21 */ bctrl
/* 802CEA3C 002CB99C 7C 64 1B 78 */ mr r4, r3
/* 802CEA40 002CB9A0 7F 63 DB 78 */ mr r3, r27
/* 802CEA44 002CB9A4 48 00 69 09 */ bl Passes__15CMaterialFilterCFRC13CMaterialList
@ -330,7 +330,7 @@ lbl_802CEA58:
/* 802CEA58 002CB9B8 7F 2C CB 78 */ mr r12, r25
/* 802CEA5C 002CB9BC 7F 43 D3 78 */ mr r3, r26
/* 802CEA60 002CB9C0 7D 89 03 A6 */ mtctr r12
/* 802CEA64 002CB9C4 4E 80 04 21 */ bctrl
/* 802CEA64 002CB9C4 4E 80 04 21 */ bctrl
/* 802CEA68 002CB9C8 48 00 01 A8 */ b lbl_802CEC10
lbl_802CEA6C:
/* 802CEA6C 002CB9CC 3C 03 00 01 */ addis r0, r3, 1
@ -359,7 +359,7 @@ lbl_802CEAAC:
/* 802CEABC 002CBA1C 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CEAC0 002CBA20 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CEAC4 002CBA24 7D 89 03 A6 */ mtctr r12
/* 802CEAC8 002CBA28 4E 80 04 21 */ bctrl
/* 802CEAC8 002CBA28 4E 80 04 21 */ bctrl
/* 802CEACC 002CBA2C 7C 64 1B 78 */ mr r4, r3
/* 802CEAD0 002CBA30 7F 83 E3 78 */ mr r3, r28
/* 802CEAD4 002CBA34 48 00 68 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList
@ -369,7 +369,7 @@ lbl_802CEAAC:
/* 802CEAE4 002CBA44 81 9E 00 00 */ lwz r12, 0(r30)
/* 802CEAE8 002CBA48 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CEAEC 002CBA4C 7D 89 03 A6 */ mtctr r12
/* 802CEAF0 002CBA50 4E 80 04 21 */ bctrl
/* 802CEAF0 002CBA50 4E 80 04 21 */ bctrl
/* 802CEAF4 002CBA54 7C 64 1B 78 */ mr r4, r3
/* 802CEAF8 002CBA58 7F 63 DB 78 */ mr r3, r27
/* 802CEAFC 002CBA5C 48 00 68 51 */ bl Passes__15CMaterialFilterCFRC13CMaterialList
@ -411,7 +411,7 @@ lbl_802CEB10:
/* 802CEB84 002CBAE4 7F EC FB 78 */ mr r12, r31
/* 802CEB88 002CBAE8 38 61 00 78 */ addi r3, r1, 0x78
/* 802CEB8C 002CBAEC 7D 89 03 A6 */ mtctr r12
/* 802CEB90 002CBAF0 4E 80 04 21 */ bctrl
/* 802CEB90 002CBAF0 4E 80 04 21 */ bctrl
/* 802CEB94 002CBAF4 54 63 06 3E */ clrlwi r3, r3, 0x18
/* 802CEB98 002CBAF8 7C 03 00 D0 */ neg r0, r3
/* 802CEB9C 002CBAFC 7C 00 1B 78 */ or r0, r0, r3
@ -453,7 +453,7 @@ lbl_802CEC10:
/* 802CEC14 002CBB74 80 01 0D 14 */ lwz r0, 0xd14(r1)
/* 802CEC18 002CBB78 7C 08 03 A6 */ mtlr r0
/* 802CEC1C 002CBB7C 38 21 0D 10 */ addi r1, r1, 0xd10
/* 802CEC20 002CBB80 4E 80 00 20 */ blr
/* 802CEC20 002CBB80 4E 80 00 20 */ blr
.global InternalCollideMoving__19CCollisionPrimitiveFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo
InternalCollideMoving__19CCollisionPrimitiveFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo:
@ -473,13 +473,13 @@ InternalCollideMoving__19CCollisionPrimitiveFRC27CInternalCollisionStructureRC9C
/* 802CEC58 002CBBB8 81 8C 00 08 */ lwz r12, 8(r12)
/* 802CEC5C 002CBBBC 83 B9 00 3C */ lwz r29, 0x3c(r25)
/* 802CEC60 002CBBC0 7D 89 03 A6 */ mtctr r12
/* 802CEC64 002CBBC4 4E 80 04 21 */ bctrl
/* 802CEC64 002CBBC4 4E 80 04 21 */ bctrl
/* 802CEC68 002CBBC8 7C 78 1B 78 */ mr r24, r3
/* 802CEC6C 002CBBCC 7E E3 BB 78 */ mr r3, r23
/* 802CEC70 002CBBD0 81 97 00 00 */ lwz r12, 0(r23)
/* 802CEC74 002CBBD4 81 8C 00 08 */ lwz r12, 8(r12)
/* 802CEC78 002CBBD8 7D 89 03 A6 */ mtctr r12
/* 802CEC7C 002CBBDC 4E 80 04 21 */ bctrl
/* 802CEC7C 002CBBDC 4E 80 04 21 */ bctrl
/* 802CEC80 002CBBE0 3C 18 00 01 */ addis r0, r24, 1
/* 802CEC84 002CBBE4 28 00 FF FF */ cmplwi r0, 0xffff
/* 802CEC88 002CBBE8 41 82 00 10 */ beq lbl_802CEC98
@ -506,7 +506,7 @@ lbl_802CECC0:
/* 802CECD0 002CBC30 81 97 00 00 */ lwz r12, 0(r23)
/* 802CECD4 002CBC34 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CECD8 002CBC38 7D 89 03 A6 */ mtctr r12
/* 802CECDC 002CBC3C 4E 80 04 21 */ bctrl
/* 802CECDC 002CBC3C 4E 80 04 21 */ bctrl
/* 802CECE0 002CBC40 7C 64 1B 78 */ mr r4, r3
/* 802CECE4 002CBC44 7F C3 F3 78 */ mr r3, r30
/* 802CECE8 002CBC48 48 00 66 65 */ bl Passes__15CMaterialFilterCFRC13CMaterialList
@ -516,7 +516,7 @@ lbl_802CECC0:
/* 802CECF8 002CBC58 81 9F 00 00 */ lwz r12, 0(r31)
/* 802CECFC 002CBC5C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CED00 002CBC60 7D 89 03 A6 */ mtctr r12
/* 802CED04 002CBC64 4E 80 04 21 */ bctrl
/* 802CED04 002CBC64 4E 80 04 21 */ bctrl
/* 802CED08 002CBC68 7C 64 1B 78 */ mr r4, r3
/* 802CED0C 002CBC6C 7F A3 EB 78 */ mr r3, r29
/* 802CED10 002CBC70 48 00 66 3D */ bl Passes__15CMaterialFilterCFRC13CMaterialList
@ -532,7 +532,7 @@ lbl_802CED24:
/* 802CED30 002CBC90 7F 65 DB 78 */ mr r5, r27
/* 802CED34 002CBC94 7F 86 E3 78 */ mr r6, r28
/* 802CED38 002CBC98 7D 89 03 A6 */ mtctr r12
/* 802CED3C 002CBC9C 4E 80 04 21 */ bctrl
/* 802CED3C 002CBC9C 4E 80 04 21 */ bctrl
/* 802CED40 002CBCA0 48 00 00 08 */ b lbl_802CED48
lbl_802CED44:
/* 802CED44 002CBCA4 38 60 00 00 */ li r3, 0
@ -541,7 +541,7 @@ lbl_802CED48:
/* 802CED4C 002CBCAC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802CED50 002CBCB0 7C 08 03 A6 */ mtlr r0
/* 802CED54 002CBCB4 38 21 00 30 */ addi r1, r1, 0x30
/* 802CED58 002CBCB8 4E 80 00 20 */ blr
/* 802CED58 002CBCB8 4E 80 00 20 */ blr
.global InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList
InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList:
@ -559,13 +559,13 @@ InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollis
/* 802CED88 002CBCE8 81 8C 00 08 */ lwz r12, 8(r12)
/* 802CED8C 002CBCEC 83 79 00 3C */ lwz r27, 0x3c(r25)
/* 802CED90 002CBCF0 7D 89 03 A6 */ mtctr r12
/* 802CED94 002CBCF4 4E 80 04 21 */ bctrl
/* 802CED94 002CBCF4 4E 80 04 21 */ bctrl
/* 802CED98 002CBCF8 7C 7F 1B 78 */ mr r31, r3
/* 802CED9C 002CBCFC 7F A3 EB 78 */ mr r3, r29
/* 802CEDA0 002CBD00 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CEDA4 002CBD04 81 8C 00 08 */ lwz r12, 8(r12)
/* 802CEDA8 002CBD08 7D 89 03 A6 */ mtctr r12
/* 802CEDAC 002CBD0C 4E 80 04 21 */ bctrl
/* 802CEDAC 002CBD0C 4E 80 04 21 */ bctrl
/* 802CEDB0 002CBD10 3C 1F 00 01 */ addis r0, r31, 1
/* 802CEDB4 002CBD14 28 00 FF FF */ cmplwi r0, 0xffff
/* 802CEDB8 002CBD18 41 82 00 10 */ beq lbl_802CEDC8
@ -592,7 +592,7 @@ lbl_802CEDF0:
/* 802CEE00 002CBD60 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CEE04 002CBD64 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CEE08 002CBD68 7D 89 03 A6 */ mtctr r12
/* 802CEE0C 002CBD6C 4E 80 04 21 */ bctrl
/* 802CEE0C 002CBD6C 4E 80 04 21 */ bctrl
/* 802CEE10 002CBD70 7C 64 1B 78 */ mr r4, r3
/* 802CEE14 002CBD74 7F 83 E3 78 */ mr r3, r28
/* 802CEE18 002CBD78 48 00 65 35 */ bl Passes__15CMaterialFilterCFRC13CMaterialList
@ -602,7 +602,7 @@ lbl_802CEDF0:
/* 802CEE28 002CBD88 81 9E 00 00 */ lwz r12, 0(r30)
/* 802CEE2C 002CBD8C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CEE30 002CBD90 7D 89 03 A6 */ mtctr r12
/* 802CEE34 002CBD94 4E 80 04 21 */ bctrl
/* 802CEE34 002CBD94 4E 80 04 21 */ bctrl
/* 802CEE38 002CBD98 7C 64 1B 78 */ mr r4, r3
/* 802CEE3C 002CBD9C 7F 63 DB 78 */ mr r3, r27
/* 802CEE40 002CBDA0 48 00 65 0D */ bl Passes__15CMaterialFilterCFRC13CMaterialList
@ -616,7 +616,7 @@ lbl_802CEE54:
/* 802CEE58 002CBDB8 7F 23 CB 78 */ mr r3, r25
/* 802CEE5C 002CBDBC 7F 44 D3 78 */ mr r4, r26
/* 802CEE60 002CBDC0 7D 89 03 A6 */ mtctr r12
/* 802CEE64 002CBDC4 4E 80 04 21 */ bctrl
/* 802CEE64 002CBDC4 4E 80 04 21 */ bctrl
/* 802CEE68 002CBDC8 48 00 01 7C */ b lbl_802CEFE4
lbl_802CEE6C:
/* 802CEE6C 002CBDCC 3C 03 00 01 */ addis r0, r3, 1
@ -645,7 +645,7 @@ lbl_802CEEAC:
/* 802CEEBC 002CBE1C 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CEEC0 002CBE20 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CEEC4 002CBE24 7D 89 03 A6 */ mtctr r12
/* 802CEEC8 002CBE28 4E 80 04 21 */ bctrl
/* 802CEEC8 002CBE28 4E 80 04 21 */ bctrl
/* 802CEECC 002CBE2C 7C 64 1B 78 */ mr r4, r3
/* 802CEED0 002CBE30 7F 83 E3 78 */ mr r3, r28
/* 802CEED4 002CBE34 48 00 64 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList
@ -655,7 +655,7 @@ lbl_802CEEAC:
/* 802CEEE4 002CBE44 81 9E 00 00 */ lwz r12, 0(r30)
/* 802CEEE8 002CBE48 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CEEEC 002CBE4C 7D 89 03 A6 */ mtctr r12
/* 802CEEF0 002CBE50 4E 80 04 21 */ bctrl
/* 802CEEF0 002CBE50 4E 80 04 21 */ bctrl
/* 802CEEF4 002CBE54 7C 64 1B 78 */ mr r4, r3
/* 802CEEF8 002CBE58 7F 63 DB 78 */ mr r3, r27
/* 802CEEFC 002CBE5C 48 00 64 51 */ bl Passes__15CMaterialFilterCFRC13CMaterialList
@ -699,7 +699,7 @@ lbl_802CEF10:
/* 802CEF8C 002CBEEC 38 61 00 78 */ addi r3, r1, 0x78
/* 802CEF90 002CBEF0 83 3A 00 00 */ lwz r25, 0(r26)
/* 802CEF94 002CBEF4 7D 89 03 A6 */ mtctr r12
/* 802CEF98 002CBEF8 4E 80 04 21 */ bctrl
/* 802CEF98 002CBEF8 4E 80 04 21 */ bctrl
/* 802CEF9C 002CBEFC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802CEFA0 002CBF00 41 82 00 38 */ beq lbl_802CEFD8
/* 802CEFA4 002CBF04 1C 19 00 60 */ mulli r0, r25, 0x60
@ -727,7 +727,7 @@ lbl_802CEFE4:
/* 802CEFE8 002CBF48 80 01 01 14 */ lwz r0, 0x114(r1)
/* 802CEFEC 002CBF4C 7C 08 03 A6 */ mtlr r0
/* 802CEFF0 002CBF50 38 21 01 10 */ addi r1, r1, 0x110
/* 802CEFF4 002CBF54 4E 80 00 20 */ blr
/* 802CEFF4 002CBF54 4E 80 00 20 */ blr
.global InitAddMovingCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive16MovingComparison
InitAddMovingCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive16MovingComparison:
@ -821,7 +821,7 @@ lbl_802CF11C:
/* 802CF120 002CC080 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CF124 002CC084 7C 08 03 A6 */ mtlr r0
/* 802CF128 002CC088 38 21 00 20 */ addi r1, r1, 0x20
/* 802CF12C 002CC08C 4E 80 00 20 */ blr
/* 802CF12C 002CC08C 4E 80 00 20 */ blr
.global InitAddBooleanCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive17BooleanComparison
InitAddBooleanCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive17BooleanComparison:
@ -915,7 +915,7 @@ lbl_802CF254:
/* 802CF258 002CC1B8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CF25C 002CC1BC 7C 08 03 A6 */ mtlr r0
/* 802CF260 002CC1C0 38 21 00 20 */ addi r1, r1, 0x20
/* 802CF264 002CC1C4 4E 80 00 20 */ blr
/* 802CF264 002CC1C4 4E 80 00 20 */ blr
.global InitAddCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive10Comparison
InitAddCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive10Comparison:
@ -1009,7 +1009,7 @@ lbl_802CF38C:
/* 802CF390 002CC2F0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CF394 002CC2F4 7C 08 03 A6 */ mtlr r0
/* 802CF398 002CC2F8 38 21 00 20 */ addi r1, r1, 0x20
/* 802CF39C 002CC2FC 4E 80 00 20 */ blr
/* 802CF39C 002CC2FC 4E 80 00 20 */ blr
.global InitEndColliders__19CCollisionPrimitiveFv
InitEndColliders__19CCollisionPrimitiveFv:
@ -1057,7 +1057,7 @@ lbl_802CF414:
/* 802CF424 002CC384 98 6D A6 58 */ stb r3, lbl_805A9218@sda21(r13)
/* 802CF428 002CC388 98 0D A6 57 */ stb r0, lbl_805A9217@sda21(r13)
/* 802CF42C 002CC38C 98 0D A6 54 */ stb r0, lbl_805A9214@sda21(r13)
/* 802CF430 002CC390 4E 80 00 20 */ blr
/* 802CF430 002CC390 4E 80 00 20 */ blr
.global InitBeginColliders__19CCollisionPrimitiveFv
InitBeginColliders__19CCollisionPrimitiveFv:
@ -1117,7 +1117,7 @@ InitBeginColliders__19CCollisionPrimitiveFv:
/* 802CF508 002CC468 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CF50C 002CC46C 7C 08 03 A6 */ mtlr r0
/* 802CF510 002CC470 38 21 00 10 */ addi r1, r1, 0x10
/* 802CF514 002CC474 4E 80 00 20 */ blr
/* 802CF514 002CC474 4E 80 00 20 */ blr
.global InitEndTypes__19CCollisionPrimitiveFv
InitEndTypes__19CCollisionPrimitiveFv:
@ -1275,7 +1275,7 @@ lbl_802CF720:
/* 802CF728 002CC688 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 802CF72C 002CC68C 7C 08 03 A6 */ mtlr r0
/* 802CF730 002CC690 38 21 00 40 */ addi r1, r1, 0x40
/* 802CF734 002CC694 4E 80 00 20 */ blr
/* 802CF734 002CC694 4E 80 00 20 */ blr
.global InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type
InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type:
@ -1289,7 +1289,7 @@ InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type:
/* 802CF754 002CC6B4 81 9E 00 00 */ lwz r12, 0(r30)
/* 802CF758 002CC6B8 80 63 00 04 */ lwz r3, 4(r3)
/* 802CF75C 002CC6BC 7D 89 03 A6 */ mtctr r12
/* 802CF760 002CC6C0 4E 80 04 21 */ bctrl
/* 802CF760 002CC6C0 4E 80 04 21 */ bctrl
/* 802CF764 002CC6C4 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13)
/* 802CF768 002CC6C8 80 83 00 04 */ lwz r4, 4(r3)
/* 802CF76C 002CC6CC 38 84 00 01 */ addi r4, r4, 1
@ -1325,7 +1325,7 @@ lbl_802CF7C4:
/* 802CF7D8 002CC738 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CF7DC 002CC73C 7C 08 03 A6 */ mtlr r0
/* 802CF7E0 002CC740 38 21 00 10 */ addi r1, r1, 0x10
/* 802CF7E4 002CC744 4E 80 00 20 */ blr
/* 802CF7E4 002CC744 4E 80 00 20 */ blr
.global InitBeginTypes__19CCollisionPrimitiveFv
InitBeginTypes__19CCollisionPrimitiveFv:
@ -1384,7 +1384,7 @@ lbl_802CF880:
/* 802CF8A4 002CC804 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802CF8A8 002CC808 7C 08 03 A6 */ mtlr r0
/* 802CF8AC 002CC80C 38 21 00 20 */ addi r1, r1, 0x20
/* 802CF8B0 002CC810 4E 80 00 20 */ blr
/* 802CF8B0 002CC810 4E 80 00 20 */ blr
.global __ct__19CCollisionPrimitiveFRC13CMaterialList
__ct__19CCollisionPrimitiveFRC13CMaterialList:
@ -1395,7 +1395,7 @@ __ct__19CCollisionPrimitiveFRC13CMaterialList:
/* 802CF8C4 002CC824 80 84 00 04 */ lwz r4, 4(r4)
/* 802CF8C8 002CC828 90 83 00 0C */ stw r4, 0xc(r3)
/* 802CF8CC 002CC82C 90 03 00 08 */ stw r0, 8(r3)
/* 802CF8D0 002CC830 4E 80 00 20 */ blr
/* 802CF8D0 002CC830 4E 80 00 20 */ blr
.global "reserve__Q24rstl63vector<Q219CCollisionPrimitive4Type,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl63vector<Q219CCollisionPrimitive4Type,Q24rstl17rmemory_allocator>Fi":
@ -1468,7 +1468,7 @@ lbl_802CF9AC:
/* 802CF9B8 002CC918 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 802CF9BC 002CC91C 7C 08 03 A6 */ mtlr r0
/* 802CF9C0 002CC920 38 21 00 30 */ addi r1, r1, 0x30
/* 802CF9C4 002CC924 4E 80 00 20 */ blr
/* 802CF9C4 002CC924 4E 80 00 20 */ blr
.global __sinit_CCollisionPrimitive_cpp
__sinit_CCollisionPrimitive_cpp:
@ -1510,7 +1510,7 @@ __sinit_CCollisionPrimitive_cpp:
/* 802CFA54 002CC9B4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CFA58 002CC9B8 7C 08 03 A6 */ mtlr r0
/* 802CFA5C 002CC9BC 38 21 00 10 */ addi r1, r1, 0x10
/* 802CFA60 002CC9C0 4E 80 00 20 */ blr
/* 802CFA60 002CC9C0 4E 80 00 20 */ blr
.global "__dt__Q24rstl78single_ptr<PFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_b>Fv"
"__dt__Q24rstl78single_ptr<PFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_b>Fv":
@ -1535,7 +1535,7 @@ lbl_802CFA9C:
/* 802CFAA8 002CCA08 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CFAAC 002CCA0C 7C 08 03 A6 */ mtlr r0
/* 802CFAB0 002CCA10 38 21 00 10 */ addi r1, r1, 0x10
/* 802CFAB4 002CCA14 4E 80 00 20 */ blr
/* 802CFAB4 002CCA14 4E 80 00 20 */ blr
.global "__dt__Q24rstl47single_ptr<PFRC27CInternalCollisionStructure_b>Fv"
"__dt__Q24rstl47single_ptr<PFRC27CInternalCollisionStructure_b>Fv":
@ -1560,7 +1560,7 @@ lbl_802CFAF0:
/* 802CFAFC 002CCA5C 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CFB00 002CCA60 7C 08 03 A6 */ mtlr r0
/* 802CFB04 002CCA64 38 21 00 10 */ addi r1, r1, 0x10
/* 802CFB08 002CCA68 4E 80 00 20 */ blr
/* 802CFB08 002CCA68 4E 80 00 20 */ blr
.global "__dt__Q24rstl68single_ptr<PFRC27CInternalCollisionStructureR18CCollisionInfoList_b>Fv"
"__dt__Q24rstl68single_ptr<PFRC27CInternalCollisionStructureR18CCollisionInfoList_b>Fv":
@ -1585,7 +1585,7 @@ lbl_802CFB44:
/* 802CFB50 002CCAB0 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CFB54 002CCAB4 7C 08 03 A6 */ mtlr r0
/* 802CFB58 002CCAB8 38 21 00 10 */ addi r1, r1, 0x10
/* 802CFB5C 002CCABC 4E 80 00 20 */ blr
/* 802CFB5C 002CCABC 4E 80 00 20 */ blr
.global "__dt__Q24rstl84single_ptr<Q24rstl63vector<Q219CCollisionPrimitive4Type,Q24rstl17rmemory_allocator>>Fv"
"__dt__Q24rstl84single_ptr<Q24rstl63vector<Q219CCollisionPrimitive4Type,Q24rstl17rmemory_allocator>>Fv":

View File

@ -36,7 +36,7 @@ GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f:
/* 802D605C 002D2FBC 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 802D6060 002D2FC0 7C 08 03 A6 */ mtlr r0
/* 802D6064 002D2FC4 38 21 00 90 */ addi r1, r1, 0x90
/* 802D6068 002D2FC8 4E 80 00 20 */ blr
/* 802D6068 002D2FC8 4E 80 00 20 */ blr
.global __ct__5CMRayFRC9CVector3fRC9CVector3ff
__ct__5CMRayFRC9CVector3fRC9CVector3ff:
@ -83,7 +83,7 @@ __ct__5CMRayFRC9CVector3fRC9CVector3ff:
/* 802D610C 002D306C D0 03 00 30 */ stfs f0, 0x30(r3)
/* 802D6110 002D3070 C0 05 00 08 */ lfs f0, 8(r5)
/* 802D6114 002D3074 D0 03 00 34 */ stfs f0, 0x34(r3)
/* 802D6118 002D3078 4E 80 00 20 */ blr
/* 802D6118 002D3078 4E 80 00 20 */ blr
.global __ct__5CMRayFRC9CVector3fRC9CVector3fff
__ct__5CMRayFRC9CVector3fRC9CVector3fff:

View File

@ -18,7 +18,7 @@ lbl_802D536C:
/* 802D5374 002D22D4 48 00 00 7C */ b lbl_802D53F0
lbl_802D5378:
/* 802D5378 002D22D8 38 60 00 01 */ li r3, 1
/* 802D537C 002D22DC 4E 80 00 20 */ blr
/* 802D537C 002D22DC 4E 80 00 20 */ blr
lbl_802D5380:
/* 802D5380 002D22E0 80 C3 00 00 */ lwz r6, 0(r3)
/* 802D5384 002D22E4 38 A0 00 00 */ li r5, 0
@ -32,10 +32,10 @@ lbl_802D5380:
/* 802D53A4 002D2304 7C 60 03 79 */ or. r0, r3, r0
/* 802D53A8 002D2308 41 82 00 0C */ beq lbl_802D53B4
/* 802D53AC 002D230C 38 60 00 01 */ li r3, 1
/* 802D53B0 002D2310 4E 80 00 20 */ blr
/* 802D53B0 002D2310 4E 80 00 20 */ blr
lbl_802D53B4:
/* 802D53B4 002D2314 38 60 00 00 */ li r3, 0
/* 802D53B8 002D2318 4E 80 00 20 */ blr
/* 802D53B8 002D2318 4E 80 00 20 */ blr
lbl_802D53BC:
/* 802D53BC 002D231C 80 A4 00 00 */ lwz r5, 0(r4)
/* 802D53C0 002D2320 38 00 00 00 */ li r0, 0
@ -49,7 +49,7 @@ lbl_802D53BC:
/* 802D53E0 002D2340 7C 03 1B 78 */ or r3, r0, r3
/* 802D53E4 002D2344 7C 63 00 34 */ cntlzw r3, r3
/* 802D53E8 002D2348 54 63 D9 7E */ srwi r3, r3, 5
/* 802D53EC 002D234C 4E 80 00 20 */ blr
/* 802D53EC 002D234C 4E 80 00 20 */ blr
lbl_802D53F0:
/* 802D53F0 002D2350 80 03 00 00 */ lwz r0, 0(r3)
/* 802D53F4 002D2354 38 C0 00 00 */ li r6, 0
@ -82,10 +82,10 @@ lbl_802D5428:
/* 802D5458 002D23B8 38 C0 00 01 */ li r6, 1
lbl_802D545C:
/* 802D545C 002D23BC 7C C3 33 78 */ mr r3, r6
/* 802D5460 002D23C0 4E 80 00 20 */ blr
/* 802D5460 002D23C0 4E 80 00 20 */ blr
lbl_802D5464:
/* 802D5464 002D23C4 38 60 00 01 */ li r3, 1
/* 802D5468 002D23C8 4E 80 00 20 */ blr
/* 802D5468 002D23C8 4E 80 00 20 */ blr
.global __sinit_CMaterialFilter_cpp
__sinit_CMaterialFilter_cpp:

View File

@ -18,7 +18,7 @@ lbl_802CFC20:
/* 802CFC30 002CCB90 7C C5 2B 79 */ or. r5, r6, r5
/* 802CFC34 002CCB94 41 82 00 0C */ beq lbl_802CFC40
/* 802CFC38 002CCB98 7D 23 4B 78 */ mr r3, r9
/* 802CFC3C 002CCB9C 4E 80 00 20 */ blr
/* 802CFC3C 002CCB9C 4E 80 00 20 */ blr
lbl_802CFC40:
/* 802CFC40 002CCBA0 54 84 F8 3E */ rotlwi r4, r4, 0x1f
/* 802CFC44 002CCBA4 54 60 F8 7E */ srwi r0, r3, 1
@ -31,7 +31,7 @@ lbl_802CFC40:
/* 802CFC60 002CCBC0 7C C5 2B 79 */ or. r5, r6, r5
/* 802CFC64 002CCBC4 41 82 00 0C */ beq lbl_802CFC70
/* 802CFC68 002CCBC8 7D 23 4B 78 */ mr r3, r9
/* 802CFC6C 002CCBCC 4E 80 00 20 */ blr
/* 802CFC6C 002CCBCC 4E 80 00 20 */ blr
lbl_802CFC70:
/* 802CFC70 002CCBD0 54 84 F8 3E */ rotlwi r4, r4, 0x1f
/* 802CFC74 002CCBD4 39 29 00 01 */ addi r9, r9, 1
@ -44,7 +44,7 @@ lbl_802CFC70:
/* 802CFC90 002CCBF0 7C C5 2B 79 */ or. r5, r6, r5
/* 802CFC94 002CCBF4 41 82 00 0C */ beq lbl_802CFCA0
/* 802CFC98 002CCBF8 7D 23 4B 78 */ mr r3, r9
/* 802CFC9C 002CCBFC 4E 80 00 20 */ blr
/* 802CFC9C 002CCBFC 4E 80 00 20 */ blr
lbl_802CFCA0:
/* 802CFCA0 002CCC00 54 84 F8 3E */ rotlwi r4, r4, 0x1f
/* 802CFCA4 002CCC04 39 29 00 01 */ addi r9, r9, 1
@ -57,7 +57,7 @@ lbl_802CFCA0:
/* 802CFCC0 002CCC20 7C C5 2B 79 */ or. r5, r6, r5
/* 802CFCC4 002CCC24 41 82 00 0C */ beq lbl_802CFCD0
/* 802CFCC8 002CCC28 7D 23 4B 78 */ mr r3, r9
/* 802CFCCC 002CCC2C 4E 80 00 20 */ blr
/* 802CFCCC 002CCC2C 4E 80 00 20 */ blr
lbl_802CFCD0:
/* 802CFCD0 002CCC30 54 84 F8 3E */ rotlwi r4, r4, 0x1f
/* 802CFCD4 002CCC34 39 29 00 01 */ addi r9, r9, 1

View File

@ -456,7 +456,7 @@ lbl_802D5ADC:
/* 802D5B64 002D2AC4 E1 C1 00 88 */ psq_l f14, 136(r1), 0, qr0
/* 802D5B68 002D2AC8 C9 C1 00 80 */ lfd f14, 0x80(r1)
/* 802D5B6C 002D2ACC 38 21 01 A0 */ addi r1, r1, 0x1a0
/* 802D5B70 002D2AD0 4E 80 00 20 */ blr
/* 802D5B70 002D2AD0 4E 80 00 20 */ blr
.global AABoxIntersectsBox__6COBBoxFRC6CAABox
AABoxIntersectsBox__6COBBoxFRC6CAABox:
@ -476,7 +476,7 @@ AABoxIntersectsBox__6COBBoxFRC6CAABox:
/* 802D5BA8 002D2B08 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 802D5BAC 002D2B0C 7C 08 03 A6 */ mtlr r0
/* 802D5BB0 002D2B10 38 21 00 50 */ addi r1, r1, 0x50
/* 802D5BB4 002D2B14 4E 80 00 20 */ blr
/* 802D5BB4 002D2B14 4E 80 00 20 */ blr
.global LineIntersectsBox__6COBBoxCFRC5CMRayRf
LineIntersectsBox__6COBBoxCFRC5CMRayRf:
@ -568,7 +568,7 @@ LineIntersectsBox__6COBBoxCFRC5CMRayRf:
/* 802D5D0C 002D2C6C 83 A1 00 B4 */ lwz r29, 0xb4(r1)
/* 802D5D10 002D2C70 7C 08 03 A6 */ mtlr r0
/* 802D5D14 002D2C74 38 21 00 F0 */ addi r1, r1, 0xf0
/* 802D5D18 002D2C78 4E 80 00 20 */ blr
/* 802D5D18 002D2C78 4E 80 00 20 */ blr
.global FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f
FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f:
@ -618,7 +618,7 @@ FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f:
/* 802D5DC8 002D2D28 83 A1 00 C4 */ lwz r29, 0xc4(r1)
/* 802D5DCC 002D2D2C 7C 08 03 A6 */ mtlr r0
/* 802D5DD0 002D2D30 38 21 00 D0 */ addi r1, r1, 0xd0
/* 802D5DD4 002D2D34 4E 80 00 20 */ blr
/* 802D5DD4 002D2D34 4E 80 00 20 */ blr
.global CalculateAABox__6COBBoxCFRC12CTransform4f
CalculateAABox__6COBBoxCFRC12CTransform4f:
@ -721,7 +721,7 @@ lbl_802D5ECC:
/* 802D5F3C 002D2E9C 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 802D5F40 002D2EA0 7C 08 03 A6 */ mtlr r0
/* 802D5F44 002D2EA4 38 21 00 C0 */ addi r1, r1, 0xc0
/* 802D5F48 002D2EA8 4E 80 00 20 */ blr
/* 802D5F48 002D2EA8 4E 80 00 20 */ blr
.global __ct__6COBBoxFR12CInputStream
__ct__6COBBoxFR12CInputStream:
@ -742,7 +742,7 @@ __ct__6COBBoxFR12CInputStream:
/* 802D5F84 002D2EE4 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D5F88 002D2EE8 7C 08 03 A6 */ mtlr r0
/* 802D5F8C 002D2EEC 38 21 00 10 */ addi r1, r1, 0x10
/* 802D5F90 002D2EF0 4E 80 00 20 */ blr
/* 802D5F90 002D2EF0 4E 80 00 20 */ blr
.global __ct__6COBBoxFRC12CTransform4fRC9CVector3f
__ct__6COBBoxFRC12CTransform4fRC9CVector3f:

View File

@ -5,7 +5,7 @@
.global lbl_80479510
lbl_80479510:
.skip 0x48
.section .text, "ax"
.global TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf
@ -379,7 +379,7 @@ lbl_802D0214:
/* 802D0240 002CD1A0 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 802D0244 002CD1A4 7C 08 03 A6 */ mtlr r0
/* 802D0248 002CD1A8 38 21 00 E0 */ addi r1, r1, 0xe0
/* 802D024C 002CD1AC 4E 80 00 20 */ blr
/* 802D024C 002CD1AC 4E 80 00 20 */ blr
.global TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f
TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f:
@ -511,7 +511,7 @@ lbl_802D0424:
/* 802D0430 002CD390 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 802D0434 002CD394 7C 08 03 A6 */ mtlr r0
/* 802D0438 002CD398 38 21 00 A0 */ addi r1, r1, 0xa0
/* 802D043C 002CD39C 4E 80 00 20 */ blr
/* 802D043C 002CD39C 4E 80 00 20 */ blr
.global TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f
TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f:
@ -534,7 +534,7 @@ TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f
/* 802D0480 002CD3E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D0484 002CD3E4 7C 08 03 A6 */ mtlr r0
/* 802D0488 002CD3E8 38 21 00 10 */ addi r1, r1, 0x10
/* 802D048C 002CD3EC 4E 80 00 20 */ blr
/* 802D048C 002CD3EC 4E 80 00 20 */ blr
.global MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f
MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f:
@ -1516,7 +1516,7 @@ lbl_802D1318:
/* 802D131C 002CE27C 80 01 01 C4 */ lwz r0, 0x1c4(r1)
/* 802D1320 002CE280 7C 08 03 A6 */ mtlr r0
/* 802D1324 002CE284 38 21 01 C0 */ addi r1, r1, 0x1c0
/* 802D1328 002CE288 4E 80 00 20 */ blr
/* 802D1328 002CE288 4E 80 00 20 */ blr
.global LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf
LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf:
@ -1634,7 +1634,7 @@ lbl_802D14AC:
/* 802D14D0 002CE430 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 802D14D4 002CE434 7C 08 03 A6 */ mtlr r0
/* 802D14D8 002CE438 38 21 00 A0 */ addi r1, r1, 0xa0
/* 802D14DC 002CE43C 4E 80 00 20 */ blr
/* 802D14DC 002CE43C 4E 80 00 20 */ blr
.global TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f
TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f:
@ -2135,7 +2135,7 @@ lbl_802D1B30:
/* 802D1B98 002CEAF8 E2 41 00 38 */ psq_l f18, 56(r1), 0, qr0
/* 802D1B9C 002CEAFC CA 41 00 30 */ lfd f18, 0x30(r1)
/* 802D1BA0 002CEB00 38 21 01 10 */ addi r1, r1, 0x110
/* 802D1BA4 002CEB04 4E 80 00 20 */ blr
/* 802D1BA4 002CEB04 4E 80 00 20 */ blr
.global BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb
BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb:
@ -2161,7 +2161,7 @@ lbl_802D1BCC:
/* 802D1BF0 002CEB50 40 81 00 90 */ ble lbl_802D1C80
lbl_802D1BF4:
/* 802D1BF4 002CEB54 38 60 00 00 */ li r3, 0
/* 802D1BF8 002CEB58 4E 80 00 20 */ blr
/* 802D1BF8 002CEB58 4E 80 00 20 */ blr
lbl_802D1BFC:
/* 802D1BFC 002CEB5C C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2)
/* 802D1C00 002CEB60 FC 04 10 40 */ fcmpo cr0, f4, f2
@ -2212,7 +2212,7 @@ lbl_802D1C80:
/* 802D1CA4 002CEC04 4C 40 13 82 */ cror 2, 0, 2
/* 802D1CA8 002CEC08 7C 00 00 26 */ mfcr r0
/* 802D1CAC 002CEC0C 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f
/* 802D1CB0 002CEC10 4E 80 00 20 */ blr
/* 802D1CB0 002CEC10 4E 80 00 20 */ blr
.global AABox_AABox_Moving__13CollisionUtilFRC6CAABoxRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f
AABox_AABox_Moving__13CollisionUtilFRC6CAABoxRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f:
@ -2500,7 +2500,7 @@ lbl_802D20A0:
/* 802D20A4 002CF004 80 01 00 54 */ lwz r0, 0x54(r1)
/* 802D20A8 002CF008 7C 08 03 A6 */ mtlr r0
/* 802D20AC 002CF00C 38 21 00 50 */ addi r1, r1, 0x50
/* 802D20B0 002CF010 4E 80 00 20 */ blr
/* 802D20B0 002CF010 4E 80 00 20 */ blr
.global AddAverageToFront__13CollisionUtilFRC18CCollisionInfoListR18CCollisionInfoList
AddAverageToFront__13CollisionUtilFRC18CCollisionInfoListR18CCollisionInfoList:
@ -2675,7 +2675,7 @@ lbl_802D2320:
/* 802D2338 002CF298 83 81 00 A0 */ lwz r28, 0xa0(r1)
/* 802D233C 002CF29C 7C 08 03 A6 */ mtlr r0
/* 802D2340 002CF2A0 38 21 00 B0 */ addi r1, r1, 0xb0
/* 802D2344 002CF2A4 4E 80 00 20 */ blr
/* 802D2344 002CF2A4 4E 80 00 20 */ blr
.global FilterOutBackfaces__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList
FilterOutBackfaces__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList:
@ -2751,7 +2751,7 @@ lbl_802D2418:
/* 802D2448 002CF3A8 83 81 00 20 */ lwz r28, 0x20(r1)
/* 802D244C 002CF3AC 7C 08 03 A6 */ mtlr r0
/* 802D2450 002CF3B0 38 21 00 70 */ addi r1, r1, 0x70
/* 802D2454 002CF3B4 4E 80 00 20 */ blr
/* 802D2454 002CF3B4 4E 80 00 20 */ blr
.global FilterByClosestNormal__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList
FilterByClosestNormal__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList:
@ -2797,7 +2797,7 @@ lbl_802D24E4:
/* 802D24E4 002CF444 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D24E8 002CF448 7C 08 03 A6 */ mtlr r0
/* 802D24EC 002CF44C 38 21 00 10 */ addi r1, r1, 0x10
/* 802D24F0 002CF450 4E 80 00 20 */ blr
/* 802D24F0 002CF450 4E 80 00 20 */ blr
.global RayTriangleIntersection_Double__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRd
RayTriangleIntersection_Double__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRd:
@ -2954,7 +2954,7 @@ lbl_802D270C:
/* 802D272C 002CF68C 83 81 01 10 */ lwz r28, 0x110(r1)
/* 802D2730 002CF690 7C 08 03 A6 */ mtlr r0
/* 802D2734 002CF694 38 21 01 40 */ addi r1, r1, 0x140
/* 802D2738 002CF698 4E 80 00 20 */ blr
/* 802D2738 002CF698 4E 80 00 20 */ blr
.global RayTriangleIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRf
RayTriangleIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRf:
@ -3072,7 +3072,7 @@ lbl_802D28B0:
/* 802D28D8 002CF838 E3 41 00 18 */ psq_l f26, 24(r1), 0, qr0
/* 802D28DC 002CF83C CB 41 00 10 */ lfd f26, 0x10(r1)
/* 802D28E0 002CF840 38 21 00 70 */ addi r1, r1, 0x70
/* 802D28E4 002CF844 4E 80 00 20 */ blr
/* 802D28E4 002CF844 4E 80 00 20 */ blr
.global AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere
AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere:
@ -3103,7 +3103,7 @@ lbl_802D2908:
/* 802D2944 002CF8A4 48 00 00 50 */ b lbl_802D2994
lbl_802D2948:
/* 802D2948 002CF8A8 C0 22 C4 C0 */ lfs f1, lbl_805AE1E0@sda21(r2)
/* 802D294C 002CF8AC 4E 80 00 20 */ blr
/* 802D294C 002CF8AC 4E 80 00 20 */ blr
lbl_802D2950:
/* 802D2950 002CF8B0 C0 67 00 00 */ lfs f3, 0(r7)
/* 802D2954 002CF8B4 FC 02 18 40 */ fcmpo cr0, f2, f3
@ -3122,7 +3122,7 @@ lbl_802D2950:
/* 802D2988 002CF8E8 48 00 00 0C */ b lbl_802D2994
lbl_802D298C:
/* 802D298C 002CF8EC C0 22 C4 C0 */ lfs f1, lbl_805AE1E0@sda21(r2)
/* 802D2990 002CF8F0 4E 80 00 20 */ blr
/* 802D2990 002CF8F0 4E 80 00 20 */ blr
lbl_802D2994:
/* 802D2994 002CF8F4 38 63 00 04 */ addi r3, r3, 4
/* 802D2998 002CF8F8 38 A5 00 04 */ addi r5, r5, 4
@ -3131,13 +3131,13 @@ lbl_802D2994:
/* 802D29A4 002CF904 39 08 00 02 */ addi r8, r8, 2
/* 802D29A8 002CF908 42 00 FF 60 */ bdnz lbl_802D2908
/* 802D29AC 002CF90C 2C 09 00 00 */ cmpwi r9, 0
/* 802D29B0 002CF910 4D 82 00 20 */ beqlr
/* 802D29B0 002CF910 4D 82 00 20 */ beqlr
/* 802D29B4 002CF914 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 802D29B8 002CF918 EC 00 00 32 */ fmuls f0, f0, f0
/* 802D29BC 002CF91C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802D29C0 002CF920 4C 81 00 20 */ blelr
/* 802D29C0 002CF920 4C 81 00 20 */ blelr
/* 802D29C4 002CF924 C0 22 C4 C0 */ lfs f1, lbl_805AE1E0@sda21(r2)
/* 802D29C8 002CF928 4E 80 00 20 */ blr
/* 802D29C8 002CF928 4E 80 00 20 */ blr
.global AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere
AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere:
@ -3168,7 +3168,7 @@ lbl_802D29EC:
/* 802D2A28 002CF988 48 00 00 50 */ b lbl_802D2A78
lbl_802D2A2C:
/* 802D2A2C 002CF98C 38 60 00 00 */ li r3, 0
/* 802D2A30 002CF990 4E 80 00 20 */ blr
/* 802D2A30 002CF990 4E 80 00 20 */ blr
lbl_802D2A34:
/* 802D2A34 002CF994 C0 47 00 00 */ lfs f2, 0(r7)
/* 802D2A38 002CF998 FC 01 10 40 */ fcmpo cr0, f1, f2
@ -3187,7 +3187,7 @@ lbl_802D2A34:
/* 802D2A6C 002CF9CC 48 00 00 0C */ b lbl_802D2A78
lbl_802D2A70:
/* 802D2A70 002CF9D0 38 60 00 00 */ li r3, 0
/* 802D2A74 002CF9D4 4E 80 00 20 */ blr
/* 802D2A74 002CF9D4 4E 80 00 20 */ blr
lbl_802D2A78:
/* 802D2A78 002CF9D8 38 63 00 04 */ addi r3, r3, 4
/* 802D2A7C 002CF9DC 38 A5 00 04 */ addi r5, r5, 4
@ -3198,7 +3198,7 @@ lbl_802D2A78:
/* 802D2A90 002CF9F0 2C 09 00 00 */ cmpwi r9, 0
/* 802D2A94 002CF9F4 40 82 00 0C */ bne lbl_802D2AA0
/* 802D2A98 002CF9F8 38 60 00 01 */ li r3, 1
/* 802D2A9C 002CF9FC 4E 80 00 20 */ blr
/* 802D2A9C 002CF9FC 4E 80 00 20 */ blr
lbl_802D2AA0:
/* 802D2AA0 002CFA00 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 802D2AA4 002CFA04 EC 00 00 32 */ fmuls f0, f0, f0
@ -3207,7 +3207,7 @@ lbl_802D2AA0:
/* 802D2AB0 002CFA10 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f
/* 802D2AB4 002CFA14 7C 00 00 34 */ cntlzw r0, r0
/* 802D2AB8 002CFA18 54 03 D9 7E */ srwi r3, r0, 5
/* 802D2ABC 002CFA1C 4E 80 00 20 */ blr
/* 802D2ABC 002CFA1C 4E 80 00 20 */ blr
.global AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC13CMaterialListRC6CAABoxRC13CMaterialListR18CCollisionInfoList
AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC13CMaterialListRC6CAABoxRC13CMaterialListR18CCollisionInfoList:
@ -3486,7 +3486,7 @@ lbl_802D2EA8:
/* 802D2EAC 002CFE0C 80 01 02 24 */ lwz r0, 0x224(r1)
/* 802D2EB0 002CFE10 7C 08 03 A6 */ mtlr r0
/* 802D2EB4 002CFE14 38 21 02 20 */ addi r1, r1, 0x220
/* 802D2EB8 002CFE18 4E 80 00 20 */ blr
/* 802D2EB8 002CFE18 4E 80 00 20 */ blr
.global AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC6CAABox
AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC6CAABox:
@ -3549,10 +3549,10 @@ lbl_802D2F64:
/* 802D2F6C 002CFECC 40 82 00 0C */ bne lbl_802D2F78
lbl_802D2F70:
/* 802D2F70 002CFED0 38 60 00 00 */ li r3, 0
/* 802D2F74 002CFED4 4E 80 00 20 */ blr
/* 802D2F74 002CFED4 4E 80 00 20 */ blr
lbl_802D2F78:
/* 802D2F78 002CFED8 38 60 00 01 */ li r3, 1
/* 802D2F7C 002CFEDC 4E 80 00 20 */ blr
/* 802D2F7C 002CFEDC 4E 80 00 20 */ blr
.global RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxRfRf
RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxRfRf:
@ -3652,7 +3652,7 @@ lbl_802D30D4:
/* 802D30D4 002D0034 38 60 00 00 */ li r3, 0
lbl_802D30D8:
/* 802D30D8 002D0038 38 21 00 20 */ addi r1, r1, 0x20
/* 802D30DC 002D003C 4E 80 00 20 */ blr
/* 802D30DC 002D003C 4E 80 00 20 */ blr
.global RayAABoxIntersection_Double__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRd
RayAABoxIntersection_Double__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRd:
@ -3985,7 +3985,7 @@ lbl_802D3564:
/* 802D3580 002D04E0 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 802D3584 002D04E4 7C 08 03 A6 */ mtlr r0
/* 802D3588 002D04E8 38 21 00 F0 */ addi r1, r1, 0xf0
/* 802D358C 002D04EC 4E 80 00 20 */ blr
/* 802D358C 002D04EC 4E 80 00 20 */ blr
.global RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf
RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf:
@ -4290,7 +4290,7 @@ lbl_802D39C0:
/* 802D39C0 002D0920 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 802D39C4 002D0924 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 802D39C8 002D0928 38 21 00 40 */ addi r1, r1, 0x40
/* 802D39CC 002D092C 4E 80 00 20 */ blr
/* 802D39CC 002D092C 4E 80 00 20 */ blr
.global RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd
RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd:
@ -4373,7 +4373,7 @@ lbl_802D3AE0:
/* 802D3AF8 002D0A58 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 802D3AFC 002D0A5C 7C 08 03 A6 */ mtlr r0
/* 802D3B00 002D0A60 38 21 00 D0 */ addi r1, r1, 0xd0
/* 802D3B04 002D0A64 4E 80 00 20 */ blr
/* 802D3B04 002D0A64 4E 80 00 20 */ blr
.global RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f
RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f:
@ -4485,7 +4485,7 @@ lbl_802D3C60:
/* 802D3C90 002D0BF0 83 81 00 10 */ lwz r28, 0x10(r1)
/* 802D3C94 002D0BF4 7C 08 03 A6 */ mtlr r0
/* 802D3C98 002D0BF8 38 21 00 60 */ addi r1, r1, 0x60
/* 802D3C9C 002D0BFC 4E 80 00 20 */ blr
/* 802D3C9C 002D0BFC 4E 80 00 20 */ blr
.global RayPlaneIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fRC6CPlaneR9CVector3f
RayPlaneIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fRC6CPlaneR9CVector3f:
@ -4585,7 +4585,7 @@ lbl_802D3DE0:
/* 802D3E04 002D0D64 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 802D3E08 002D0D68 7C 08 03 A6 */ mtlr r0
/* 802D3E0C 002D0D6C 38 21 00 60 */ addi r1, r1, 0x60
/* 802D3E10 002D0D70 4E 80 00 20 */ blr
/* 802D3E10 002D0D70 4E 80 00 20 */ blr
.global __sinit_CollisionUtil_cpp
__sinit_CollisionUtil_cpp:

View File

@ -73,7 +73,7 @@ AddColliders__17InternalCollidersFv:
/* 802CE628 002CB588 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CE62C 002CB58C 7C 08 03 A6 */ mtlr r0
/* 802CE630 002CB590 38 21 00 10 */ addi r1, r1, 0x10
/* 802CE634 002CB594 4E 80 00 20 */ blr
/* 802CE634 002CB594 4E 80 00 20 */ blr
.global AddTypes__17InternalCollidersFv
AddTypes__17InternalCollidersFv:

View File

@ -15,7 +15,7 @@ __GBA:
.global __GBAReset
__GBAReset:
.skip 0x4
.section .data, "wa"
lbl_803F7160:
@ -23,7 +23,7 @@ lbl_803F7160:
.4byte 127
.4byte 0
.4byte 0
lbl_803F7170:
.byte 0x18
.byte 0xFC
@ -53,7 +53,7 @@ lbl_803F7170:
.byte 0x00
.byte 0x00
.byte 0x00
.section .text, "ax"
@ -65,7 +65,7 @@ ShortCommandProc:
/* 803C9604 003C6564 7C 60 1A 14 */ add r3, r0, r3
/* 803C9608 003C6568 80 03 00 20 */ lwz r0, 0x20(r3)
/* 803C960C 003C656C 2C 00 00 00 */ cmpwi r0, 0
/* 803C9610 003C6570 4C 82 00 20 */ bnelr
/* 803C9610 003C6570 4C 82 00 20 */ bnelr
/* 803C9614 003C6574 88 03 00 05 */ lbz r0, 5(r3)
/* 803C9618 003C6578 28 00 00 00 */ cmplwi r0, 0
/* 803C961C 003C657C 40 82 00 10 */ bne lbl_803C962C
@ -75,13 +75,13 @@ ShortCommandProc:
lbl_803C962C:
/* 803C962C 003C658C 38 00 00 01 */ li r0, 1
/* 803C9630 003C6590 90 03 00 20 */ stw r0, 0x20(r3)
/* 803C9634 003C6594 4E 80 00 20 */ blr
/* 803C9634 003C6594 4E 80 00 20 */ blr
lbl_803C9638:
/* 803C9638 003C6598 88 03 00 07 */ lbz r0, 7(r3)
/* 803C963C 003C659C 80 63 00 14 */ lwz r3, 0x14(r3)
/* 803C9640 003C65A0 70 00 00 3A */ andi. r0, r0, 0x3a
/* 803C9644 003C65A4 98 03 00 00 */ stb r0, 0(r3)
/* 803C9648 003C65A8 4E 80 00 20 */ blr
/* 803C9648 003C65A8 4E 80 00 20 */ blr
.global GBAInit
GBAInit:
@ -126,7 +126,7 @@ lbl_803C9698:
/* 803C96E0 003C6640 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803C96E4 003C6644 38 21 00 20 */ addi r1, r1, 0x20
/* 803C96E8 003C6648 7C 08 03 A6 */ mtlr r0
/* 803C96EC 003C664C 4E 80 00 20 */ blr
/* 803C96EC 003C664C 4E 80 00 20 */ blr
.global GBAGetStatusAsync
GBAGetStatusAsync:
@ -156,7 +156,7 @@ lbl_803C9744:
/* 803C9744 003C66A4 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803C9748 003C66A8 38 21 00 08 */ addi r1, r1, 8
/* 803C974C 003C66AC 7C 08 03 A6 */ mtlr r0
/* 803C9750 003C66B0 4E 80 00 20 */ blr
/* 803C9750 003C66B0 4E 80 00 20 */ blr
.global GBAGetStatus
GBAGetStatus:
@ -199,7 +199,7 @@ lbl_803C97D0:
/* 803C97D4 003C6734 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 803C97D8 003C6738 38 21 00 20 */ addi r1, r1, 0x20
/* 803C97DC 003C673C 7C 08 03 A6 */ mtlr r0
/* 803C97E0 003C6740 4E 80 00 20 */ blr
/* 803C97E0 003C6740 4E 80 00 20 */ blr
.global GBAResetAsync
GBAResetAsync:
@ -229,7 +229,7 @@ lbl_803C9838:
/* 803C9838 003C6798 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803C983C 003C679C 38 21 00 08 */ addi r1, r1, 8
/* 803C9840 003C67A0 7C 08 03 A6 */ mtlr r0
/* 803C9844 003C67A4 4E 80 00 20 */ blr
/* 803C9844 003C67A4 4E 80 00 20 */ blr
.global GBAReset
GBAReset:
@ -272,13 +272,13 @@ lbl_803C98C4:
/* 803C98C8 003C6828 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 803C98CC 003C682C 38 21 00 20 */ addi r1, r1, 0x20
/* 803C98D0 003C6830 7C 08 03 A6 */ mtlr r0
/* 803C98D4 003C6834 4E 80 00 20 */ blr
/* 803C98D4 003C6834 4E 80 00 20 */ blr
OnReset:
/* 803C98D8 003C6838 38 00 00 01 */ li r0, 1
/* 803C98DC 003C683C 90 0D B1 58 */ stw r0, __GBAReset@sda21(r13)
/* 803C98E0 003C6840 38 60 00 01 */ li r3, 1
/* 803C98E4 003C6844 4E 80 00 20 */ blr
/* 803C98E4 003C6844 4E 80 00 20 */ blr
.global GBAGetProcessStatus
GBAGetProcessStatus:
@ -379,7 +379,7 @@ lbl_803C9A3C:
/* 803C9A4C 003C69AC 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 803C9A50 003C69B0 38 21 00 38 */ addi r1, r1, 0x38
/* 803C9A54 003C69B4 7C 08 03 A6 */ mtlr r0
/* 803C9A58 003C69B8 4E 80 00 20 */ blr
/* 803C9A58 003C69B8 4E 80 00 20 */ blr
.global GBAJoyBootAsync
GBAJoyBootAsync:
@ -471,7 +471,7 @@ lbl_803C9B84:
/* 803C9B88 003C6AE8 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 803C9B8C 003C6AEC 38 21 00 48 */ addi r1, r1, 0x48
/* 803C9B90 003C6AF0 7C 08 03 A6 */ mtlr r0
/* 803C9B94 003C6AF4 4E 80 00 20 */ blr
/* 803C9B94 003C6AF4 4E 80 00 20 */ blr
.global _F23
_F23:
@ -508,7 +508,7 @@ lbl_803C9BF0:
/* 803C9C0C 003C6B6C 7D 88 03 A6 */ mtlr r12
/* 803C9C10 003C6B70 38 7C 00 00 */ addi r3, r28, 0
/* 803C9C14 003C6B74 38 9D 00 00 */ addi r4, r29, 0
/* 803C9C18 003C6B78 4E 80 00 21 */ blrl
/* 803C9C18 003C6B78 4E 80 00 21 */ blrl
lbl_803C9C1C:
/* 803C9C1C 003C6B7C 93 BF 00 20 */ stw r29, 0x20(r31)
/* 803C9C20 003C6B80 80 01 00 2C */ lwz r0, 0x2c(r1)
@ -518,7 +518,7 @@ lbl_803C9C1C:
/* 803C9C30 003C6B90 83 81 00 18 */ lwz r28, 0x18(r1)
/* 803C9C34 003C6B94 38 21 00 28 */ addi r1, r1, 0x28
/* 803C9C38 003C6B98 7C 08 03 A6 */ mtlr r0
/* 803C9C3C 003C6B9C 4E 80 00 20 */ blr
/* 803C9C3C 003C6B9C 4E 80 00 20 */ blr
.global _F25
_F25:
@ -566,7 +566,7 @@ lbl_803C9CC0:
/* 803C9CDC 003C6C3C 7D 88 03 A6 */ mtlr r12
/* 803C9CE0 003C6C40 38 7C 00 00 */ addi r3, r28, 0
/* 803C9CE4 003C6C44 38 9D 00 00 */ addi r4, r29, 0
/* 803C9CE8 003C6C48 4E 80 00 21 */ blrl
/* 803C9CE8 003C6C48 4E 80 00 21 */ blrl
lbl_803C9CEC:
/* 803C9CEC 003C6C4C 93 BF 00 20 */ stw r29, 0x20(r31)
/* 803C9CF0 003C6C50 80 01 00 2C */ lwz r0, 0x2c(r1)
@ -576,7 +576,7 @@ lbl_803C9CEC:
/* 803C9D00 003C6C60 83 81 00 18 */ lwz r28, 0x18(r1)
/* 803C9D04 003C6C64 38 21 00 28 */ addi r1, r1, 0x28
/* 803C9D08 003C6C68 7C 08 03 A6 */ mtlr r0
/* 803C9D0C 003C6C6C 4E 80 00 20 */ blr
/* 803C9D0C 003C6C6C 4E 80 00 20 */ blr
.global _F27
_F27:
@ -624,7 +624,7 @@ lbl_803C9D90:
/* 803C9DAC 003C6D0C 7D 88 03 A6 */ mtlr r12
/* 803C9DB0 003C6D10 38 7C 00 00 */ addi r3, r28, 0
/* 803C9DB4 003C6D14 38 9D 00 00 */ addi r4, r29, 0
/* 803C9DB8 003C6D18 4E 80 00 21 */ blrl
/* 803C9DB8 003C6D18 4E 80 00 21 */ blrl
lbl_803C9DBC:
/* 803C9DBC 003C6D1C 93 BF 00 20 */ stw r29, 0x20(r31)
/* 803C9DC0 003C6D20 80 01 00 2C */ lwz r0, 0x2c(r1)
@ -634,7 +634,7 @@ lbl_803C9DBC:
/* 803C9DD0 003C6D30 83 81 00 18 */ lwz r28, 0x18(r1)
/* 803C9DD4 003C6D34 38 21 00 28 */ addi r1, r1, 0x28
/* 803C9DD8 003C6D38 7C 08 03 A6 */ mtlr r0
/* 803C9DDC 003C6D3C 4E 80 00 20 */ blr
/* 803C9DDC 003C6D3C 4E 80 00 20 */ blr
.global _F29
_F29:
@ -663,7 +663,7 @@ lbl_803C9E1C:
/* 803C9E34 003C6D94 90 04 00 14 */ stw r0, 0x14(r4)
/* 803C9E38 003C6D98 7D 88 03 A6 */ mtlr r12
/* 803C9E3C 003C6D9C 38 9E 00 00 */ addi r4, r30, 0
/* 803C9E40 003C6DA0 4E 80 00 21 */ blrl
/* 803C9E40 003C6DA0 4E 80 00 21 */ blrl
lbl_803C9E44:
/* 803C9E44 003C6DA4 93 DF 00 20 */ stw r30, 0x20(r31)
/* 803C9E48 003C6DA8 80 01 00 24 */ lwz r0, 0x24(r1)
@ -671,7 +671,7 @@ lbl_803C9E44:
/* 803C9E50 003C6DB0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 803C9E54 003C6DB4 38 21 00 20 */ addi r1, r1, 0x20
/* 803C9E58 003C6DB8 7C 08 03 A6 */ mtlr r0
/* 803C9E5C 003C6DBC 4E 80 00 20 */ blr
/* 803C9E5C 003C6DBC 4E 80 00 20 */ blr
.global __GBAX01
__GBAX01:
@ -788,7 +788,7 @@ lbl_803C9FE4:
/* 803CA008 003C6F68 7D 88 03 A6 */ mtlr r12
/* 803CA00C 003C6F6C 38 7D 00 00 */ addi r3, r29, 0
/* 803CA010 003C6F70 38 9C 00 00 */ addi r4, r28, 0
/* 803CA014 003C6F74 4E 80 00 21 */ blrl
/* 803CA014 003C6F74 4E 80 00 21 */ blrl
lbl_803CA018:
/* 803CA018 003C6F78 93 9F 00 20 */ stw r28, 0x20(r31)
/* 803CA01C 003C6F7C 80 01 00 2C */ lwz r0, 0x2c(r1)
@ -798,7 +798,7 @@ lbl_803CA018:
/* 803CA02C 003C6F8C 83 81 00 18 */ lwz r28, 0x18(r1)
/* 803CA030 003C6F90 38 21 00 28 */ addi r1, r1, 0x28
/* 803CA034 003C6F94 7C 08 03 A6 */ mtlr r0
/* 803CA038 003C6F98 4E 80 00 20 */ blr
/* 803CA038 003C6F98 4E 80 00 20 */ blr
.global _F31
_F31:
@ -1108,7 +1108,7 @@ lbl_803CA47C:
/* 803CA4A0 003C7400 7D 88 03 A6 */ mtlr r12
/* 803CA4A4 003C7404 38 7D 00 00 */ addi r3, r29, 0
/* 803CA4A8 003C7408 38 9C 00 00 */ addi r4, r28, 0
/* 803CA4AC 003C740C 4E 80 00 21 */ blrl
/* 803CA4AC 003C740C 4E 80 00 21 */ blrl
lbl_803CA4B0:
/* 803CA4B0 003C7410 93 9F 00 20 */ stw r28, 0x20(r31)
/* 803CA4B4 003C7414 80 01 00 3C */ lwz r0, 0x3c(r1)
@ -1118,7 +1118,7 @@ lbl_803CA4B0:
/* 803CA4C4 003C7424 83 81 00 28 */ lwz r28, 0x28(r1)
/* 803CA4C8 003C7428 38 21 00 38 */ addi r1, r1, 0x38
/* 803CA4CC 003C742C 7C 08 03 A6 */ mtlr r0
/* 803CA4D0 003C7430 4E 80 00 20 */ blr
/* 803CA4D0 003C7430 4E 80 00 20 */ blr
.global _F33
_F33:
@ -1210,7 +1210,7 @@ lbl_803CA5F0:
/* 803CA614 003C7574 7D 88 03 A6 */ mtlr r12
/* 803CA618 003C7578 38 7D 00 00 */ addi r3, r29, 0
/* 803CA61C 003C757C 38 9C 00 00 */ addi r4, r28, 0
/* 803CA620 003C7580 4E 80 00 21 */ blrl
/* 803CA620 003C7580 4E 80 00 21 */ blrl
lbl_803CA624:
/* 803CA624 003C7584 93 9F 00 20 */ stw r28, 0x20(r31)
/* 803CA628 003C7588 80 01 00 2C */ lwz r0, 0x2c(r1)
@ -1220,7 +1220,7 @@ lbl_803CA624:
/* 803CA638 003C7598 83 81 00 18 */ lwz r28, 0x18(r1)
/* 803CA63C 003C759C 38 21 00 28 */ addi r1, r1, 0x28
/* 803CA640 003C75A0 7C 08 03 A6 */ mtlr r0
/* 803CA644 003C75A4 4E 80 00 20 */ blr
/* 803CA644 003C75A4 4E 80 00 20 */ blr
.global _F35
_F35:
@ -1305,7 +1305,7 @@ lbl_803CA74C:
/* 803CA770 003C76D0 7D 88 03 A6 */ mtlr r12
/* 803CA774 003C76D4 38 7D 00 00 */ addi r3, r29, 0
/* 803CA778 003C76D8 38 9C 00 00 */ addi r4, r28, 0
/* 803CA77C 003C76DC 4E 80 00 21 */ blrl
/* 803CA77C 003C76DC 4E 80 00 21 */ blrl
lbl_803CA780:
/* 803CA780 003C76E0 93 9F 00 20 */ stw r28, 0x20(r31)
/* 803CA784 003C76E4 80 01 00 2C */ lwz r0, 0x2c(r1)
@ -1315,7 +1315,7 @@ lbl_803CA780:
/* 803CA794 003C76F4 83 81 00 18 */ lwz r28, 0x18(r1)
/* 803CA798 003C76F8 38 21 00 28 */ addi r1, r1, 0x28
/* 803CA79C 003C76FC 7C 08 03 A6 */ mtlr r0
/* 803CA7A0 003C7700 4E 80 00 20 */ blr
/* 803CA7A0 003C7700 4E 80 00 20 */ blr
.global _F37
_F37:
@ -1374,7 +1374,7 @@ lbl_803CA848:
/* 803CA86C 003C77CC 7D 88 03 A6 */ mtlr r12
/* 803CA870 003C77D0 38 7D 00 00 */ addi r3, r29, 0
/* 803CA874 003C77D4 38 9C 00 00 */ addi r4, r28, 0
/* 803CA878 003C77D8 4E 80 00 21 */ blrl
/* 803CA878 003C77D8 4E 80 00 21 */ blrl
lbl_803CA87C:
/* 803CA87C 003C77DC 93 9F 00 20 */ stw r28, 0x20(r31)
/* 803CA880 003C77E0 80 01 00 2C */ lwz r0, 0x2c(r1)
@ -1384,7 +1384,7 @@ lbl_803CA87C:
/* 803CA890 003C77F0 83 81 00 18 */ lwz r28, 0x18(r1)
/* 803CA894 003C77F4 38 21 00 28 */ addi r1, r1, 0x28
/* 803CA898 003C77F8 7C 08 03 A6 */ mtlr r0
/* 803CA89C 003C77FC 4E 80 00 20 */ blr
/* 803CA89C 003C77FC 4E 80 00 20 */ blr
.global _F39
_F39:
@ -1413,7 +1413,7 @@ lbl_803CA8DC:
/* 803CA8F4 003C7854 90 05 00 14 */ stw r0, 0x14(r5)
/* 803CA8F8 003C7858 7D 88 03 A6 */ mtlr r12
/* 803CA8FC 003C785C 38 9E 00 00 */ addi r4, r30, 0
/* 803CA900 003C7860 4E 80 00 21 */ blrl
/* 803CA900 003C7860 4E 80 00 21 */ blrl
lbl_803CA904:
/* 803CA904 003C7864 93 DF 00 20 */ stw r30, 0x20(r31)
/* 803CA908 003C7868 80 01 00 24 */ lwz r0, 0x24(r1)
@ -1421,4 +1421,4 @@ lbl_803CA904:
/* 803CA910 003C7870 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 803CA914 003C7874 38 21 00 20 */ addi r1, r1, 0x20
/* 803CA918 003C7878 7C 08 03 A6 */ mtlr r0
/* 803CA91C 003C787C 4E 80 00 20 */ blr
/* 803CA91C 003C787C 4E 80 00 20 */ blr

View File

@ -59,7 +59,7 @@ lbl_803F71A0:
.byte 0, 8, 0,216, 0, 9, 0,155, 0, 32, 0,153, 0, 8, 0,135
.byte 0, 0, 2,191,128,139, 2,223, 0, 0, 0, 0, 0, 0, 0, 0
.byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
lbl_803F7520:
.asciz "GBAKey.c"
.balign 4
@ -79,7 +79,7 @@ __GBASetDelay:
/* 803CAF30 003C7E90 80 87 00 34 */ lwz r4, 0x34(r7)
/* 803CAF34 003C7E94 90 C7 00 34 */ stw r6, 0x34(r7)
/* 803CAF38 003C7E98 90 A7 00 30 */ stw r5, 0x30(r7)
/* 803CAF3C 003C7E9C 4E 80 00 20 */ blr
/* 803CAF3C 003C7E9C 4E 80 00 20 */ blr
.global __GBADSPTaskInit
__GBADSPTaskInit:
@ -144,7 +144,7 @@ lbl_803CAFFC:
/* 803CB00C 003C7F6C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 803CB010 003C7F70 38 21 00 20 */ addi r1, r1, 0x20
/* 803CB014 003C7F74 7C 08 03 A6 */ mtlr r0
/* 803CB018 003C7F78 4E 80 00 20 */ blr
/* 803CB018 003C7F78 4E 80 00 20 */ blr
.global __GBADSPTaskDone
__GBADSPTaskDone:
@ -194,7 +194,7 @@ lbl_803CB0A8:
/* 803CB0B4 003C8014 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803CB0B8 003C8018 38 21 00 08 */ addi r1, r1, 8
/* 803CB0BC 003C801C 7C 08 03 A6 */ mtlr r0
/* 803CB0C0 003C8020 4E 80 00 20 */ blr
/* 803CB0C0 003C8020 4E 80 00 20 */ blr
.global __GBAX02
__GBAX02:

View File

@ -28,7 +28,7 @@ lbl_803CA96C:
/* 803CA970 003C78D0 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803CA974 003C78D4 38 21 00 18 */ addi r1, r1, 0x18
/* 803CA978 003C78D8 7C 08 03 A6 */ mtlr r0
/* 803CA97C 003C78DC 4E 80 00 20 */ blr
/* 803CA97C 003C78DC 4E 80 00 20 */ blr
.global GBAReadAsync
GBAReadAsync:
@ -60,7 +60,7 @@ lbl_803CA9DC:
/* 803CA9DC 003C793C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803CA9E0 003C7940 38 21 00 08 */ addi r1, r1, 8
/* 803CA9E4 003C7944 7C 08 03 A6 */ mtlr r0
/* 803CA9E8 003C7948 4E 80 00 20 */ blr
/* 803CA9E8 003C7948 4E 80 00 20 */ blr
.global GBARead
GBARead:
@ -104,4 +104,4 @@ lbl_803CAA6C:
/* 803CAA70 003C79D0 83 E1 00 24 */ lwz r31, 0x24(r1)
/* 803CAA74 003C79D4 38 21 00 28 */ addi r1, r1, 0x28
/* 803CAA78 003C79D8 7C 08 03 A6 */ mtlr r0
/* 803CAA7C 003C79DC 4E 80 00 20 */ blr
/* 803CAA7C 003C79DC 4E 80 00 20 */ blr

View File

@ -10,12 +10,12 @@ WriteProc:
/* 803CAA8C 003C79EC 7C 60 1A 14 */ add r3, r0, r3
/* 803CAA90 003C79F0 80 03 00 20 */ lwz r0, 0x20(r3)
/* 803CAA94 003C79F4 2C 00 00 00 */ cmpwi r0, 0
/* 803CAA98 003C79F8 4C 82 00 20 */ bnelr
/* 803CAA98 003C79F8 4C 82 00 20 */ bnelr
/* 803CAA9C 003C79FC 88 03 00 05 */ lbz r0, 5(r3)
/* 803CAAA0 003C7A00 80 63 00 14 */ lwz r3, 0x14(r3)
/* 803CAAA4 003C7A04 70 00 00 3A */ andi. r0, r0, 0x3a
/* 803CAAA8 003C7A08 98 03 00 00 */ stb r0, 0(r3)
/* 803CAAAC 003C7A0C 4E 80 00 20 */ blr
/* 803CAAAC 003C7A0C 4E 80 00 20 */ blr
.global GBAWriteAsync
GBAWriteAsync:
@ -57,7 +57,7 @@ lbl_803CAB30:
/* 803CAB34 003C7A94 80 01 00 34 */ lwz r0, 0x34(r1)
/* 803CAB38 003C7A98 38 21 00 30 */ addi r1, r1, 0x30
/* 803CAB3C 003C7A9C 7C 08 03 A6 */ mtlr r0
/* 803CAB40 003C7AA0 4E 80 00 20 */ blr
/* 803CAB40 003C7AA0 4E 80 00 20 */ blr
.global GBAWrite
GBAWrite:
@ -113,4 +113,4 @@ lbl_803CABE8:
/* 803CABF8 003C7B58 83 81 00 20 */ lwz r28, 0x20(r1)
/* 803CABFC 003C7B5C 38 21 00 30 */ addi r1, r1, 0x30
/* 803CAC00 003C7B60 7C 08 03 A6 */ mtlr r0
/* 803CAC04 003C7B64 4E 80 00 20 */ blr
/* 803CAC04 003C7B64 4E 80 00 20 */ blr

View File

@ -1,5 +1,5 @@
.include "macros.inc"
.section .text, "ax"
.global __GBAHandler
@ -35,7 +35,7 @@ lbl_803CAC60:
/* 803CAC70 003C7BD0 7D 88 03 A6 */ mtlr r12
/* 803CAC74 003C7BD4 90 1F 00 38 */ stw r0, 0x38(r31)
/* 803CAC78 003C7BD8 7F A3 EB 78 */ mr r3, r29
/* 803CAC7C 003C7BDC 4E 80 00 21 */ blrl
/* 803CAC7C 003C7BDC 4E 80 00 21 */ blrl
lbl_803CAC80:
/* 803CAC80 003C7BE0 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 803CAC84 003C7BE4 28 00 00 00 */ cmplwi r0, 0
@ -50,7 +50,7 @@ lbl_803CAC80:
/* 803CACA8 003C7C08 90 1F 00 1C */ stw r0, 0x1c(r31)
/* 803CACAC 003C7C0C 7D 88 03 A6 */ mtlr r12
/* 803CACB0 003C7C10 80 9F 00 20 */ lwz r4, 0x20(r31)
/* 803CACB4 003C7C14 4E 80 00 21 */ blrl
/* 803CACB4 003C7C14 4E 80 00 21 */ blrl
/* 803CACB8 003C7C18 38 61 00 18 */ addi r3, r1, 0x18
/* 803CACBC 003C7C1C 4B FB 49 59 */ bl OSClearContext
/* 803CACC0 003C7C20 7F C3 F3 78 */ mr r3, r30
@ -62,7 +62,7 @@ lbl_803CACC8:
/* 803CACD4 003C7C34 83 A1 02 EC */ lwz r29, 0x2ec(r1)
/* 803CACD8 003C7C38 38 21 02 F8 */ addi r1, r1, 0x2f8
/* 803CACDC 003C7C3C 7C 08 03 A6 */ mtlr r0
/* 803CACE0 003C7C40 4E 80 00 20 */ blr
/* 803CACE0 003C7C40 4E 80 00 20 */ blr
.global __GBASyncCallback
__GBASyncCallback:
@ -78,7 +78,7 @@ __GBASyncCallback:
/* 803CAD08 003C7C68 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803CAD0C 003C7C6C 38 21 00 08 */ addi r1, r1, 8
/* 803CAD10 003C7C70 7C 08 03 A6 */ mtlr r0
/* 803CAD14 003C7C74 4E 80 00 20 */ blr
/* 803CAD14 003C7C74 4E 80 00 20 */ blr
.global __GBASync
__GBASync:
@ -110,7 +110,7 @@ lbl_803CAD50:
/* 803CAD74 003C7CD4 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803CAD78 003C7CD8 38 21 00 18 */ addi r1, r1, 0x18
/* 803CAD7C 003C7CDC 7C 08 03 A6 */ mtlr r0
/* 803CAD80 003C7CE0 4E 80 00 20 */ blr
/* 803CAD80 003C7CE0 4E 80 00 20 */ blr
.global TypeAndStatusCallback
TypeAndStatusCallback:
@ -161,7 +161,7 @@ lbl_803CAE18:
/* 803CAE28 003C7D88 7D 88 03 A6 */ mtlr r12
/* 803CAE2C 003C7D8C 90 1E 00 38 */ stw r0, 0x38(r30)
/* 803CAE30 003C7D90 7F E3 FB 78 */ mr r3, r31
/* 803CAE34 003C7D94 4E 80 00 21 */ blrl
/* 803CAE34 003C7D94 4E 80 00 21 */ blrl
lbl_803CAE38:
/* 803CAE38 003C7D98 80 1E 00 1C */ lwz r0, 0x1c(r30)
/* 803CAE3C 003C7D9C 28 00 00 00 */ cmplwi r0, 0
@ -178,7 +178,7 @@ lbl_803CAE38:
/* 803CAE68 003C7DC8 90 1E 00 1C */ stw r0, 0x1c(r30)
/* 803CAE6C 003C7DCC 7D 88 03 A6 */ mtlr r12
/* 803CAE70 003C7DD0 80 9E 00 20 */ lwz r4, 0x20(r30)
/* 803CAE74 003C7DD4 4E 80 00 21 */ blrl
/* 803CAE74 003C7DD4 4E 80 00 21 */ blrl
/* 803CAE78 003C7DD8 38 61 00 10 */ addi r3, r1, 0x10
/* 803CAE7C 003C7DDC 4B FB 47 99 */ bl OSClearContext
/* 803CAE80 003C7DE0 7F A3 EB 78 */ mr r3, r29
@ -191,7 +191,7 @@ lbl_803CAE8C:
/* 803CAE98 003C7DF8 83 A1 02 E4 */ lwz r29, 0x2e4(r1)
/* 803CAE9C 003C7DFC 38 21 02 F0 */ addi r1, r1, 0x2f0
/* 803CAEA0 003C7E00 7C 08 03 A6 */ mtlr r0
/* 803CAEA4 003C7E04 4E 80 00 20 */ blr
/* 803CAEA4 003C7E04 4E 80 00 20 */ blr
.global __GBATransfer
__GBATransfer:
@ -223,4 +223,4 @@ __GBATransfer:
/* 803CAF0C 003C7E6C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 803CAF10 003C7E70 38 21 00 30 */ addi r1, r1, 0x30
/* 803CAF14 003C7E74 7C 08 03 A6 */ mtlr r0
/* 803CAF18 003C7E78 4E 80 00 20 */ blr
/* 803CAF18 003C7E78 4E 80 00 20 */ blr

View File

@ -6,7 +6,7 @@
AIVersion:
.asciz "<< Dolphin SDK - AI\trelease build: Sep 5 2002 05:34:25 (0x2301) >>"
.4byte 0
.section .sdata
.global lbl_805A8A68
lbl_805A8A68:
@ -67,7 +67,7 @@ AIRegisterDMACallback:
/* 8036CF70 00369ED0 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8036CF74 00369ED4 38 21 00 18 */ addi r1, r1, 0x18
/* 8036CF78 00369ED8 7C 08 03 A6 */ mtlr r0
/* 8036CF7C 00369EDC 4E 80 00 20 */ blr
/* 8036CF7C 00369EDC 4E 80 00 20 */ blr
.global AIInitDMA
AIInitDMA:
@ -104,7 +104,7 @@ AIInitDMA:
/* 8036CFF8 00369F58 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8036CFFC 00369F5C 38 21 00 18 */ addi r1, r1, 0x18
/* 8036D000 00369F60 7C 08 03 A6 */ mtlr r0
/* 8036D004 00369F64 4E 80 00 20 */ blr
/* 8036D004 00369F64 4E 80 00 20 */ blr
.global AIStartDMA
AIStartDMA:
@ -113,7 +113,7 @@ AIStartDMA:
/* 8036D010 00369F70 A0 03 00 36 */ lhz r0, 0x36(r3)
/* 8036D014 00369F74 60 00 80 00 */ ori r0, r0, 0x8000
/* 8036D018 00369F78 B0 03 00 36 */ sth r0, 0x36(r3)
/* 8036D01C 00369F7C 4E 80 00 20 */ blr
/* 8036D01C 00369F7C 4E 80 00 20 */ blr
.global AIStopDMA
AIStopDMA:
@ -122,7 +122,7 @@ AIStopDMA:
/* 8036D028 00369F88 A0 03 00 36 */ lhz r0, 0x36(r3)
/* 8036D02C 00369F8C 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036D030 00369F90 B0 03 00 36 */ sth r0, 0x36(r3)
/* 8036D034 00369F94 4E 80 00 20 */ blr
/* 8036D034 00369F94 4E 80 00 20 */ blr
.global AIGetDMAStartAddr
AIGetDMAStartAddr:
@ -132,7 +132,7 @@ AIGetDMAStartAddr:
/* 8036D044 00369FA4 A0 03 00 32 */ lhz r0, 0x32(r3)
/* 8036D048 00369FA8 54 03 04 34 */ rlwinm r3, r0, 0, 0x10, 0x1a
/* 8036D04C 00369FAC 50 83 81 9E */ rlwimi r3, r4, 0x10, 6, 0xf
/* 8036D050 00369FB0 4E 80 00 20 */ blr
/* 8036D050 00369FB0 4E 80 00 20 */ blr
.global AIRegisterStreamCallback
AIRegisterStreamCallback:
@ -152,7 +152,7 @@ AIRegisterStreamCallback:
/* 8036D088 00369FE8 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8036D08C 00369FEC 38 21 00 18 */ addi r1, r1, 0x18
/* 8036D090 00369FF0 7C 08 03 A6 */ mtlr r0
/* 8036D094 00369FF4 4E 80 00 20 */ blr
/* 8036D094 00369FF4 4E 80 00 20 */ blr
.global sub_8036d098
sub_8036d098:
@ -161,13 +161,13 @@ sub_8036d098:
/* 8036D0A0 0036A000 54 00 06 F2 */ rlwinm r0, r0, 0, 0x1b, 0x19
/* 8036D0A4 0036A004 60 00 00 20 */ ori r0, r0, 0x20
/* 8036D0A8 0036A008 90 03 6C 00 */ stw r0, 0x6c00(r3)
/* 8036D0AC 0036A00C 4E 80 00 20 */ blr
/* 8036D0AC 0036A00C 4E 80 00 20 */ blr
.global SetTRKConnected
SetTRKConnected:
/* 8036D0B0 0036A010 3C 80 CC 00 */ lis r4, 0xCC006C0C@ha
/* 8036D0B4 0036A014 90 64 6C 0C */ stw r3, 0xCC006C0C@l(r4)
/* 8036D0B8 0036A018 4E 80 00 20 */ blr
/* 8036D0B8 0036A018 4E 80 00 20 */ blr
.global AISetStreamPlayState
AISetStreamPlayState:
@ -226,14 +226,14 @@ lbl_8036D178:
/* 8036D184 0036A0E4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8036D188 0036A0E8 38 21 00 20 */ addi r1, r1, 0x20
/* 8036D18C 0036A0EC 7C 08 03 A6 */ mtlr r0
/* 8036D190 0036A0F0 4E 80 00 20 */ blr
/* 8036D190 0036A0F0 4E 80 00 20 */ blr
.global AIGetStreamPlayState
AIGetStreamPlayState:
/* 8036D194 0036A0F4 3C 60 CC 00 */ lis r3, 0xCC006C00@ha
/* 8036D198 0036A0F8 80 03 6C 00 */ lwz r0, 0xCC006C00@l(r3)
/* 8036D19C 0036A0FC 54 03 07 FE */ clrlwi r3, r0, 0x1f
/* 8036D1A0 0036A100 4E 80 00 20 */ blr
/* 8036D1A0 0036A100 4E 80 00 20 */ blr
.global AISetDSPSampleRate
AISetDSPSampleRate:
@ -293,7 +293,7 @@ lbl_8036D270:
/* 8036D274 0036A1D4 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8036D278 0036A1D8 38 21 00 28 */ addi r1, r1, 0x28
/* 8036D27C 0036A1DC 7C 08 03 A6 */ mtlr r0
/* 8036D280 0036A1E0 4E 80 00 20 */ blr
/* 8036D280 0036A1E0 4E 80 00 20 */ blr
.global AIGetDSPSampleRate
AIGetDSPSampleRate:
@ -301,7 +301,7 @@ AIGetDSPSampleRate:
/* 8036D288 0036A1E8 80 03 6C 00 */ lwz r0, 0xCC006C00@l(r3)
/* 8036D28C 0036A1EC 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f
/* 8036D290 0036A1F0 68 03 00 01 */ xori r3, r0, 1
/* 8036D294 0036A1F4 4E 80 00 20 */ blr
/* 8036D294 0036A1F4 4E 80 00 20 */ blr
.global __AI_set_stream_sample_rate
__AI_set_stream_sample_rate:
@ -358,14 +358,14 @@ lbl_8036D358:
/* 8036D35C 0036A2BC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8036D360 0036A2C0 38 21 00 30 */ addi r1, r1, 0x30
/* 8036D364 0036A2C4 7C 08 03 A6 */ mtlr r0
/* 8036D368 0036A2C8 4E 80 00 20 */ blr
/* 8036D368 0036A2C8 4E 80 00 20 */ blr
.global AIGetStreamSampleRate
AIGetStreamSampleRate:
/* 8036D36C 0036A2CC 3C 60 CC 00 */ lis r3, 0xCC006C00@ha
/* 8036D370 0036A2D0 80 03 6C 00 */ lwz r0, 0xCC006C00@l(r3)
/* 8036D374 0036A2D4 54 03 FF FE */ rlwinm r3, r0, 0x1f, 0x1f, 0x1f
/* 8036D378 0036A2D8 4E 80 00 20 */ blr
/* 8036D378 0036A2D8 4E 80 00 20 */ blr
.global AISetStreamVolLeft
AISetStreamVolLeft:
@ -375,14 +375,14 @@ AISetStreamVolLeft:
/* 8036D388 0036A2E8 54 00 00 2E */ rlwinm r0, r0, 0, 0, 0x17
/* 8036D38C 0036A2EC 50 60 06 3E */ rlwimi r0, r3, 0, 0x18, 0x1f
/* 8036D390 0036A2F0 90 04 00 04 */ stw r0, 4(r4)
/* 8036D394 0036A2F4 4E 80 00 20 */ blr
/* 8036D394 0036A2F4 4E 80 00 20 */ blr
.global AIGetStreamVolLeft
AIGetStreamVolLeft:
/* 8036D398 0036A2F8 3C 60 CC 00 */ lis r3, 0xCC006C04@ha
/* 8036D39C 0036A2FC 80 03 6C 04 */ lwz r0, 0xCC006C04@l(r3)
/* 8036D3A0 0036A300 54 03 06 3E */ clrlwi r3, r0, 0x18
/* 8036D3A4 0036A304 4E 80 00 20 */ blr
/* 8036D3A4 0036A304 4E 80 00 20 */ blr
.global AISetStreamVolRight
AISetStreamVolRight:
@ -392,14 +392,14 @@ AISetStreamVolRight:
/* 8036D3B4 0036A314 54 00 06 1E */ rlwinm r0, r0, 0, 0x18, 0xf
/* 8036D3B8 0036A318 50 60 44 2E */ rlwimi r0, r3, 8, 0x10, 0x17
/* 8036D3BC 0036A31C 90 04 00 04 */ stw r0, 4(r4)
/* 8036D3C0 0036A320 4E 80 00 20 */ blr
/* 8036D3C0 0036A320 4E 80 00 20 */ blr
.global AIGetStreamVolRight
AIGetStreamVolRight:
/* 8036D3C4 0036A324 3C 60 CC 00 */ lis r3, 0xCC006C04@ha
/* 8036D3C8 0036A328 80 03 6C 04 */ lwz r0, 0xCC006C04@l(r3)
/* 8036D3CC 0036A32C 54 03 C6 3E */ rlwinm r3, r0, 0x18, 0x18, 0x1f
/* 8036D3D0 0036A330 4E 80 00 20 */ blr
/* 8036D3D0 0036A330 4E 80 00 20 */ blr
.global AIInit
AIInit:
@ -461,11 +461,11 @@ AIInit:
/* 8036D4B0 0036A410 80 A6 6C 04 */ lwz r5, 0x6c04(r6)
/* 8036D4B4 0036A414 90 06 6C 00 */ stw r0, 0x6c00(r6)
/* 8036D4B8 0036A418 54 A0 06 1E */ rlwinm r0, r5, 0, 0x18, 0xf
/* 8036D4BC 0036A41C 60 00 00 00 */ nop
/* 8036D4BC 0036A41C 60 00 00 00 */ nop
/* 8036D4C0 0036A420 90 06 6C 04 */ stw r0, 0x6c04(r6)
/* 8036D4C4 0036A424 80 06 6C 04 */ lwz r0, 0x6c04(r6)
/* 8036D4C8 0036A428 54 00 00 2E */ rlwinm r0, r0, 0, 0, 0x17
/* 8036D4CC 0036A42C 60 00 00 00 */ nop
/* 8036D4CC 0036A42C 60 00 00 00 */ nop
/* 8036D4D0 0036A430 90 06 6C 04 */ stw r0, 0x6c04(r6)
/* 8036D4D4 0036A434 93 E6 6C 0C */ stw r31, 0x6c0c(r6)
/* 8036D4D8 0036A438 4B FF FD C1 */ bl __AI_set_stream_sample_rate
@ -494,7 +494,7 @@ lbl_8036D528:
/* 8036D530 0036A490 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8036D534 0036A494 38 21 00 18 */ addi r1, r1, 0x18
/* 8036D538 0036A498 7C 08 03 A6 */ mtlr r0
/* 8036D53C 0036A49C 4E 80 00 20 */ blr
/* 8036D53C 0036A49C 4E 80 00 20 */ blr
.global __AISHandler
__AISHandler:
@ -518,7 +518,7 @@ __AISHandler:
/* 8036D584 0036A4E4 38 7F 6C 00 */ addi r3, r31, 0x6c00
/* 8036D588 0036A4E8 7D 88 03 A6 */ mtlr r12
/* 8036D58C 0036A4EC 80 63 00 08 */ lwz r3, 8(r3)
/* 8036D590 0036A4F0 4E 80 00 21 */ blrl
/* 8036D590 0036A4F0 4E 80 00 21 */ blrl
lbl_8036D594:
/* 8036D594 0036A4F4 38 61 00 10 */ addi r3, r1, 0x10
/* 8036D598 0036A4F8 48 01 20 7D */ bl OSClearContext
@ -529,7 +529,7 @@ lbl_8036D594:
/* 8036D5AC 0036A50C 83 C1 02 D8 */ lwz r30, 0x2d8(r1)
/* 8036D5B0 0036A510 38 21 02 E0 */ addi r1, r1, 0x2e0
/* 8036D5B4 0036A514 7C 08 03 A6 */ mtlr r0
/* 8036D5B8 0036A518 4E 80 00 20 */ blr
/* 8036D5B8 0036A518 4E 80 00 20 */ blr
.global __AIDHandler
__AIDHandler:
@ -565,7 +565,7 @@ __AIDHandler:
lbl_8036D630:
/* 8036D630 0036A590 39 83 00 00 */ addi r12, r3, 0
/* 8036D634 0036A594 7D 88 03 A6 */ mtlr r12
/* 8036D638 0036A598 4E 80 00 21 */ blrl
/* 8036D638 0036A598 4E 80 00 21 */ blrl
lbl_8036D63C:
/* 8036D63C 0036A59C 38 00 00 00 */ li r0, 0
/* 8036D640 0036A5A0 90 0D AB 0C */ stw r0, lbl_805A96CC@sda21(r13)
@ -578,7 +578,7 @@ lbl_8036D644:
/* 8036D658 0036A5B8 83 E1 02 DC */ lwz r31, 0x2dc(r1)
/* 8036D65C 0036A5BC 38 21 02 E0 */ addi r1, r1, 0x2e0
/* 8036D660 0036A5C0 7C 08 03 A6 */ mtlr r0
/* 8036D664 0036A5C4 4E 80 00 20 */ blr
/* 8036D664 0036A5C4 4E 80 00 20 */ blr
.global __AICallbackStackSwitch
__AICallbackStackSwitch:
@ -595,7 +595,7 @@ __AICallbackStackSwitch:
/* 8036D690 0036A5F0 80 25 00 00 */ lwz r1, 0(r5)
/* 8036D694 0036A5F4 38 21 FF F8 */ addi r1, r1, -8
/* 8036D698 0036A5F8 7F E8 03 A6 */ mtlr r31
/* 8036D69C 0036A5FC 4E 80 00 21 */ blrl
/* 8036D69C 0036A5FC 4E 80 00 21 */ blrl
/* 8036D6A0 0036A600 3C A0 80 5B */ lis r5, lbl_805A96C4@ha
/* 8036D6A4 0036A604 38 A5 96 C4 */ addi r5, r5, lbl_805A96C4@l
/* 8036D6A8 0036A608 80 25 00 00 */ lwz r1, 0(r5)
@ -603,7 +603,7 @@ __AICallbackStackSwitch:
/* 8036D6B0 0036A610 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8036D6B4 0036A614 38 21 00 18 */ addi r1, r1, 0x18
/* 8036D6B8 0036A618 7C 08 03 A6 */ mtlr r0
/* 8036D6BC 0036A61C 4E 80 00 20 */ blr
/* 8036D6BC 0036A61C 4E 80 00 20 */ blr
.global __AI_SRC_INIT
__AI_SRC_INIT:
@ -739,5 +739,5 @@ lbl_8036D86C:
/* 8036D894 0036A7F4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8036D898 0036A7F8 38 21 00 30 */ addi r1, r1, 0x30
/* 8036D89C 0036A7FC 7C 08 03 A6 */ mtlr r0
/* 8036D8A0 0036A800 4E 80 00 20 */ blr
/* 8036D8A0 0036A800 4E 80 00 20 */ blr

View File

@ -1,17 +1,17 @@
.include "macros.inc"
.section .data
.section .data
.global ARVersionString
ARVersionString:
.asciz "<< Dolphin SDK - AR\trelease build: Sep 5 2002 05:34:27 (0x2301) >>"
.4byte 0
.section .sdata
.global lbl_805A8A70
lbl_805A8A70:
.4byte ARVersionString
.4byte 0
.section .sbss
.global lbl_805A96F8
lbl_805A96F8:
@ -37,7 +37,7 @@ lbl_805A9710:
.global lbl_805A9714
lbl_805A9714:
.skip 0x4
.section .text, "ax"
.global ARRegisterDMACallback
@ -58,7 +58,7 @@ ARRegisterDMACallback:
/* 8036D8D8 0036A838 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8036D8DC 0036A83C 38 21 00 18 */ addi r1, r1, 0x18
/* 8036D8E0 0036A840 7C 08 03 A6 */ mtlr r0
/* 8036D8E4 0036A844 4E 80 00 20 */ blr
/* 8036D8E4 0036A844 4E 80 00 20 */ blr
.global ARGetDMAStatus
ARGetDMAStatus:
@ -76,7 +76,7 @@ ARGetDMAStatus:
/* 8036D914 0036A874 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8036D918 0036A878 38 21 00 10 */ addi r1, r1, 0x10
/* 8036D91C 0036A87C 7C 08 03 A6 */ mtlr r0
/* 8036D920 0036A880 4E 80 00 20 */ blr
/* 8036D920 0036A880 4E 80 00 20 */ blr
.global ARStartDMA
ARStartDMA:
@ -139,7 +139,7 @@ ARStartDMA:
/* 8036DA04 0036A964 83 81 00 18 */ lwz r28, 0x18(r1)
/* 8036DA08 0036A968 38 21 00 28 */ addi r1, r1, 0x28
/* 8036DA0C 0036A96C 7C 08 03 A6 */ mtlr r0
/* 8036DA10 0036A970 4E 80 00 20 */ blr
/* 8036DA10 0036A970 4E 80 00 20 */ blr
.global ARAlloc
ARAlloc:
@ -168,7 +168,7 @@ ARAlloc:
/* 8036DA6C 0036A9CC 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8036DA70 0036A9D0 38 21 00 18 */ addi r1, r1, 0x18
/* 8036DA74 0036A9D4 7C 08 03 A6 */ mtlr r0
/* 8036DA78 0036A9D8 4E 80 00 20 */ blr
/* 8036DA78 0036A9D8 4E 80 00 20 */ blr
.global ARFree
ARFree:
@ -201,7 +201,7 @@ lbl_8036DAB4:
/* 8036DAE0 0036AA40 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8036DAE4 0036AA44 38 21 00 18 */ addi r1, r1, 0x18
/* 8036DAE8 0036AA48 7C 08 03 A6 */ mtlr r0
/* 8036DAEC 0036AA4C 4E 80 00 20 */ blr
/* 8036DAEC 0036AA4C 4E 80 00 20 */ blr
.global ARInit
ARInit:
@ -255,17 +255,17 @@ lbl_8036DB98:
/* 8036DBA4 0036AB04 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8036DBA8 0036AB08 38 21 00 20 */ addi r1, r1, 0x20
/* 8036DBAC 0036AB0C 7C 08 03 A6 */ mtlr r0
/* 8036DBB0 0036AB10 4E 80 00 20 */ blr
/* 8036DBB0 0036AB10 4E 80 00 20 */ blr
.global ARGetBaseAddress
ARGetBaseAddress:
/* 8036DBB4 0036AB14 38 60 40 00 */ li r3, 0x4000
/* 8036DBB8 0036AB18 4E 80 00 20 */ blr
/* 8036DBB8 0036AB18 4E 80 00 20 */ blr
.global ARGetSize
ARGetSize:
/* 8036DBBC 0036AB1C 80 6D AB 3C */ lwz r3, lbl_805A96FC@sda21(r13)
/* 8036DBC0 0036AB20 4E 80 00 20 */ blr
/* 8036DBC0 0036AB20 4E 80 00 20 */ blr
.global __ARHandler
__ARHandler:
@ -289,7 +289,7 @@ __ARHandler:
/* 8036DC08 0036AB68 28 0C 00 00 */ cmplwi r12, 0
/* 8036DC0C 0036AB6C 41 82 00 0C */ beq lbl_8036DC18
/* 8036DC10 0036AB70 7D 88 03 A6 */ mtlr r12
/* 8036DC14 0036AB74 4E 80 00 21 */ blrl
/* 8036DC14 0036AB74 4E 80 00 21 */ blrl
lbl_8036DC18:
/* 8036DC18 0036AB78 38 61 00 10 */ addi r3, r1, 0x10
/* 8036DC1C 0036AB7C 48 01 19 F9 */ bl OSClearContext
@ -299,7 +299,7 @@ lbl_8036DC18:
/* 8036DC2C 0036AB8C 83 E1 02 DC */ lwz r31, 0x2dc(r1)
/* 8036DC30 0036AB90 38 21 02 E0 */ addi r1, r1, 0x2e0
/* 8036DC34 0036AB94 7C 08 03 A6 */ mtlr r0
/* 8036DC38 0036AB98 4E 80 00 20 */ blr
/* 8036DC38 0036AB98 4E 80 00 20 */ blr
.global __ARChecksize
__ARChecksize:
@ -415,7 +415,7 @@ lbl_8036DC54:
/* 8036DDEC 0036AD4C B0 17 50 28 */ sth r0, 0x5028(r23)
/* 8036DDF0 0036AD50 A0 17 50 28 */ lhz r0, 0x5028(r23)
/* 8036DDF4 0036AD54 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036DDF8 0036AD58 60 00 00 00 */ nop
/* 8036DDF8 0036AD58 60 00 00 00 */ nop
/* 8036DDFC 0036AD5C B4 1E 00 28 */ sthu r0, 0x28(r30)
/* 8036DE00 0036AD60 A0 17 50 2A */ lhz r0, 0x502a(r23)
/* 8036DE04 0036AD64 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -459,7 +459,7 @@ lbl_8036DE10:
/* 8036DE98 0036ADF8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036DE9C 0036ADFC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036DEA0 0036AE00 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036DEA4 0036AE04 60 00 00 00 */ nop
/* 8036DEA4 0036AE04 60 00 00 00 */ nop
/* 8036DEA8 0036AE08 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036DEAC 0036AE0C A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036DEB0 0036AE10 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -508,7 +508,7 @@ lbl_8036DEBC:
/* 8036DF58 0036AEB8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036DF5C 0036AEBC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036DF60 0036AEC0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036DF64 0036AEC4 60 00 00 00 */ nop
/* 8036DF64 0036AEC4 60 00 00 00 */ nop
/* 8036DF68 0036AEC8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036DF6C 0036AECC A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036DF70 0036AED0 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -561,7 +561,7 @@ lbl_8036DF7C:
/* 8036E028 0036AF88 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E02C 0036AF8C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E030 0036AF90 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E034 0036AF94 60 00 00 00 */ nop
/* 8036E034 0036AF94 60 00 00 00 */ nop
/* 8036E038 0036AF98 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E03C 0036AF9C A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E040 0036AFA0 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -612,7 +612,7 @@ lbl_8036E04C:
/* 8036E0F0 0036B050 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E0F4 0036B054 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E0F8 0036B058 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E0FC 0036B05C 60 00 00 00 */ nop
/* 8036E0FC 0036B05C 60 00 00 00 */ nop
/* 8036E100 0036B060 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E104 0036B064 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E108 0036B068 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -667,7 +667,7 @@ lbl_8036E114:
/* 8036E1C8 0036B128 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E1CC 0036B12C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E1D0 0036B130 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E1D4 0036B134 60 00 00 00 */ nop
/* 8036E1D4 0036B134 60 00 00 00 */ nop
/* 8036E1D8 0036B138 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E1DC 0036B13C A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E1E0 0036B140 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -722,7 +722,7 @@ lbl_8036E1EC:
/* 8036E2A0 0036B200 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E2A4 0036B204 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E2A8 0036B208 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E2AC 0036B20C 60 00 00 00 */ nop
/* 8036E2AC 0036B20C 60 00 00 00 */ nop
/* 8036E2B0 0036B210 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E2B4 0036B214 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E2B8 0036B218 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -763,7 +763,7 @@ lbl_8036E2C4:
/* 8036E340 0036B2A0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E344 0036B2A4 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E348 0036B2A8 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E34C 0036B2AC 60 00 00 00 */ nop
/* 8036E34C 0036B2AC 60 00 00 00 */ nop
/* 8036E350 0036B2B0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E354 0036B2B4 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E358 0036B2B8 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -801,7 +801,7 @@ lbl_8036E364:
/* 8036E3D4 0036B334 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E3D8 0036B338 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E3DC 0036B33C 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E3E0 0036B340 60 00 00 00 */ nop
/* 8036E3E0 0036B340 60 00 00 00 */ nop
/* 8036E3E4 0036B344 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E3E8 0036B348 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E3EC 0036B34C 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -846,7 +846,7 @@ lbl_8036E3F8:
/* 8036E484 0036B3E4 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E488 0036B3E8 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E48C 0036B3EC 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E490 0036B3F0 60 00 00 00 */ nop
/* 8036E490 0036B3F0 60 00 00 00 */ nop
/* 8036E494 0036B3F4 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E498 0036B3F8 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E49C 0036B3FC 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -889,7 +889,7 @@ lbl_8036E4A8:
/* 8036E52C 0036B48C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E530 0036B490 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E534 0036B494 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E538 0036B498 60 00 00 00 */ nop
/* 8036E538 0036B498 60 00 00 00 */ nop
/* 8036E53C 0036B49C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E540 0036B4A0 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E544 0036B4A4 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -931,7 +931,7 @@ lbl_8036E580:
/* 8036E5CC 0036B52C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E5D0 0036B530 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E5D4 0036B534 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E5D8 0036B538 60 00 00 00 */ nop
/* 8036E5D8 0036B538 60 00 00 00 */ nop
/* 8036E5DC 0036B53C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E5E0 0036B540 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E5E4 0036B544 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -969,7 +969,7 @@ lbl_8036E5F0:
/* 8036E660 0036B5C0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E664 0036B5C4 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E668 0036B5C8 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E66C 0036B5CC 60 00 00 00 */ nop
/* 8036E66C 0036B5CC 60 00 00 00 */ nop
/* 8036E670 0036B5D0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E674 0036B5D4 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E678 0036B5D8 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1014,7 +1014,7 @@ lbl_8036E684:
/* 8036E710 0036B670 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E714 0036B674 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E718 0036B678 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E71C 0036B67C 60 00 00 00 */ nop
/* 8036E71C 0036B67C 60 00 00 00 */ nop
/* 8036E720 0036B680 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E724 0036B684 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E728 0036B688 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1057,7 +1057,7 @@ lbl_8036E734:
/* 8036E7B8 0036B718 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E7BC 0036B71C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E7C0 0036B720 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E7C4 0036B724 60 00 00 00 */ nop
/* 8036E7C4 0036B724 60 00 00 00 */ nop
/* 8036E7C8 0036B728 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E7CC 0036B72C A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E7D0 0036B730 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1095,7 +1095,7 @@ lbl_8036E7DC:
/* 8036E84C 0036B7AC B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E850 0036B7B0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E854 0036B7B4 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E858 0036B7B8 60 00 00 00 */ nop
/* 8036E858 0036B7B8 60 00 00 00 */ nop
/* 8036E85C 0036B7BC B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E860 0036B7C0 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E864 0036B7C4 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1142,7 +1142,7 @@ lbl_8036E8AC:
/* 8036E900 0036B860 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E904 0036B864 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E908 0036B868 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E90C 0036B86C 60 00 00 00 */ nop
/* 8036E90C 0036B86C 60 00 00 00 */ nop
/* 8036E910 0036B870 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E914 0036B874 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E918 0036B878 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1180,7 +1180,7 @@ lbl_8036E924:
/* 8036E994 0036B8F4 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E998 0036B8F8 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E99C 0036B8FC 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E9A0 0036B900 60 00 00 00 */ nop
/* 8036E9A0 0036B900 60 00 00 00 */ nop
/* 8036E9A4 0036B904 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E9A8 0036B908 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E9AC 0036B90C 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1227,7 +1227,7 @@ lbl_8036E9B8:
/* 8036EA4C 0036B9AC B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EA50 0036B9B0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EA54 0036B9B4 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EA58 0036B9B8 60 00 00 00 */ nop
/* 8036EA58 0036B9B8 60 00 00 00 */ nop
/* 8036EA5C 0036B9BC B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EA60 0036B9C0 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EA64 0036B9C4 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1270,7 +1270,7 @@ lbl_8036EA70:
/* 8036EAF4 0036BA54 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EAF8 0036BA58 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EAFC 0036BA5C 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EB00 0036BA60 60 00 00 00 */ nop
/* 8036EB00 0036BA60 60 00 00 00 */ nop
/* 8036EB04 0036BA64 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EB08 0036BA68 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EB0C 0036BA6C 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1308,7 +1308,7 @@ lbl_8036EB18:
/* 8036EB88 0036BAE8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EB8C 0036BAEC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EB90 0036BAF0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EB94 0036BAF4 60 00 00 00 */ nop
/* 8036EB94 0036BAF4 60 00 00 00 */ nop
/* 8036EB98 0036BAF8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EB9C 0036BAFC A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EBA0 0036BB00 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1346,7 +1346,7 @@ lbl_8036EBAC:
/* 8036EC1C 0036BB7C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EC20 0036BB80 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EC24 0036BB84 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EC28 0036BB88 60 00 00 00 */ nop
/* 8036EC28 0036BB88 60 00 00 00 */ nop
/* 8036EC2C 0036BB8C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EC30 0036BB90 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EC34 0036BB94 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1393,7 +1393,7 @@ lbl_8036EC7C:
/* 8036ECD0 0036BC30 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036ECD4 0036BC34 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036ECD8 0036BC38 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036ECDC 0036BC3C 60 00 00 00 */ nop
/* 8036ECDC 0036BC3C 60 00 00 00 */ nop
/* 8036ECE0 0036BC40 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036ECE4 0036BC44 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036ECE8 0036BC48 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1431,7 +1431,7 @@ lbl_8036ECF4:
/* 8036ED64 0036BCC4 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036ED68 0036BCC8 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036ED6C 0036BCCC 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036ED70 0036BCD0 60 00 00 00 */ nop
/* 8036ED70 0036BCD0 60 00 00 00 */ nop
/* 8036ED74 0036BCD4 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036ED78 0036BCD8 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036ED7C 0036BCDC 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1478,7 +1478,7 @@ lbl_8036ED88:
/* 8036EE1C 0036BD7C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EE20 0036BD80 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EE24 0036BD84 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EE28 0036BD88 60 00 00 00 */ nop
/* 8036EE28 0036BD88 60 00 00 00 */ nop
/* 8036EE2C 0036BD8C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EE30 0036BD90 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EE34 0036BD94 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1521,7 +1521,7 @@ lbl_8036EE40:
/* 8036EEC4 0036BE24 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EEC8 0036BE28 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EECC 0036BE2C 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EED0 0036BE30 60 00 00 00 */ nop
/* 8036EED0 0036BE30 60 00 00 00 */ nop
/* 8036EED4 0036BE34 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EED8 0036BE38 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EEDC 0036BE3C 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1559,7 +1559,7 @@ lbl_8036EEE8:
/* 8036EF58 0036BEB8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EF5C 0036BEBC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EF60 0036BEC0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EF64 0036BEC4 60 00 00 00 */ nop
/* 8036EF64 0036BEC4 60 00 00 00 */ nop
/* 8036EF68 0036BEC8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EF6C 0036BECC A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EF70 0036BED0 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1597,7 +1597,7 @@ lbl_8036EF7C:
/* 8036EFEC 0036BF4C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EFF0 0036BF50 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EFF4 0036BF54 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EFF8 0036BF58 60 00 00 00 */ nop
/* 8036EFF8 0036BF58 60 00 00 00 */ nop
/* 8036EFFC 0036BF5C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F000 0036BF60 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F004 0036BF64 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1637,7 +1637,7 @@ lbl_8036F010:
/* 8036F088 0036BFE8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F08C 0036BFEC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F090 0036BFF0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F094 0036BFF4 60 00 00 00 */ nop
/* 8036F094 0036BFF4 60 00 00 00 */ nop
/* 8036F098 0036BFF8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F09C 0036BFFC A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F0A0 0036C000 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1683,7 +1683,7 @@ lbl_8036F0E8:
/* 8036F138 0036C098 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F13C 0036C09C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F140 0036C0A0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F144 0036C0A4 60 00 00 00 */ nop
/* 8036F144 0036C0A4 60 00 00 00 */ nop
/* 8036F148 0036C0A8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F14C 0036C0AC A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F150 0036C0B0 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1721,7 +1721,7 @@ lbl_8036F15C:
/* 8036F1CC 0036C12C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F1D0 0036C130 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F1D4 0036C134 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F1D8 0036C138 60 00 00 00 */ nop
/* 8036F1D8 0036C138 60 00 00 00 */ nop
/* 8036F1DC 0036C13C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F1E0 0036C140 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F1E4 0036C144 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1759,7 +1759,7 @@ lbl_8036F1F0:
/* 8036F260 0036C1C0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F264 0036C1C4 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F268 0036C1C8 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F26C 0036C1CC 60 00 00 00 */ nop
/* 8036F26C 0036C1CC 60 00 00 00 */ nop
/* 8036F270 0036C1D0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F274 0036C1D4 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F278 0036C1D8 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1799,7 +1799,7 @@ lbl_8036F284:
/* 8036F2FC 0036C25C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F300 0036C260 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F304 0036C264 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F308 0036C268 60 00 00 00 */ nop
/* 8036F308 0036C268 60 00 00 00 */ nop
/* 8036F30C 0036C26C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F310 0036C270 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F314 0036C274 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1839,7 +1839,7 @@ lbl_8036F320:
/* 8036F398 0036C2F8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F39C 0036C2FC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F3A0 0036C300 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F3A4 0036C304 60 00 00 00 */ nop
/* 8036F3A4 0036C304 60 00 00 00 */ nop
/* 8036F3A8 0036C308 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F3AC 0036C30C A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F3B0 0036C310 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
@ -1876,4 +1876,4 @@ lbl_8036F410:
/* 8036F420 0036C380 B9 C1 02 78 */ lmw r14, 0x278(r1)
/* 8036F424 0036C384 38 21 02 C0 */ addi r1, r1, 0x2c0
/* 8036F428 0036C388 7C 08 03 A6 */ mtlr r0
/* 8036F42C 0036C38C 4E 80 00 20 */ blr
/* 8036F42C 0036C38C 4E 80 00 20 */ blr

View File

@ -5,14 +5,14 @@
ARQVersionString:
.asciz "<< Dolphin SDK - ARQ\trelease build: Sep 5 2002 05:34:29 (0x2301) >>"
.balign 4
.section .sdata
.global lbl_805A8A78
lbl_805A8A78:
.4byte ARQVersionString
.4byte 0
.section .sbss
.global lbl_805A9718
lbl_805A9718:
@ -119,11 +119,11 @@ lbl_8036F520:
/* 8036F520 0036C480 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8036F524 0036C484 38 21 00 08 */ addi r1, r1, 8
/* 8036F528 0036C488 7C 08 03 A6 */ mtlr r0
/* 8036F52C 0036C48C 4E 80 00 20 */ blr
/* 8036F52C 0036C48C 4E 80 00 20 */ blr
.global __ARQCallbackHack
__ARQCallbackHack:
/* 8036F530 0036C490 4E 80 00 20 */ blr
/* 8036F530 0036C490 4E 80 00 20 */ blr
.global __ARQInterruptServiceRoutine
__ARQInterruptServiceRoutine:
@ -135,7 +135,7 @@ __ARQInterruptServiceRoutine:
/* 8036F548 0036C4A8 41 82 00 20 */ beq lbl_8036F568
/* 8036F54C 0036C4AC 80 6D AB 68 */ lwz r3, lbl_805A9728@sda21(r13)
/* 8036F550 0036C4B0 7D 88 03 A6 */ mtlr r12
/* 8036F554 0036C4B4 4E 80 00 21 */ blrl
/* 8036F554 0036C4B4 4E 80 00 21 */ blrl
/* 8036F558 0036C4B8 38 00 00 00 */ li r0, 0
/* 8036F55C 0036C4BC 90 0D AB 68 */ stw r0, lbl_805A9728@sda21(r13)
/* 8036F560 0036C4C0 90 0D AB 70 */ stw r0, lbl_805A9730@sda21(r13)
@ -146,7 +146,7 @@ lbl_8036F568:
/* 8036F570 0036C4D0 41 82 00 1C */ beq lbl_8036F58C
/* 8036F574 0036C4D4 80 6D AB 6C */ lwz r3, lbl_805A972C@sda21(r13)
/* 8036F578 0036C4D8 7D 88 03 A6 */ mtlr r12
/* 8036F57C 0036C4DC 4E 80 00 21 */ blrl
/* 8036F57C 0036C4DC 4E 80 00 21 */ blrl
/* 8036F580 0036C4E0 38 00 00 00 */ li r0, 0
/* 8036F584 0036C4E4 90 0D AB 6C */ stw r0, lbl_805A972C@sda21(r13)
/* 8036F588 0036C4E8 90 0D AB 74 */ stw r0, lbl_805A9734@sda21(r13)
@ -183,7 +183,7 @@ lbl_8036F5F0:
/* 8036F5F0 0036C550 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8036F5F4 0036C554 38 21 00 08 */ addi r1, r1, 8
/* 8036F5F8 0036C558 7C 08 03 A6 */ mtlr r0
/* 8036F5FC 0036C55C 4E 80 00 20 */ blr
/* 8036F5FC 0036C55C 4E 80 00 20 */ blr
.global ARQInit
ARQInit:
@ -215,7 +215,7 @@ lbl_8036F65C:
/* 8036F660 0036C5C0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8036F664 0036C5C4 38 21 00 10 */ addi r1, r1, 0x10
/* 8036F668 0036C5C8 7C 08 03 A6 */ mtlr r0
/* 8036F66C 0036C5CC 4E 80 00 20 */ blr
/* 8036F66C 0036C5CC 4E 80 00 20 */ blr
.global ARQPostRequest
ARQPostRequest:
@ -318,9 +318,9 @@ lbl_8036F7A8:
/* 8036F7BC 0036C71C 83 A1 00 2C */ lwz r29, 0x2c(r1)
/* 8036F7C0 0036C720 38 21 00 38 */ addi r1, r1, 0x38
/* 8036F7C4 0036C724 7C 08 03 A6 */ mtlr r0
/* 8036F7C8 0036C728 4E 80 00 20 */ blr
/* 8036F7C8 0036C728 4E 80 00 20 */ blr
.global ARQGetChunkSize
ARQGetChunkSize:
/* 8036F7CC 0036C72C 80 6D AB 78 */ lwz r3, __ARQChunkSize@sda21(r13)
/* 8036F7D0 0036C730 4E 80 00 20 */ blr
/* 8036F7D0 0036C730 4E 80 00 20 */ blr

View File

@ -4,7 +4,7 @@
.global lbl_80569A58
lbl_80569A58:
.skip 0x220
.section .data, "wa"
lbl_803F6C90:
.asciz "<< Dolphin SDK - CARD\trelease build: Sep 5 2002 05:35:20 (0x2301) >>"
@ -23,18 +23,18 @@ lbl_803F6CD8:
lbl_805A8BF0:
.4byte lbl_803F6C90
.skip 4
.section .sbss, "wa"
.balign 4
.global lbl_805A9BC8
lbl_805A9BC8:
.skip 0x8
.section .text, "ax"
.global __CARDDefaultApiCallback
__CARDDefaultApiCallback:
/* 803B7E74 003B4DD4 4E 80 00 20 */ blr
/* 803B7E74 003B4DD4 4E 80 00 20 */ blr
.global __CARDExtHandler
__CARDExtHandler:
@ -67,7 +67,7 @@ __CARDExtHandler:
/* 803B7EE0 003B4E40 7D 88 03 A6 */ mtlr r12
/* 803B7EE4 003B4E44 38 7D 00 00 */ addi r3, r29, 0
/* 803B7EE8 003B4E48 38 80 FF FD */ li r4, -3
/* 803B7EEC 003B4E4C 4E 80 00 21 */ blrl
/* 803B7EEC 003B4E4C 4E 80 00 21 */ blrl
lbl_803B7EF0:
/* 803B7EF0 003B4E50 80 1E 00 04 */ lwz r0, 4(r30)
/* 803B7EF4 003B4E54 2C 00 FF FF */ cmpwi r0, -1
@ -86,7 +86,7 @@ lbl_803B7F04:
/* 803B7F24 003B4E84 90 1E 00 C4 */ stw r0, 0xc4(r30)
/* 803B7F28 003B4E88 38 7D 00 00 */ addi r3, r29, 0
/* 803B7F2C 003B4E8C 38 80 FF FD */ li r4, -3
/* 803B7F30 003B4E90 4E 80 00 21 */ blrl
/* 803B7F30 003B4E90 4E 80 00 21 */ blrl
lbl_803B7F34:
/* 803B7F34 003B4E94 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803B7F38 003B4E98 83 E1 00 1C */ lwz r31, 0x1c(r1)
@ -94,7 +94,7 @@ lbl_803B7F34:
/* 803B7F40 003B4EA0 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803B7F44 003B4EA4 38 21 00 20 */ addi r1, r1, 0x20
/* 803B7F48 003B4EA8 7C 08 03 A6 */ mtlr r0
/* 803B7F4C 003B4EAC 4E 80 00 20 */ blr
/* 803B7F4C 003B4EAC 4E 80 00 20 */ blr
.global __CARDExiHandler
__CARDExiHandler:
@ -165,7 +165,7 @@ lbl_803B8024:
/* 803B803C 003B4F9C 90 1E 00 CC */ stw r0, 0xcc(r30)
/* 803B8040 003B4FA0 38 7F 00 00 */ addi r3, r31, 0
/* 803B8044 003B4FA4 38 9D 00 00 */ addi r4, r29, 0
/* 803B8048 003B4FA8 4E 80 00 21 */ blrl
/* 803B8048 003B4FA8 4E 80 00 21 */ blrl
lbl_803B804C:
/* 803B804C 003B4FAC 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 803B8050 003B4FB0 83 E1 00 24 */ lwz r31, 0x24(r1)
@ -173,7 +173,7 @@ lbl_803B804C:
/* 803B8058 003B4FB8 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 803B805C 003B4FBC 38 21 00 28 */ addi r1, r1, 0x28
/* 803B8060 003B4FC0 7C 08 03 A6 */ mtlr r0
/* 803B8064 003B4FC4 4E 80 00 20 */ blr
/* 803B8064 003B4FC4 4E 80 00 20 */ blr
.global __CARDTxHandler
__CARDTxHandler:
@ -216,13 +216,13 @@ lbl_803B80EC:
/* 803B80EC 003B504C 39 9C 00 00 */ addi r12, r28, 0
/* 803B80F0 003B5050 7D 88 03 A6 */ mtlr r12
/* 803B80F4 003B5054 38 7B 00 00 */ addi r3, r27, 0
/* 803B80F8 003B5058 4E 80 00 21 */ blrl
/* 803B80F8 003B5058 4E 80 00 21 */ blrl
lbl_803B80FC:
/* 803B80FC 003B505C BB 61 00 14 */ lmw r27, 0x14(r1)
/* 803B8100 003B5060 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 803B8104 003B5064 38 21 00 28 */ addi r1, r1, 0x28
/* 803B8108 003B5068 7C 08 03 A6 */ mtlr r0
/* 803B810C 003B506C 4E 80 00 20 */ blr
/* 803B810C 003B506C 4E 80 00 20 */ blr
.global __CARDUnlockedHandler
__CARDUnlockedHandler:
@ -254,14 +254,14 @@ lbl_803B816C:
/* 803B816C 003B50CC 39 9F 00 00 */ addi r12, r31, 0
/* 803B8170 003B50D0 7D 88 03 A6 */ mtlr r12
/* 803B8174 003B50D4 38 7E 00 00 */ addi r3, r30, 0
/* 803B8178 003B50D8 4E 80 00 21 */ blrl
/* 803B8178 003B50D8 4E 80 00 21 */ blrl
lbl_803B817C:
/* 803B817C 003B50DC 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 803B8180 003B50E0 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803B8184 003B50E4 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803B8188 003B50E8 38 21 00 18 */ addi r1, r1, 0x18
/* 803B818C 003B50EC 7C 08 03 A6 */ mtlr r0
/* 803B8190 003B50F0 4E 80 00 20 */ blr
/* 803B8190 003B50F0 4E 80 00 20 */ blr
.global __CARDEnableInterrupt
__CARDEnableInterrupt:
@ -317,7 +317,7 @@ lbl_803B823C:
/* 803B8244 003B51A4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 803B8248 003B51A8 38 21 00 20 */ addi r1, r1, 0x20
/* 803B824C 003B51AC 7C 08 03 A6 */ mtlr r0
/* 803B8250 003B51B0 4E 80 00 20 */ blr
/* 803B8250 003B51B0 4E 80 00 20 */ blr
.global __CARDReadStatus
__CARDReadStatus:
@ -383,7 +383,7 @@ lbl_803B8328:
/* 803B8334 003B5294 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 803B8338 003B5298 38 21 00 28 */ addi r1, r1, 0x28
/* 803B833C 003B529C 7C 08 03 A6 */ mtlr r0
/* 803B8340 003B52A0 4E 80 00 20 */ blr
/* 803B8340 003B52A0 4E 80 00 20 */ blr
.global __CARDClearStatus
__CARDClearStatus:
@ -432,7 +432,7 @@ lbl_803B83D8:
/* 803B83E0 003B5340 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803B83E4 003B5344 38 21 00 18 */ addi r1, r1, 0x18
/* 803B83E8 003B5348 7C 08 03 A6 */ mtlr r0
/* 803B83EC 003B534C 4E 80 00 20 */ blr
/* 803B83EC 003B534C 4E 80 00 20 */ blr
.global TimeoutHandler
TimeoutHandler:
@ -471,14 +471,14 @@ lbl_803B843C:
/* 803B846C 003B53CC 90 1E 00 CC */ stw r0, 0xcc(r30)
/* 803B8470 003B53D0 38 7F 00 00 */ addi r3, r31, 0
/* 803B8474 003B53D4 38 80 FF FB */ li r4, -5
/* 803B8478 003B53D8 4E 80 00 21 */ blrl
/* 803B8478 003B53D8 4E 80 00 21 */ blrl
lbl_803B847C:
/* 803B847C 003B53DC 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 803B8480 003B53E0 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803B8484 003B53E4 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803B8488 003B53E8 38 21 00 18 */ addi r1, r1, 0x18
/* 803B848C 003B53EC 7C 08 03 A6 */ mtlr r0
/* 803B8490 003B53F0 4E 80 00 20 */ blr
/* 803B8490 003B53F0 4E 80 00 20 */ blr
.global Retry
Retry:
@ -632,7 +632,7 @@ lbl_803B86A8:
/* 803B86B0 003B5610 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803B86B4 003B5614 38 21 00 18 */ addi r1, r1, 0x18
/* 803B86B8 003B5618 7C 08 03 A6 */ mtlr r0
/* 803B86BC 003B561C 4E 80 00 20 */ blr
/* 803B86BC 003B561C 4E 80 00 20 */ blr
.global UnlockedCallback
UnlockedCallback:
@ -692,7 +692,7 @@ lbl_803B8770:
/* 803B8784 003B56E4 7D 88 03 A6 */ mtlr r12
/* 803B8788 003B56E8 90 1E 00 C8 */ stw r0, 0xc8(r30)
/* 803B878C 003B56EC 7F E3 FB 78 */ mr r3, r31
/* 803B8790 003B56F0 4E 80 00 21 */ blrl
/* 803B8790 003B56F0 4E 80 00 21 */ blrl
/* 803B8794 003B56F4 48 00 00 24 */ b lbl_803B87B8
lbl_803B8798:
/* 803B8798 003B56F8 81 9E 00 CC */ lwz r12, 0xcc(r30)
@ -702,14 +702,14 @@ lbl_803B8798:
/* 803B87A8 003B5708 7D 88 03 A6 */ mtlr r12
/* 803B87AC 003B570C 90 1E 00 CC */ stw r0, 0xcc(r30)
/* 803B87B0 003B5710 7F E3 FB 78 */ mr r3, r31
/* 803B87B4 003B5714 4E 80 00 21 */ blrl
/* 803B87B4 003B5714 4E 80 00 21 */ blrl
lbl_803B87B8:
/* 803B87B8 003B5718 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 803B87BC 003B571C 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803B87C0 003B5720 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803B87C4 003B5724 38 21 00 18 */ addi r1, r1, 0x18
/* 803B87C8 003B5728 7C 08 03 A6 */ mtlr r0
/* 803B87CC 003B572C 4E 80 00 20 */ blr
/* 803B87CC 003B572C 4E 80 00 20 */ blr
.global __CARDStart
__CARDStart:
@ -831,7 +831,7 @@ lbl_803B8964:
/* 803B8974 003B58D4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 803B8978 003B58D8 38 21 00 30 */ addi r1, r1, 0x30
/* 803B897C 003B58DC 7C 08 03 A6 */ mtlr r0
/* 803B8980 003B58E0 4E 80 00 20 */ blr
/* 803B8980 003B58E0 4E 80 00 20 */ blr
.global __CARDReadSegment
__CARDReadSegment:
@ -915,7 +915,7 @@ lbl_803B8AA0:
/* 803B8AA8 003B5A08 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803B8AAC 003B5A0C 38 21 00 18 */ addi r1, r1, 0x18
/* 803B8AB0 003B5A10 7C 08 03 A6 */ mtlr r0
/* 803B8AB4 003B5A14 4E 80 00 20 */ blr
/* 803B8AB4 003B5A14 4E 80 00 20 */ blr
.global __CARDWritePage
__CARDWritePage:
@ -993,7 +993,7 @@ lbl_803B8BBC:
/* 803B8BC4 003B5B24 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803B8BC8 003B5B28 38 21 00 18 */ addi r1, r1, 0x18
/* 803B8BCC 003B5B2C 7C 08 03 A6 */ mtlr r0
/* 803B8BD0 003B5B30 4E 80 00 20 */ blr
/* 803B8BD0 003B5B30 4E 80 00 20 */ blr
.global __CARDEraseSector
__CARDEraseSector:
@ -1056,7 +1056,7 @@ lbl_803B8C94:
/* 803B8CA4 003B5C04 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 803B8CA8 003B5C08 38 21 00 28 */ addi r1, r1, 0x28
/* 803B8CAC 003B5C0C 7C 08 03 A6 */ mtlr r0
/* 803B8CB0 003B5C10 4E 80 00 20 */ blr
/* 803B8CB0 003B5C10 4E 80 00 20 */ blr
.global CARDInit
CARDInit:
@ -1105,12 +1105,12 @@ lbl_803B8D44:
/* 803B8D50 003B5CB0 83 A1 00 0C */ lwz r29, 0xc(r1)
/* 803B8D54 003B5CB4 38 21 00 18 */ addi r1, r1, 0x18
/* 803B8D58 003B5CB8 7C 08 03 A6 */ mtlr r0
/* 803B8D5C 003B5CBC 4E 80 00 20 */ blr
/* 803B8D5C 003B5CBC 4E 80 00 20 */ blr
.global __CARDGetFontEncode
__CARDGetFontEncode:
/* 803B8D60 003B5CC0 A0 6D B0 08 */ lhz r3, lbl_805A9BC8@sda21(r13)
/* 803B8D64 003B5CC4 4E 80 00 20 */ blr
/* 803B8D64 003B5CC4 4E 80 00 20 */ blr
.global __CARDSetDiskID
__CARDSetDiskID:
@ -1131,7 +1131,7 @@ lbl_803B8D94:
/* 803B8D94 003B5CF4 38 64 02 20 */ addi r3, r4, 0x220
lbl_803B8D98:
/* 803B8D98 003B5CF8 90 64 02 1C */ stw r3, 0x21c(r4)
/* 803B8D9C 003B5CFC 4E 80 00 20 */ blr
/* 803B8D9C 003B5CFC 4E 80 00 20 */ blr
.global __CARDGetControlBlock
__CARDGetControlBlock:
@ -1186,7 +1186,7 @@ lbl_803B8E3C:
/* 803B8E48 003B5DA8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803B8E4C 003B5DAC 38 21 00 20 */ addi r1, r1, 0x20
/* 803B8E50 003B5DB0 7C 08 03 A6 */ mtlr r0
/* 803B8E54 003B5DB4 4E 80 00 20 */ blr
/* 803B8E54 003B5DB4 4E 80 00 20 */ blr
.global __CARDPutControlBlock
__CARDPutControlBlock:
@ -1216,7 +1216,7 @@ lbl_803B8E9C:
/* 803B8EAC 003B5E0C 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803B8EB0 003B5E10 38 21 00 18 */ addi r1, r1, 0x18
/* 803B8EB4 003B5E14 7C 08 03 A6 */ mtlr r0
/* 803B8EB8 003B5E18 4E 80 00 20 */ blr
/* 803B8EB8 003B5E18 4E 80 00 20 */ blr
.global CARDGetResultCode
CARDGetResultCode:
@ -1226,14 +1226,14 @@ CARDGetResultCode:
/* 803B8EC8 003B5E28 41 80 00 0C */ blt lbl_803B8ED4
lbl_803B8ECC:
/* 803B8ECC 003B5E2C 38 60 FF 80 */ li r3, -128
/* 803B8ED0 003B5E30 4E 80 00 20 */ blr
/* 803B8ED0 003B5E30 4E 80 00 20 */ blr
lbl_803B8ED4:
/* 803B8ED4 003B5E34 1C 83 01 10 */ mulli r4, r3, 0x110
/* 803B8ED8 003B5E38 3C 60 80 57 */ lis r3, lbl_80569A58@ha
/* 803B8EDC 003B5E3C 38 03 9A 58 */ addi r0, r3, lbl_80569A58@l
/* 803B8EE0 003B5E40 7C 60 22 14 */ add r3, r0, r4
/* 803B8EE4 003B5E44 80 63 00 04 */ lwz r3, 4(r3)
/* 803B8EE8 003B5E48 4E 80 00 20 */ blr
/* 803B8EE8 003B5E48 4E 80 00 20 */ blr
.global CARDFreeBlocks
CARDFreeBlocks:
@ -1333,7 +1333,7 @@ lbl_803B9020:
/* 803B902C 003B5F8C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 803B9030 003B5F90 38 21 00 30 */ addi r1, r1, 0x30
/* 803B9034 003B5F94 7C 08 03 A6 */ mtlr r0
/* 803B9038 003B5F98 4E 80 00 20 */ blr
/* 803B9038 003B5F98 4E 80 00 20 */ blr
OnReset:
/* 803B903C 003B5F9C 7C 08 02 A6 */ mflr r0
@ -1358,4 +1358,4 @@ lbl_803B907C:
/* 803B907C 003B5FDC 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803B9080 003B5FE0 38 21 00 08 */ addi r1, r1, 8
/* 803B9084 003B5FE4 7C 08 03 A6 */ mtlr r0
/* 803B9088 003B5FE8 4E 80 00 20 */ blr
/* 803B9088 003B5FE8 4E 80 00 20 */ blr

View File

@ -5,7 +5,7 @@
.global __CARDGetFatBlock
__CARDGetFatBlock:
/* 803BA56C 003B74CC 80 63 00 88 */ lwz r3, 0x88(r3)
/* 803BA570 003B74D0 4E 80 00 20 */ blr
/* 803BA570 003B74D0 4E 80 00 20 */ blr
WriteCallback:
/* 803BA574 003B74D4 7C 08 02 A6 */ mflr r0
@ -56,7 +56,7 @@ lbl_803BA604:
/* 803BA61C 003B757C 90 1F 00 D8 */ stw r0, 0xd8(r31)
/* 803BA620 003B7580 38 7D 00 00 */ addi r3, r29, 0
/* 803BA624 003B7584 38 9E 00 00 */ addi r4, r30, 0
/* 803BA628 003B7588 4E 80 00 21 */ blrl
/* 803BA628 003B7588 4E 80 00 21 */ blrl
lbl_803BA62C:
/* 803BA62C 003B758C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803BA630 003B7590 83 E1 00 1C */ lwz r31, 0x1c(r1)
@ -64,7 +64,7 @@ lbl_803BA62C:
/* 803BA638 003B7598 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803BA63C 003B759C 38 21 00 20 */ addi r1, r1, 0x20
/* 803BA640 003B75A0 7C 08 03 A6 */ mtlr r0
/* 803BA644 003B75A4 4E 80 00 20 */ blr
/* 803BA644 003B75A4 4E 80 00 20 */ blr
EraseCallback:
/* 803BA648 003B75A8 7C 08 02 A6 */ mflr r0
@ -111,7 +111,7 @@ lbl_803BA6CC:
/* 803BA6E4 003B7644 90 1E 00 D8 */ stw r0, 0xd8(r30)
/* 803BA6E8 003B7648 38 7F 00 00 */ addi r3, r31, 0
/* 803BA6EC 003B764C 38 9D 00 00 */ addi r4, r29, 0
/* 803BA6F0 003B7650 4E 80 00 21 */ blrl
/* 803BA6F0 003B7650 4E 80 00 21 */ blrl
lbl_803BA6F4:
/* 803BA6F4 003B7654 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 803BA6F8 003B7658 83 E1 00 24 */ lwz r31, 0x24(r1)
@ -119,7 +119,7 @@ lbl_803BA6F4:
/* 803BA700 003B7660 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 803BA704 003B7664 38 21 00 28 */ addi r1, r1, 0x28
/* 803BA708 003B7668 7C 08 03 A6 */ mtlr r0
/* 803BA70C 003B766C 4E 80 00 20 */ blr
/* 803BA70C 003B766C 4E 80 00 20 */ blr
.global __CARDAllocBlock
__CARDAllocBlock:
@ -202,7 +202,7 @@ lbl_803BA810:
/* 803BA818 003B7778 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 803BA81C 003B777C 38 21 00 20 */ addi r1, r1, 0x20
/* 803BA820 003B7780 7C 08 03 A6 */ mtlr r0
/* 803BA824 003B7784 4E 80 00 20 */ blr
/* 803BA824 003B7784 4E 80 00 20 */ blr
.global __CARDFreeBlock
__CARDFreeBlock:
@ -250,7 +250,7 @@ lbl_803BA8B4:
/* 803BA8B4 003B7814 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803BA8B8 003B7818 38 21 00 08 */ addi r1, r1, 8
/* 803BA8BC 003B781C 7C 08 03 A6 */ mtlr r0
/* 803BA8C0 003B7820 4E 80 00 20 */ blr
/* 803BA8C0 003B7820 4E 80 00 20 */ blr
.global __CARDUpdateFatBlock
__CARDUpdateFatBlock:
@ -296,4 +296,4 @@ __CARDUpdateFatBlock:
/* 803BA960 003B78C0 83 81 00 18 */ lwz r28, 0x18(r1)
/* 803BA964 003B78C4 38 21 00 28 */ addi r1, r1, 0x28
/* 803BA968 003B78C8 7C 08 03 A6 */ mtlr r0
/* 803BA96C 003B78CC 4E 80 00 20 */ blr
/* 803BA96C 003B78CC 4E 80 00 20 */ blr

View File

@ -113,10 +113,10 @@ lbl_803BAD58:
lbl_803BAD6C:
/* 803BAD6C 003B7CCC A0 06 00 00 */ lhz r0, 0(r6)
/* 803BAD70 003B7CD0 28 00 FF FF */ cmplwi r0, 0xffff
/* 803BAD74 003B7CD4 4C 82 00 20 */ bnelr
/* 803BAD74 003B7CD4 4C 82 00 20 */ bnelr
/* 803BAD78 003B7CD8 38 00 00 00 */ li r0, 0
/* 803BAD7C 003B7CDC B0 06 00 00 */ sth r0, 0(r6)
/* 803BAD80 003B7CE0 4E 80 00 20 */ blr
/* 803BAD80 003B7CE0 4E 80 00 20 */ blr
.global VerifyID
VerifyID:
@ -294,7 +294,7 @@ lbl_803BAFF4:
/* 803BAFF8 003B7F58 80 01 00 34 */ lwz r0, 0x34(r1)
/* 803BAFFC 003B7F5C 38 21 00 30 */ addi r1, r1, 0x30
/* 803BB000 003B7F60 7C 08 03 A6 */ mtlr r0
/* 803BB004 003B7F64 4E 80 00 20 */ blr
/* 803BB004 003B7F64 4E 80 00 20 */ blr
.global VerifyDir
VerifyDir:
@ -457,7 +457,7 @@ lbl_803BB228:
/* 803BB238 003B8198 83 A1 00 2C */ lwz r29, 0x2c(r1)
/* 803BB23C 003B819C 38 21 00 38 */ addi r1, r1, 0x38
/* 803BB240 003B81A0 7C 08 03 A6 */ mtlr r0
/* 803BB244 003B81A4 4E 80 00 20 */ blr
/* 803BB244 003B81A4 4E 80 00 20 */ blr
.global VerifyFAT
VerifyFAT:
@ -641,7 +641,7 @@ lbl_803BB4AC:
/* 803BB4BC 003B841C 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 803BB4C0 003B8420 38 21 00 28 */ addi r1, r1, 0x28
/* 803BB4C4 003B8424 7C 08 03 A6 */ mtlr r0
/* 803BB4C8 003B8428 4E 80 00 20 */ blr
/* 803BB4C8 003B8428 4E 80 00 20 */ blr
.global __CARDVerify
__CARDVerify:
@ -684,7 +684,7 @@ lbl_803BB540:
/* 803BB548 003B84A8 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803BB54C 003B84AC 38 21 00 18 */ addi r1, r1, 0x18
/* 803BB550 003B84B0 7C 08 03 A6 */ mtlr r0
/* 803BB554 003B84B4 4E 80 00 20 */ blr
/* 803BB554 003B84B4 4E 80 00 20 */ blr
.global CARDCheckExAsync
CARDCheckExAsync:
@ -1067,7 +1067,7 @@ lbl_803BBA98:
/* 803BBAB8 003B8A18 3B 43 00 00 */ addi r26, r3, 0
/* 803BBABC 003B8A1C 38 79 00 00 */ addi r3, r25, 0
/* 803BBAC0 003B8A20 38 80 00 00 */ li r4, 0
/* 803BBAC4 003B8A24 4E 80 00 21 */ blrl
/* 803BBAC4 003B8A24 4E 80 00 21 */ blrl
/* 803BBAC8 003B8A28 7F 43 D3 78 */ mr r3, r26
/* 803BBACC 003B8A2C 4B FC 5B BD */ bl OSRestoreInterrupts
lbl_803BBAD0:
@ -1077,7 +1077,7 @@ lbl_803BBAD4:
/* 803BBAD8 003B8A38 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 803BBADC 003B8A3C 38 21 00 58 */ addi r1, r1, 0x58
/* 803BBAE0 003B8A40 7C 08 03 A6 */ mtlr r0
/* 803BBAE4 003B8A44 4E 80 00 20 */ blr
/* 803BBAE4 003B8A44 4E 80 00 20 */ blr
.global CARDCheckAsync
CARDCheckAsync:
@ -1090,4 +1090,4 @@ CARDCheckAsync:
/* 803BBB00 003B8A60 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 803BBB04 003B8A64 38 21 00 18 */ addi r1, r1, 0x18
/* 803BBB08 003B8A68 7C 08 03 A6 */ mtlr r0
/* 803BBB0C 003B8A6C 4E 80 00 20 */ blr
/* 803BBB0C 003B8A6C 4E 80 00 20 */ blr

View File

@ -74,13 +74,13 @@ lbl_803BD2B4:
/* 803BD2CC 003BA22C 7D 88 03 A6 */ mtlr r12
/* 803BD2D0 003BA230 38 7C 00 00 */ addi r3, r28, 0
/* 803BD2D4 003BA234 38 9E 00 00 */ addi r4, r30, 0
/* 803BD2D8 003BA238 4E 80 00 21 */ blrl
/* 803BD2D8 003BA238 4E 80 00 21 */ blrl
lbl_803BD2DC:
/* 803BD2DC 003BA23C BB 61 00 14 */ lmw r27, 0x14(r1)
/* 803BD2E0 003BA240 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 803BD2E4 003BA244 38 21 00 28 */ addi r1, r1, 0x28
/* 803BD2E8 003BA248 7C 08 03 A6 */ mtlr r0
/* 803BD2EC 003BA24C 4E 80 00 20 */ blr
/* 803BD2EC 003BA24C 4E 80 00 20 */ blr
.global CARDCreateAsync
CARDCreateAsync:
@ -233,4 +233,4 @@ lbl_803BD4FC:
/* 803BD500 003BA460 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 803BD504 003BA464 38 21 00 48 */ addi r1, r1, 0x48
/* 803BD508 003BA468 7C 08 03 A6 */ mtlr r0
/* 803BD50C 003BA46C 4E 80 00 20 */ blr
/* 803BD50C 003BA46C 4E 80 00 20 */ blr

View File

@ -37,7 +37,7 @@ lbl_803BDCD0:
/* 803BDCE8 003BAC48 7D 88 03 A6 */ mtlr r12
/* 803BDCEC 003BAC4C 38 7C 00 00 */ addi r3, r28, 0
/* 803BDCF0 003BAC50 38 9D 00 00 */ addi r4, r29, 0
/* 803BDCF4 003BAC54 4E 80 00 21 */ blrl
/* 803BDCF4 003BAC54 4E 80 00 21 */ blrl
lbl_803BDCF8:
/* 803BDCF8 003BAC58 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803BDCFC 003BAC5C 83 E1 00 1C */ lwz r31, 0x1c(r1)
@ -46,7 +46,7 @@ lbl_803BDCF8:
/* 803BDD08 003BAC68 83 81 00 10 */ lwz r28, 0x10(r1)
/* 803BDD0C 003BAC6C 38 21 00 20 */ addi r1, r1, 0x20
/* 803BDD10 003BAC70 7C 08 03 A6 */ mtlr r0
/* 803BDD14 003BAC74 4E 80 00 20 */ blr
/* 803BDD14 003BAC74 4E 80 00 20 */ blr
.global CARDFastDeleteAsync
CARDFastDeleteAsync:
@ -133,7 +133,7 @@ lbl_803BDE24:
/* 803BDE34 003BAD94 83 81 00 18 */ lwz r28, 0x18(r1)
/* 803BDE38 003BAD98 38 21 00 28 */ addi r1, r1, 0x28
/* 803BDE3C 003BAD9C 7C 08 03 A6 */ mtlr r0
/* 803BDE40 003BADA0 4E 80 00 20 */ blr
/* 803BDE40 003BADA0 4E 80 00 20 */ blr
.global CARDDeleteAsync
CARDDeleteAsync:
@ -211,4 +211,4 @@ lbl_803BDF38:
/* 803BDF44 003BAEA4 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 803BDF48 003BAEA8 38 21 00 30 */ addi r1, r1, 0x30
/* 803BDF4C 003BAEAC 7C 08 03 A6 */ mtlr r0
/* 803BDF50 003BAEB0 4E 80 00 20 */ blr
/* 803BDF50 003BAEB0 4E 80 00 20 */ blr

View File

@ -5,7 +5,7 @@
.global __CARDGetDirBlock
__CARDGetDirBlock:
/* 803BA970 003B78D0 80 63 00 84 */ lwz r3, 0x84(r3)
/* 803BA974 003B78D4 4E 80 00 20 */ blr
/* 803BA974 003B78D4 4E 80 00 20 */ blr
WriteCallback:
/* 803BA978 003B78D8 7C 08 02 A6 */ mflr r0
@ -55,7 +55,7 @@ lbl_803BAA04:
/* 803BAA1C 003B797C 90 1F 00 D8 */ stw r0, 0xd8(r31)
/* 803BAA20 003B7980 38 7D 00 00 */ addi r3, r29, 0
/* 803BAA24 003B7984 38 9E 00 00 */ addi r4, r30, 0
/* 803BAA28 003B7988 4E 80 00 21 */ blrl
/* 803BAA28 003B7988 4E 80 00 21 */ blrl
lbl_803BAA2C:
/* 803BAA2C 003B798C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803BAA30 003B7990 83 E1 00 1C */ lwz r31, 0x1c(r1)
@ -63,7 +63,7 @@ lbl_803BAA2C:
/* 803BAA38 003B7998 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803BAA3C 003B799C 38 21 00 20 */ addi r1, r1, 0x20
/* 803BAA40 003B79A0 7C 08 03 A6 */ mtlr r0
/* 803BAA44 003B79A4 4E 80 00 20 */ blr
/* 803BAA44 003B79A4 4E 80 00 20 */ blr
.global EraseCallback
EraseCallback:
@ -111,7 +111,7 @@ lbl_803BAACC:
/* 803BAAE4 003B7A44 90 1E 00 D8 */ stw r0, 0xd8(r30)
/* 803BAAE8 003B7A48 38 7F 00 00 */ addi r3, r31, 0
/* 803BAAEC 003B7A4C 38 9D 00 00 */ addi r4, r29, 0
/* 803BAAF0 003B7A50 4E 80 00 21 */ blrl
/* 803BAAF0 003B7A50 4E 80 00 21 */ blrl
lbl_803BAAF4:
/* 803BAAF4 003B7A54 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 803BAAF8 003B7A58 83 E1 00 24 */ lwz r31, 0x24(r1)
@ -119,7 +119,7 @@ lbl_803BAAF4:
/* 803BAB00 003B7A60 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 803BAB04 003B7A64 38 21 00 28 */ addi r1, r1, 0x28
/* 803BAB08 003B7A68 7C 08 03 A6 */ mtlr r0
/* 803BAB0C 003B7A6C 4E 80 00 20 */ blr
/* 803BAB0C 003B7A6C 4E 80 00 20 */ blr
.global __CARDUpdateDir
__CARDUpdateDir:
@ -173,4 +173,4 @@ lbl_803BABB4:
/* 803BABC4 003B7B24 83 81 00 18 */ lwz r28, 0x18(r1)
/* 803BABC8 003B7B28 38 21 00 28 */ addi r1, r1, 0x28
/* 803BABCC 003B7B2C 7C 08 03 A6 */ mtlr r0
/* 803BABD0 003B7B30 4E 80 00 20 */ blr
/* 803BABD0 003B7B30 4E 80 00 20 */ blr

View File

@ -78,7 +78,7 @@ lbl_803BC680:
/* 803BC69C 003B95FC 7D 88 03 A6 */ mtlr r12
/* 803BC6A0 003B9600 38 7E 00 00 */ addi r3, r30, 0
/* 803BC6A4 003B9604 38 9C 00 00 */ addi r4, r28, 0
/* 803BC6A8 003B9608 4E 80 00 21 */ blrl
/* 803BC6A8 003B9608 4E 80 00 21 */ blrl
lbl_803BC6AC:
/* 803BC6AC 003B960C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803BC6B0 003B9610 83 E1 00 1C */ lwz r31, 0x1c(r1)
@ -87,7 +87,7 @@ lbl_803BC6AC:
/* 803BC6BC 003B961C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 803BC6C0 003B9620 38 21 00 20 */ addi r1, r1, 0x20
/* 803BC6C4 003B9624 7C 08 03 A6 */ mtlr r0
/* 803BC6C8 003B9628 4E 80 00 20 */ blr
/* 803BC6C8 003B9628 4E 80 00 20 */ blr
.global __CARDFormatRegionAsync
__CARDFormatRegionAsync:
@ -511,7 +511,7 @@ lbl_803BCD10:
/* 803BCD14 003B9C74 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 803BCD18 003B9C78 38 21 00 58 */ addi r1, r1, 0x58
/* 803BCD1C 003B9C7C 7C 08 03 A6 */ mtlr r0
/* 803BCD20 003B9C80 4E 80 00 20 */ blr
/* 803BCD20 003B9C80 4E 80 00 20 */ blr
.global CARDFormatAsync
CARDFormatAsync:
@ -532,4 +532,4 @@ CARDFormatAsync:
/* 803BCD5C 003B9CBC 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803BCD60 003B9CC0 38 21 00 18 */ addi r1, r1, 0x18
/* 803BCD64 003B9CC4 7C 08 03 A6 */ mtlr r0
/* 803BCD68 003B9CC8 4E 80 00 20 */ blr
/* 803BCD68 003B9CC8 4E 80 00 20 */ blr

View File

@ -12,7 +12,7 @@ lbl_803F6E60:
.4byte 0x00040000
.4byte 0x00000000
.4byte 0x00000000
.global lbl_803F6E80
lbl_803F6E80:
.4byte 0x00000004
@ -29,7 +29,7 @@ lbl_803F6E80:
lbl_805A8C00:
.2byte 0xFFFF
.balign 4
.section .text, "ax"
.global IsCard
@ -44,12 +44,12 @@ IsCard:
/* 803BBB2C 003B8A8C 40 82 00 0C */ bne lbl_803BBB38
lbl_803BBB30:
/* 803BBB30 003B8A90 38 60 00 00 */ li r3, 0
/* 803BBB34 003B8A94 4E 80 00 20 */ blr
/* 803BBB34 003B8A94 4E 80 00 20 */ blr
lbl_803BBB38:
/* 803BBB38 003B8A98 54 60 07 BF */ clrlwi. r0, r3, 0x1e
/* 803BBB3C 003B8A9C 41 82 00 0C */ beq lbl_803BBB48
/* 803BBB40 003B8AA0 38 60 00 00 */ li r3, 0
/* 803BBB44 003B8AA4 4E 80 00 20 */ blr
/* 803BBB44 003B8AA4 4E 80 00 20 */ blr
lbl_803BBB48:
/* 803BBB48 003B8AA8 54 65 06 3A */ rlwinm r5, r3, 0, 0x18, 0x1d
/* 803BBB4C 003B8AAC 2C 05 00 20 */ cmpwi r5, 0x20
@ -73,7 +73,7 @@ lbl_803BBB7C:
/* 803BBB8C 003B8AEC 41 82 00 0C */ beq lbl_803BBB98
lbl_803BBB90:
/* 803BBB90 003B8AF0 38 60 00 00 */ li r3, 0
/* 803BBB94 003B8AF4 4E 80 00 20 */ blr
/* 803BBB94 003B8AF4 4E 80 00 20 */ blr
lbl_803BBB98:
/* 803BBB98 003B8AF8 3C 80 80 3F */ lis r4, lbl_803F6E60@ha
/* 803BBB9C 003B8AFC 54 63 BE FA */ rlwinm r3, r3, 0x17, 0x1b, 0x1d
@ -83,17 +83,17 @@ lbl_803BBB98:
/* 803BBBAC 003B8B0C 2C 03 00 00 */ cmpwi r3, 0
/* 803BBBB0 003B8B10 40 82 00 0C */ bne lbl_803BBBBC
/* 803BBBB4 003B8B14 38 60 00 00 */ li r3, 0
/* 803BBBB8 003B8B18 4E 80 00 20 */ blr
/* 803BBBB8 003B8B18 4E 80 00 20 */ blr
lbl_803BBBBC:
/* 803BBBBC 003B8B1C 54 A0 88 DC */ rlwinm r0, r5, 0x11, 3, 0xe
/* 803BBBC0 003B8B20 7C 00 1B 96 */ divwu r0, r0, r3
/* 803BBBC4 003B8B24 28 00 00 08 */ cmplwi r0, 8
/* 803BBBC8 003B8B28 40 80 00 0C */ bge lbl_803BBBD4
/* 803BBBCC 003B8B2C 38 60 00 00 */ li r3, 0
/* 803BBBD0 003B8B30 4E 80 00 20 */ blr
/* 803BBBD0 003B8B30 4E 80 00 20 */ blr
lbl_803BBBD4:
/* 803BBBD4 003B8B34 38 60 00 01 */ li r3, 1
/* 803BBBD8 003B8B38 4E 80 00 20 */ blr
/* 803BBBD8 003B8B38 4E 80 00 20 */ blr
.global CARDProbeEx
CARDProbeEx:
@ -207,7 +207,7 @@ lbl_803BBD44:
/* 803BBD48 003B8CA8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 803BBD4C 003B8CAC 38 21 00 30 */ addi r1, r1, 0x30
/* 803BBD50 003B8CB0 7C 08 03 A6 */ mtlr r0
/* 803BBD54 003B8CB4 4E 80 00 20 */ blr
/* 803BBD54 003B8CB4 4E 80 00 20 */ blr
.global DoMount
DoMount:
@ -490,7 +490,7 @@ lbl_803BC148:
/* 803BC158 003B90B8 83 81 00 20 */ lwz r28, 0x20(r1)
/* 803BC15C 003B90BC 38 21 00 30 */ addi r1, r1, 0x30
/* 803BC160 003B90C0 7C 08 03 A6 */ mtlr r0
/* 803BC164 003B90C4 4E 80 00 20 */ blr
/* 803BC164 003B90C4 4E 80 00 20 */ blr
.global __CARDMountCallback
__CARDMountCallback:
@ -569,7 +569,7 @@ lbl_803BC254:
/* 803BC270 003B91D0 7D 88 03 A6 */ mtlr r12
/* 803BC274 003B91D4 38 7C 00 00 */ addi r3, r28, 0
/* 803BC278 003B91D8 38 9D 00 00 */ addi r4, r29, 0
/* 803BC27C 003B91DC 4E 80 00 21 */ blrl
/* 803BC27C 003B91DC 4E 80 00 21 */ blrl
lbl_803BC280:
/* 803BC280 003B91E0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803BC284 003B91E4 83 E1 00 1C */ lwz r31, 0x1c(r1)
@ -578,7 +578,7 @@ lbl_803BC280:
/* 803BC290 003B91F0 83 81 00 10 */ lwz r28, 0x10(r1)
/* 803BC294 003B91F4 38 21 00 20 */ addi r1, r1, 0x20
/* 803BC298 003B91F8 7C 08 03 A6 */ mtlr r0
/* 803BC29C 003B91FC 4E 80 00 20 */ blr
/* 803BC29C 003B91FC 4E 80 00 20 */ blr
.global CARDMountAsync
CARDMountAsync:
@ -695,7 +695,7 @@ lbl_803BC42C:
/* 803BC430 003B9390 80 01 00 34 */ lwz r0, 0x34(r1)
/* 803BC434 003B9394 38 21 00 30 */ addi r1, r1, 0x30
/* 803BC438 003B9398 7C 08 03 A6 */ mtlr r0
/* 803BC43C 003B939C 4E 80 00 20 */ blr
/* 803BC43C 003B939C 4E 80 00 20 */ blr
.global DoUnmount
DoUnmount:
@ -738,7 +738,7 @@ lbl_803BC4B4:
/* 803BC4CC 003B942C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 803BC4D0 003B9430 38 21 00 20 */ addi r1, r1, 0x20
/* 803BC4D4 003B9434 7C 08 03 A6 */ mtlr r0
/* 803BC4D8 003B9438 4E 80 00 20 */ blr
/* 803BC4D8 003B9438 4E 80 00 20 */ blr
.global CARDUnmount
CARDUnmount:
@ -787,4 +787,4 @@ lbl_803BC56C:
/* 803BC578 003B94D8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803BC57C 003B94DC 38 21 00 20 */ addi r1, r1, 0x20
/* 803BC580 003B94E0 7C 08 03 A6 */ mtlr r0
/* 803BC584 003B94E4 4E 80 00 20 */ blr
/* 803BC584 003B94E4 4E 80 00 20 */ blr

View File

@ -56,4 +56,4 @@ lbl_803BE698:
/* 803BE69C 003BB5FC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 803BE6A0 003BB600 38 21 00 20 */ addi r1, r1, 0x20
/* 803BE6A4 003BB604 7C 08 03 A6 */ mtlr r0
/* 803BE6A8 003BB608 4E 80 00 20 */ blr
/* 803BE6A8 003BB608 4E 80 00 20 */ blr

View File

@ -3,7 +3,7 @@
.section .bss
lbl_80569C78:
.skip 0x20
.section .text, "ax"
.global __CARDCompareFileName
@ -21,12 +21,12 @@ lbl_803BCD78:
/* 803BCD90 003B9CF0 7C 03 00 00 */ cmpw r3, r0
/* 803BCD94 003B9CF4 41 82 00 0C */ beq lbl_803BCDA0
/* 803BCD98 003B9CF8 38 60 00 00 */ li r3, 0
/* 803BCD9C 003B9CFC 4E 80 00 20 */ blr
/* 803BCD9C 003B9CFC 4E 80 00 20 */ blr
lbl_803BCDA0:
/* 803BCDA0 003B9D00 7C C0 07 75 */ extsb. r0, r6
/* 803BCDA4 003B9D04 40 82 00 0C */ bne lbl_803BCDB0
/* 803BCDA8 003B9D08 38 60 00 01 */ li r3, 1
/* 803BCDAC 003B9D0C 4E 80 00 20 */ blr
/* 803BCDAC 003B9D0C 4E 80 00 20 */ blr
lbl_803BCDB0:
/* 803BCDB0 003B9D10 34 E7 FF FF */ addic. r7, r7, -1
/* 803BCDB4 003B9D14 40 80 FF C4 */ bge lbl_803BCD78
@ -34,10 +34,10 @@ lbl_803BCDB0:
/* 803BCDBC 003B9D1C 7C 00 07 75 */ extsb. r0, r0
/* 803BCDC0 003B9D20 40 82 00 0C */ bne lbl_803BCDCC
/* 803BCDC4 003B9D24 38 60 00 01 */ li r3, 1
/* 803BCDC8 003B9D28 4E 80 00 20 */ blr
/* 803BCDC8 003B9D28 4E 80 00 20 */ blr
lbl_803BCDCC:
/* 803BCDCC 003B9D2C 38 60 00 00 */ li r3, 0
/* 803BCDD0 003B9D30 4E 80 00 20 */ blr
/* 803BCDD0 003B9D30 4E 80 00 20 */ blr
.global __CARDAccess
__CARDAccess:
@ -82,7 +82,7 @@ lbl_803BCE54:
/* 803BCE5C 003B9DBC 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803BCE60 003B9DC0 38 21 00 18 */ addi r1, r1, 0x18
/* 803BCE64 003B9DC4 7C 08 03 A6 */ mtlr r0
/* 803BCE68 003B9DC8 4E 80 00 20 */ blr
/* 803BCE68 003B9DC8 4E 80 00 20 */ blr
.global sub_803bce6c
sub_803bce6c:
@ -90,16 +90,16 @@ sub_803bce6c:
/* 803BCE70 003B9DD0 28 00 00 FF */ cmplwi r0, 0xff
/* 803BCE74 003B9DD4 40 82 00 0C */ bne lbl_803BCE80
/* 803BCE78 003B9DD8 38 60 FF FC */ li r3, -4
/* 803BCE7C 003B9DDC 4E 80 00 20 */ blr
/* 803BCE7C 003B9DDC 4E 80 00 20 */ blr
lbl_803BCE80:
/* 803BCE80 003B9DE0 88 03 00 34 */ lbz r0, 0x34(r3)
/* 803BCE84 003B9DE4 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d
/* 803BCE88 003B9DE8 41 82 00 0C */ beq lbl_803BCE94
/* 803BCE8C 003B9DEC 38 60 00 00 */ li r3, 0
/* 803BCE90 003B9DF0 4E 80 00 20 */ blr
/* 803BCE90 003B9DF0 4E 80 00 20 */ blr
lbl_803BCE94:
/* 803BCE94 003B9DF4 38 60 FF F6 */ li r3, -10
/* 803BCE98 003B9DF8 4E 80 00 20 */ blr
/* 803BCE98 003B9DF8 4E 80 00 20 */ blr
.global sub_803bce9c
sub_803bce9c:
@ -199,7 +199,7 @@ lbl_803BCFD8:
/* 803BCFDC 003B9F3C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 803BCFE0 003B9F40 38 21 00 30 */ addi r1, r1, 0x30
/* 803BCFE4 003B9F44 7C 08 03 A6 */ mtlr r0
/* 803BCFE8 003B9F48 4E 80 00 20 */ blr
/* 803BCFE8 003B9F48 4E 80 00 20 */ blr
.global CARDOpen
CARDOpen:
@ -309,7 +309,7 @@ lbl_803BD150:
/* 803BD154 003BA0B4 80 01 00 44 */ lwz r0, 0x44(r1)
/* 803BD158 003BA0B8 38 21 00 40 */ addi r1, r1, 0x40
/* 803BD15C 003BA0BC 7C 08 03 A6 */ mtlr r0
/* 803BD160 003BA0C0 4E 80 00 20 */ blr
/* 803BD160 003BA0C0 4E 80 00 20 */ blr
.global CARDClose
CARDClose:
@ -335,9 +335,9 @@ lbl_803BD1A4:
/* 803BD1A8 003BA108 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803BD1AC 003BA10C 38 21 00 18 */ addi r1, r1, 0x18
/* 803BD1B0 003BA110 7C 08 03 A6 */ mtlr r0
/* 803BD1B4 003BA114 4E 80 00 20 */ blr
/* 803BD1B4 003BA114 4E 80 00 20 */ blr
.global __CARDIsOpened
__CARDIsOpened:
/* 803BD1B8 003BA118 38 60 00 00 */ li r3, 0
/* 803BD1BC 003BA11C 4E 80 00 20 */ blr
/* 803BD1BC 003BA11C 4E 80 00 20 */ blr

View File

@ -53,7 +53,7 @@ lbl_803BA384:
/* 803BA39C 003B72FC 90 1E 00 D4 */ stw r0, 0xd4(r30)
/* 803BA3A0 003B7300 38 7F 00 00 */ addi r3, r31, 0
/* 803BA3A4 003B7304 38 9D 00 00 */ addi r4, r29, 0
/* 803BA3A8 003B7308 4E 80 00 21 */ blrl
/* 803BA3A8 003B7308 4E 80 00 21 */ blrl
lbl_803BA3AC:
/* 803BA3AC 003B730C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803BA3B0 003B7310 83 E1 00 1C */ lwz r31, 0x1c(r1)
@ -61,7 +61,7 @@ lbl_803BA3AC:
/* 803BA3B8 003B7318 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803BA3BC 003B731C 38 21 00 20 */ addi r1, r1, 0x20
/* 803BA3C0 003B7320 7C 08 03 A6 */ mtlr r0
/* 803BA3C4 003B7324 4E 80 00 20 */ blr
/* 803BA3C4 003B7324 4E 80 00 20 */ blr
.global __CARDRead
__CARDRead:
@ -91,7 +91,7 @@ lbl_803BA41C:
/* 803BA41C 003B737C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803BA420 003B7380 38 21 00 08 */ addi r1, r1, 8
/* 803BA424 003B7384 7C 08 03 A6 */ mtlr r0
/* 803BA428 003B7388 4E 80 00 20 */ blr
/* 803BA428 003B7388 4E 80 00 20 */ blr
.global BlockWriteCallback
BlockWriteCallback:
@ -144,7 +144,7 @@ lbl_803BA4C4:
/* 803BA4DC 003B743C 90 1E 00 D4 */ stw r0, 0xd4(r30)
/* 803BA4E0 003B7440 38 7F 00 00 */ addi r3, r31, 0
/* 803BA4E4 003B7444 38 9D 00 00 */ addi r4, r29, 0
/* 803BA4E8 003B7448 4E 80 00 21 */ blrl
/* 803BA4E8 003B7448 4E 80 00 21 */ blrl
lbl_803BA4EC:
/* 803BA4EC 003B744C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803BA4F0 003B7450 83 E1 00 1C */ lwz r31, 0x1c(r1)
@ -152,7 +152,7 @@ lbl_803BA4EC:
/* 803BA4F8 003B7458 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803BA4FC 003B745C 38 21 00 20 */ addi r1, r1, 0x20
/* 803BA500 003B7460 7C 08 03 A6 */ mtlr r0
/* 803BA504 003B7464 4E 80 00 20 */ blr
/* 803BA504 003B7464 4E 80 00 20 */ blr
.global __CARDWrite
__CARDWrite:
@ -182,4 +182,4 @@ lbl_803BA55C:
/* 803BA55C 003B74BC 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803BA560 003B74C0 38 21 00 08 */ addi r1, r1, 8
/* 803BA564 003B74C4 7C 08 03 A6 */ mtlr r0
/* 803BA568 003B74C8 4E 80 00 20 */ blr
/* 803BA568 003B74C8 4E 80 00 20 */ blr

View File

@ -124,7 +124,7 @@ lbl_803BD6A8:
/* 803BD6B8 003BA618 83 81 00 20 */ lwz r28, 0x20(r1)
/* 803BD6BC 003BA61C 38 21 00 30 */ addi r1, r1, 0x30
/* 803BD6C0 003BA620 7C 08 03 A6 */ mtlr r0
/* 803BD6C4 003BA624 4E 80 00 20 */ blr
/* 803BD6C4 003BA624 4E 80 00 20 */ blr
ReadCallback:
/* 803BD6C8 003BA628 7C 08 02 A6 */ mflr r0
@ -203,13 +203,13 @@ lbl_803BD7B8:
/* 803BD7D4 003BA734 7D 88 03 A6 */ mtlr r12
/* 803BD7D8 003BA738 38 7D 00 00 */ addi r3, r29, 0
/* 803BD7DC 003BA73C 38 9E 00 00 */ addi r4, r30, 0
/* 803BD7E0 003BA740 4E 80 00 21 */ blrl
/* 803BD7E0 003BA740 4E 80 00 21 */ blrl
lbl_803BD7E4:
/* 803BD7E4 003BA744 BB 61 00 14 */ lmw r27, 0x14(r1)
/* 803BD7E8 003BA748 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 803BD7EC 003BA74C 38 21 00 28 */ addi r1, r1, 0x28
/* 803BD7F0 003BA750 7C 08 03 A6 */ mtlr r0
/* 803BD7F4 003BA754 4E 80 00 20 */ blr
/* 803BD7F4 003BA754 4E 80 00 20 */ blr
.global CARDReadAsync
CARDReadAsync:
@ -304,4 +304,4 @@ lbl_803BD92C:
/* 803BD930 003BA890 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 803BD934 003BA894 38 21 00 38 */ addi r1, r1, 0x38
/* 803BD938 003BA898 7C 08 03 A6 */ mtlr r0
/* 803BD93C 003BA89C 4E 80 00 20 */ blr
/* 803BD93C 003BA89C 4E 80 00 20 */ blr

View File

@ -143,4 +143,4 @@ lbl_803BE5D4:
/* 803BE5D8 003BB538 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 803BE5DC 003BB53C 38 21 00 48 */ addi r1, r1, 0x48
/* 803BE5E0 003BB540 7C 08 03 A6 */ mtlr r0
/* 803BE5E4 003BB544 4E 80 00 20 */ blr
/* 803BE5E4 003BB544 4E 80 00 20 */ blr

View File

@ -153,7 +153,7 @@ lbl_803BE13C:
/* 803BE140 003BB0A0 90 04 00 64 */ stw r0, 0x64(r4)
lbl_803BE144:
/* 803BE144 003BB0A4 91 04 00 68 */ stw r8, 0x68(r4)
/* 803BE148 003BB0A8 4E 80 00 20 */ blr
/* 803BE148 003BB0A8 4E 80 00 20 */ blr
.global CARDGetStatus
CARDGetStatus:
@ -237,7 +237,7 @@ lbl_803BE25C:
/* 803BE268 003BB1C8 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 803BE26C 003BB1CC 38 21 00 28 */ addi r1, r1, 0x28
/* 803BE270 003BB1D0 7C 08 03 A6 */ mtlr r0
/* 803BE274 003BB1D4 4E 80 00 20 */ blr
/* 803BE274 003BB1D4 4E 80 00 20 */ blr
.global CARDSetStatusAsync
CARDSetStatusAsync:
@ -341,5 +341,5 @@ lbl_803BE3CC:
/* 803BE3DC 003BB33C 83 81 00 20 */ lwz r28, 0x20(r1)
/* 803BE3E0 003BB340 38 21 00 30 */ addi r1, r1, 0x30
/* 803BE3E4 003BB344 7C 08 03 A6 */ mtlr r0
/* 803BE3E8 003BB348 4E 80 00 20 */ blr
/* 803BE3E8 003BB348 4E 80 00 20 */ blr

View File

@ -4,7 +4,96 @@
.global lbl_803F6D00
lbl_803F6D00:
.incbin "baserom.dol", 0x3F3D00, 0x160
# ROM: 0x3F3D00
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0x00000021
.4byte 0x02FF0021
.4byte 0x13061203
.4byte 0x12041305
.4byte 0x009200FF
.4byte 0x0088FFFF
.4byte 0x0089FFFF
.4byte 0x008AFFFF
.4byte 0x008BFFFF
.4byte 0x8F0002BF
.4byte 0x008816FC
.4byte 0xDCD116FD
.4byte 0x000016FB
.4byte 0x000102BF
.4byte 0x008E25FF
.4byte 0x0380FF00
.4byte 0x02940027
.4byte 0x02BF008E
.4byte 0x1FDF24FF
.4byte 0x02400FFF
.4byte 0x00980400
.4byte 0x009A0010
.4byte 0x00990000
.4byte 0x8E0002BF
.4byte 0x009402BF
.4byte 0x864402BF
.4byte 0x008816FC
.4byte 0xDCD116FD
.4byte 0x000316FB
.4byte 0x00018F00
.4byte 0x02BF008E
.4byte 0x0380CDD1
.4byte 0x02940048
.4byte 0x27FF0380
.4byte 0x00010295
.4byte 0x005A0380
.4byte 0x00020295
.4byte 0x8000029F
.4byte 0x00480021
.4byte 0x8E0002BF
.4byte 0x008E25FF
.4byte 0x02BF008E
.4byte 0x25FF02BF
.4byte 0x008E25FF
.4byte 0x02BF008E
.4byte 0x00C5FFFF
.4byte 0x03400FFF
.4byte 0x1C9F02BF
.4byte 0x008E00C7
.4byte 0xFFFF02BF
.4byte 0x008E00C6
.4byte 0xFFFF02BF
.4byte 0x008E00C0
.4byte 0xFFFF02BF
.4byte 0x008E20FF
.4byte 0x03400FFF
.4byte 0x1F5F02BF
.4byte 0x008E21FF
.4byte 0x02BF008E
.4byte 0x23FF1205
.4byte 0x1206029F
.4byte 0x80B50021
.4byte 0x27FC03C0
.4byte 0x8000029D
.4byte 0x008802DF
.4byte 0x27FE03C0
.4byte 0x8000029C
.4byte 0x008E02DF
.4byte 0x2ECE2CCF
.4byte 0x00F8FFCD
.4byte 0x00F9FFC9
.4byte 0x00FAFFCB
.4byte 0x26C902C0
.4byte 0x0004029D
.4byte 0x009C02DF
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.section .sdata, "wa"
.global lbl_805A8BF8
@ -118,7 +207,7 @@ lbl_803B91E8:
/* 803B91E8 003B6148 39 08 00 01 */ addi r8, r8, 1
/* 803B91EC 003B614C 42 00 FE C0 */ bdnz lbl_803B90AC
/* 803B91F0 003B6150 7C E3 3B 78 */ mr r3, r7
/* 803B91F4 003B6154 4E 80 00 20 */ blr
/* 803B91F4 003B6154 4E 80 00 20 */ blr
.global ReadArrayUnlock
ReadArrayUnlock:
@ -207,7 +296,7 @@ lbl_803B9328:
/* 803B932C 003B628C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 803B9330 003B6290 38 21 00 40 */ addi r1, r1, 0x40
/* 803B9334 003B6294 7C 08 03 A6 */ mtlr r0
/* 803B9338 003B6298 4E 80 00 20 */ blr
/* 803B9338 003B6298 4E 80 00 20 */ blr
.global DummyLen
DummyLen:
@ -264,7 +353,7 @@ lbl_803B93E4:
/* 803B93F0 003B6350 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 803B93F4 003B6354 38 21 00 28 */ addi r1, r1, 0x28
/* 803B93F8 003B6358 7C 08 03 A6 */ mtlr r0
/* 803B93FC 003B635C 4E 80 00 20 */ blr
/* 803B93FC 003B635C 4E 80 00 20 */ blr
.global __CARDUnlock
__CARDUnlock:
@ -1011,7 +1100,7 @@ lbl_803B9F44:
/* 803B9F48 003B6EA8 80 01 01 24 */ lwz r0, 0x124(r1)
/* 803B9F4C 003B6EAC 38 21 01 20 */ addi r1, r1, 0x120
/* 803B9F50 003B6EB0 7C 08 03 A6 */ mtlr r0
/* 803B9F54 003B6EB4 4E 80 00 20 */ blr
/* 803B9F54 003B6EB4 4E 80 00 20 */ blr
.global InitCallback
InitCallback:
@ -1045,7 +1134,7 @@ lbl_803B9FA8:
/* 803B9FB8 003B6F18 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803B9FBC 003B6F1C 38 21 00 18 */ addi r1, r1, 0x18
/* 803B9FC0 003B6F20 7C 08 03 A6 */ mtlr r0
/* 803B9FC4 003B6F24 4E 80 00 20 */ blr
/* 803B9FC4 003B6F24 4E 80 00 20 */ blr
.global DoneCallback
DoneCallback:
@ -1259,4 +1348,4 @@ lbl_803BA2CC:
/* 803BA2DC 003B723C 83 81 00 78 */ lwz r28, 0x78(r1)
/* 803BA2E0 003B7240 38 21 00 88 */ addi r1, r1, 0x88
/* 803BA2E4 003B7244 7C 08 03 A6 */ mtlr r0
/* 803BA2E8 003B7248 4E 80 00 20 */ blr
/* 803BA2E8 003B7248 4E 80 00 20 */ blr

View File

@ -92,7 +92,7 @@ lbl_803BDA64:
/* 803BDA80 003BA9E0 7D 88 03 A6 */ mtlr r12
/* 803BDA84 003BA9E4 38 7E 00 00 */ addi r3, r30, 0
/* 803BDA88 003BA9E8 38 9C 00 00 */ addi r4, r28, 0
/* 803BDA8C 003BA9EC 4E 80 00 21 */ blrl
/* 803BDA8C 003BA9EC 4E 80 00 21 */ blrl
lbl_803BDA90:
/* 803BDA90 003BA9F0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803BDA94 003BA9F4 83 E1 00 1C */ lwz r31, 0x1c(r1)
@ -101,7 +101,7 @@ lbl_803BDA90:
/* 803BDAA0 003BAA00 83 81 00 10 */ lwz r28, 0x10(r1)
/* 803BDAA4 003BAA04 38 21 00 20 */ addi r1, r1, 0x20
/* 803BDAA8 003BAA08 7C 08 03 A6 */ mtlr r0
/* 803BDAAC 003BAA0C 4E 80 00 20 */ blr
/* 803BDAAC 003BAA0C 4E 80 00 20 */ blr
EraseCallback:
/* 803BDAB0 003BAA10 7C 08 02 A6 */ mflr r0
@ -140,7 +140,7 @@ lbl_803BDB14:
/* 803BDB30 003BAA90 7D 88 03 A6 */ mtlr r12
/* 803BDB34 003BAA94 38 7C 00 00 */ addi r3, r28, 0
/* 803BDB38 003BAA98 38 9D 00 00 */ addi r4, r29, 0
/* 803BDB3C 003BAA9C 4E 80 00 21 */ blrl
/* 803BDB3C 003BAA9C 4E 80 00 21 */ blrl
lbl_803BDB40:
/* 803BDB40 003BAAA0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803BDB44 003BAAA4 83 E1 00 1C */ lwz r31, 0x1c(r1)
@ -149,7 +149,7 @@ lbl_803BDB40:
/* 803BDB50 003BAAB0 83 81 00 10 */ lwz r28, 0x10(r1)
/* 803BDB54 003BAAB4 38 21 00 20 */ addi r1, r1, 0x20
/* 803BDB58 003BAAB8 7C 08 03 A6 */ mtlr r0
/* 803BDB5C 003BAABC 4E 80 00 20 */ blr
/* 803BDB5C 003BAABC 4E 80 00 20 */ blr
.global CARDWriteAsync
CARDWriteAsync:
@ -229,4 +229,4 @@ lbl_803BDC60:
/* 803BDC64 003BABC4 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 803BDC68 003BABC8 38 21 00 38 */ addi r1, r1, 0x38
/* 803BDC6C 003BABCC 7C 08 03 A6 */ mtlr r0
/* 803BDC70 003BABD0 4E 80 00 20 */ blr
/* 803BDC70 003BABD0 4E 80 00 20 */ blr

View File

@ -6,12 +6,12 @@ lbl_805A9740:
lbl_805A9744:
.skip 0x4
.section .data
.global lbl_803EF9B8
lbl_803EF9B8:
.asciz "DBExceptionDestination\n"
.section .text, "ax"
.global DBInit
@ -25,7 +25,7 @@ DBInit:
/* 8036F8E4 0036C844 90 04 00 48 */ stw r0, 0x48(r4)
/* 8036F8E8 0036C848 38 00 00 01 */ li r0, 1
/* 8036F8EC 0036C84C 90 0D AB 84 */ stw r0, lbl_805A9744@sda21(r13)
/* 8036F8F0 0036C850 4E 80 00 20 */ blr
/* 8036F8F0 0036C850 4E 80 00 20 */ blr
.global __DBExceptionDestinationAux
__DBExceptionDestinationAux:
@ -46,7 +46,7 @@ __DBExceptionDestinationAux:
/* 8036F92C 0036C88C 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8036F930 0036C890 38 21 00 18 */ addi r1, r1, 0x18
/* 8036F934 0036C894 7C 08 03 A6 */ mtlr r0
/* 8036F938 0036C898 4E 80 00 20 */ blr
/* 8036F938 0036C898 4E 80 00 20 */ blr
.global __DBExceptionDestination
__DBExceptionDestination:
@ -63,7 +63,7 @@ __DBIsExceptionMarked:
/* 8036F958 0036C8B8 80 84 00 04 */ lwz r4, 4(r4)
/* 8036F95C 0036C8BC 7C 60 00 30 */ slw r0, r3, r0
/* 8036F960 0036C8C0 7C 83 00 38 */ and r3, r4, r0
/* 8036F964 0036C8C4 4E 80 00 20 */ blr
/* 8036F964 0036C8C4 4E 80 00 20 */ blr
.global DBPrintf
DBPrintf:
@ -87,4 +87,4 @@ lbl_8036F990:
/* 8036F9A8 0036C908 91 21 00 20 */ stw r9, 0x20(r1)
/* 8036F9AC 0036C90C 91 41 00 24 */ stw r10, 0x24(r1)
/* 8036F9B0 0036C910 38 21 00 70 */ addi r1, r1, 0x70
/* 8036F9B4 0036C914 4E 80 00 20 */ blr
/* 8036F9B4 0036C914 4E 80 00 20 */ blr

View File

@ -5,12 +5,12 @@
__DSPVersion:
.4byte __DSPVersionString
.balign 8
.section .sbss
.global __DSP_init_flag
__DSP_init_flag:
.skip 0x8
.section .data
__DSPVersionString:
.asciz "<< Dolphin SDK - DSP\trelease build: Sep 5 2002 05:35:13 (0x2301) >>"
@ -20,7 +20,7 @@ __DSPVersionString:
.asciz "Sep 5 2002"
.asciz "05:35:13"
.balign 4
.section .text, "ax"
.global DSPCheckMailToDSP
@ -28,14 +28,14 @@ DSPCheckMailToDSP:
/* 8036F9B8 0036C918 3C 60 CC 00 */ lis r3, 0xCC005000@ha
/* 8036F9BC 0036C91C A0 03 50 00 */ lhz r0, 0xCC005000@l(r3)
/* 8036F9C0 0036C920 54 03 8F FE */ rlwinm r3, r0, 0x11, 0x1f, 0x1f
/* 8036F9C4 0036C924 4E 80 00 20 */ blr
/* 8036F9C4 0036C924 4E 80 00 20 */ blr
.global DSPCheckMailFromDSP
DSPCheckMailFromDSP:
/* 8036F9C8 0036C928 3C 60 CC 00 */ lis r3, 0xCC005004@ha
/* 8036F9CC 0036C92C A0 03 50 04 */ lhz r0, 0xCC005004@l(r3)
/* 8036F9D0 0036C930 54 03 8F FE */ rlwinm r3, r0, 0x11, 0x1f, 0x1f
/* 8036F9D4 0036C934 4E 80 00 20 */ blr
/* 8036F9D4 0036C934 4E 80 00 20 */ blr
.global DSPReadMailFromDSP
DSPReadMailFromDSP:
@ -44,7 +44,7 @@ DSPReadMailFromDSP:
/* 8036F9E0 0036C940 A0 03 00 04 */ lhz r0, 4(r3)
/* 8036F9E4 0036C944 A0 63 00 06 */ lhz r3, 6(r3)
/* 8036F9E8 0036C948 50 03 80 1E */ rlwimi r3, r0, 0x10, 0, 0xf
/* 8036F9EC 0036C94C 4E 80 00 20 */ blr
/* 8036F9EC 0036C94C 4E 80 00 20 */ blr
.global DSPSendMailToDSP
DSPSendMailToDSP:
@ -52,7 +52,7 @@ DSPSendMailToDSP:
/* 8036F9F4 0036C954 54 60 84 3E */ srwi r0, r3, 0x10
/* 8036F9F8 0036C958 B0 04 50 00 */ sth r0, 0xCC005000@l(r4)
/* 8036F9FC 0036C95C B0 64 50 02 */ sth r3, 0x5002(r4)
/* 8036FA00 0036C960 4E 80 00 20 */ blr
/* 8036FA00 0036C960 4E 80 00 20 */ blr
.global DSPInit
DSPInit:
@ -105,7 +105,7 @@ lbl_8036FAB4:
/* 8036FAB8 0036CA18 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8036FABC 0036CA1C 38 21 00 10 */ addi r1, r1, 0x10
/* 8036FAC0 0036CA20 7C 08 03 A6 */ mtlr r0
/* 8036FAC4 0036CA24 4E 80 00 20 */ blr
/* 8036FAC4 0036CA24 4E 80 00 20 */ blr
.global DSPReset
DSPReset:
@ -126,7 +126,7 @@ DSPReset:
/* 8036FB00 0036CA60 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8036FB04 0036CA64 38 21 00 08 */ addi r1, r1, 8
/* 8036FB08 0036CA68 7C 08 03 A6 */ mtlr r0
/* 8036FB0C 0036CA6C 4E 80 00 20 */ blr
/* 8036FB0C 0036CA6C 4E 80 00 20 */ blr
.global DSPHalt
DSPHalt:
@ -145,14 +145,14 @@ DSPHalt:
/* 8036FB40 0036CAA0 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8036FB44 0036CAA4 38 21 00 08 */ addi r1, r1, 8
/* 8036FB48 0036CAA8 7C 08 03 A6 */ mtlr r0
/* 8036FB4C 0036CAAC 4E 80 00 20 */ blr
/* 8036FB4C 0036CAAC 4E 80 00 20 */ blr
.global DSPGetDMAStatus
DSPGetDMAStatus:
/* 8036FB50 0036CAB0 3C 60 CC 00 */ lis r3, 0xCC00500A@ha
/* 8036FB54 0036CAB4 A0 03 50 0A */ lhz r0, 0xCC00500A@l(r3)
/* 8036FB58 0036CAB8 54 03 05 AC */ rlwinm r3, r0, 0, 0x16, 0x16
/* 8036FB5C 0036CABC 4E 80 00 20 */ blr
/* 8036FB5C 0036CABC 4E 80 00 20 */ blr
.global DSPAddTask
DSPAddTask:
@ -184,4 +184,4 @@ lbl_8036FBB4:
/* 8036FBC0 0036CB20 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8036FBC4 0036CB24 38 21 00 18 */ addi r1, r1, 0x18
/* 8036FBC8 0036CB28 7C 08 03 A6 */ mtlr r0
/* 8036FBCC 0036CB2C 4E 80 00 20 */ blr
/* 8036FBCC 0036CB2C 4E 80 00 20 */ blr

View File

@ -24,4 +24,4 @@ lbl_8036FBF8:
/* 8036FC10 0036CB70 91 21 00 20 */ stw r9, 0x20(r1)
/* 8036FC14 0036CB74 91 41 00 24 */ stw r10, 0x24(r1)
/* 8036FC18 0036CB78 38 21 00 70 */ addi r1, r1, 0x70
/* 8036FC1C 0036CB7C 4E 80 00 20 */ blr
/* 8036FC1C 0036CB7C 4E 80 00 20 */ blr

View File

@ -16,7 +16,7 @@ lbl_803EFA50:
.asciz "__DSP_boot_task() : Start Vector : 0x%08X\n"
.balign 4
.asciz "__DSP_add_task() : Added task : 0x%08X\n"
.section .sbss
.global __DSP_rude_task_pending
@ -96,7 +96,7 @@ lbl_8036FCCC:
/* 8036FCDC 0036CC3C 28 0C 00 00 */ cmplwi r12, 0
/* 8036FCE0 0036CC40 41 82 03 40 */ beq lbl_80370020
/* 8036FCE4 0036CC44 7D 88 03 A6 */ mtlr r12
/* 8036FCE8 0036CC48 4E 80 00 21 */ blrl
/* 8036FCE8 0036CC48 4E 80 00 21 */ blrl
/* 8036FCEC 0036CC4C 48 00 03 34 */ b lbl_80370020
lbl_8036FCF0:
/* 8036FCF0 0036CC50 38 00 00 01 */ li r0, 1
@ -106,7 +106,7 @@ lbl_8036FCF0:
/* 8036FD00 0036CC60 28 0C 00 00 */ cmplwi r12, 0
/* 8036FD04 0036CC64 41 82 03 1C */ beq lbl_80370020
/* 8036FD08 0036CC68 7D 88 03 A6 */ mtlr r12
/* 8036FD0C 0036CC6C 4E 80 00 21 */ blrl
/* 8036FD0C 0036CC6C 4E 80 00 21 */ blrl
/* 8036FD10 0036CC70 48 00 03 10 */ b lbl_80370020
lbl_8036FD14:
/* 8036FD14 0036CC74 80 0D AB 90 */ lwz r0, __DSP_rude_task_pending@sda21(r13)
@ -130,7 +130,7 @@ lbl_8036FD38:
/* 8036FD58 0036CCB8 28 0C 00 00 */ cmplwi r12, 0
/* 8036FD5C 0036CCBC 41 82 02 C4 */ beq lbl_80370020
/* 8036FD60 0036CCC0 7D 88 03 A6 */ mtlr r12
/* 8036FD64 0036CCC4 4E 80 00 21 */ blrl
/* 8036FD64 0036CCC4 4E 80 00 21 */ blrl
/* 8036FD68 0036CCC8 48 00 02 B8 */ b lbl_80370020
lbl_8036FD6C:
/* 8036FD6C 0036CCCC 3C 60 CD D1 */ lis r3, 0xCDD10001@ha
@ -171,7 +171,7 @@ lbl_8036FDD8:
/* 8036FDEC 0036CD4C 28 0C 00 00 */ cmplwi r12, 0
/* 8036FDF0 0036CD50 41 82 02 30 */ beq lbl_80370020
/* 8036FDF4 0036CD54 7D 88 03 A6 */ mtlr r12
/* 8036FDF8 0036CD58 4E 80 00 21 */ blrl
/* 8036FDF8 0036CD58 4E 80 00 21 */ blrl
/* 8036FDFC 0036CD5C 48 00 02 24 */ b lbl_80370020
lbl_8036FE00:
/* 8036FE00 0036CD60 3C 60 CD D1 */ lis r3, 0xCDD10001@ha
@ -217,7 +217,7 @@ lbl_8036FE7C:
/* 8036FE90 0036CDF0 41 82 00 10 */ beq lbl_8036FEA0
/* 8036FE94 0036CDF4 7D 88 03 A6 */ mtlr r12
/* 8036FE98 0036CDF8 38 65 00 00 */ addi r3, r5, 0
/* 8036FE9C 0036CDFC 4E 80 00 21 */ blrl
/* 8036FE9C 0036CDFC 4E 80 00 21 */ blrl
lbl_8036FEA0:
/* 8036FEA0 0036CE00 3C 60 CD D1 */ lis r3, 0xCDD10001@ha
/* 8036FEA4 0036CE04 38 63 00 01 */ addi r3, r3, 0xCDD10001@l
@ -249,7 +249,7 @@ lbl_8036FEE4:
/* 8036FF04 0036CE64 41 82 00 10 */ beq lbl_8036FF14
/* 8036FF08 0036CE68 7D 88 03 A6 */ mtlr r12
/* 8036FF0C 0036CE6C 38 65 00 00 */ addi r3, r5, 0
/* 8036FF10 0036CE70 4E 80 00 21 */ blrl
/* 8036FF10 0036CE70 4E 80 00 21 */ blrl
lbl_8036FF14:
/* 8036FF14 0036CE74 3C 60 CD D1 */ lis r3, 0xCDD10002@ha
/* 8036FF18 0036CE78 38 63 00 02 */ addi r3, r3, 0xCDD10002@l
@ -270,7 +270,7 @@ lbl_8036FF44:
/* 8036FF4C 0036CEAC 41 82 00 10 */ beq lbl_8036FF5C
/* 8036FF50 0036CEB0 7D 88 03 A6 */ mtlr r12
/* 8036FF54 0036CEB4 38 65 00 00 */ addi r3, r5, 0
/* 8036FF58 0036CEB8 4E 80 00 21 */ blrl
/* 8036FF58 0036CEB8 4E 80 00 21 */ blrl
lbl_8036FF5C:
/* 8036FF5C 0036CEBC 3C 60 CD D1 */ lis r3, 0xCDD10001@ha
/* 8036FF60 0036CEC0 38 63 00 01 */ addi r3, r3, 0xCDD10001@l
@ -296,7 +296,7 @@ lbl_8036FFA0:
/* 8036FFA8 0036CF08 41 82 00 10 */ beq lbl_8036FFB8
/* 8036FFAC 0036CF0C 7D 88 03 A6 */ mtlr r12
/* 8036FFB0 0036CF10 38 65 00 00 */ addi r3, r5, 0
/* 8036FFB4 0036CF14 4E 80 00 21 */ blrl
/* 8036FFB4 0036CF14 4E 80 00 21 */ blrl
lbl_8036FFB8:
/* 8036FFB8 0036CF18 3C 60 CD D1 */ lis r3, 0xCDD10001@ha
/* 8036FFBC 0036CF1C 38 63 00 01 */ addi r3, r3, 0xCDD10001@l
@ -325,7 +325,7 @@ lbl_80370008:
/* 80370010 0036CF70 41 82 00 10 */ beq lbl_80370020
/* 80370014 0036CF74 7D 88 03 A6 */ mtlr r12
/* 80370018 0036CF78 38 65 00 00 */ addi r3, r5, 0
/* 8037001C 0036CF7C 4E 80 00 21 */ blrl
/* 8037001C 0036CF7C 4E 80 00 21 */ blrl
lbl_80370020:
/* 80370020 0036CF80 38 61 00 10 */ addi r3, r1, 0x10
/* 80370024 0036CF84 48 00 F5 F1 */ bl OSClearContext
@ -335,7 +335,7 @@ lbl_80370020:
/* 80370034 0036CF94 83 E1 02 E4 */ lwz r31, 0x2e4(r1)
/* 80370038 0036CF98 38 21 02 E8 */ addi r1, r1, 0x2e8
/* 8037003C 0036CF9C 7C 08 03 A6 */ mtlr r0
/* 80370040 0036CFA0 4E 80 00 20 */ blr
/* 80370040 0036CFA0 4E 80 00 20 */ blr
.global __DSP_exec_task
__DSP_exec_task:
@ -463,7 +463,7 @@ lbl_803701CC:
/* 803701D4 0036D134 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803701D8 0036D138 38 21 00 18 */ addi r1, r1, 0x18
/* 803701DC 0036D13C 7C 08 03 A6 */ mtlr r0
/* 803701E0 0036D140 4E 80 00 20 */ blr
/* 803701E0 0036D140 4E 80 00 20 */ blr
.global __DSP_boot_task
__DSP_boot_task:
@ -576,7 +576,7 @@ lbl_803702EC:
/* 80370360 0036D2C0 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80370364 0036D2C4 38 21 00 18 */ addi r1, r1, 0x18
/* 80370368 0036D2C8 7C 08 03 A6 */ mtlr r0
/* 8037036C 0036D2CC 4E 80 00 20 */ blr
/* 8037036C 0036D2CC 4E 80 00 20 */ blr
.global __DSP_insert_task
__DSP_insert_task:
@ -589,7 +589,7 @@ __DSP_insert_task:
/* 80370388 0036D2E8 90 6D AB A0 */ stw r3, __DSP_first_task@sda21(r13)
/* 8037038C 0036D2EC 90 03 00 3C */ stw r0, 0x3c(r3)
/* 80370390 0036D2F0 90 03 00 38 */ stw r0, 0x38(r3)
/* 80370394 0036D2F4 4E 80 00 20 */ blr
/* 80370394 0036D2F4 4E 80 00 20 */ blr
lbl_80370398:
/* 80370398 0036D2F8 7C 05 03 78 */ mr r5, r0
/* 8037039C 0036D2FC 48 00 00 44 */ b lbl_803703E0
@ -617,7 +617,7 @@ lbl_803703E0:
/* 803703E4 0036D344 40 82 FF BC */ bne lbl_803703A0
lbl_803703E8:
/* 803703E8 0036D348 28 05 00 00 */ cmplwi r5, 0
/* 803703EC 0036D34C 4C 82 00 20 */ bnelr
/* 803703EC 0036D34C 4C 82 00 20 */ bnelr
/* 803703F0 0036D350 80 8D AB 9C */ lwz r4, __DSP_last_task@sda21(r13)
/* 803703F4 0036D354 38 00 00 00 */ li r0, 0
/* 803703F8 0036D358 90 64 00 38 */ stw r3, 0x38(r4)
@ -625,7 +625,7 @@ lbl_803703E8:
/* 80370400 0036D360 80 0D AB 9C */ lwz r0, __DSP_last_task@sda21(r13)
/* 80370404 0036D364 90 03 00 3C */ stw r0, 0x3c(r3)
/* 80370408 0036D368 90 6D AB 9C */ stw r3, __DSP_last_task@sda21(r13)
/* 8037040C 0036D36C 4E 80 00 20 */ blr
/* 8037040C 0036D36C 4E 80 00 20 */ blr
.global __DSP_remove_task
__DSP_remove_task:
@ -642,12 +642,12 @@ __DSP_remove_task:
/* 80370438 0036D398 90 0D AB A0 */ stw r0, __DSP_first_task@sda21(r13)
/* 8037043C 0036D39C 80 63 00 38 */ lwz r3, 0x38(r3)
/* 80370440 0036D3A0 90 83 00 3C */ stw r4, 0x3c(r3)
/* 80370444 0036D3A4 4E 80 00 20 */ blr
/* 80370444 0036D3A4 4E 80 00 20 */ blr
lbl_80370448:
/* 80370448 0036D3A8 90 8D AB A4 */ stw r4, __DSP_curr_task@sda21(r13)
/* 8037044C 0036D3AC 90 8D AB 9C */ stw r4, __DSP_last_task@sda21(r13)
/* 80370450 0036D3B0 90 8D AB A0 */ stw r4, __DSP_first_task@sda21(r13)
/* 80370454 0036D3B4 4E 80 00 20 */ blr
/* 80370454 0036D3B4 4E 80 00 20 */ blr
lbl_80370458:
/* 80370458 0036D3B8 80 0D AB 9C */ lwz r0, __DSP_last_task@sda21(r13)
/* 8037045C 0036D3BC 7C 00 18 40 */ cmplw r0, r3
@ -658,7 +658,7 @@ lbl_80370458:
/* 80370470 0036D3D0 90 83 00 38 */ stw r4, 0x38(r3)
/* 80370474 0036D3D4 80 0D AB A0 */ lwz r0, __DSP_first_task@sda21(r13)
/* 80370478 0036D3D8 90 0D AB A4 */ stw r0, __DSP_curr_task@sda21(r13)
/* 8037047C 0036D3DC 4E 80 00 20 */ blr
/* 8037047C 0036D3DC 4E 80 00 20 */ blr
lbl_80370480:
/* 80370480 0036D3E0 80 03 00 38 */ lwz r0, 0x38(r3)
/* 80370484 0036D3E4 90 0D AB A4 */ stw r0, __DSP_curr_task@sda21(r13)
@ -668,5 +668,5 @@ lbl_80370480:
/* 80370494 0036D3F4 80 03 00 3C */ lwz r0, 0x3c(r3)
/* 80370498 0036D3F8 80 63 00 38 */ lwz r3, 0x38(r3)
/* 8037049C 0036D3FC 90 03 00 3C */ stw r0, 0x3c(r3)
/* 803704A0 0036D400 4E 80 00 20 */ blr
/* 803704A0 0036D400 4E 80 00 20 */ blr

View File

@ -22,7 +22,7 @@ lbl_805699F8:
.global lbl_80569A28
lbl_80569A28:
.skip 0x30
.section .sbss, "wa"
.balign 4
.global lbl_805A9B98
@ -64,18 +64,18 @@ lbl_805A9BC0:
.global lbl_805A9BC4
lbl_805A9BC4:
.skip 0x4
.section .text, "ax"
.global sub_803b7518
sub_803b7518:
/* 803B7518 003B4478 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 803B751C 003B447C 4C 82 00 20 */ bnelr
/* 803B751C 003B447C 4C 82 00 20 */ bnelr
/* 803B7520 003B4480 38 00 00 01 */ li r0, 1
/* 803B7524 003B4484 90 0D B0 00 */ stw r0, lbl_805A9BC0@sda21(r13)
/* 803B7528 003B4488 38 00 00 00 */ li r0, 0
/* 803B752C 003B448C 90 0D AF F0 */ stw r0, lbl_805A9BB0@sda21(r13)
/* 803B7530 003B4490 4E 80 00 20 */ blr
/* 803B7530 003B4490 4E 80 00 20 */ blr
.global sub_803b7534
sub_803b7534:
@ -107,12 +107,12 @@ sub_803b7534:
/* 803B7598 003B44F8 54 03 07 FF */ clrlwi. r3, r0, 0x1f
/* 803B759C 003B44FC 41 82 00 0C */ beq lbl_803B75A8
/* 803B75A0 003B4500 7D 88 03 A6 */ mtlr r12
/* 803B75A4 003B4504 4E 80 00 21 */ blrl
/* 803B75A4 003B4504 4E 80 00 21 */ blrl
lbl_803B75A8:
/* 803B75A8 003B4508 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803B75AC 003B450C 38 21 00 08 */ addi r1, r1, 8
/* 803B75B0 003B4510 7C 08 03 A6 */ mtlr r0
/* 803B75B4 003B4514 4E 80 00 20 */ blr
/* 803B75B4 003B4514 4E 80 00 20 */ blr
.global sub_803b75b8
sub_803b75b8:
@ -141,12 +141,12 @@ sub_803b75b8:
/* 803B7610 003B4570 54 03 06 B5 */ rlwinm. r3, r0, 0, 0x1a, 0x1a
/* 803B7614 003B4574 41 82 00 0C */ beq lbl_803B7620
/* 803B7618 003B4578 7D 88 03 A6 */ mtlr r12
/* 803B761C 003B457C 4E 80 00 21 */ blrl
/* 803B761C 003B457C 4E 80 00 21 */ blrl
lbl_803B7620:
/* 803B7620 003B4580 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803B7624 003B4584 38 21 00 08 */ addi r1, r1, 8
/* 803B7628 003B4588 7C 08 03 A6 */ mtlr r0
/* 803B762C 003B458C 4E 80 00 20 */ blr
/* 803B762C 003B458C 4E 80 00 20 */ blr
.global sub_803b7630
sub_803b7630:
@ -169,7 +169,7 @@ sub_803b7630:
/* 803B7670 003B45D0 54 03 06 F7 */ rlwinm. r3, r0, 0, 0x1b, 0x1b
/* 803B7674 003B45D4 41 82 00 0C */ beq lbl_803B7680
/* 803B7678 003B45D8 7D 88 03 A6 */ mtlr r12
/* 803B767C 003B45DC 4E 80 00 21 */ blrl
/* 803B767C 003B45DC 4E 80 00 21 */ blrl
lbl_803B7680:
/* 803B7680 003B45E0 38 00 00 03 */ li r0, 3
/* 803B7684 003B45E4 90 0D AF E4 */ stw r0, lbl_805A9BA4@sda21(r13)
@ -285,7 +285,7 @@ lbl_803B781C:
/* 803B781C 003B477C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803B7820 003B4780 38 21 00 08 */ addi r1, r1, 8
/* 803B7824 003B4784 7C 08 03 A6 */ mtlr r0
/* 803B7828 003B4788 4E 80 00 20 */ blr
/* 803B7828 003B4788 4E 80 00 20 */ blr
.global sub_803b782c
sub_803b782c:
@ -307,7 +307,7 @@ lbl_803B7864:
/* 803B7864 003B47C4 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803B7868 003B47C8 38 21 00 08 */ addi r1, r1, 8
/* 803B786C 003B47CC 7C 08 03 A6 */ mtlr r0
/* 803B7870 003B47D0 4E 80 00 20 */ blr
/* 803B7870 003B47D0 4E 80 00 20 */ blr
.global sub_803b7874
sub_803b7874:
@ -335,7 +335,7 @@ lbl_803B78A0:
/* 803B78C0 003B4820 93 ED AF E4 */ stw r31, lbl_805A9BA4@sda21(r13)
/* 803B78C4 003B4824 41 82 00 10 */ beq lbl_803B78D4
/* 803B78C8 003B4828 7D 88 03 A6 */ mtlr r12
/* 803B78CC 003B482C 4E 80 00 21 */ blrl
/* 803B78CC 003B482C 4E 80 00 21 */ blrl
/* 803B78D0 003B4830 93 ED B0 04 */ stw r31, lbl_805A9BC4@sda21(r13)
lbl_803B78D4:
/* 803B78D4 003B4834 38 00 00 00 */ li r0, 0
@ -345,7 +345,7 @@ lbl_803B78D4:
/* 803B78E4 003B4844 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803B78E8 003B4848 38 21 00 18 */ addi r1, r1, 0x18
/* 803B78EC 003B484C 7C 08 03 A6 */ mtlr r0
/* 803B78F0 003B4850 4E 80 00 20 */ blr
/* 803B78F0 003B4850 4E 80 00 20 */ blr
.global sub_803b78f4
sub_803b78f4:
@ -362,14 +362,14 @@ sub_803b78f4:
/* 803B791C 003B487C 54 03 07 BD */ rlwinm. r3, r0, 0, 0x1e, 0x1e
/* 803B7920 003B4880 41 82 00 0C */ beq lbl_803B792C
/* 803B7924 003B4884 7D 88 03 A6 */ mtlr r12
/* 803B7928 003B4888 4E 80 00 21 */ blrl
/* 803B7928 003B4888 4E 80 00 21 */ blrl
lbl_803B792C:
/* 803B792C 003B488C 38 00 00 00 */ li r0, 0
/* 803B7930 003B4890 90 0D AF E4 */ stw r0, lbl_805A9BA4@sda21(r13)
/* 803B7934 003B4894 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803B7938 003B4898 38 21 00 08 */ addi r1, r1, 8
/* 803B793C 003B489C 7C 08 03 A6 */ mtlr r0
/* 803B7940 003B48A0 4E 80 00 20 */ blr
/* 803B7940 003B48A0 4E 80 00 20 */ blr
.global sub_803b7944
sub_803b7944:
@ -395,7 +395,7 @@ lbl_803B7978:
/* 803B798C 003B48EC 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803B7990 003B48F0 38 21 00 08 */ addi r1, r1, 8
/* 803B7994 003B48F4 7C 08 03 A6 */ mtlr r0
/* 803B7998 003B48F8 4E 80 00 20 */ blr
/* 803B7998 003B48F8 4E 80 00 20 */ blr
.global DTKInit
DTKInit:
@ -428,7 +428,7 @@ DTKInit:
/* 803B7A04 003B4964 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803B7A08 003B4968 38 21 00 08 */ addi r1, r1, 8
/* 803B7A0C 003B496C 7C 08 03 A6 */ mtlr r0
/* 803B7A10 003B4970 4E 80 00 20 */ blr
/* 803B7A10 003B4970 4E 80 00 20 */ blr
.global sub_803b7a14
sub_803b7a14:
@ -489,7 +489,7 @@ lbl_803B7AC0:
/* 803B7ADC 003B4A3C 54 03 07 39 */ rlwinm. r3, r0, 0, 0x1c, 0x1c
/* 803B7AE0 003B4A40 41 82 00 0C */ beq lbl_803B7AEC
/* 803B7AE4 003B4A44 7D 88 03 A6 */ mtlr r12
/* 803B7AE8 003B4A48 4E 80 00 21 */ blrl
/* 803B7AE8 003B4A48 4E 80 00 21 */ blrl
lbl_803B7AEC:
/* 803B7AEC 003B4A4C 28 1F 00 00 */ cmplwi r31, 0
/* 803B7AF0 003B4A50 41 82 00 28 */ beq lbl_803B7B18
@ -509,7 +509,7 @@ lbl_803B7B1C:
/* 803B7B20 003B4A80 80 01 00 34 */ lwz r0, 0x34(r1)
/* 803B7B24 003B4A84 38 21 00 30 */ addi r1, r1, 0x30
/* 803B7B28 003B4A88 7C 08 03 A6 */ mtlr r0
/* 803B7B2C 003B4A8C 4E 80 00 20 */ blr
/* 803B7B2C 003B4A8C 4E 80 00 20 */ blr
.global DTKFlushTracks
DTKFlushTracks:
@ -539,16 +539,16 @@ lbl_803B7B84:
/* 803B7B84 003B4AE4 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803B7B88 003B4AE8 38 21 00 08 */ addi r1, r1, 8
/* 803B7B8C 003B4AEC 7C 08 03 A6 */ mtlr r0
/* 803B7B90 003B4AF0 4E 80 00 20 */ blr
/* 803B7B90 003B4AF0 4E 80 00 20 */ blr
.global DTKSetSampleRate
DTKSetSampleRate:
/* 803B7B94 003B4AF4 4E 80 00 20 */ blr
/* 803B7B94 003B4AF4 4E 80 00 20 */ blr
.global DTKSetRepeatMode
DTKSetRepeatMode:
/* 803B7B98 003B4AF8 90 6D AF EC */ stw r3, lbl_805A9BAC@sda21(r13)
/* 803B7B9C 003B4AFC 4E 80 00 20 */ blr
/* 803B7B9C 003B4AFC 4E 80 00 20 */ blr
.global DTKSetState
DTKSetState:
@ -618,7 +618,7 @@ lbl_803B7C34:
/* 803B7C8C 003B4BEC 54 03 07 FF */ clrlwi. r3, r0, 0x1f
/* 803B7C90 003B4BF0 41 82 00 48 */ beq lbl_803B7CD8
/* 803B7C94 003B4BF4 7D 88 03 A6 */ mtlr r12
/* 803B7C98 003B4BF8 4E 80 00 21 */ blrl
/* 803B7C98 003B4BF8 4E 80 00 21 */ blrl
/* 803B7C9C 003B4BFC 48 00 00 3C */ b lbl_803B7CD8
lbl_803B7CA0:
/* 803B7CA0 003B4C00 80 8D AF D8 */ lwz r4, lbl_805A9B98@sda21(r13)
@ -678,12 +678,12 @@ lbl_803B7D44:
/* 803B7D60 003B4CC0 54 03 07 7B */ rlwinm. r3, r0, 0, 0x1d, 0x1d
/* 803B7D64 003B4CC4 41 82 00 0C */ beq lbl_803B7D70
/* 803B7D68 003B4CC8 7D 88 03 A6 */ mtlr r12
/* 803B7D6C 003B4CCC 4E 80 00 21 */ blrl
/* 803B7D6C 003B4CCC 4E 80 00 21 */ blrl
lbl_803B7D70:
/* 803B7D70 003B4CD0 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803B7D74 003B4CD4 38 21 00 08 */ addi r1, r1, 8
/* 803B7D78 003B4CD8 7C 08 03 A6 */ mtlr r0
/* 803B7D7C 003B4CDC 4E 80 00 20 */ blr
/* 803B7D7C 003B4CDC 4E 80 00 20 */ blr
.global DTKNextTrack
DTKNextTrack:
@ -730,12 +730,12 @@ lbl_803B7E14:
/* 803B7E14 003B4D74 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803B7E18 003B4D78 38 21 00 08 */ addi r1, r1, 8
/* 803B7E1C 003B4D7C 7C 08 03 A6 */ mtlr r0
/* 803B7E20 003B4D80 4E 80 00 20 */ blr
/* 803B7E20 003B4D80 4E 80 00 20 */ blr
.global DTKGetState
DTKGetState:
/* 803B7E24 003B4D84 80 6D AF E4 */ lwz r3, lbl_805A9BA4@sda21(r13)
/* 803B7E28 003B4D88 4E 80 00 20 */ blr
/* 803B7E28 003B4D88 4E 80 00 20 */ blr
.global DTKSetVolume
DTKSetVolume:
@ -757,4 +757,4 @@ lbl_803B7E60:
/* 803B7E64 003B4DC4 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803B7E68 003B4DC8 38 21 00 18 */ addi r1, r1, 0x18
/* 803B7E6C 003B4DCC 7C 08 03 A6 */ mtlr r0
/* 803B7E70 003B4DD0 4E 80 00 20 */ blr
/* 803B7E70 003B4DD0 4E 80 00 20 */ blr

View File

@ -4,20 +4,31 @@
.global lbl_805A8A98
lbl_805A8A98:
.incbin "baserom.dol", 0x3F6438, 0x4
# ROM: 0x3F6438
.4byte 0x803EFF80
.global lbl_805A8A9C
lbl_805A8A9C:
.incbin "baserom.dol", 0x3F643C, 0x4
# ROM: 0x3F643C
.4byte 0x00000001
.global lbl_805A8AA0
lbl_805A8AA0:
.incbin "baserom.dol", 0x3F6440, 0x4
# ROM: 0x3F6440
.4byte 0x80371BA0
.global lbl_805A8AA4
lbl_805A8AA4:
.incbin "baserom.dol", 0x3F6444, 0x8
# ROM: 0x3F6444
.asciz "dvd.c"
.balign 4
.global lbl_805A8AAC
lbl_805A8AAC:
.incbin "baserom.dol", 0x3F644C, 0x4
# ROM: 0x3F644C
.4byte 0xFFFFFFFF
.section .bss
.global lbl_80540B60
lbl_80540B60:
@ -69,27 +80,95 @@ lbl_805A9814:
.skip 0x4
lbl_805A9818:
.skip 0x8
.section .data
.balign 8
.global lbl_803EFFC8
lbl_803EFFC8:
.incbin "baserom.dol", 0x3ECFC8, 0xC
# ROM: 0x3ECFC8
.asciz "load fst\n"
.balign 4
.global lbl_803EFFD4
lbl_803EFFD4:
.incbin "baserom.dol", 0x3ECFD4, 0x30
# ROM: 0x3ECFD4
.4byte 0x44564443
.4byte 0x68616E67
.4byte 0x65446973
.4byte 0x6B28293A
.4byte 0x20465354
.4byte 0x20696E20
.4byte 0x74686520
.4byte 0x6E657720
.4byte 0x64697363
.4byte 0x20697320
.4byte 0x746F6F20
.4byte 0x6269672E
.global lbl_803F0004
lbl_803F0004:
.incbin "baserom.dol", 0x3ED004, 0x4
# ROM: 0x3ED004
.4byte 0x20202000
.global lbl_803F0008
lbl_803F0008:
.incbin "baserom.dol", 0x3ED008, 0x90
# ROM: 0x3ED008
.4byte 0x803731D8
.4byte 0x80372F4C
.4byte 0x80372FEC
.4byte 0x80373010
.4byte 0x80372F4C
.4byte 0x80372F20
.4byte 0x80373030
.4byte 0x80373094
.4byte 0x803730C0
.4byte 0x803730F4
.4byte 0x80373118
.4byte 0x8037313C
.4byte 0x80373160
.4byte 0x80373184
.4byte 0x803731AC
.4byte 0x80373020
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFF
.asciz "DVDChangeDiskAsync(): You can't specify NULL to company name. \n"
.balign 4
.global lbl_803F0098
lbl_803F0098:
.incbin "baserom.dol", 0x3ED098, 0x34
# ROM: 0x3ED098
.4byte 0x8037425C
.4byte 0x8037425C
.4byte 0x8037427C
.4byte 0x803742C0
.4byte 0x8037430C
.4byte 0x80374388
.4byte 0x80374388
.4byte 0x80374388
.4byte 0x80374388
.4byte 0x80374454
.4byte 0x80374454
.4byte 0x8037425C
.4byte 0x80374388
.global lbl_803F00CC
lbl_803F00CC:
.incbin "baserom.dol", 0x3ED0CC, 0x34
# ROM: 0x3ED0CC
.4byte 0x80374750
.4byte 0x80374758
.4byte 0x80374748
.4byte 0x80374748
.4byte 0x80374750
.4byte 0x80374750
.4byte 0x80374750
.4byte 0x80374750
.4byte 0x80374750
.4byte 0x80374758
.4byte 0x80374748
.4byte 0x80374748
.4byte 0x80374750
.section .text, "ax"
@ -147,7 +226,7 @@ lbl_80371C5C:
/* 80371C60 0036EBC0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80371C64 0036EBC4 38 21 00 10 */ addi r1, r1, 0x10
/* 80371C68 0036EBC8 7C 08 03 A6 */ mtlr r0
/* 80371C6C 0036EBCC 4E 80 00 20 */ blr
/* 80371C6C 0036EBCC 4E 80 00 20 */ blr
.global stateReadingFST
stateReadingFST:
@ -188,7 +267,7 @@ lbl_80371CC4:
/* 80371CF4 0036EC54 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80371CF8 0036EC58 38 21 00 10 */ addi r1, r1, 0x10
/* 80371CFC 0036EC5C 7C 08 03 A6 */ mtlr r0
/* 80371D00 0036EC60 4E 80 00 20 */ blr
/* 80371D00 0036EC60 4E 80 00 20 */ blr
.global cbForReadingFST
cbForReadingFST:
@ -219,7 +298,7 @@ lbl_80371D30:
/* 80371D60 0036ECC0 41 82 00 10 */ beq lbl_80371D70
/* 80371D64 0036ECC4 7D 88 03 A6 */ mtlr r12
/* 80371D68 0036ECC8 38 60 00 00 */ li r3, 0
/* 80371D6C 0036ECCC 4E 80 00 21 */ blrl
/* 80371D6C 0036ECCC 4E 80 00 21 */ blrl
lbl_80371D70:
/* 80371D70 0036ECD0 48 00 0E 95 */ bl stateReady
/* 80371D74 0036ECD4 48 00 00 08 */ b lbl_80371D7C
@ -230,7 +309,7 @@ lbl_80371D7C:
/* 80371D80 0036ECE0 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80371D84 0036ECE4 38 21 00 18 */ addi r1, r1, 0x18
/* 80371D88 0036ECE8 7C 08 03 A6 */ mtlr r0
/* 80371D8C 0036ECEC 4E 80 00 20 */ blr
/* 80371D8C 0036ECEC 4E 80 00 20 */ blr
.global cbForStateError
cbForStateError:
@ -259,7 +338,7 @@ lbl_80371DBC:
/* 80371DE4 0036ED44 7D 88 03 A6 */ mtlr r12
/* 80371DE8 0036ED48 38 9F 00 00 */ addi r4, r31, 0
/* 80371DEC 0036ED4C 38 60 FF FF */ li r3, -1
/* 80371DF0 0036ED50 4E 80 00 21 */ blrl
/* 80371DF0 0036ED50 4E 80 00 21 */ blrl
lbl_80371DF4:
/* 80371DF4 0036ED54 80 0D AC 30 */ lwz r0, lbl_805A97F0@sda21(r13)
/* 80371DF8 0036ED58 28 00 00 00 */ cmplwi r0, 0
@ -272,7 +351,7 @@ lbl_80371DF4:
/* 80371E14 0036ED74 7D 88 03 A6 */ mtlr r12
/* 80371E18 0036ED78 38 9F 00 00 */ addi r4, r31, 0
/* 80371E1C 0036ED7C 38 60 00 00 */ li r3, 0
/* 80371E20 0036ED80 4E 80 00 21 */ blrl
/* 80371E20 0036ED80 4E 80 00 21 */ blrl
lbl_80371E24:
/* 80371E24 0036ED84 48 00 0D E1 */ bl stateReady
lbl_80371E28:
@ -280,7 +359,7 @@ lbl_80371E28:
/* 80371E2C 0036ED8C 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80371E30 0036ED90 38 21 00 18 */ addi r1, r1, 0x18
/* 80371E34 0036ED94 7C 08 03 A6 */ mtlr r0
/* 80371E38 0036ED98 4E 80 00 20 */ blr
/* 80371E38 0036ED98 4E 80 00 20 */ blr
.global stateTimeout
stateTimeout:
@ -296,7 +375,7 @@ stateTimeout:
/* 80371E60 0036EDC0 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80371E64 0036EDC4 38 21 00 08 */ addi r1, r1, 8
/* 80371E68 0036EDC8 7C 08 03 A6 */ mtlr r0
/* 80371E6C 0036EDCC 4E 80 00 20 */ blr
/* 80371E6C 0036EDCC 4E 80 00 20 */ blr
.global stateGettingError
stateGettingError:
@ -309,7 +388,7 @@ stateGettingError:
/* 80371E88 0036EDE8 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80371E8C 0036EDEC 38 21 00 08 */ addi r1, r1, 8
/* 80371E90 0036EDF0 7C 08 03 A6 */ mtlr r0
/* 80371E94 0036EDF4 4E 80 00 20 */ blr
/* 80371E94 0036EDF4 4E 80 00 20 */ blr
.global CategorizeError
CategorizeError:
@ -318,7 +397,7 @@ CategorizeError:
/* 80371EA0 0036EE00 40 82 00 10 */ bne lbl_80371EB0
/* 80371EA4 0036EE04 90 6D AC 40 */ stw r3, lbl_805A9800@sda21(r13)
/* 80371EA8 0036EE08 38 60 00 01 */ li r3, 1
/* 80371EAC 0036EE0C 4E 80 00 20 */ blr
/* 80371EAC 0036EE0C 4E 80 00 20 */ blr
lbl_80371EB0:
/* 80371EB0 0036EE10 54 64 02 3E */ clrlwi r4, r3, 8
/* 80371EB4 0036EE14 3C 04 FF FA */ addis r0, r4, 0xfffa
@ -332,7 +411,7 @@ lbl_80371EB0:
/* 80371ED4 0036EE34 40 82 00 0C */ bne lbl_80371EE0
lbl_80371ED8:
/* 80371ED8 0036EE38 38 60 00 00 */ li r3, 0
/* 80371EDC 0036EE3C 4E 80 00 20 */ blr
/* 80371EDC 0036EE3C 4E 80 00 20 */ blr
lbl_80371EE0:
/* 80371EE0 0036EE40 80 6D AC 44 */ lwz r3, lbl_805A9804@sda21(r13)
/* 80371EE4 0036EE44 38 03 00 01 */ addi r0, r3, 1
@ -345,11 +424,11 @@ lbl_80371EE0:
/* 80371F00 0036EE60 40 82 00 10 */ bne lbl_80371F10
/* 80371F04 0036EE64 90 8D AC 40 */ stw r4, lbl_805A9800@sda21(r13)
/* 80371F08 0036EE68 38 60 00 01 */ li r3, 1
/* 80371F0C 0036EE6C 4E 80 00 20 */ blr
/* 80371F0C 0036EE6C 4E 80 00 20 */ blr
lbl_80371F10:
/* 80371F10 0036EE70 90 8D AC 40 */ stw r4, lbl_805A9800@sda21(r13)
/* 80371F14 0036EE74 38 60 00 02 */ li r3, 2
/* 80371F18 0036EE78 4E 80 00 20 */ blr
/* 80371F18 0036EE78 4E 80 00 20 */ blr
lbl_80371F1C:
/* 80371F1C 0036EE7C 3C 04 FF FD */ addis r0, r4, 0xfffd
/* 80371F20 0036EE80 90 8D AC 40 */ stw r4, lbl_805A9800@sda21(r13)
@ -361,10 +440,10 @@ lbl_80371F1C:
/* 80371F38 0036EE98 40 82 00 0C */ bne lbl_80371F44
lbl_80371F3C:
/* 80371F3C 0036EE9C 38 60 00 02 */ li r3, 2
/* 80371F40 0036EEA0 4E 80 00 20 */ blr
/* 80371F40 0036EEA0 4E 80 00 20 */ blr
lbl_80371F44:
/* 80371F44 0036EEA4 38 60 00 03 */ li r3, 3
/* 80371F48 0036EEA8 4E 80 00 20 */ blr
/* 80371F48 0036EEA8 4E 80 00 20 */ blr
.global cbForStateGettingError
cbForStateGettingError:
@ -463,7 +542,7 @@ lbl_80372060:
/* 8037209C 0036EFFC 7D 88 03 A6 */ mtlr r12
/* 803720A0 0036F000 38 9E 00 00 */ addi r4, r30, 0
/* 803720A4 0036F004 38 60 FF FD */ li r3, -3
/* 803720A8 0036F008 4E 80 00 21 */ blrl
/* 803720A8 0036F008 4E 80 00 21 */ blrl
lbl_803720AC:
/* 803720AC 0036F00C 81 8D AC 34 */ lwz r12, lbl_805A97F4@sda21(r13)
/* 803720B0 0036F010 28 0C 00 00 */ cmplwi r12, 0
@ -471,7 +550,7 @@ lbl_803720AC:
/* 803720B8 0036F018 7D 88 03 A6 */ mtlr r12
/* 803720BC 0036F01C 38 9E 00 00 */ addi r4, r30, 0
/* 803720C0 0036F020 38 60 00 00 */ li r3, 0
/* 803720C4 0036F024 4E 80 00 21 */ blrl
/* 803720C4 0036F024 4E 80 00 21 */ blrl
lbl_803720C8:
/* 803720C8 0036F028 48 00 0B 3D */ bl stateReady
/* 803720CC 0036F02C 38 00 00 01 */ li r0, 1
@ -504,7 +583,7 @@ lbl_80372128:
/* 80372128 0036F088 81 8D AC 58 */ lwz r12, lbl_805A9818@sda21(r13)
/* 8037212C 0036F08C 80 6D AC 10 */ lwz r3, lbl_805A97D0@sda21(r13)
/* 80372130 0036F090 7D 88 03 A6 */ mtlr r12
/* 80372134 0036F094 4E 80 00 21 */ blrl
/* 80372134 0036F094 4E 80 00 21 */ blrl
/* 80372138 0036F098 48 00 00 88 */ b lbl_803721C0
lbl_8037213C:
/* 8037213C 0036F09C 3C 1C FF 00 */ addis r0, r28, 0xff00
@ -551,7 +630,7 @@ lbl_803721C0:
/* 803721D0 0036F130 83 81 00 10 */ lwz r28, 0x10(r1)
/* 803721D4 0036F134 38 21 00 20 */ addi r1, r1, 0x20
/* 803721D8 0036F138 7C 08 03 A6 */ mtlr r0
/* 803721DC 0036F13C 4E 80 00 20 */ blr
/* 803721DC 0036F13C 4E 80 00 20 */ blr
.global cbForUnrecoveredError
cbForUnrecoveredError:
@ -583,7 +662,7 @@ lbl_80372238:
/* 80372238 0036F198 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8037223C 0036F19C 38 21 00 08 */ addi r1, r1, 8
/* 80372240 0036F1A0 7C 08 03 A6 */ mtlr r0
/* 80372244 0036F1A4 4E 80 00 20 */ blr
/* 80372244 0036F1A4 4E 80 00 20 */ blr
.global cbForUnrecoveredErrorRetry
cbForUnrecoveredErrorRetry:
@ -627,7 +706,7 @@ lbl_803722D0:
/* 803722D0 0036F230 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803722D4 0036F234 38 21 00 08 */ addi r1, r1, 8
/* 803722D8 0036F238 7C 08 03 A6 */ mtlr r0
/* 803722DC 0036F23C 4E 80 00 20 */ blr
/* 803722DC 0036F23C 4E 80 00 20 */ blr
.global stateGotToRetry
stateGotToRetry:
@ -640,7 +719,7 @@ stateGotToRetry:
/* 803722F8 0036F258 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803722FC 0036F25C 38 21 00 08 */ addi r1, r1, 8
/* 80372300 0036F260 7C 08 03 A6 */ mtlr r0
/* 80372304 0036F264 4E 80 00 20 */ blr
/* 80372304 0036F264 4E 80 00 20 */ blr
.global cbForStateGoToRetry
cbForStateGoToRetry:
@ -711,7 +790,7 @@ lbl_803723B8:
/* 803723F8 0036F358 7D 88 03 A6 */ mtlr r12
/* 803723FC 0036F35C 38 9F 00 00 */ addi r4, r31, 0
/* 80372400 0036F360 38 60 FF FD */ li r3, -3
/* 80372404 0036F364 4E 80 00 21 */ blrl
/* 80372404 0036F364 4E 80 00 21 */ blrl
lbl_80372408:
/* 80372408 0036F368 81 8D AC 34 */ lwz r12, lbl_805A97F4@sda21(r13)
/* 8037240C 0036F36C 28 0C 00 00 */ cmplwi r12, 0
@ -719,7 +798,7 @@ lbl_80372408:
/* 80372414 0036F374 7D 88 03 A6 */ mtlr r12
/* 80372418 0036F378 38 9F 00 00 */ addi r4, r31, 0
/* 8037241C 0036F37C 38 60 00 00 */ li r3, 0
/* 80372420 0036F380 4E 80 00 21 */ blrl
/* 80372420 0036F380 4E 80 00 21 */ blrl
lbl_80372424:
/* 80372424 0036F384 48 00 07 E1 */ bl stateReady
/* 80372428 0036F388 38 00 00 01 */ li r0, 1
@ -738,7 +817,7 @@ lbl_8037244C:
/* 80372450 0036F3B0 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80372454 0036F3B4 38 21 00 18 */ addi r1, r1, 0x18
/* 80372458 0036F3B8 7C 08 03 A6 */ mtlr r0
/* 8037245C 0036F3BC 4E 80 00 20 */ blr
/* 8037245C 0036F3BC 4E 80 00 20 */ blr
.global stateCheckID
stateCheckID:
@ -802,7 +881,7 @@ lbl_8037252C:
/* 80372530 0036F490 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80372534 0036F494 38 21 00 10 */ addi r1, r1, 0x10
/* 80372538 0036F498 7C 08 03 A6 */ mtlr r0
/* 8037253C 0036F49C 4E 80 00 20 */ blr
/* 8037253C 0036F49C 4E 80 00 20 */ blr
.global stateCheckID3
stateCheckID3:
@ -818,7 +897,7 @@ stateCheckID3:
/* 80372564 0036F4C4 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80372568 0036F4C8 38 21 00 08 */ addi r1, r1, 8
/* 8037256C 0036F4CC 7C 08 03 A6 */ mtlr r0
/* 80372570 0036F4D0 4E 80 00 20 */ blr
/* 80372570 0036F4D0 4E 80 00 20 */ blr
.global stateCheckID2a
stateCheckID2a:
@ -834,7 +913,7 @@ stateCheckID2a:
/* 80372598 0036F4F8 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8037259C 0036F4FC 38 21 00 08 */ addi r1, r1, 8
/* 803725A0 0036F500 7C 08 03 A6 */ mtlr r0
/* 803725A4 0036F504 4E 80 00 20 */ blr
/* 803725A4 0036F504 4E 80 00 20 */ blr
.global cbForStateCheckID2a
cbForStateCheckID2a:
@ -869,7 +948,7 @@ lbl_8037260C:
/* 8037260C 0036F56C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80372610 0036F570 38 21 00 08 */ addi r1, r1, 8
/* 80372614 0036F574 7C 08 03 A6 */ mtlr r0
/* 80372618 0036F578 4E 80 00 20 */ blr
/* 80372618 0036F578 4E 80 00 20 */ blr
.global stateCheckID2
stateCheckID2:
@ -886,7 +965,7 @@ stateCheckID2:
/* 80372644 0036F5A4 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80372648 0036F5A8 38 21 00 08 */ addi r1, r1, 8
/* 8037264C 0036F5AC 7C 08 03 A6 */ mtlr r0
/* 80372650 0036F5B0 4E 80 00 20 */ blr
/* 80372650 0036F5B0 4E 80 00 20 */ blr
.global cbForStateCheckID1
cbForStateCheckID1:
@ -940,7 +1019,7 @@ lbl_803726C4:
/* 80372708 0036F668 7D 88 03 A6 */ mtlr r12
/* 8037270C 0036F66C 38 9F 00 00 */ addi r4, r31, 0
/* 80372710 0036F670 38 60 FF FD */ li r3, -3
/* 80372714 0036F674 4E 80 00 21 */ blrl
/* 80372714 0036F674 4E 80 00 21 */ blrl
lbl_80372718:
/* 80372718 0036F678 81 8D AC 34 */ lwz r12, lbl_805A97F4@sda21(r13)
/* 8037271C 0036F67C 28 0C 00 00 */ cmplwi r12, 0
@ -948,7 +1027,7 @@ lbl_80372718:
/* 80372724 0036F684 7D 88 03 A6 */ mtlr r12
/* 80372728 0036F688 38 9F 00 00 */ addi r4, r31, 0
/* 8037272C 0036F68C 38 60 00 00 */ li r3, 0
/* 80372730 0036F690 4E 80 00 21 */ blrl
/* 80372730 0036F690 4E 80 00 21 */ blrl
lbl_80372734:
/* 80372734 0036F694 48 00 04 D1 */ bl stateReady
/* 80372738 0036F698 38 80 00 01 */ li r4, 1
@ -964,7 +1043,7 @@ lbl_80372754:
/* 80372758 0036F6B8 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8037275C 0036F6BC 38 21 00 18 */ addi r1, r1, 0x18
/* 80372760 0036F6C0 7C 08 03 A6 */ mtlr r0
/* 80372764 0036F6C4 4E 80 00 20 */ blr
/* 80372764 0036F6C4 4E 80 00 20 */ blr
.global cbForStateCheckID2
cbForStateCheckID2:
@ -1028,7 +1107,7 @@ lbl_80372838:
/* 8037283C 0036F79C 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80372840 0036F7A0 38 21 00 18 */ addi r1, r1, 0x18
/* 80372844 0036F7A4 7C 08 03 A6 */ mtlr r0
/* 80372848 0036F7A8 4E 80 00 20 */ blr
/* 80372848 0036F7A8 4E 80 00 20 */ blr
.global cbForStateCheckID3
cbForStateCheckID3:
@ -1070,7 +1149,7 @@ lbl_8037288C:
/* 803728D4 0036F834 7D 88 03 A6 */ mtlr r12
/* 803728D8 0036F838 38 9F 00 00 */ addi r4, r31, 0
/* 803728DC 0036F83C 38 60 FF FD */ li r3, -3
/* 803728E0 0036F840 4E 80 00 21 */ blrl
/* 803728E0 0036F840 4E 80 00 21 */ blrl
lbl_803728E4:
/* 803728E4 0036F844 81 8D AC 34 */ lwz r12, lbl_805A97F4@sda21(r13)
/* 803728E8 0036F848 28 0C 00 00 */ cmplwi r12, 0
@ -1078,7 +1157,7 @@ lbl_803728E4:
/* 803728F0 0036F850 7D 88 03 A6 */ mtlr r12
/* 803728F4 0036F854 38 9F 00 00 */ addi r4, r31, 0
/* 803728F8 0036F858 38 60 00 00 */ li r3, 0
/* 803728FC 0036F85C 4E 80 00 21 */ blrl
/* 803728FC 0036F85C 4E 80 00 21 */ blrl
lbl_80372900:
/* 80372900 0036F860 48 00 03 05 */ bl stateReady
/* 80372904 0036F864 38 80 00 01 */ li r4, 1
@ -1100,7 +1179,7 @@ lbl_80372934:
/* 80372938 0036F898 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8037293C 0036F89C 38 21 00 18 */ addi r1, r1, 0x18
/* 80372940 0036F8A0 7C 08 03 A6 */ mtlr r0
/* 80372944 0036F8A4 4E 80 00 20 */ blr
/* 80372944 0036F8A4 4E 80 00 20 */ blr
.global AlarmHandler_0
AlarmHandler_0:
@ -1120,7 +1199,7 @@ AlarmHandler_0:
/* 8037297C 0036F8DC 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80372980 0036F8E0 38 21 00 08 */ addi r1, r1, 8
/* 80372984 0036F8E4 7C 08 03 A6 */ mtlr r0
/* 80372988 0036F8E8 4E 80 00 20 */ blr
/* 80372988 0036F8E8 4E 80 00 20 */ blr
.global stateCoverClosed
stateCoverClosed:
@ -1153,7 +1232,7 @@ lbl_803729D4:
/* 803729EC 0036F94C 41 82 00 10 */ beq lbl_803729FC
/* 803729F0 0036F950 7D 88 03 A6 */ mtlr r12
/* 803729F4 0036F954 38 60 FF FC */ li r3, -4
/* 803729F8 0036F958 4E 80 00 21 */ blrl
/* 803729F8 0036F958 4E 80 00 21 */ blrl
lbl_803729FC:
/* 803729FC 0036F95C 48 00 02 09 */ bl stateReady
/* 80372A00 0036F960 48 00 00 44 */ b lbl_80372A44
@ -1179,7 +1258,7 @@ lbl_80372A44:
/* 80372A48 0036F9A8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80372A4C 0036F9AC 38 21 00 10 */ addi r1, r1, 0x10
/* 80372A50 0036F9B0 7C 08 03 A6 */ mtlr r0
/* 80372A54 0036F9B4 4E 80 00 20 */ blr
/* 80372A54 0036F9B4 4E 80 00 20 */ blr
.global stateCoverClosed_CMD
stateCoverClosed_CMD:
@ -1194,7 +1273,7 @@ stateCoverClosed_CMD:
/* 80372A78 0036F9D8 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80372A7C 0036F9DC 38 21 00 08 */ addi r1, r1, 8
/* 80372A80 0036F9E0 7C 08 03 A6 */ mtlr r0
/* 80372A84 0036F9E4 4E 80 00 20 */ blr
/* 80372A84 0036F9E4 4E 80 00 20 */ blr
.global cbForStateCoverClosed
cbForStateCoverClosed:
@ -1228,7 +1307,7 @@ lbl_80372AE8:
/* 80372AE8 0036FA48 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80372AEC 0036FA4C 38 21 00 08 */ addi r1, r1, 8
/* 80372AF0 0036FA50 7C 08 03 A6 */ mtlr r0
/* 80372AF4 0036FA54 4E 80 00 20 */ blr
/* 80372AF4 0036FA54 4E 80 00 20 */ blr
.global stateMotorStopped
stateMotorStopped:
@ -1241,7 +1320,7 @@ stateMotorStopped:
/* 80372B10 0036FA70 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80372B14 0036FA74 38 21 00 08 */ addi r1, r1, 8
/* 80372B18 0036FA78 7C 08 03 A6 */ mtlr r0
/* 80372B1C 0036FA7C 4E 80 00 20 */ blr
/* 80372B1C 0036FA7C 4E 80 00 20 */ blr
.global cbForStateMotorStopped
cbForStateMotorStopped:
@ -1280,7 +1359,7 @@ lbl_80372B80:
/* 80372B98 0036FAF8 41 82 00 10 */ beq lbl_80372BA8
/* 80372B9C 0036FAFC 7D 88 03 A6 */ mtlr r12
/* 80372BA0 0036FB00 38 60 FF FC */ li r3, -4
/* 80372BA4 0036FB04 4E 80 00 21 */ blrl
/* 80372BA4 0036FB04 4E 80 00 21 */ blrl
lbl_80372BA8:
/* 80372BA8 0036FB08 48 00 00 5D */ bl stateReady
/* 80372BAC 0036FB0C 48 00 00 44 */ b lbl_80372BF0
@ -1306,7 +1385,7 @@ lbl_80372BF0:
/* 80372BF4 0036FB54 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80372BF8 0036FB58 38 21 00 18 */ addi r1, r1, 0x18
/* 80372BFC 0036FB5C 7C 08 03 A6 */ mtlr r0
/* 80372C00 0036FB60 4E 80 00 20 */ blr
/* 80372C00 0036FB60 4E 80 00 20 */ blr
.global stateReady
stateReady:
@ -1348,7 +1427,7 @@ lbl_80372C54:
/* 80372C88 0036FBE8 41 82 00 10 */ beq lbl_80372C98
/* 80372C8C 0036FBEC 7D 88 03 A6 */ mtlr r12
/* 80372C90 0036FBF0 38 60 FF FF */ li r3, -1
/* 80372C94 0036FBF4 4E 80 00 21 */ blrl
/* 80372C94 0036FBF4 4E 80 00 21 */ blrl
lbl_80372C98:
/* 80372C98 0036FBF8 4B FF FF 6D */ bl stateReady
/* 80372C9C 0036FBFC 48 00 02 30 */ b lbl_80372ECC
@ -1401,7 +1480,7 @@ lbl_80372D2C:
/* 80372D44 0036FCA4 41 82 00 10 */ beq lbl_80372D54
/* 80372D48 0036FCA8 7D 88 03 A6 */ mtlr r12
/* 80372D4C 0036FCAC 38 60 FF FC */ li r3, -4
/* 80372D50 0036FCB0 4E 80 00 21 */ blrl
/* 80372D50 0036FCB0 4E 80 00 21 */ blrl
lbl_80372D54:
/* 80372D54 0036FCB4 4B FF FE B1 */ bl stateReady
/* 80372D58 0036FCB8 48 00 01 58 */ b lbl_80372EB0
@ -1470,7 +1549,7 @@ lbl_80372E20:
/* 80372E38 0036FD98 41 82 00 10 */ beq lbl_80372E48
/* 80372E3C 0036FD9C 7D 88 03 A6 */ mtlr r12
/* 80372E40 0036FDA0 38 60 FF FC */ li r3, -4
/* 80372E44 0036FDA4 4E 80 00 21 */ blrl
/* 80372E44 0036FDA4 4E 80 00 21 */ blrl
lbl_80372E48:
/* 80372E48 0036FDA8 4B FF FD BD */ bl stateReady
/* 80372E4C 0036FDAC 48 00 00 64 */ b lbl_80372EB0
@ -1514,7 +1593,7 @@ lbl_80372ECC:
/* 80372ED0 0036FE30 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80372ED4 0036FE34 38 21 00 10 */ addi r1, r1, 0x10
/* 80372ED8 0036FE38 7C 08 03 A6 */ mtlr r0
/* 80372EDC 0036FE3C 4E 80 00 20 */ blr
/* 80372EDC 0036FE3C 4E 80 00 20 */ blr
.global stateBusy
stateBusy:
@ -1533,7 +1612,7 @@ stateBusy:
/* 80372F10 0036FE70 54 00 10 3A */ slwi r0, r0, 2
/* 80372F14 0036FE74 7C 03 00 2E */ lwzx r0, r3, r0
/* 80372F18 0036FE78 7C 09 03 A6 */ mtctr r0
/* 80372F1C 0036FE7C 4E 80 04 20 */ bctr
/* 80372F1C 0036FE7C 4E 80 04 20 */ bctr
/* 80372F20 0036FE80 3C 60 CC 00 */ lis r3, 0xCC006004@ha
/* 80372F24 0036FE84 80 03 60 04 */ lwz r0, 0xCC006004@l(r3)
/* 80372F28 0036FE88 38 A3 60 00 */ addi r5, r3, 0x6000
@ -1559,7 +1638,7 @@ stateBusy:
/* 80372F78 0036FED8 41 82 00 10 */ beq lbl_80372F88
/* 80372F7C 0036FEDC 7D 88 03 A6 */ mtlr r12
/* 80372F80 0036FEE0 38 60 00 00 */ li r3, 0
/* 80372F84 0036FEE4 4E 80 00 21 */ blrl
/* 80372F84 0036FEE4 4E 80 00 21 */ blrl
lbl_80372F88:
/* 80372F88 0036FEE8 4B FF FC 7D */ bl stateReady
/* 80372F8C 0036FEEC 48 00 02 64 */ b lbl_803731F0
@ -1719,12 +1798,12 @@ lbl_803731D8:
/* 803731E0 00370140 38 83 32 00 */ addi r4, r3, cbForStateBusy@l
/* 803731E4 00370144 7D 88 03 A6 */ mtlr r12
/* 803731E8 00370148 38 67 00 00 */ addi r3, r7, 0
/* 803731EC 0037014C 4E 80 00 21 */ blrl
/* 803731EC 0037014C 4E 80 00 21 */ blrl
lbl_803731F0:
/* 803731F0 00370150 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803731F4 00370154 38 21 00 08 */ addi r1, r1, 8
/* 803731F8 00370158 7C 08 03 A6 */ mtlr r0
/* 803731FC 0037015C 4E 80 00 20 */ blr
/* 803731FC 0037015C 4E 80 00 20 */ blr
.global cbForStateBusy
cbForStateBusy:
@ -1794,7 +1873,7 @@ lbl_803732B0:
/* 803732EC 0037024C 7D 88 03 A6 */ mtlr r12
/* 803732F0 00370250 38 9E 00 00 */ addi r4, r30, 0
/* 803732F4 00370254 38 60 FF FD */ li r3, -3
/* 803732F8 00370258 4E 80 00 21 */ blrl
/* 803732F8 00370258 4E 80 00 21 */ blrl
lbl_803732FC:
/* 803732FC 0037025C 81 8D AC 34 */ lwz r12, lbl_805A97F4@sda21(r13)
/* 80373300 00370260 28 0C 00 00 */ cmplwi r12, 0
@ -1802,7 +1881,7 @@ lbl_803732FC:
/* 80373308 00370268 7D 88 03 A6 */ mtlr r12
/* 8037330C 0037026C 38 9E 00 00 */ addi r4, r30, 0
/* 80373310 00370270 38 60 00 00 */ li r3, 0
/* 80373314 00370274 4E 80 00 21 */ blrl
/* 80373314 00370274 4E 80 00 21 */ blrl
lbl_80373318:
/* 80373318 00370278 4B FF F8 ED */ bl stateReady
/* 8037331C 0037027C 38 00 00 01 */ li r0, 1
@ -1867,7 +1946,7 @@ lbl_803733B8:
/* 803733E8 00370348 7D 88 03 A6 */ mtlr r12
/* 803733EC 0037034C 38 9E 00 00 */ addi r4, r30, 0
/* 803733F0 00370350 38 60 FF FD */ li r3, -3
/* 803733F4 00370354 4E 80 00 21 */ blrl
/* 803733F4 00370354 4E 80 00 21 */ blrl
lbl_803733F8:
/* 803733F8 00370358 81 8D AC 34 */ lwz r12, lbl_805A97F4@sda21(r13)
/* 803733FC 0037035C 28 0C 00 00 */ cmplwi r12, 0
@ -1875,7 +1954,7 @@ lbl_803733F8:
/* 80373404 00370364 7D 88 03 A6 */ mtlr r12
/* 80373408 00370368 38 9E 00 00 */ addi r4, r30, 0
/* 8037340C 0037036C 38 60 00 00 */ li r3, 0
/* 80373410 00370370 4E 80 00 21 */ blrl
/* 80373410 00370370 4E 80 00 21 */ blrl
lbl_80373414:
/* 80373414 00370374 4B FF F7 F1 */ bl stateReady
/* 80373418 00370378 48 00 04 08 */ b lbl_80373820
@ -1900,7 +1979,7 @@ lbl_8037341C:
/* 80373460 003703C0 7D 88 03 A6 */ mtlr r12
/* 80373464 003703C4 38 9E 00 00 */ addi r4, r30, 0
/* 80373468 003703C8 38 60 FF FD */ li r3, -3
/* 8037346C 003703CC 4E 80 00 21 */ blrl
/* 8037346C 003703CC 4E 80 00 21 */ blrl
lbl_80373470:
/* 80373470 003703D0 81 8D AC 34 */ lwz r12, lbl_805A97F4@sda21(r13)
/* 80373474 003703D4 28 0C 00 00 */ cmplwi r12, 0
@ -1908,7 +1987,7 @@ lbl_80373470:
/* 8037347C 003703DC 7D 88 03 A6 */ mtlr r12
/* 80373480 003703E0 38 9E 00 00 */ addi r4, r30, 0
/* 80373484 003703E4 38 60 00 00 */ li r3, 0
/* 80373488 003703E8 4E 80 00 21 */ blrl
/* 80373488 003703E8 4E 80 00 21 */ blrl
lbl_8037348C:
/* 8037348C 003703EC 4B FF F7 79 */ bl stateReady
/* 80373490 003703F0 38 80 00 01 */ li r4, 1
@ -1955,7 +2034,7 @@ lbl_80373500:
/* 8037351C 0037047C 41 82 00 10 */ beq lbl_8037352C
/* 80373520 00370480 80 64 00 20 */ lwz r3, 0x20(r4)
/* 80373524 00370484 7D 88 03 A6 */ mtlr r12
/* 80373528 00370488 4E 80 00 21 */ blrl
/* 80373528 00370488 4E 80 00 21 */ blrl
lbl_8037352C:
/* 8037352C 0037048C 4B FF F6 D9 */ bl stateReady
/* 80373530 00370490 48 00 02 F0 */ b lbl_80373820
@ -2015,7 +2094,7 @@ lbl_803735CC:
/* 803735E4 00370544 28 0C 00 00 */ cmplwi r12, 0
/* 803735E8 00370548 41 82 00 0C */ beq lbl_803735F4
/* 803735EC 0037054C 7D 88 03 A6 */ mtlr r12
/* 803735F0 00370550 4E 80 00 21 */ blrl
/* 803735F0 00370550 4E 80 00 21 */ blrl
lbl_803735F4:
/* 803735F4 00370554 4B FF F6 11 */ bl stateReady
/* 803735F8 00370558 48 00 02 28 */ b lbl_80373820
@ -2041,7 +2120,7 @@ lbl_803735FC:
/* 80373644 003705A4 41 82 00 10 */ beq lbl_80373654
/* 80373648 003705A8 7D 88 03 A6 */ mtlr r12
/* 8037364C 003705AC 38 60 FF FE */ li r3, -2
/* 80373650 003705B0 4E 80 00 21 */ blrl
/* 80373650 003705B0 4E 80 00 21 */ blrl
lbl_80373654:
/* 80373654 003705B4 4B FF F5 B1 */ bl stateReady
/* 80373658 003705B8 48 00 01 C8 */ b lbl_80373820
@ -2068,7 +2147,7 @@ lbl_8037368C:
/* 803736A4 00370604 41 82 00 10 */ beq lbl_803736B4
/* 803736A8 00370608 7D 88 03 A6 */ mtlr r12
/* 803736AC 0037060C 38 60 00 00 */ li r3, 0
/* 803736B0 00370610 4E 80 00 21 */ blrl
/* 803736B0 00370610 4E 80 00 21 */ blrl
lbl_803736B4:
/* 803736B4 00370614 4B FF F5 51 */ bl stateReady
/* 803736B8 00370618 48 00 01 68 */ b lbl_80373820
@ -2083,7 +2162,7 @@ lbl_803736BC:
/* 803736D8 00370638 41 82 00 10 */ beq lbl_803736E8
/* 803736DC 0037063C 7D 88 03 A6 */ mtlr r12
/* 803736E0 00370640 38 60 00 00 */ li r3, 0
/* 803736E4 00370644 4E 80 00 21 */ blrl
/* 803736E4 00370644 4E 80 00 21 */ blrl
lbl_803736E8:
/* 803736E8 00370648 4B FF F5 1D */ bl stateReady
/* 803736EC 0037064C 48 00 01 34 */ b lbl_80373820
@ -2136,7 +2215,7 @@ lbl_80373754:
/* 8037379C 003706FC 7D 88 03 A6 */ mtlr r12
/* 803737A0 00370700 38 9E 00 00 */ addi r4, r30, 0
/* 803737A4 00370704 38 60 FF FD */ li r3, -3
/* 803737A8 00370708 4E 80 00 21 */ blrl
/* 803737A8 00370708 4E 80 00 21 */ blrl
lbl_803737AC:
/* 803737AC 0037070C 81 8D AC 34 */ lwz r12, lbl_805A97F4@sda21(r13)
/* 803737B0 00370710 28 0C 00 00 */ cmplwi r12, 0
@ -2144,7 +2223,7 @@ lbl_803737AC:
/* 803737B8 00370718 7D 88 03 A6 */ mtlr r12
/* 803737BC 0037071C 38 9E 00 00 */ addi r4, r30, 0
/* 803737C0 00370720 38 60 00 00 */ li r3, 0
/* 803737C4 00370724 4E 80 00 21 */ blrl
/* 803737C4 00370724 4E 80 00 21 */ blrl
lbl_803737C8:
/* 803737C8 00370728 4B FF F4 3D */ bl stateReady
/* 803737CC 0037072C 38 00 00 01 */ li r0, 1
@ -2164,7 +2243,7 @@ lbl_803737D8:
/* 803737FC 0037075C 41 82 00 10 */ beq lbl_8037380C
/* 80373800 00370760 80 64 00 20 */ lwz r3, 0x20(r4)
/* 80373804 00370764 7D 88 03 A6 */ mtlr r12
/* 80373808 00370768 4E 80 00 21 */ blrl
/* 80373808 00370768 4E 80 00 21 */ blrl
lbl_8037380C:
/* 8037380C 0037076C 4B FF F3 F9 */ bl stateReady
/* 80373810 00370770 48 00 00 10 */ b lbl_80373820
@ -2178,7 +2257,7 @@ lbl_80373820:
/* 80373828 00370788 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8037382C 0037078C 38 21 00 18 */ addi r1, r1, 0x18
/* 80373830 00370790 7C 08 03 A6 */ mtlr r0
/* 80373834 00370794 4E 80 00 20 */ blr
/* 80373834 00370794 4E 80 00 20 */ blr
.global sub_80373838
sub_80373838:
@ -2231,7 +2310,7 @@ lbl_803738CC:
/* 803738E4 00370844 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803738E8 00370848 38 21 00 20 */ addi r1, r1, 0x20
/* 803738EC 0037084C 7C 08 03 A6 */ mtlr r0
/* 803738F0 00370850 4E 80 00 20 */ blr
/* 803738F0 00370850 4E 80 00 20 */ blr
.global DVDReadAbsAsyncPrio
DVDReadAbsAsyncPrio:
@ -2292,7 +2371,7 @@ lbl_803739A8:
/* 803739C0 00370920 83 A1 00 2C */ lwz r29, 0x2c(r1)
/* 803739C4 00370924 38 21 00 38 */ addi r1, r1, 0x38
/* 803739C8 00370928 7C 08 03 A6 */ mtlr r0
/* 803739CC 0037092C 4E 80 00 20 */ blr
/* 803739CC 0037092C 4E 80 00 20 */ blr
.global DVDReadAbsAsyncForBS
DVDReadAbsAsyncForBS:
@ -2350,7 +2429,7 @@ lbl_80373A7C:
/* 80373A90 003709F0 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80373A94 003709F4 38 21 00 30 */ addi r1, r1, 0x30
/* 80373A98 003709F8 7C 08 03 A6 */ mtlr r0
/* 80373A9C 003709FC 4E 80 00 20 */ blr
/* 80373A9C 003709FC 4E 80 00 20 */ blr
.global DVDReadDiskID
DVDReadDiskID:
@ -2409,7 +2488,7 @@ lbl_80373B50:
/* 80373B64 00370AC4 83 C1 00 20 */ lwz r30, 0x20(r1)
/* 80373B68 00370AC8 38 21 00 28 */ addi r1, r1, 0x28
/* 80373B6C 00370ACC 7C 08 03 A6 */ mtlr r0
/* 80373B70 00370AD0 4E 80 00 20 */ blr
/* 80373B70 00370AD0 4E 80 00 20 */ blr
.global sub_80373b74
sub_80373b74:
@ -2464,7 +2543,7 @@ lbl_80373C14:
/* 80373C28 00370B88 83 C1 00 20 */ lwz r30, 0x20(r1)
/* 80373C2C 00370B8C 38 21 00 28 */ addi r1, r1, 0x28
/* 80373C30 00370B90 7C 08 03 A6 */ mtlr r0
/* 80373C34 00370B94 4E 80 00 20 */ blr
/* 80373C34 00370B94 4E 80 00 20 */ blr
.global DVDCancelStreamAsync
DVDCancelStreamAsync:
@ -2517,7 +2596,7 @@ lbl_80373CD0:
/* 80373CE4 00370C44 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80373CE8 00370C48 38 21 00 20 */ addi r1, r1, 0x20
/* 80373CEC 00370C4C 7C 08 03 A6 */ mtlr r0
/* 80373CF0 00370C50 4E 80 00 20 */ blr
/* 80373CF0 00370C50 4E 80 00 20 */ blr
.global sub_80373cf4
sub_80373cf4:
@ -2566,7 +2645,7 @@ lbl_80373D7C:
/* 80373D84 00370CE4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80373D88 00370CE8 38 21 00 20 */ addi r1, r1, 0x20
/* 80373D8C 00370CEC 7C 08 03 A6 */ mtlr r0
/* 80373D90 00370CF0 4E 80 00 20 */ blr
/* 80373D90 00370CF0 4E 80 00 20 */ blr
.global sub_80373d94
sub_80373d94:
@ -2579,7 +2658,7 @@ sub_80373d94:
/* 80373DAC 00370D0C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80373DB0 00370D10 38 21 00 08 */ addi r1, r1, 8
/* 80373DB4 00370D14 7C 08 03 A6 */ mtlr r0
/* 80373DB8 00370D18 4E 80 00 20 */ blr
/* 80373DB8 00370D18 4E 80 00 20 */ blr
.global sub_80373dbc
sub_80373dbc:
@ -2632,7 +2711,7 @@ lbl_80373E54:
/* 80373E68 00370DC8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80373E6C 00370DCC 38 21 00 20 */ addi r1, r1, 0x20
/* 80373E70 00370DD0 7C 08 03 A6 */ mtlr r0
/* 80373E74 00370DD4 4E 80 00 20 */ blr
/* 80373E74 00370DD4 4E 80 00 20 */ blr
.global sub_80373e78
sub_80373e78:
@ -2685,7 +2764,7 @@ lbl_80373F10:
/* 80373F24 00370E84 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80373F28 00370E88 38 21 00 20 */ addi r1, r1, 0x20
/* 80373F2C 00370E8C 7C 08 03 A6 */ mtlr r0
/* 80373F30 00370E90 4E 80 00 20 */ blr
/* 80373F30 00370E90 4E 80 00 20 */ blr
.global sub_80373f34
sub_80373f34:
@ -2738,7 +2817,7 @@ lbl_80373FCC:
/* 80373FE0 00370F40 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80373FE4 00370F44 38 21 00 20 */ addi r1, r1, 0x20
/* 80373FE8 00370F48 7C 08 03 A6 */ mtlr r0
/* 80373FEC 00370F4C 4E 80 00 20 */ blr
/* 80373FEC 00370F4C 4E 80 00 20 */ blr
.global DVDInquiryAsync
DVDInquiryAsync:
@ -2796,7 +2875,7 @@ lbl_8037409C:
/* 803740B0 00371010 83 C1 00 20 */ lwz r30, 0x20(r1)
/* 803740B4 00371014 38 21 00 28 */ addi r1, r1, 0x28
/* 803740B8 00371018 7C 08 03 A6 */ mtlr r0
/* 803740BC 0037101C 4E 80 00 20 */ blr
/* 803740BC 0037101C 4E 80 00 20 */ blr
.global DVDReset
DVDReset:
@ -2816,7 +2895,7 @@ DVDReset:
/* 803740F4 00371054 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803740F8 00371058 38 21 00 08 */ addi r1, r1, 8
/* 803740FC 0037105C 7C 08 03 A6 */ mtlr r0
/* 80374100 00371060 4E 80 00 20 */ blr
/* 80374100 00371060 4E 80 00 20 */ blr
.global DVDGetCommandBlockStatus
DVDGetCommandBlockStatus:
@ -2840,7 +2919,7 @@ lbl_80374134:
/* 80374140 003710A0 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80374144 003710A4 38 21 00 18 */ addi r1, r1, 0x18
/* 80374148 003710A8 7C 08 03 A6 */ mtlr r0
/* 8037414C 003710AC 4E 80 00 20 */ blr
/* 8037414C 003710AC 4E 80 00 20 */ blr
.global DVDGetDriveStatus
DVDGetDriveStatus:
@ -2892,14 +2971,14 @@ lbl_803741D8:
/* 803741EC 0037114C 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803741F0 00371150 38 21 00 18 */ addi r1, r1, 0x18
/* 803741F4 00371154 7C 08 03 A6 */ mtlr r0
/* 803741F8 00371158 4E 80 00 20 */ blr
/* 803741F8 00371158 4E 80 00 20 */ blr
.global DVDSetAutoInvalidation
DVDSetAutoInvalidation:
/* 803741FC 0037115C 80 0D 9E DC */ lwz r0, lbl_805A8A9C@sda21(r13)
/* 80374200 00371160 90 6D 9E DC */ stw r3, lbl_805A8A9C@sda21(r13)
/* 80374204 00371164 7C 03 03 78 */ mr r3, r0
/* 80374208 00371168 4E 80 00 20 */ blr
/* 80374208 00371168 4E 80 00 20 */ blr
.global DVDCancelAsync
DVDCancelAsync:
@ -2922,14 +3001,14 @@ DVDCancelAsync:
/* 8037424C 003711AC 54 00 10 3A */ slwi r0, r0, 2
/* 80374250 003711B0 7C 03 00 2E */ lwzx r0, r3, r0
/* 80374254 003711B4 7C 09 03 A6 */ mtctr r0
/* 80374258 003711B8 4E 80 04 20 */ bctr
/* 80374258 003711B8 4E 80 04 20 */ bctr
/* 8037425C 003711BC 28 1E 00 00 */ cmplwi r30, 0
/* 80374260 003711C0 41 82 01 F4 */ beq lbl_80374454
/* 80374264 003711C4 39 9E 00 00 */ addi r12, r30, 0
/* 80374268 003711C8 7D 88 03 A6 */ mtlr r12
/* 8037426C 003711CC 38 9D 00 00 */ addi r4, r29, 0
/* 80374270 003711D0 38 60 00 00 */ li r3, 0
/* 80374274 003711D4 4E 80 00 21 */ blrl
/* 80374274 003711D4 4E 80 00 21 */ blrl
/* 80374278 003711D8 48 00 01 DC */ b lbl_80374454
/* 8037427C 003711DC 80 0D AC 30 */ lwz r0, lbl_805A97F0@sda21(r13)
/* 80374280 003711E0 28 00 00 00 */ cmplwi r0, 0
@ -2960,7 +3039,7 @@ lbl_803742B8:
/* 803742DC 0037123C 7D 88 03 A6 */ mtlr r12
/* 803742E0 00371240 38 9D 00 00 */ addi r4, r29, 0
/* 803742E4 00371244 38 60 FF FD */ li r3, -3
/* 803742E8 00371248 4E 80 00 21 */ blrl
/* 803742E8 00371248 4E 80 00 21 */ blrl
lbl_803742EC:
/* 803742EC 0037124C 28 1E 00 00 */ cmplwi r30, 0
/* 803742F0 00371250 41 82 01 64 */ beq lbl_80374454
@ -2968,7 +3047,7 @@ lbl_803742EC:
/* 803742F8 00371258 7D 88 03 A6 */ mtlr r12
/* 803742FC 0037125C 38 9D 00 00 */ addi r4, r29, 0
/* 80374300 00371260 38 60 00 00 */ li r3, 0
/* 80374304 00371264 4E 80 00 21 */ blrl
/* 80374304 00371264 4E 80 00 21 */ blrl
/* 80374308 00371268 48 00 01 4C */ b lbl_80374454
/* 8037430C 0037126C 80 1D 00 08 */ lwz r0, 8(r29)
/* 80374310 00371270 2C 00 00 0D */ cmpwi r0, 0xd
@ -2990,7 +3069,7 @@ lbl_8037433C:
/* 80374348 003712A8 7D 88 03 A6 */ mtlr r12
/* 8037434C 003712AC 38 9D 00 00 */ addi r4, r29, 0
/* 80374350 003712B0 38 60 00 00 */ li r3, 0
/* 80374354 003712B4 4E 80 00 21 */ blrl
/* 80374354 003712B4 4E 80 00 21 */ blrl
/* 80374358 003712B8 48 00 00 FC */ b lbl_80374454
lbl_8037435C:
/* 8037435C 003712BC 80 0D AC 30 */ lwz r0, lbl_805A97F0@sda21(r13)
@ -3053,7 +3132,7 @@ lbl_80374410:
/* 80374424 00371384 7D 88 03 A6 */ mtlr r12
/* 80374428 00371388 38 9D 00 00 */ addi r4, r29, 0
/* 8037442C 0037138C 38 60 FF FD */ li r3, -3
/* 80374430 00371390 4E 80 00 21 */ blrl
/* 80374430 00371390 4E 80 00 21 */ blrl
lbl_80374434:
/* 80374434 00371394 28 1E 00 00 */ cmplwi r30, 0
/* 80374438 00371398 41 82 00 18 */ beq lbl_80374450
@ -3061,7 +3140,7 @@ lbl_80374434:
/* 80374440 003713A0 7D 88 03 A6 */ mtlr r12
/* 80374444 003713A4 38 9D 00 00 */ addi r4, r29, 0
/* 80374448 003713A8 38 60 00 00 */ li r3, 0
/* 8037444C 003713AC 4E 80 00 21 */ blrl
/* 8037444C 003713AC 4E 80 00 21 */ blrl
lbl_80374450:
/* 80374450 003713B0 4B FF E7 B5 */ bl stateReady
lbl_80374454:
@ -3075,7 +3154,7 @@ lbl_80374460:
/* 8037446C 003713CC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80374470 003713D0 38 21 00 20 */ addi r1, r1, 0x20
/* 80374474 003713D4 7C 08 03 A6 */ mtlr r0
/* 80374478 003713D8 4E 80 00 20 */ blr
/* 80374478 003713D8 4E 80 00 20 */ blr
.global DVDCancel
DVDCancel:
@ -3126,7 +3205,7 @@ lbl_80374510:
/* 80374518 00371478 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8037451C 0037147C 38 21 00 18 */ addi r1, r1, 0x18
/* 80374520 00371480 7C 08 03 A6 */ mtlr r0
/* 80374524 00371484 4E 80 00 20 */ blr
/* 80374524 00371484 4E 80 00 20 */ blr
.global cbForCancelSync
cbForCancelSync:
@ -3138,7 +3217,7 @@ cbForCancelSync:
/* 8037453C 0037149C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80374540 003714A0 38 21 00 08 */ addi r1, r1, 8
/* 80374544 003714A4 7C 08 03 A6 */ mtlr r0
/* 80374548 003714A8 4E 80 00 20 */ blr
/* 80374548 003714A8 4E 80 00 20 */ blr
.global sub_8037454c
sub_8037454c:
@ -3228,7 +3307,7 @@ lbl_80374664:
/* 80374674 003715D4 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80374678 003715D8 38 21 00 20 */ addi r1, r1, 0x20
/* 8037467C 003715DC 7C 08 03 A6 */ mtlr r0
/* 80374680 003715E0 4E 80 00 20 */ blr
/* 80374680 003715E0 4E 80 00 20 */ blr
.global sub_80374684
sub_80374684:
@ -3242,12 +3321,12 @@ sub_80374684:
/* 803746A0 00371600 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803746A4 00371604 38 21 00 08 */ addi r1, r1, 8
/* 803746A8 00371608 7C 08 03 A6 */ mtlr r0
/* 803746AC 0037160C 4E 80 00 20 */ blr
/* 803746AC 0037160C 4E 80 00 20 */ blr
.global DVDGetCurrentDiskID
DVDGetCurrentDiskID:
/* 803746B0 00371610 3C 60 80 00 */ lis r3, 0x8000
/* 803746B4 00371614 4E 80 00 20 */ blr
/* 803746B4 00371614 4E 80 00 20 */ blr
.global DVDCheckDisk
DVDCheckDisk:
@ -3291,7 +3370,7 @@ lbl_80374724:
/* 80374738 00371698 54 00 10 3A */ slwi r0, r0, 2
/* 8037473C 0037169C 7C 04 00 2E */ lwzx r0, r4, r0
/* 80374740 003716A0 7C 09 03 A6 */ mtctr r0
/* 80374744 003716A4 4E 80 04 20 */ bctr
/* 80374744 003716A4 4E 80 04 20 */ bctr
/* 80374748 003716A8 3B E0 00 01 */ li r31, 1
/* 8037474C 003716AC 48 00 00 34 */ b lbl_80374780
/* 80374750 003716B0 3B E0 00 00 */ li r31, 0
@ -3315,7 +3394,7 @@ lbl_80374780:
/* 8037478C 003716EC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80374790 003716F0 38 21 00 10 */ addi r1, r1, 0x10
/* 80374794 003716F4 7C 08 03 A6 */ mtlr r0
/* 80374798 003716F8 4E 80 00 20 */ blr
/* 80374798 003716F8 4E 80 00 20 */ blr
.global __DVDPrepareResetAsync
__DVDPrepareResetAsync:
@ -3373,7 +3452,7 @@ lbl_80374844:
/* 80374850 003717B0 7D 88 03 A6 */ mtlr r12
/* 80374854 003717B4 38 60 00 00 */ li r3, 0
/* 80374858 003717B8 38 80 00 00 */ li r4, 0
/* 8037485C 003717BC 4E 80 00 21 */ blrl
/* 8037485C 003717BC 4E 80 00 21 */ blrl
lbl_80374860:
/* 80374860 003717C0 48 00 CE 01 */ bl OSDisableInterrupts
/* 80374864 003717C4 38 80 00 00 */ li r4, 0
@ -3398,4 +3477,4 @@ lbl_80374894:
/* 803748A8 00371808 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803748AC 0037180C 38 21 00 20 */ addi r1, r1, 0x20
/* 803748B0 00371810 7C 08 03 A6 */ mtlr r0
/* 803748B4 00371814 4E 80 00 20 */ blr
/* 803748B4 00371814 4E 80 00 20 */ blr

View File

@ -3,7 +3,135 @@
.section .data
.global lbl_803F0100
lbl_803F0100:
.incbin "baserom.dol", 0x3ED100, 0x478
# ROM: 0x3ED100
.4byte 0
.4byte 0x00023A00
.4byte 0x00062800
.4byte 0x00030200
.4byte 0x00031100
.4byte 0x00052000
.4byte 0x00052001
.4byte 0x00052100
.4byte 0x00052400
.4byte 0x00052401
.4byte 0x00052402
.4byte 0x000B5A01
.4byte 0x00056300
.4byte 0x00020401
.4byte 0x00020400
.4byte 0x00040800
.4byte 0x00100007
.4byte 0
.4byte 0x0A0A0A83
.4byte 0x47838981
.4byte 0x5B82AA94
.4byte 0xAD90B682
.4byte 0xB582DC82
.4byte 0xB582BD81
.4byte 0x420A0A96
.4byte 0x7B91CC82
.4byte 0xCC837083
.4byte 0x8F815B83
.4byte 0x7B835E83
.4byte 0x9382F089
.4byte 0x9F82B582
.4byte 0xC493648C
.4byte 0xB982F04F
.4byte 0x464682C9
.4byte 0x82B58141
.4byte 0x0A967B91
.4byte 0xCC82CC8E
.4byte 0xE688B590
.4byte 0xE096BE8F
.4byte 0x9182CC8E
.4byte 0x778EA682
.4byte 0xC98F5D82
.4byte 0xC182C482
.4byte 0xAD82BE82
.4byte 0xB382A281
.4byte 0x42000000
.asciz "\n\n\nAn error has occurred.\nTurn the power off and refer to the\nNintendo GameCube Instruction Booklet\nfor further instructions."
.balign 4
.4byte 0x0A0A0A41
.4byte 0x6E206572
.4byte 0x726F7220
.4byte 0x68617320
.4byte 0x6F636375
.4byte 0x72726564
.4byte 0x2E0A5475
.4byte 0x726E2074
.4byte 0x68652070
.4byte 0x6F776572
.4byte 0x206F6666
.4byte 0x20616E64
.4byte 0x20726566
.4byte 0x65722074
.4byte 0x6F207468
.4byte 0x650A4E69
.4byte 0x6E74656E
.4byte 0x646F2047
.4byte 0x616D6543
.4byte 0x75626599
.asciz " Instruction Booklet\nfor further instructions."
.balign 4
.asciz "\n\n\nEin Fehler ist aufgetreten.\nBitte schalten Sie den NINTENDO GAMECUBE\naus und lesen Sie die Bedienungsanleitung,\num weitere Informationen zu erhalten."
.balign 4
.4byte 0x0A0A0A55
.4byte 0x6E652065
.4byte 0x72726575
.4byte 0x72206573
.4byte 0x74207375
.4byte 0x7276656E
.4byte 0x75652E0A
.4byte 0x45746569
.4byte 0x676E657A
.4byte 0x206C6120
.4byte 0x636F6E73
.4byte 0x6F6C6520
.4byte 0x65742072
.4byte 0xE966E972
.asciz "ez-vous au\nmanuel d'instructions NINTENDO GAMECUBE\npour de plus amples informations."
.balign 4
.4byte 0x0A0A0A53
.4byte 0x65206861
.4byte 0x2070726F
.4byte 0x64756369
.4byte 0x646F2075
.4byte 0x6E206572
.4byte 0x726F722E
.4byte 0x0A417061
.4byte 0x6761206C
.4byte 0x6120636F
.4byte 0x6E736F6C
.4byte 0x61207920
.4byte 0x636F6E73
.4byte 0x756C7461
.4byte 0x20656C20
.4byte 0x6D616E75
.4byte 0x616C0A64
.4byte 0x6520696E
.4byte 0x73747275
.4byte 0x6363696F
.4byte 0x6E657320
.4byte 0x6465204E
.4byte 0x494E5445
.4byte 0x4E444F20
.4byte 0x47414D45
.4byte 0x43554245
.4byte 0x0A706172
.4byte 0x61206F62
.4byte 0x74656E65
.4byte 0x72206DE1
.4byte 0x7320696E
.4byte 0x666F726D
.4byte 0x616369F3
.4byte 0x6E2E0000
.4byte 0x0A0A0A53
.4byte 0x6920E820
.asciz "verificato un errore.\nSpegni (OFF) e controlla il manuale\nd'istruzioni del NINTENDO GAMECUBE\nper ulteriori indicazioni."
.asciz "\n\n\nEr is een fout opgetreden.\nZet de NINTENDO GAMECUBE uit en\nraadpleeg de handleiding van de\nNintendo GameCube voor nadere\ninstructies."
.balign 4
.section .text, "ax"
@ -19,63 +147,63 @@ lbl_80374AC4:
/* 80374AC8 00371A28 7C 03 00 40 */ cmplw r3, r0
/* 80374ACC 00371A2C 40 82 00 0C */ bne lbl_80374AD8
/* 80374AD0 00371A30 54 A3 06 3E */ clrlwi r3, r5, 0x18
/* 80374AD4 00371A34 4E 80 00 20 */ blr
/* 80374AD4 00371A34 4E 80 00 20 */ blr
lbl_80374AD8:
/* 80374AD8 00371A38 84 04 00 04 */ lwzu r0, 4(r4)
/* 80374ADC 00371A3C 38 A5 00 01 */ addi r5, r5, 1
/* 80374AE0 00371A40 7C 03 00 40 */ cmplw r3, r0
/* 80374AE4 00371A44 40 82 00 0C */ bne lbl_80374AF0
/* 80374AE8 00371A48 54 A3 06 3E */ clrlwi r3, r5, 0x18
/* 80374AEC 00371A4C 4E 80 00 20 */ blr
/* 80374AEC 00371A4C 4E 80 00 20 */ blr
lbl_80374AF0:
/* 80374AF0 00371A50 84 04 00 04 */ lwzu r0, 4(r4)
/* 80374AF4 00371A54 38 A5 00 01 */ addi r5, r5, 1
/* 80374AF8 00371A58 7C 03 00 40 */ cmplw r3, r0
/* 80374AFC 00371A5C 40 82 00 0C */ bne lbl_80374B08
/* 80374B00 00371A60 54 A3 06 3E */ clrlwi r3, r5, 0x18
/* 80374B04 00371A64 4E 80 00 20 */ blr
/* 80374B04 00371A64 4E 80 00 20 */ blr
lbl_80374B08:
/* 80374B08 00371A68 84 04 00 04 */ lwzu r0, 4(r4)
/* 80374B0C 00371A6C 38 A5 00 01 */ addi r5, r5, 1
/* 80374B10 00371A70 7C 03 00 40 */ cmplw r3, r0
/* 80374B14 00371A74 40 82 00 0C */ bne lbl_80374B20
/* 80374B18 00371A78 54 A3 06 3E */ clrlwi r3, r5, 0x18
/* 80374B1C 00371A7C 4E 80 00 20 */ blr
/* 80374B1C 00371A7C 4E 80 00 20 */ blr
lbl_80374B20:
/* 80374B20 00371A80 84 04 00 04 */ lwzu r0, 4(r4)
/* 80374B24 00371A84 38 A5 00 01 */ addi r5, r5, 1
/* 80374B28 00371A88 7C 03 00 40 */ cmplw r3, r0
/* 80374B2C 00371A8C 40 82 00 0C */ bne lbl_80374B38
/* 80374B30 00371A90 54 A3 06 3E */ clrlwi r3, r5, 0x18
/* 80374B34 00371A94 4E 80 00 20 */ blr
/* 80374B34 00371A94 4E 80 00 20 */ blr
lbl_80374B38:
/* 80374B38 00371A98 84 04 00 04 */ lwzu r0, 4(r4)
/* 80374B3C 00371A9C 38 A5 00 01 */ addi r5, r5, 1
/* 80374B40 00371AA0 7C 03 00 40 */ cmplw r3, r0
/* 80374B44 00371AA4 40 82 00 0C */ bne lbl_80374B50
/* 80374B48 00371AA8 54 A3 06 3E */ clrlwi r3, r5, 0x18
/* 80374B4C 00371AAC 4E 80 00 20 */ blr
/* 80374B4C 00371AAC 4E 80 00 20 */ blr
lbl_80374B50:
/* 80374B50 00371AB0 84 04 00 04 */ lwzu r0, 4(r4)
/* 80374B54 00371AB4 38 A5 00 01 */ addi r5, r5, 1
/* 80374B58 00371AB8 7C 03 00 40 */ cmplw r3, r0
/* 80374B5C 00371ABC 40 82 00 0C */ bne lbl_80374B68
/* 80374B60 00371AC0 54 A3 06 3E */ clrlwi r3, r5, 0x18
/* 80374B64 00371AC4 4E 80 00 20 */ blr
/* 80374B64 00371AC4 4E 80 00 20 */ blr
lbl_80374B68:
/* 80374B68 00371AC8 84 04 00 04 */ lwzu r0, 4(r4)
/* 80374B6C 00371ACC 38 A5 00 01 */ addi r5, r5, 1
/* 80374B70 00371AD0 7C 03 00 40 */ cmplw r3, r0
/* 80374B74 00371AD4 40 82 00 0C */ bne lbl_80374B80
/* 80374B78 00371AD8 54 A3 06 3E */ clrlwi r3, r5, 0x18
/* 80374B7C 00371ADC 4E 80 00 20 */ blr
/* 80374B7C 00371ADC 4E 80 00 20 */ blr
lbl_80374B80:
/* 80374B80 00371AE0 84 04 00 04 */ lwzu r0, 4(r4)
/* 80374B84 00371AE4 38 A5 00 01 */ addi r5, r5, 1
/* 80374B88 00371AE8 7C 03 00 40 */ cmplw r3, r0
/* 80374B8C 00371AEC 40 82 00 0C */ bne lbl_80374B98
/* 80374B90 00371AF0 54 A3 06 3E */ clrlwi r3, r5, 0x18
/* 80374B94 00371AF4 4E 80 00 20 */ blr
/* 80374B94 00371AF4 4E 80 00 20 */ blr
lbl_80374B98:
/* 80374B98 00371AF8 38 84 00 04 */ addi r4, r4, 4
/* 80374B9C 00371AFC 38 A5 00 01 */ addi r5, r5, 1
@ -87,10 +215,10 @@ lbl_80374B98:
/* 80374BB4 00371B14 7C 03 00 40 */ cmplw r3, r0
/* 80374BB8 00371B18 41 81 00 0C */ bgt lbl_80374BC4
/* 80374BBC 00371B1C 38 60 00 11 */ li r3, 0x11
/* 80374BC0 00371B20 4E 80 00 20 */ blr
/* 80374BC0 00371B20 4E 80 00 20 */ blr
lbl_80374BC4:
/* 80374BC4 00371B24 38 60 00 1D */ li r3, 0x1d
/* 80374BC8 00371B28 4E 80 00 20 */ blr
/* 80374BC8 00371B28 4E 80 00 20 */ blr
.global __DVDStoreErrorCode
__DVDStoreErrorCode:
@ -128,4 +256,4 @@ lbl_80374C24:
/* 80374C38 00371B98 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80374C3C 00371B9C 38 21 00 18 */ addi r1, r1, 0x18
/* 80374C40 00371BA0 7C 08 03 A6 */ mtlr r0
/* 80374C44 00371BA4 4E 80 00 20 */ blr
/* 80374C44 00371BA4 4E 80 00 20 */ blr

View File

@ -3,11 +3,15 @@
.section .sdata
.global lbl_805A8AB0
lbl_805A8AB0:
.incbin "baserom.dol", 0x3F6450, 0x4
# ROM: 0x3F6450
.4byte 0x803F0148
.global lbl_805A8AB4
lbl_805A8AB4:
.incbin "baserom.dol", 0x3F6454, 0x4
# ROM: 0x3F6454
.4byte 0x803F01B8
.section .sbss
.global lbl_805A9820
lbl_805A9820:
@ -16,14 +20,25 @@ lbl_805A9820:
.section .sdata2
.global lbl_805AEB20
lbl_805AEB20:
.incbin "baserom.dol", 0x3FB3C0, 0x4
# ROM: 0x3FB3C0
.4byte 0
.global lbl_805AEB24
lbl_805AEB24:
.incbin "baserom.dol", 0x3FB3C4, 0x4
# ROM: 0x3FB3C4
.4byte 0xFFFFFF00
.section .rodata
lbl_803D8570:
.incbin "baserom.dol", 0x3D5570, 0x18
# ROM: 0x3D5570
.4byte 0x803F0238
.4byte 0x803F02B8
.4byte 0x803F0354
.4byte 0x803F03E4
.4byte 0x803F046C
.4byte 0x803F04EC
.section .text, "ax"
@ -66,7 +81,7 @@ lbl_80374DA0:
/* 80374DBC 00371D1C 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 80374DC0 00371D20 38 21 00 18 */ addi r1, r1, 0x18
/* 80374DC4 00371D24 7C 08 03 A6 */ mtlr r0
/* 80374DC8 00371D28 4E 80 00 20 */ blr
/* 80374DC8 00371D28 4E 80 00 20 */ blr
.global DVDSetAutoFatalMessaging
DVDSetAutoFatalMessaging:
@ -101,7 +116,7 @@ lbl_80374E18:
/* 80374E2C 00371D8C 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80374E30 00371D90 38 21 00 18 */ addi r1, r1, 0x18
/* 80374E34 00371D94 7C 08 03 A6 */ mtlr r0
/* 80374E38 00371D98 4E 80 00 20 */ blr
/* 80374E38 00371D98 4E 80 00 20 */ blr
.global __DVDPrintFatalMessage
__DVDPrintFatalMessage:
@ -112,9 +127,9 @@ __DVDPrintFatalMessage:
/* 80374E4C 00371DAC 28 0C 00 00 */ cmplwi r12, 0
/* 80374E50 00371DB0 41 82 00 0C */ beq lbl_80374E5C
/* 80374E54 00371DB4 7D 88 03 A6 */ mtlr r12
/* 80374E58 00371DB8 4E 80 00 21 */ blrl
/* 80374E58 00371DB8 4E 80 00 21 */ blrl
lbl_80374E5C:
/* 80374E5C 00371DBC 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80374E60 00371DC0 38 21 00 08 */ addi r1, r1, 8
/* 80374E64 00371DC4 7C 08 03 A6 */ mtlr r0
/* 80374E68 00371DC8 4E 80 00 20 */ blr
/* 80374E68 00371DC8 4E 80 00 20 */ blr

View File

@ -23,8 +23,10 @@ lbl_805A97C4:
.section .sdata
.global lbl_805A8A90
lbl_805A8A90:
.incbin "baserom.dol", 0x3F6430, 0x8
# ROM: 0x3F6430
.asciz "dvdfs.c"
.section .data
.balign 8
lbl_803EFB90:
@ -34,7 +36,27 @@ lbl_803EFC58:
.asciz "Warning: DVDOpen(): file '%s' was not found under %s.\n"
.balign 4
lbl_803EFC90:
.incbin "baserom.dol", 0x3ECC90, 0x338
# ROM: 0x3ECC90
.asciz "DVDReadAsync(): specified area is out of the file "
.asciz "DVDRead(): specified area is out of the file "
.balign 4
.asciz "DVDSeek(): offset is out of the file "
.balign 4
.asciz "Warning: DVDOpenDir(): file '%s' was not found under %s.\n"
.balign 4
.asciz "DVDPrepareStreamAsync(): Specified start address (filestart(0x%x) + offset(0x%x)) is not 32KB aligned"
.balign 4
.asciz "DVDPrepareStreamAsync(): Specified length (0x%x) is not a multiple of 32768(32*1024)"
.balign 4
.asciz "DVDPrepareStreamAsync(): The area specified (offset(0x%x), length(0x%x)) is out of the file"
.asciz "DVDPrepareStream(): Specified start address (filestart(0x%x) + offset(0x%x)) is not 32KB aligned"
.balign 4
.asciz "DVDPrepareStream(): Specified length (0x%x) is not a multiple of 32768(32*1024)"
.asciz "DVDPrepareStream(): The area specified (offset(0x%x), length(0x%x)) is out of the file"
.balign 4
.asciz "<< Dolphin SDK - DVD\trelease build: Sep 5 2002 05:34:06 (0x2301) >>"
.balign 4
.section .text, "ax"
@ -46,14 +68,14 @@ __DVDFSInit:
/* 803712F0 0036E250 90 0D AB F4 */ stw r0, lbl_805A97B4@sda21(r13)
/* 803712F4 0036E254 80 6D AB F4 */ lwz r3, lbl_805A97B4@sda21(r13)
/* 803712F8 0036E258 28 03 00 00 */ cmplwi r3, 0
/* 803712FC 0036E25C 4D 82 00 20 */ beqlr
/* 803712FC 0036E25C 4D 82 00 20 */ beqlr
/* 80371300 0036E260 80 03 00 08 */ lwz r0, 8(r3)
/* 80371304 0036E264 90 0D AB FC */ stw r0, lbl_805A97BC@sda21(r13)
/* 80371308 0036E268 80 0D AB FC */ lwz r0, lbl_805A97BC@sda21(r13)
/* 8037130C 0036E26C 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80371310 0036E270 7C 03 02 14 */ add r0, r3, r0
/* 80371314 0036E274 90 0D AB F8 */ stw r0, lbl_805A97B8@sda21(r13)
/* 80371318 0036E278 4E 80 00 20 */ blr
/* 80371318 0036E278 4E 80 00 20 */ blr
.global DVDConvertPathToEntrynum
DVDConvertPathToEntrynum:
@ -284,7 +306,7 @@ lbl_803715FC:
/* 80371600 0036E560 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 80371604 0036E564 38 21 00 48 */ addi r1, r1, 0x48
/* 80371608 0036E568 7C 08 03 A6 */ mtlr r0
/* 8037160C 0036E56C 4E 80 00 20 */ blr
/* 8037160C 0036E56C 4E 80 00 20 */ blr
.global DVDFastOpen
DVDFastOpen:
@ -307,7 +329,7 @@ lbl_80371644:
/* 80371648 0036E5A8 41 82 00 0C */ beq lbl_80371654
lbl_8037164C:
/* 8037164C 0036E5AC 38 60 00 00 */ li r3, 0
/* 80371650 0036E5B0 4E 80 00 20 */ blr
/* 80371650 0036E5B0 4E 80 00 20 */ blr
lbl_80371654:
/* 80371654 0036E5B4 7C 63 32 14 */ add r3, r3, r6
/* 80371658 0036E5B8 80 A3 00 04 */ lwz r5, 4(r3)
@ -320,7 +342,7 @@ lbl_80371654:
/* 80371674 0036E5D4 90 A4 00 34 */ stw r5, 0x34(r4)
/* 80371678 0036E5D8 90 04 00 38 */ stw r0, 0x38(r4)
/* 8037167C 0036E5DC 90 04 00 0C */ stw r0, 0xc(r4)
/* 80371680 0036E5E0 4E 80 00 20 */ blr
/* 80371680 0036E5E0 4E 80 00 20 */ blr
.global DVDOpen
DVDOpen:
@ -378,7 +400,7 @@ lbl_80371734:
/* 8037173C 0036E69C 83 C1 00 90 */ lwz r30, 0x90(r1)
/* 80371740 0036E6A0 38 21 00 98 */ addi r1, r1, 0x98
/* 80371744 0036E6A4 7C 08 03 A6 */ mtlr r0
/* 80371748 0036E6A8 4E 80 00 20 */ blr
/* 80371748 0036E6A8 4E 80 00 20 */ blr
.global DVDClose
DVDClose:
@ -390,7 +412,7 @@ DVDClose:
/* 80371760 0036E6C0 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80371764 0036E6C4 38 21 00 08 */ addi r1, r1, 8
/* 80371768 0036E6C8 7C 08 03 A6 */ mtlr r0
/* 8037176C 0036E6CC 4E 80 00 20 */ blr
/* 8037176C 0036E6CC 4E 80 00 20 */ blr
.global entryToPath
entryToPath:
@ -493,7 +515,7 @@ lbl_803718B0:
/* 803718C0 0036E820 83 81 00 20 */ lwz r28, 0x20(r1)
/* 803718C4 0036E824 38 21 00 30 */ addi r1, r1, 0x30
/* 803718C8 0036E828 7C 08 03 A6 */ mtlr r0
/* 803718CC 0036E82C 4E 80 00 20 */ blr
/* 803718CC 0036E82C 4E 80 00 20 */ blr
.global DVDGetCurrentDir
DVDGetCurrentDir:
@ -551,7 +573,7 @@ lbl_80371974:
/* 80371984 0036E8E4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80371988 0036E8E8 38 21 00 20 */ addi r1, r1, 0x20
/* 8037198C 0036E8EC 7C 08 03 A6 */ mtlr r0
/* 80371990 0036E8F0 4E 80 00 20 */ blr
/* 80371990 0036E8F0 4E 80 00 20 */ blr
.global DVDReadAsyncPrio
DVDReadAsyncPrio:
@ -606,7 +628,7 @@ lbl_80371A14:
/* 80371A44 0036E9A4 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 80371A48 0036E9A8 38 21 00 38 */ addi r1, r1, 0x38
/* 80371A4C 0036E9AC 7C 08 03 A6 */ mtlr r0
/* 80371A50 0036E9B0 4E 80 00 20 */ blr
/* 80371A50 0036E9B0 4E 80 00 20 */ blr
.global cbForReadAsync
cbForReadAsync:
@ -617,12 +639,12 @@ cbForReadAsync:
/* 80371A64 0036E9C4 28 0C 00 00 */ cmplwi r12, 0
/* 80371A68 0036E9C8 41 82 00 0C */ beq lbl_80371A74
/* 80371A6C 0036E9CC 7D 88 03 A6 */ mtlr r12
/* 80371A70 0036E9D0 4E 80 00 21 */ blrl
/* 80371A70 0036E9D0 4E 80 00 21 */ blrl
lbl_80371A74:
/* 80371A74 0036E9D4 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80371A78 0036E9D8 38 21 00 08 */ addi r1, r1, 8
/* 80371A7C 0036E9DC 7C 08 03 A6 */ mtlr r0
/* 80371A80 0036E9E0 4E 80 00 20 */ blr
/* 80371A80 0036E9E0 4E 80 00 20 */ blr
.global DVDPrepareStreamAsync
DVDPrepareStreamAsync:
@ -689,7 +711,7 @@ lbl_80371B3C:
/* 80371B60 0036EAC0 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 80371B64 0036EAC4 38 21 00 38 */ addi r1, r1, 0x38
/* 80371B68 0036EAC8 7C 08 03 A6 */ mtlr r0
/* 80371B6C 0036EACC 4E 80 00 20 */ blr
/* 80371B6C 0036EACC 4E 80 00 20 */ blr
.global cbForPrepareStreamAsync
cbForPrepareStreamAsync:
@ -700,14 +722,14 @@ cbForPrepareStreamAsync:
/* 80371B80 0036EAE0 28 0C 00 00 */ cmplwi r12, 0
/* 80371B84 0036EAE4 41 82 00 0C */ beq lbl_80371B90
/* 80371B88 0036EAE8 7D 88 03 A6 */ mtlr r12
/* 80371B8C 0036EAEC 4E 80 00 21 */ blrl
/* 80371B8C 0036EAEC 4E 80 00 21 */ blrl
lbl_80371B90:
/* 80371B90 0036EAF0 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80371B94 0036EAF4 38 21 00 08 */ addi r1, r1, 8
/* 80371B98 0036EAF8 7C 08 03 A6 */ mtlr r0
/* 80371B9C 0036EAFC 4E 80 00 20 */ blr
/* 80371B9C 0036EAFC 4E 80 00 20 */ blr
.global nullsub_62
nullsub_62:
/* 80371BA0 0036EB00 4E 80 00 20 */ blr
/* 80371BA0 0036EB00 4E 80 00 20 */ blr

View File

@ -71,4 +71,4 @@ lbl_80374D28:
/* 80374D30 00371C90 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80374D34 00371C94 38 21 00 18 */ addi r1, r1, 0x18
/* 80374D38 00371C98 7C 08 03 A6 */ mtlr r0
/* 80374D3C 00371C9C 4E 80 00 20 */ blr
/* 80374D3C 00371C9C 4E 80 00 20 */ blr

View File

@ -4,8 +4,11 @@
.global lbl_805A8A88
lbl_805A8A88:
.incbin "baserom.dol", 0x3F6428, 0x8
# ROM: 0x3F6428
.4byte 0x00000001
.4byte 0
.section .bss
lbl_80540A80:
@ -66,7 +69,7 @@ lbl_805A97A8:
.global lbl_805A97AC
lbl_805A97AC:
.skip 0x4
.section .text, "ax"
.global __DVDInitWA
@ -86,7 +89,7 @@ __DVDInitWA:
/* 803704D4 0036D434 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803704D8 0036D438 38 21 00 08 */ addi r1, r1, 8
/* 803704DC 0036D43C 7C 08 03 A6 */ mtlr r0
/* 803704E0 0036D440 4E 80 00 20 */ blr
/* 803704E0 0036D440 4E 80 00 20 */ blr
.global __DVDInterruptHandler
__DVDInterruptHandler:
@ -184,7 +187,7 @@ lbl_803705AC:
/* 8037063C 0036D59C 41 82 00 10 */ beq lbl_8037064C
/* 80370640 0036D5A0 7D 88 03 A6 */ mtlr r12
/* 80370644 0036D5A4 38 60 00 04 */ li r3, 4
/* 80370648 0036D5A8 4E 80 00 21 */ blrl
/* 80370648 0036D5A8 4E 80 00 21 */ blrl
lbl_8037064C:
/* 8037064C 0036D5AC 38 00 00 00 */ li r0, 0
/* 80370650 0036D5B0 90 0D AB B4 */ stw r0, lbl_805A9774@sda21(r13)
@ -279,7 +282,7 @@ lbl_80370760:
/* 80370788 0036D6E8 41 82 00 10 */ beq lbl_80370798
/* 8037078C 0036D6EC 7D 88 03 A6 */ mtlr r12
/* 80370790 0036D6F0 38 7D 00 00 */ addi r3, r29, 0
/* 80370794 0036D6F4 4E 80 00 21 */ blrl
/* 80370794 0036D6F4 4E 80 00 21 */ blrl
lbl_80370798:
/* 80370798 0036D6F8 38 00 00 00 */ li r0, 0
/* 8037079C 0036D6FC 90 0D AB C8 */ stw r0, lbl_805A9788@sda21(r13)
@ -293,7 +296,7 @@ lbl_803707B0:
/* 803707B4 0036D714 80 01 02 F4 */ lwz r0, 0x2f4(r1)
/* 803707B8 0036D718 38 21 02 F0 */ addi r1, r1, 0x2f0
/* 803707BC 0036D71C 7C 08 03 A6 */ mtlr r0
/* 803707C0 0036D720 4E 80 00 20 */ blr
/* 803707C0 0036D720 4E 80 00 20 */ blr
.global AlarmHandler
AlarmHandler:
@ -331,7 +334,7 @@ lbl_80370838:
/* 80370838 0036D798 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8037083C 0036D79C 38 21 00 08 */ addi r1, r1, 8
/* 80370840 0036D7A0 7C 08 03 A6 */ mtlr r0
/* 80370844 0036D7A4 4E 80 00 20 */ blr
/* 80370844 0036D7A4 4E 80 00 20 */ blr
.global AlarmHandlerForTimeout
AlarmHandlerForTimeout:
@ -353,7 +356,7 @@ AlarmHandlerForTimeout:
/* 80370884 0036D7E4 41 82 00 10 */ beq lbl_80370894
/* 80370888 0036D7E8 7D 88 03 A6 */ mtlr r12
/* 8037088C 0036D7EC 38 60 00 10 */ li r3, 0x10
/* 80370890 0036D7F0 4E 80 00 21 */ blrl
/* 80370890 0036D7F0 4E 80 00 21 */ blrl
lbl_80370894:
/* 80370894 0036D7F4 38 61 00 10 */ addi r3, r1, 0x10
/* 80370898 0036D7F8 48 00 ED 7D */ bl OSClearContext
@ -363,7 +366,7 @@ lbl_80370894:
/* 803708A8 0036D808 83 E1 02 DC */ lwz r31, 0x2dc(r1)
/* 803708AC 0036D80C 38 21 02 E0 */ addi r1, r1, 0x2e0
/* 803708B0 0036D810 7C 08 03 A6 */ mtlr r0
/* 803708B4 0036D814 4E 80 00 20 */ blr
/* 803708B4 0036D814 4E 80 00 20 */ blr
.global Read
Read:
@ -436,7 +439,7 @@ lbl_803709A8:
/* 803709B8 0036D918 83 81 00 18 */ lwz r28, 0x18(r1)
/* 803709BC 0036D91C 38 21 00 28 */ addi r1, r1, 0x28
/* 803709C0 0036D920 7C 08 03 A6 */ mtlr r0
/* 803709C4 0036D924 4E 80 00 20 */ blr
/* 803709C4 0036D924 4E 80 00 20 */ blr
.global SeekTwiceBeforeRead
SeekTwiceBeforeRead:
@ -473,7 +476,7 @@ lbl_803709F4:
/* 80370A38 0036D998 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80370A3C 0036D99C 38 21 00 08 */ addi r1, r1, 8
/* 80370A40 0036D9A0 7C 08 03 A6 */ mtlr r0
/* 80370A44 0036D9A4 4E 80 00 20 */ blr
/* 80370A44 0036D9A4 4E 80 00 20 */ blr
.global DVDLowRead
DVDLowRead:
@ -656,7 +659,7 @@ lbl_80370CC8:
/* 80370CD0 0036DC30 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80370CD4 0036DC34 38 21 00 40 */ addi r1, r1, 0x40
/* 80370CD8 0036DC38 7C 08 03 A6 */ mtlr r0
/* 80370CDC 0036DC3C 4E 80 00 20 */ blr
/* 80370CDC 0036DC3C 4E 80 00 20 */ blr
.global DVDLowSeek
DVDLowSeek:
@ -696,7 +699,7 @@ DVDLowSeek:
/* 80370D64 0036DCC4 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80370D68 0036DCC8 38 21 00 18 */ addi r1, r1, 0x18
/* 80370D6C 0036DCCC 7C 08 03 A6 */ mtlr r0
/* 80370D70 0036DCD0 4E 80 00 20 */ blr
/* 80370D70 0036DCD0 4E 80 00 20 */ blr
.global DVDLowWaitCoverClose
DVDLowWaitCoverClose:
@ -710,7 +713,7 @@ DVDLowWaitCoverClose:
/* 80370D90 0036DCF0 38 00 00 02 */ li r0, 2
/* 80370D94 0036DCF4 38 60 00 01 */ li r3, 1
/* 80370D98 0036DCF8 90 04 00 04 */ stw r0, 4(r4)
/* 80370D9C 0036DCFC 4E 80 00 20 */ blr
/* 80370D9C 0036DCFC 4E 80 00 20 */ blr
.global DVDLowReadDiskID
DVDLowReadDiskID:
@ -754,7 +757,7 @@ DVDLowReadDiskID:
/* 80370E34 0036DD94 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80370E38 0036DD98 38 21 00 18 */ addi r1, r1, 0x18
/* 80370E3C 0036DD9C 7C 08 03 A6 */ mtlr r0
/* 80370E40 0036DDA0 4E 80 00 20 */ blr
/* 80370E40 0036DDA0 4E 80 00 20 */ blr
.global DVDLowStopMotor
DVDLowStopMotor:
@ -792,7 +795,7 @@ DVDLowStopMotor:
/* 80370EC0 0036DE20 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80370EC4 0036DE24 38 21 00 18 */ addi r1, r1, 0x18
/* 80370EC8 0036DE28 7C 08 03 A6 */ mtlr r0
/* 80370ECC 0036DE2C 4E 80 00 20 */ blr
/* 80370ECC 0036DE2C 4E 80 00 20 */ blr
.global DVDLowRequestError
DVDLowRequestError:
@ -830,7 +833,7 @@ DVDLowRequestError:
/* 80370F4C 0036DEAC 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80370F50 0036DEB0 38 21 00 18 */ addi r1, r1, 0x18
/* 80370F54 0036DEB4 7C 08 03 A6 */ mtlr r0
/* 80370F58 0036DEB8 4E 80 00 20 */ blr
/* 80370F58 0036DEB8 4E 80 00 20 */ blr
.global DVDLowInquiry
DVDLowInquiry:
@ -872,7 +875,7 @@ DVDLowInquiry:
/* 80370FE8 0036DF48 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80370FEC 0036DF4C 38 21 00 18 */ addi r1, r1, 0x18
/* 80370FF0 0036DF50 7C 08 03 A6 */ mtlr r0
/* 80370FF4 0036DF54 4E 80 00 20 */ blr
/* 80370FF4 0036DF54 4E 80 00 20 */ blr
.global DVDLowAudioStream
DVDLowAudioStream:
@ -913,7 +916,7 @@ DVDLowAudioStream:
/* 80371080 0036DFE0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80371084 0036DFE4 38 21 00 20 */ addi r1, r1, 0x20
/* 80371088 0036DFE8 7C 08 03 A6 */ mtlr r0
/* 8037108C 0036DFEC 4E 80 00 20 */ blr
/* 8037108C 0036DFEC 4E 80 00 20 */ blr
.global DVDLowRequestAudioStatus
DVDLowRequestAudioStatus:
@ -951,7 +954,7 @@ DVDLowRequestAudioStatus:
/* 8037110C 0036E06C 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80371110 0036E070 38 21 00 18 */ addi r1, r1, 0x18
/* 80371114 0036E074 7C 08 03 A6 */ mtlr r0
/* 80371118 0036E078 4E 80 00 20 */ blr
/* 80371118 0036E078 4E 80 00 20 */ blr
.global DVDLowAudioBufferConfig
DVDLowAudioBufferConfig:
@ -994,7 +997,7 @@ lbl_80371148:
/* 803711A8 0036E108 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 803711AC 0036E10C 38 21 00 20 */ addi r1, r1, 0x20
/* 803711B0 0036E110 7C 08 03 A6 */ mtlr r0
/* 803711B4 0036E114 4E 80 00 20 */ blr
/* 803711B4 0036E114 4E 80 00 20 */ blr
.global DVDLowReset
DVDLowReset:
@ -1045,7 +1048,7 @@ lbl_8037121C:
/* 80371264 0036E1C4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80371268 0036E1C8 38 21 00 20 */ addi r1, r1, 0x20
/* 8037126C 0036E1CC 7C 08 03 A6 */ mtlr r0
/* 80371270 0036E1D0 4E 80 00 20 */ blr
/* 80371270 0036E1D0 4E 80 00 20 */ blr
.global DVDLowBreak
DVDLowBreak:
@ -1053,7 +1056,7 @@ DVDLowBreak:
/* 80371278 0036E1D8 90 0D AB A8 */ stw r0, lbl_805A9768@sda21(r13)
/* 8037127C 0036E1DC 38 60 00 01 */ li r3, 1
/* 80371280 0036E1E0 90 0D AB C8 */ stw r0, lbl_805A9788@sda21(r13)
/* 80371284 0036E1E4 4E 80 00 20 */ blr
/* 80371284 0036E1E4 4E 80 00 20 */ blr
.global DVDLowClearCallback
DVDLowClearCallback:
@ -1062,7 +1065,7 @@ DVDLowClearCallback:
/* 80371290 0036E1F0 90 03 60 04 */ stw r0, 0xCC006004@l(r3)
/* 80371294 0036E1F4 80 6D AB B0 */ lwz r3, lbl_805A9770@sda21(r13)
/* 80371298 0036E1F8 90 0D AB B0 */ stw r0, lbl_805A9770@sda21(r13)
/* 8037129C 0036E1FC 4E 80 00 20 */ blr
/* 8037129C 0036E1FC 4E 80 00 20 */ blr
.global __DVDLowSetWAType
__DVDLowSetWAType:
@ -1082,4 +1085,4 @@ __DVDLowSetWAType:
/* 803712D4 0036E234 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803712D8 0036E238 38 21 00 18 */ addi r1, r1, 0x18
/* 803712DC 0036E23C 7C 08 03 A6 */ mtlr r0
/* 803712E0 0036E240 4E 80 00 20 */ blr
/* 803712E0 0036E240 4E 80 00 20 */ blr

View File

@ -4,7 +4,7 @@
.global lbl_80540BF8
lbl_80540BF8:
.skip 0x20
.section .text, "ax"
.global __DVDClearWaitingQueue
@ -22,7 +22,7 @@ __DVDClearWaitingQueue:
/* 803748E0 00371840 90 84 00 04 */ stw r4, 4(r4)
/* 803748E4 00371844 90 63 00 00 */ stw r3, 0(r3)
/* 803748E8 00371848 90 63 00 04 */ stw r3, 4(r3)
/* 803748EC 0037184C 4E 80 00 20 */ blr
/* 803748EC 0037184C 4E 80 00 20 */ blr
.global __DVDPushWaitingQueue
__DVDPushWaitingQueue:
@ -51,7 +51,7 @@ __DVDPushWaitingQueue:
/* 80374948 003718A8 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8037494C 003718AC 38 21 00 18 */ addi r1, r1, 0x18
/* 80374950 003718B0 7C 08 03 A6 */ mtlr r0
/* 80374954 003718B4 4E 80 00 20 */ blr
/* 80374954 003718B4 4E 80 00 20 */ blr
.global __DVDPopWaitingQueue
__DVDPopWaitingQueue:
@ -97,7 +97,7 @@ lbl_803749E4:
/* 803749E8 00371948 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 803749EC 0037194C 38 21 00 10 */ addi r1, r1, 0x10
/* 803749F0 00371950 7C 08 03 A6 */ mtlr r0
/* 803749F4 00371954 4E 80 00 20 */ blr
/* 803749F4 00371954 4E 80 00 20 */ blr
.global __DVDCheckWaitingQueue
__DVDCheckWaitingQueue:
@ -125,7 +125,7 @@ lbl_80374A40:
/* 80374A40 003719A0 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80374A44 003719A4 38 21 00 08 */ addi r1, r1, 8
/* 80374A48 003719A8 7C 08 03 A6 */ mtlr r0
/* 80374A4C 003719AC 4E 80 00 20 */ blr
/* 80374A4C 003719AC 4E 80 00 20 */ blr
.global __DVDDequeueWaitingQueue
__DVDDequeueWaitingQueue:
@ -155,4 +155,4 @@ lbl_80374A9C:
/* 80374AA0 00371A00 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80374AA4 00371A04 38 21 00 18 */ addi r1, r1, 0x18
/* 80374AA8 00371A08 7C 08 03 A6 */ mtlr r0
/* 80374AAC 00371A0C 4E 80 00 20 */ blr
/* 80374AAC 00371A0C 4E 80 00 20 */ blr

View File

@ -12,24 +12,40 @@ lbl_805A982C:
.skip 0x4
lbl_805A9830:
.skip 0x8
.section .sdata
.global lbl_805A8AB8
lbl_805A8AB8:
.incbin "baserom.dol", 0x3F6458, 0x4
# ROM: 0x3F6458
.4byte 0x0A000000
.global lbl_805A8ABC
lbl_805A8ABC:
.incbin "baserom.dol", 0x3F645C, 0x4
# ROM: 0x3F645C
.4byte 0x4F464600
.global lbl_805A8AC0
lbl_805A8AC0:
.incbin "baserom.dol", 0x3F6460, 0x8
# ROM: 0x3F6460
.4byte 0x4F4E0000
.4byte 0
.section .data
.balign 8
lbl_803F0578:
.incbin "baserom.dol", 0x3ED578, 0xB4
# ROM: 0x3ED578
.asciz " Game Name ... %c%c%c%c\n"
.balign 4
.asciz " Company ..... %c%c\n"
.balign 4
.asciz " Disk # ...... %d\n"
.asciz " Game ver .... %d\n"
.asciz " Streaming ... %s\n"
.asciz "<< Dolphin SDK - GX\trelease build: Sep 5 2002 05:33:28 (0x2301) >>"
.section .text, "ax"
cb:
@ -90,7 +106,7 @@ lbl_80374F30:
/* 80374F34 00371E94 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80374F38 00371E98 38 21 00 18 */ addi r1, r1, 0x18
/* 80374F3C 00371E9C 7C 08 03 A6 */ mtlr r0
/* 80374F40 00371EA0 4E 80 00 20 */ blr
/* 80374F40 00371EA0 4E 80 00 20 */ blr
.global __fstLoad
__fstLoad:
@ -186,4 +202,4 @@ lbl_8037506C:
/* 8037509C 00371FFC 83 A1 00 54 */ lwz r29, 0x54(r1)
/* 803750A0 00372000 38 21 00 60 */ addi r1, r1, 0x60
/* 803750A4 00372004 7C 08 03 A6 */ mtlr r0
/* 803750A8 00372008 4E 80 00 20 */ blr
/* 803750A8 00372008 4E 80 00 20 */ blr

View File

@ -4,13 +4,16 @@
.global lbl_80569E98
lbl_80569E98:
.skip 0xC8
.section .sdata, "wa"
.global lbl_805A8C10
lbl_805A8C10:
.incbin "baserom.dol", 0x3F65B0, 0x8
# ROM: 0x3F65B0
.4byte 0x803F7050
.4byte 0
.section .text, "ax"
.global SetExiInterruptMask
@ -87,7 +90,7 @@ lbl_803C00F4:
/* 803C00F8 003BD058 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803C00FC 003BD05C 38 21 00 18 */ addi r1, r1, 0x18
/* 803C0100 003BD060 7C 08 03 A6 */ mtlr r0
/* 803C0104 003BD064 4E 80 00 20 */ blr
/* 803C0104 003BD064 4E 80 00 20 */ blr
.global EXIImm
EXIImm:
@ -253,7 +256,7 @@ lbl_803C0350:
/* 803C0354 003BD2B4 BB 21 00 24 */ lmw r25, 0x24(r1)
/* 803C0358 003BD2B8 38 21 00 40 */ addi r1, r1, 0x40
/* 803C035C 003BD2BC 7C 08 03 A6 */ mtlr r0
/* 803C0360 003BD2C0 4E 80 00 20 */ blr
/* 803C0360 003BD2C0 4E 80 00 20 */ blr
.global EXIImmEx
EXIImmEx:
@ -303,7 +306,7 @@ lbl_803C03F0:
/* 803C03F4 003BD354 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 803C03F8 003BD358 38 21 00 30 */ addi r1, r1, 0x30
/* 803C03FC 003BD35C 7C 08 03 A6 */ mtlr r0
/* 803C0400 003BD360 4E 80 00 20 */ blr
/* 803C0400 003BD360 4E 80 00 20 */ blr
.global EXIDma
EXIDma:
@ -369,7 +372,7 @@ lbl_803C04DC:
/* 803C04E0 003BD440 BB 21 00 24 */ lmw r25, 0x24(r1)
/* 803C04E4 003BD444 38 21 00 40 */ addi r1, r1, 0x40
/* 803C04E8 003BD448 7C 08 03 A6 */ mtlr r0
/* 803C04EC 003BD44C 4E 80 00 20 */ blr
/* 803C04EC 003BD44C 4E 80 00 20 */ blr
.global sub_803c04f0
sub_803c04f0:
@ -525,7 +528,7 @@ lbl_803C0710:
/* 803C0718 003BD678 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 803C071C 003BD67C 38 21 00 30 */ addi r1, r1, 0x30
/* 803C0720 003BD680 7C 08 03 A6 */ mtlr r0
/* 803C0724 003BD684 4E 80 00 20 */ blr
/* 803C0724 003BD684 4E 80 00 20 */ blr
.global EXIClearInterrupts
EXIClearInterrupts:
@ -549,7 +552,7 @@ lbl_803C075C:
/* 803C0764 003BD6C4 60 00 08 00 */ ori r0, r0, 0x800
lbl_803C0768:
/* 803C0768 003BD6C8 90 07 00 00 */ stw r0, 0(r7)
/* 803C076C 003BD6CC 4E 80 00 20 */ blr
/* 803C076C 003BD6CC 4E 80 00 20 */ blr
.global EXISetExiCallback
EXISetExiCallback:
@ -585,7 +588,7 @@ lbl_803C07CC:
/* 803C07DC 003BD73C BB 41 00 10 */ lmw r26, 0x10(r1)
/* 803C07E0 003BD740 38 21 00 28 */ addi r1, r1, 0x28
/* 803C07E4 003BD744 7C 08 03 A6 */ mtlr r0
/* 803C07E8 003BD748 4E 80 00 20 */ blr
/* 803C07E8 003BD748 4E 80 00 20 */ blr
.global __EXIProbe
__EXIProbe:
@ -689,7 +692,7 @@ lbl_803C094C:
/* 803C0950 003BD8B0 BB 61 00 14 */ lmw r27, 0x14(r1)
/* 803C0954 003BD8B4 38 21 00 28 */ addi r1, r1, 0x28
/* 803C0958 003BD8B8 7C 08 03 A6 */ mtlr r0
/* 803C095C 003BD8BC 4E 80 00 20 */ blr
/* 803C095C 003BD8BC 4E 80 00 20 */ blr
.global EXIProbe
EXIProbe:
@ -726,7 +729,7 @@ lbl_803C09C8:
/* 803C09D0 003BD930 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803C09D4 003BD934 38 21 00 18 */ addi r1, r1, 0x18
/* 803C09D8 003BD938 7C 08 03 A6 */ mtlr r0
/* 803C09DC 003BD93C 4E 80 00 20 */ blr
/* 803C09DC 003BD93C 4E 80 00 20 */ blr
.global EXIProbeEx
EXIProbeEx:
@ -779,7 +782,7 @@ lbl_803C0A7C:
/* 803C0A84 003BD9E4 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803C0A88 003BD9E8 38 21 00 18 */ addi r1, r1, 0x18
/* 803C0A8C 003BD9EC 7C 08 03 A6 */ mtlr r0
/* 803C0A90 003BD9F0 4E 80 00 20 */ blr
/* 803C0A90 003BD9F0 4E 80 00 20 */ blr
.global EXIAttach
EXIAttach:
@ -855,7 +858,7 @@ lbl_803C0B8C:
/* 803C0B90 003BDAF0 BB 61 00 2C */ lmw r27, 0x2c(r1)
/* 803C0B94 003BDAF4 38 21 00 40 */ addi r1, r1, 0x40
/* 803C0B98 003BDAF8 7C 08 03 A6 */ mtlr r0
/* 803C0B9C 003BDAFC 4E 80 00 20 */ blr
/* 803C0B9C 003BDAFC 4E 80 00 20 */ blr
.global EXIDetach
EXIDetach:
@ -908,7 +911,7 @@ lbl_803C0C40:
/* 803C0C4C 003BDBAC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803C0C50 003BDBB0 38 21 00 20 */ addi r1, r1, 0x20
/* 803C0C54 003BDBB4 7C 08 03 A6 */ mtlr r0
/* 803C0C58 003BDBB8 4E 80 00 20 */ blr
/* 803C0C58 003BDBB8 4E 80 00 20 */ blr
.global EXISelect
EXISelect:
@ -993,7 +996,7 @@ lbl_803C0D74:
/* 803C0D78 003BDCD8 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 803C0D7C 003BDCDC 38 21 00 30 */ addi r1, r1, 0x30
/* 803C0D80 003BDCE0 7C 08 03 A6 */ mtlr r0
/* 803C0D84 003BDCE4 4E 80 00 20 */ blr
/* 803C0D84 003BDCE4 4E 80 00 20 */ blr
.global EXIDeselect
EXIDeselect:
@ -1071,7 +1074,7 @@ lbl_803C0E78:
/* 803C0E88 003BDDE8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 803C0E8C 003BDDEC 38 21 00 20 */ addi r1, r1, 0x20
/* 803C0E90 003BDDF0 7C 08 03 A6 */ mtlr r0
/* 803C0E94 003BDDF4 4E 80 00 20 */ blr
/* 803C0E94 003BDDF4 4E 80 00 20 */ blr
.global EXIIntrruptHandler
EXIIntrruptHandler:
@ -1113,7 +1116,7 @@ EXIIntrruptHandler:
/* 803C0F24 003BDE84 38 9F 00 00 */ addi r4, r31, 0
/* 803C0F28 003BDE88 39 9D 00 00 */ addi r12, r29, 0
/* 803C0F2C 003BDE8C 7D 88 03 A6 */ mtlr r12
/* 803C0F30 003BDE90 4E 80 00 21 */ blrl
/* 803C0F30 003BDE90 4E 80 00 21 */ blrl
/* 803C0F34 003BDE94 38 61 00 18 */ addi r3, r1, 0x18
/* 803C0F38 003BDE98 4B FB E6 DD */ bl OSClearContext
/* 803C0F3C 003BDE9C 7F E3 FB 78 */ mr r3, r31
@ -1125,7 +1128,7 @@ lbl_803C0F44:
/* 803C0F50 003BDEB0 83 A1 02 EC */ lwz r29, 0x2ec(r1)
/* 803C0F54 003BDEB4 38 21 02 F8 */ addi r1, r1, 0x2f8
/* 803C0F58 003BDEB8 7C 08 03 A6 */ mtlr r0
/* 803C0F5C 003BDEBC 4E 80 00 20 */ blr
/* 803C0F5C 003BDEBC 4E 80 00 20 */ blr
.global TCIntrruptHandler
TCIntrruptHandler:
@ -1255,7 +1258,7 @@ lbl_803C1124:
/* 803C1138 003BE098 38 9C 00 00 */ addi r4, r28, 0
/* 803C113C 003BE09C 39 9D 00 00 */ addi r12, r29, 0
/* 803C1140 003BE0A0 7D 88 03 A6 */ mtlr r12
/* 803C1144 003BE0A4 4E 80 00 21 */ blrl
/* 803C1144 003BE0A4 4E 80 00 21 */ blrl
/* 803C1148 003BE0A8 38 61 00 20 */ addi r3, r1, 0x20
/* 803C114C 003BE0AC 4B FB E4 C9 */ bl OSClearContext
/* 803C1150 003BE0B0 7F 83 E3 78 */ mr r3, r28
@ -1268,7 +1271,7 @@ lbl_803C1158:
/* 803C1168 003BE0C8 83 81 02 E8 */ lwz r28, 0x2e8(r1)
/* 803C116C 003BE0CC 38 21 02 F8 */ addi r1, r1, 0x2f8
/* 803C1170 003BE0D0 7C 08 03 A6 */ mtlr r0
/* 803C1174 003BE0D4 4E 80 00 20 */ blr
/* 803C1174 003BE0D4 4E 80 00 20 */ blr
.global EXTIntrruptHandler
EXTIntrruptHandler:
@ -1311,7 +1314,7 @@ EXTIntrruptHandler:
/* 803C1208 003BE168 38 9F 00 00 */ addi r4, r31, 0
/* 803C120C 003BE16C 39 9C 00 00 */ addi r12, r28, 0
/* 803C1210 003BE170 7D 88 03 A6 */ mtlr r12
/* 803C1214 003BE174 4E 80 00 21 */ blrl
/* 803C1214 003BE174 4E 80 00 21 */ blrl
/* 803C1218 003BE178 38 61 00 10 */ addi r3, r1, 0x10
/* 803C121C 003BE17C 4B FB E3 F9 */ bl OSClearContext
/* 803C1220 003BE180 7F E3 FB 78 */ mr r3, r31
@ -1324,7 +1327,7 @@ lbl_803C1228:
/* 803C1238 003BE198 83 81 02 D8 */ lwz r28, 0x2d8(r1)
/* 803C123C 003BE19C 38 21 02 E8 */ addi r1, r1, 0x2e8
/* 803C1240 003BE1A0 7C 08 03 A6 */ mtlr r0
/* 803C1244 003BE1A4 4E 80 00 20 */ blr
/* 803C1244 003BE1A4 4E 80 00 20 */ blr
.global EXIInit
EXIInit:
@ -1399,7 +1402,7 @@ lbl_803C1344:
/* 803C1354 003BE2B4 83 81 00 08 */ lwz r28, 8(r1)
/* 803C1358 003BE2B8 38 21 00 18 */ addi r1, r1, 0x18
/* 803C135C 003BE2BC 7C 08 03 A6 */ mtlr r0
/* 803C1360 003BE2C0 4E 80 00 20 */ blr
/* 803C1360 003BE2C0 4E 80 00 20 */ blr
.global EXILock
EXILock:
@ -1469,7 +1472,7 @@ lbl_803C1444:
/* 803C1448 003BE3A8 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 803C144C 003BE3AC 38 21 00 30 */ addi r1, r1, 0x30
/* 803C1450 003BE3B0 7C 08 03 A6 */ mtlr r0
/* 803C1454 003BE3B4 4E 80 00 20 */ blr
/* 803C1454 003BE3B4 4E 80 00 20 */ blr
.global EXIUnlock
EXIUnlock:
@ -1518,7 +1521,7 @@ lbl_803C14F4:
/* 803C14F8 003BE458 38 80 00 00 */ li r4, 0
/* 803C14FC 003BE45C 39 9D 00 00 */ addi r12, r29, 0
/* 803C1500 003BE460 7D 88 03 A6 */ mtlr r12
/* 803C1504 003BE464 4E 80 00 21 */ blrl
/* 803C1504 003BE464 4E 80 00 21 */ blrl
lbl_803C1508:
/* 803C1508 003BE468 7F C3 F3 78 */ mr r3, r30
/* 803C150C 003BE46C 4B FC 01 7D */ bl OSRestoreInterrupts
@ -1531,7 +1534,7 @@ lbl_803C1514:
/* 803C1524 003BE484 83 81 00 10 */ lwz r28, 0x10(r1)
/* 803C1528 003BE488 38 21 00 20 */ addi r1, r1, 0x20
/* 803C152C 003BE48C 7C 08 03 A6 */ mtlr r0
/* 803C1530 003BE490 4E 80 00 20 */ blr
/* 803C1530 003BE490 4E 80 00 20 */ blr
.global EXIGetState
EXIGetState:
@ -1540,7 +1543,7 @@ EXIGetState:
/* 803C153C 003BE49C 38 03 9E 98 */ addi r0, r3, lbl_80569E98@l
/* 803C1540 003BE4A0 7C 60 22 14 */ add r3, r0, r4
/* 803C1544 003BE4A4 80 63 00 0C */ lwz r3, 0xc(r3)
/* 803C1548 003BE4A8 4E 80 00 20 */ blr
/* 803C1548 003BE4A8 4E 80 00 20 */ blr
.global UnlockedHandler
UnlockedHandler:
@ -1553,7 +1556,7 @@ UnlockedHandler:
/* 803C1564 003BE4C4 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 803C1568 003BE4C8 38 21 00 18 */ addi r1, r1, 0x18
/* 803C156C 003BE4CC 7C 08 03 A6 */ mtlr r0
/* 803C1570 003BE4D0 4E 80 00 20 */ blr
/* 803C1570 003BE4D0 4E 80 00 20 */ blr
.global EXIGetID
EXIGetID:
@ -1730,7 +1733,7 @@ lbl_803C17E4:
/* 803C17E8 003BE748 38 80 00 00 */ li r4, 0
/* 803C17EC 003BE74C 39 99 00 00 */ addi r12, r25, 0
/* 803C17F0 003BE750 7D 88 03 A6 */ mtlr r12
/* 803C17F4 003BE754 4E 80 00 21 */ blrl
/* 803C17F4 003BE754 4E 80 00 21 */ blrl
lbl_803C17F8:
/* 803C17F8 003BE758 7F 03 C3 78 */ mr r3, r24
/* 803C17FC 003BE75C 4B FB FE 8D */ bl OSRestoreInterrupts
@ -1802,4 +1805,4 @@ lbl_803C18DC:
/* 803C18E0 003BE840 BB 01 00 20 */ lmw r24, 0x20(r1)
/* 803C18E4 003BE844 38 21 00 40 */ addi r1, r1, 0x40
/* 803C18E8 003BE848 7C 08 03 A6 */ mtlr r0
/* 803C18EC 003BE84C 4E 80 00 20 */ blr
/* 803C18EC 003BE84C 4E 80 00 20 */ blr

View File

@ -34,7 +34,7 @@ lbl_803C1950:
/* 803C1950 003BE8B0 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803C1954 003BE8B4 38 21 00 08 */ addi r1, r1, 8
/* 803C1958 003BE8B8 7C 08 03 A6 */ mtlr r0
/* 803C195C 003BE8BC 4E 80 00 20 */ blr
/* 803C195C 003BE8BC 4E 80 00 20 */ blr
.global WriteUARTN
WriteUARTN:
@ -185,5 +185,5 @@ lbl_803C1B4C:
/* 803C1B50 003BEAB0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 803C1B54 003BEAB4 38 21 00 30 */ addi r1, r1, 0x30
/* 803C1B58 003BEAB8 7C 08 03 A6 */ mtlr r0
/* 803C1B5C 003BEABC 4E 80 00 20 */ blr
/* 803C1B5C 003BEABC 4E 80 00 20 */ blr

View File

@ -3,14 +3,21 @@
.section .sdata
.global lbl_805A8AD0
lbl_805A8AD0:
.incbin "baserom.dol", 0x3F6470, 0x4
# ROM: 0x3F6470
.4byte 0x00040102
.global lbl_805A8AD4
lbl_805A8AD4:
.incbin "baserom.dol", 0x3F6474, 0x4
# ROM: 0x3F6474
.4byte 0x00080102
.global lbl_805A8AD8
lbl_805A8AD8:
.incbin "baserom.dol", 0x3F6478, 0x8
# ROM: 0x3F6478
.4byte 0x000C0102
.4byte 0
.section .text, "ax"
.global __GXXfVtxSpecs
@ -123,7 +130,7 @@ lbl_80376EDC:
/* 80376F08 00373E68 90 05 80 00 */ stw r0, 0xCC008000@l(r5)
/* 80376F0C 00373E6C 38 00 00 01 */ li r0, 1
/* 80376F10 00373E70 B0 03 00 02 */ sth r0, 2(r3)
/* 80376F14 00373E74 4E 80 00 20 */ blr
/* 80376F14 00373E74 4E 80 00 20 */ blr
.global GXSetVtxDesc
GXSetVtxDesc:
@ -134,7 +141,7 @@ GXSetVtxDesc:
/* 80376F28 00373E88 54 60 10 3A */ slwi r0, r3, 2
/* 80376F2C 00373E8C 7C 05 00 2E */ lwzx r0, r5, r0
/* 80376F30 00373E90 7C 09 03 A6 */ mtctr r0
/* 80376F34 00373E94 4E 80 04 20 */ bctr
/* 80376F34 00373E94 4E 80 04 20 */ bctr
/* 80376F38 00373E98 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 80376F3C 00373E9C 84 03 00 14 */ lwzu r0, 0x14(r3)
/* 80376F40 00373EA0 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e
@ -344,7 +351,7 @@ lbl_80377254:
/* 80377258 003741B8 80 03 04 F4 */ lwz r0, 0x4f4(r3)
/* 8037725C 003741BC 60 00 00 08 */ ori r0, r0, 8
/* 80377260 003741C0 90 03 04 F4 */ stw r0, 0x4f4(r3)
/* 80377264 003741C4 4E 80 00 20 */ blr
/* 80377264 003741C4 4E 80 00 20 */ blr
.global GXSetVtxDescv
GXSetVtxDescv:
@ -359,7 +366,7 @@ lbl_80377274:
/* 80377284 003741E4 54 A5 10 3A */ slwi r5, r5, 2
/* 80377288 003741E8 7C A4 28 2E */ lwzx r5, r4, r5
/* 8037728C 003741EC 7C A9 03 A6 */ mtctr r5
/* 80377290 003741F0 4E 80 04 20 */ bctr
/* 80377290 003741F0 4E 80 04 20 */ bctr
/* 80377294 003741F4 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
/* 80377298 003741F8 38 C5 00 14 */ addi r6, r5, 0x14
/* 8037729C 003741FC 80 A5 00 14 */ lwz r5, 0x14(r5)
@ -576,7 +583,7 @@ lbl_803775C8:
/* 803775CC 0037452C 80 03 04 F4 */ lwz r0, 0x4f4(r3)
/* 803775D0 00374530 60 00 00 08 */ ori r0, r0, 8
/* 803775D4 00374534 90 03 04 F4 */ stw r0, 0x4f4(r3)
/* 803775D8 00374538 4E 80 00 20 */ blr
/* 803775D8 00374538 4E 80 00 20 */ blr
.global __GXSetVCD
__GXSetVCD:
@ -600,14 +607,14 @@ __GXSetVCD:
/* 80377620 00374580 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80377624 00374584 38 21 00 08 */ addi r1, r1, 8
/* 80377628 00374588 7C 08 03 A6 */ mtlr r0
/* 8037762C 0037458C 4E 80 00 20 */ blr
/* 8037762C 0037458C 4E 80 00 20 */ blr
.global __GXCalculateVLim
__GXCalculateVLim:
/* 80377630 00374590 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 80377634 00374594 A0 03 00 04 */ lhz r0, 4(r3)
/* 80377638 00374598 28 00 00 00 */ cmplwi r0, 0
/* 8037763C 0037459C 4D 82 00 20 */ beqlr
/* 8037763C 0037459C 4D 82 00 20 */ beqlr
/* 80377640 003745A0 81 23 00 14 */ lwz r9, 0x14(r3)
/* 80377644 003745A4 38 AD 9F 18 */ addi r5, r13, lbl_805A8AD8@sda21
/* 80377648 003745A8 81 03 00 1C */ lwz r8, 0x1c(r3)
@ -678,7 +685,7 @@ lbl_803776B8:
/* 80377744 003746A4 7C 00 2A 14 */ add r0, r0, r5
/* 80377748 003746A8 7C 00 22 14 */ add r0, r0, r4
/* 8037774C 003746AC B0 03 00 06 */ sth r0, 6(r3)
/* 80377750 003746B0 4E 80 00 20 */ blr
/* 80377750 003746B0 4E 80 00 20 */ blr
.global GXClearVtxDesc
GXClearVtxDesc:
@ -695,7 +702,7 @@ GXClearVtxDesc:
/* 8037777C 003746DC 80 03 04 F4 */ lwz r0, 0x4f4(r3)
/* 80377780 003746E0 60 00 00 08 */ ori r0, r0, 8
/* 80377784 003746E4 90 03 04 F4 */ stw r0, 0x4f4(r3)
/* 80377788 003746E8 4E 80 00 20 */ blr
/* 80377788 003746E8 4E 80 00 20 */ blr
.global GXSetVtxAttrFmt
GXSetVtxAttrFmt:
@ -713,7 +720,7 @@ GXSetVtxAttrFmt:
/* 803777B8 00374718 54 00 10 3A */ slwi r0, r0, 2
/* 803777BC 0037471C 7C 0A 00 2E */ lwzx r0, r10, r0
/* 803777C0 00374720 7C 09 03 A6 */ mtctr r0
/* 803777C4 00374724 4E 80 04 20 */ bctr
/* 803777C4 00374724 4E 80 04 20 */ bctr
/* 803777C8 00374728 80 04 00 00 */ lwz r0, 0(r4)
/* 803777CC 0037472C 54 C6 08 3C */ slwi r6, r6, 1
/* 803777D0 00374730 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e
@ -914,7 +921,7 @@ lbl_80377AB4:
/* 80377AD4 00374A34 88 65 04 F2 */ lbz r3, 0x4f2(r5)
/* 80377AD8 00374A38 7C 60 03 78 */ or r0, r3, r0
/* 80377ADC 00374A3C 98 05 04 F2 */ stb r0, 0x4f2(r5)
/* 80377AE0 00374A40 4E 80 00 20 */ blr
/* 80377AE0 00374A40 4E 80 00 20 */ blr
.global GXSetVtxAttrFmtv
GXSetVtxAttrFmtv:
@ -938,7 +945,7 @@ lbl_80377B08:
/* 80377B24 00374A84 55 6B 10 3A */ slwi r11, r11, 2
/* 80377B28 00374A88 7D 65 58 2E */ lwzx r11, r5, r11
/* 80377B2C 00374A8C 7D 69 03 A6 */ mtctr r11
/* 80377B30 00374A90 4E 80 04 20 */ bctr
/* 80377B30 00374A90 4E 80 04 20 */ bctr
/* 80377B34 00374A94 81 88 00 00 */ lwz r12, 0(r8)
/* 80377B38 00374A98 54 CB 08 3C */ slwi r11, r6, 1
/* 80377B3C 00374A9C 54 E6 20 36 */ slwi r6, r7, 4
@ -1143,7 +1150,7 @@ lbl_80377E20:
/* 80377E4C 00374DAC 88 65 04 F2 */ lbz r3, 0x4f2(r5)
/* 80377E50 00374DB0 7C 60 03 78 */ or r0, r3, r0
/* 80377E54 00374DB4 98 05 04 F2 */ stb r0, 0x4f2(r5)
/* 80377E58 00374DB8 4E 80 00 20 */ blr
/* 80377E58 00374DB8 4E 80 00 20 */ blr
.global __GXSetVAT
__GXSetVAT:
@ -1188,7 +1195,7 @@ lbl_80377EDC:
/* 80377EE8 00374E48 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 80377EEC 00374E4C 38 00 00 00 */ li r0, 0
/* 80377EF0 00374E50 98 03 04 F2 */ stb r0, 0x4f2(r3)
/* 80377EF4 00374E54 4E 80 00 20 */ blr
/* 80377EF4 00374E54 4E 80 00 20 */ blr
.global GXSetArray
GXSetArray:
@ -1221,21 +1228,21 @@ lbl_80377F44:
/* 80377F58 00374EB8 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
/* 80377F5C 00374EBC 34 06 FF F4 */ addic. r0, r6, -12
/* 80377F60 00374EC0 90 83 80 00 */ stw r4, 0xCC008000@l(r3)
/* 80377F64 00374EC4 4D 80 00 20 */ bltlr
/* 80377F64 00374EC4 4D 80 00 20 */ bltlr
/* 80377F68 00374EC8 2C 00 00 04 */ cmpwi r0, 4
/* 80377F6C 00374ECC 4C 80 00 20 */ bgelr
/* 80377F6C 00374ECC 4C 80 00 20 */ bgelr
/* 80377F70 00374ED0 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 80377F74 00374ED4 54 00 10 3A */ slwi r0, r0, 2
/* 80377F78 00374ED8 7C 63 02 14 */ add r3, r3, r0
/* 80377F7C 00374EDC 90 83 00 98 */ stw r4, 0x98(r3)
/* 80377F80 00374EE0 4E 80 00 20 */ blr
/* 80377F80 00374EE0 4E 80 00 20 */ blr
.global GXInvalidateVtxCache
GXInvalidateVtxCache:
/* 80377F84 00374EE4 38 00 00 48 */ li r0, 0x48
/* 80377F88 00374EE8 3C 60 CC 01 */ lis r3, 0xCC008000@ha
/* 80377F8C 00374EEC 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
/* 80377F90 00374EF0 4E 80 00 20 */ blr
/* 80377F90 00374EF0 4E 80 00 20 */ blr
.global GXSetTexCoordGen2
GXSetTexCoordGen2:
@ -1252,7 +1259,7 @@ GXSetTexCoordGen2:
/* 80377FBC 00374F1C 54 A0 10 3A */ slwi r0, r5, 2
/* 80377FC0 00374F20 7C 09 00 2E */ lwzx r0, r9, r0
/* 80377FC4 00374F24 7C 09 03 A6 */ mtctr r0
/* 80377FC8 00374F28 4E 80 04 20 */ bctr
/* 80377FC8 00374F28 4E 80 04 20 */ bctr
/* 80377FCC 00374F2C 39 40 00 00 */ li r10, 0
/* 80377FD0 00374F30 39 80 00 01 */ li r12, 1
/* 80377FD4 00374F34 48 00 00 74 */ b lbl_80378048
@ -1360,7 +1367,7 @@ lbl_80378100:
/* 80378148 003750A8 54 60 10 3A */ slwi r0, r3, 2
/* 8037814C 003750AC 7C 04 00 2E */ lwzx r0, r4, r0
/* 80378150 003750B0 7C 09 03 A6 */ mtctr r0
/* 80378154 003750B4 4E 80 04 20 */ bctr
/* 80378154 003750B4 4E 80 04 20 */ bctr
/* 80378158 003750B8 80 82 CE 08 */ lwz r4, lbl_805AEB28@sda21(r2)
/* 8037815C 003750BC 54 C0 30 32 */ slwi r0, r6, 6
/* 80378160 003750C0 38 A4 00 80 */ addi r5, r4, 0x80
@ -1429,7 +1436,7 @@ lbl_8037824C:
/* 80378254 003751B4 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80378258 003751B8 38 21 00 08 */ addi r1, r1, 8
/* 8037825C 003751BC 7C 08 03 A6 */ mtlr r0
/* 80378260 003751C0 4E 80 00 20 */ blr
/* 80378260 003751C0 4E 80 00 20 */ blr
.global GXSetNumTexGens
GXSetNumTexGens:
@ -1448,5 +1455,5 @@ GXSetNumTexGens:
/* 80378294 003751F4 80 06 04 F4 */ lwz r0, 0x4f4(r6)
/* 80378298 003751F8 60 00 00 04 */ ori r0, r0, 4
/* 8037829C 003751FC 90 06 04 F4 */ stw r0, 0x4f4(r6)
/* 803782A0 00375200 4E 80 00 20 */ blr
/* 803782A0 00375200 4E 80 00 20 */ blr

View File

@ -3,8 +3,11 @@
.section .sdata2
.global lbl_805AEBB0
lbl_805AEBB0:
.incbin "baserom.dol", 0x3FB450, 0x8
# ROM: 0x3FB450
.4byte 0x44800000
.4byte 0
.section .text, "ax"
.global GXSetTevIndirect
@ -47,7 +50,7 @@ GXSetTevIndirect:
/* 8037AEB8 00377E18 38 00 00 00 */ li r0, 0
/* 8037AEBC 00377E1C B0 04 00 02 */ sth r0, 2(r4)
/* 8037AEC0 00377E20 38 21 00 28 */ addi r1, r1, 0x28
/* 8037AEC4 00377E24 4E 80 00 20 */ blr
/* 8037AEC4 00377E24 4E 80 00 20 */ blr
.global GXSetIndTexMtx
GXSetIndTexMtx:
@ -144,7 +147,7 @@ lbl_8037AF18:
/* 8037B018 00377F78 90 89 80 00 */ stw r4, 0xCC008000@l(r9)
/* 8037B01C 00377F7C B0 03 00 02 */ sth r0, 2(r3)
/* 8037B020 00377F80 38 21 00 78 */ addi r1, r1, 0x78
/* 8037B024 00377F84 4E 80 00 20 */ blr
/* 8037B024 00377F84 4E 80 00 20 */ blr
.global GXSetIndTexCoordScale
GXSetIndTexCoordScale:
@ -248,7 +251,7 @@ lbl_8037B194:
/* 8037B194 003780F4 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 8037B198 003780F8 38 00 00 00 */ li r0, 0
/* 8037B19C 003780FC B0 03 00 02 */ sth r0, 2(r3)
/* 8037B1A0 00378100 4E 80 00 20 */ blr
/* 8037B1A0 00378100 4E 80 00 20 */ blr
.global GXSetIndTexOrder
GXSetIndTexOrder:
@ -326,7 +329,7 @@ lbl_8037B288:
/* 8037B2A8 00378208 60 63 00 03 */ ori r3, r3, 3
/* 8037B2AC 0037820C 90 64 04 F4 */ stw r3, 0x4f4(r4)
/* 8037B2B0 00378210 B0 04 00 02 */ sth r0, 2(r4)
/* 8037B2B4 00378214 4E 80 00 20 */ blr
/* 8037B2B4 00378214 4E 80 00 20 */ blr
.global GXSetNumIndStages
GXSetNumIndStages:
@ -339,7 +342,7 @@ GXSetNumIndStages:
/* 8037B2D0 00378230 80 04 04 F4 */ lwz r0, 0x4f4(r4)
/* 8037B2D4 00378234 60 00 00 06 */ ori r0, r0, 6
/* 8037B2D8 00378238 90 04 04 F4 */ stw r0, 0x4f4(r4)
/* 8037B2DC 0037823C 4E 80 00 20 */ blr
/* 8037B2DC 0037823C 4E 80 00 20 */ blr
.global GXSetTevDirect
GXSetTevDirect:
@ -360,7 +363,7 @@ GXSetTevDirect:
/* 8037B318 00378278 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8037B31C 0037827C 38 21 00 18 */ addi r1, r1, 0x18
/* 8037B320 00378280 7C 08 03 A6 */ mtlr r0
/* 8037B324 00378284 4E 80 00 20 */ blr
/* 8037B324 00378284 4E 80 00 20 */ blr
.global __GXUpdateBPMask
__GXUpdateBPMask:
@ -410,7 +413,7 @@ lbl_8037B3B0:
/* 8037B3B4 00378314 80 63 01 24 */ lwz r3, 0x124(r3)
/* 8037B3B8 00378318 54 60 06 3E */ clrlwi r0, r3, 0x18
/* 8037B3BC 0037831C 7C 00 30 40 */ cmplw r0, r6
/* 8037B3C0 00378320 4D 82 00 20 */ beqlr
/* 8037B3C0 00378320 4D 82 00 20 */ beqlr
/* 8037B3C4 00378324 54 60 00 2E */ rlwinm r0, r3, 0, 0, 0x17
/* 8037B3C8 00378328 7C 00 33 78 */ or r0, r0, r6
/* 8037B3CC 0037832C 90 04 00 00 */ stw r0, 0(r4)
@ -422,7 +425,7 @@ lbl_8037B3B0:
/* 8037B3E4 00378344 80 64 01 24 */ lwz r3, 0x124(r4)
/* 8037B3E8 00378348 90 65 80 00 */ stw r3, 0xCC008000@l(r5)
/* 8037B3EC 0037834C B0 04 00 02 */ sth r0, 2(r4)
/* 8037B3F0 00378350 4E 80 00 20 */ blr
/* 8037B3F0 00378350 4E 80 00 20 */ blr
.global __GXFlushTextureState
__GXFlushTextureState:
@ -434,5 +437,5 @@ __GXFlushTextureState:
/* 8037B408 00378368 80 64 01 24 */ lwz r3, 0x124(r4)
/* 8037B40C 0037836C 90 65 80 00 */ stw r3, 0xCC008000@l(r5)
/* 8037B410 00378370 B0 04 00 02 */ sth r0, 2(r4)
/* 8037B414 00378374 4E 80 00 20 */ blr
/* 8037B414 00378374 4E 80 00 20 */ blr

View File

@ -33,4 +33,4 @@ lbl_8037C218:
/* 8037C234 00379194 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8037C238 00379198 38 21 00 18 */ addi r1, r1, 0x18
/* 8037C23C 0037919C 7C 08 03 A6 */ mtlr r0
/* 8037C240 003791A0 4E 80 00 20 */ blr
/* 8037C240 003791A0 4E 80 00 20 */ blr

View File

@ -91,7 +91,7 @@ lbl_80376330:
/* 8037637C 003732DC 48 00 90 A1 */ bl OSSetCurrentContext
/* 80376380 003732E0 81 8D AC 9C */ lwz r12, lbl_805A985C@sda21(r13)
/* 80376384 003732E4 7D 88 03 A6 */ mtlr r12
/* 80376388 003732E8 4E 80 00 21 */ blrl
/* 80376388 003732E8 4E 80 00 21 */ blrl
/* 8037638C 003732EC 38 61 00 10 */ addi r3, r1, 0x10
/* 80376390 003732F0 48 00 92 85 */ bl OSClearContext
/* 80376394 003732F4 7F E3 FB 78 */ mr r3, r31
@ -101,7 +101,7 @@ lbl_8037639C:
/* 803763A0 00373300 83 E1 02 DC */ lwz r31, 0x2dc(r1)
/* 803763A4 00373304 38 21 02 E0 */ addi r1, r1, 0x2e0
/* 803763A8 00373308 7C 08 03 A6 */ mtlr r0
/* 803763AC 0037330C 4E 80 00 20 */ blr
/* 803763AC 0037330C 4E 80 00 20 */ blr
.global GXInitFifoBase
GXInitFifoBase:
@ -131,7 +131,7 @@ GXInitFifoBase:
/* 8037640C 0037336C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80376410 00373370 38 21 00 20 */ addi r1, r1, 0x20
/* 80376414 00373374 7C 08 03 A6 */ mtlr r0
/* 80376418 00373378 4E 80 00 20 */ blr
/* 80376418 00373378 4E 80 00 20 */ blr
.global GXInitFifoPtrs
GXInitFifoPtrs:
@ -163,13 +163,13 @@ lbl_8037646C:
/* 8037647C 003733DC 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 80376480 003733E0 38 21 00 28 */ addi r1, r1, 0x28
/* 80376484 003733E4 7C 08 03 A6 */ mtlr r0
/* 80376488 003733E8 4E 80 00 20 */ blr
/* 80376488 003733E8 4E 80 00 20 */ blr
.global GXInitFifoLimits
GXInitFifoLimits:
/* 8037648C 003733EC 90 83 00 0C */ stw r4, 0xc(r3)
/* 80376490 003733F0 90 A3 00 10 */ stw r5, 0x10(r3)
/* 80376494 003733F4 4E 80 00 20 */ blr
/* 80376494 003733F4 4E 80 00 20 */ blr
.global GXSetCPUFifo
GXSetCPUFifo:
@ -243,7 +243,7 @@ lbl_80376584:
/* 80376598 003734F8 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8037659C 003734FC 38 21 00 18 */ addi r1, r1, 0x18
/* 803765A0 00373500 7C 08 03 A6 */ mtlr r0
/* 803765A4 00373504 4E 80 00 20 */ blr
/* 803765A4 00373504 4E 80 00 20 */ blr
.global GXSetGPFifo
GXSetGPFifo:
@ -342,7 +342,7 @@ lbl_803766F0:
/* 80376710 00373670 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80376714 00373674 38 21 00 18 */ addi r1, r1, 0x18
/* 80376718 00373678 7C 08 03 A6 */ mtlr r0
/* 8037671C 0037367C 4E 80 00 20 */ blr
/* 8037671C 0037367C 4E 80 00 20 */ blr
.global __GXSaveCPUFifoAux
__GXSaveCPUFifoAux:
@ -386,7 +386,7 @@ lbl_803767A4:
/* 803767A8 00373708 90 04 00 00 */ stw r0, 0(r4)
/* 803767AC 0037370C 80 03 00 18 */ lwz r0, 0x18(r3)
/* 803767B0 00373710 90 05 00 00 */ stw r0, 0(r5)
/* 803767B4 00373714 4E 80 00 20 */ blr
/* 803767B4 00373714 4E 80 00 20 */ blr
.global GXSetBreakPtCallback
GXSetBreakPtCallback:
@ -406,7 +406,7 @@ GXSetBreakPtCallback:
/* 803767EC 0037374C 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803767F0 00373750 38 21 00 18 */ addi r1, r1, 0x18
/* 803767F4 00373754 7C 08 03 A6 */ mtlr r0
/* 803767F8 00373758 4E 80 00 20 */ blr
/* 803767F8 00373758 4E 80 00 20 */ blr
.global GXEnableBreakPt
GXEnableBreakPt:
@ -445,7 +445,7 @@ GXEnableBreakPt:
/* 8037687C 003737DC 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80376880 003737E0 38 21 00 18 */ addi r1, r1, 0x18
/* 80376884 003737E4 7C 08 03 A6 */ mtlr r0
/* 80376888 003737E8 4E 80 00 20 */ blr
/* 80376888 003737E8 4E 80 00 20 */ blr
.global GXDisableBreakPt
GXDisableBreakPt:
@ -469,7 +469,7 @@ GXDisableBreakPt:
/* 803768D0 00373830 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803768D4 00373834 38 21 00 08 */ addi r1, r1, 8
/* 803768D8 00373838 7C 08 03 A6 */ mtlr r0
/* 803768DC 0037383C 4E 80 00 20 */ blr
/* 803768DC 0037383C 4E 80 00 20 */ blr
.global __GXFifoInit
__GXFifoInit:
@ -491,7 +491,7 @@ __GXFifoInit:
/* 8037691C 0037387C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80376920 00373880 38 21 00 08 */ addi r1, r1, 8
/* 80376924 00373884 7C 08 03 A6 */ mtlr r0
/* 80376928 00373888 4E 80 00 20 */ blr
/* 80376928 00373888 4E 80 00 20 */ blr
.global __GXFifoReadEnable
__GXFifoReadEnable:
@ -503,7 +503,7 @@ __GXFifoReadEnable:
/* 80376940 003738A0 80 03 00 08 */ lwz r0, 8(r3)
/* 80376944 003738A4 80 6D AC 7C */ lwz r3, lbl_805A983C@sda21(r13)
/* 80376948 003738A8 B0 03 00 02 */ sth r0, 2(r3)
/* 8037694C 003738AC 4E 80 00 20 */ blr
/* 8037694C 003738AC 4E 80 00 20 */ blr
.global __GXFifoReadDisable
__GXFifoReadDisable:
@ -514,7 +514,7 @@ __GXFifoReadDisable:
/* 80376960 003738C0 80 03 00 08 */ lwz r0, 8(r3)
/* 80376964 003738C4 80 6D AC 7C */ lwz r3, lbl_805A983C@sda21(r13)
/* 80376968 003738C8 B0 03 00 02 */ sth r0, 2(r3)
/* 8037696C 003738CC 4E 80 00 20 */ blr
/* 8037696C 003738CC 4E 80 00 20 */ blr
.global __GXFifoLink
__GXFifoLink:
@ -534,7 +534,7 @@ lbl_80376984:
/* 8037699C 003738FC 80 04 00 08 */ lwz r0, 8(r4)
/* 803769A0 00373900 80 6D AC 7C */ lwz r3, lbl_805A983C@sda21(r13)
/* 803769A4 00373904 B0 03 00 02 */ sth r0, 2(r3)
/* 803769A8 00373908 4E 80 00 20 */ blr
/* 803769A8 00373908 4E 80 00 20 */ blr
.global __GXWriteFifoIntEnable
__GXWriteFifoIntEnable:
@ -552,7 +552,7 @@ __GXWriteFifoIntEnable:
/* 803769D8 00373938 80 06 00 08 */ lwz r0, 8(r6)
/* 803769DC 0037393C 80 6D AC 7C */ lwz r3, lbl_805A983C@sda21(r13)
/* 803769E0 00373940 B0 03 00 02 */ sth r0, 2(r3)
/* 803769E4 00373944 4E 80 00 20 */ blr
/* 803769E4 00373944 4E 80 00 20 */ blr
.global __GXWriteFifoIntReset
__GXWriteFifoIntReset:
@ -570,7 +570,7 @@ __GXWriteFifoIntReset:
/* 80376A14 00373974 80 06 00 10 */ lwz r0, 0x10(r6)
/* 80376A18 00373978 80 6D AC 7C */ lwz r3, lbl_805A983C@sda21(r13)
/* 80376A1C 0037397C B0 03 00 04 */ sth r0, 4(r3)
/* 80376A20 00373980 4E 80 00 20 */ blr
/* 80376A20 00373980 4E 80 00 20 */ blr
.global __GXCleanGPFifo
__GXCleanGPFifo:
@ -642,17 +642,17 @@ lbl_80376B08:
/* 80376B14 00373A74 83 A1 00 9C */ lwz r29, 0x9c(r1)
/* 80376B18 00373A78 38 21 00 A8 */ addi r1, r1, 0xa8
/* 80376B1C 00373A7C 7C 08 03 A6 */ mtlr r0
/* 80376B20 00373A80 4E 80 00 20 */ blr
/* 80376B20 00373A80 4E 80 00 20 */ blr
.global GXGetCPUFifo
GXGetCPUFifo:
/* 80376B24 00373A84 80 6D AC 88 */ lwz r3, lbl_805A9848@sda21(r13)
/* 80376B28 00373A88 4E 80 00 20 */ blr
/* 80376B28 00373A88 4E 80 00 20 */ blr
.global GXGetGPFifo
GXGetGPFifo:
/* 80376B2C 00373A8C 80 6D AC 8C */ lwz r3, lbl_805A984C@sda21(r13)
/* 80376B30 00373A90 4E 80 00 20 */ blr
/* 80376B30 00373A90 4E 80 00 20 */ blr
.global GXRedirectWriteGatherPipe
GXRedirectWriteGatherPipe:
@ -718,7 +718,7 @@ lbl_80376BBC:
/* 80376C18 00373B78 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80376C1C 00373B7C 38 21 00 18 */ addi r1, r1, 0x18
/* 80376C20 00373B80 7C 08 03 A6 */ mtlr r0
/* 80376C24 00373B84 4E 80 00 20 */ blr
/* 80376C24 00373B84 4E 80 00 20 */ blr
.global GXRestoreWriteGatherPipe
GXRestoreWriteGatherPipe:
@ -827,5 +827,5 @@ lbl_80376DA0:
/* 80376DB0 00373D10 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80376DB4 00373D14 38 21 00 18 */ addi r1, r1, 0x18
/* 80376DB8 00373D18 7C 08 03 A6 */ mtlr r0
/* 80376DBC 00373D1C 4E 80 00 20 */ blr
/* 80376DBC 00373D1C 4E 80 00 20 */ blr

View File

@ -3,8 +3,11 @@
.section .sdata2
.global lbl_805AEB50
lbl_805AEB50:
.incbin "baserom.dol", 0x3FB3F0, 0x8
# ROM: 0x3FB3F0
.4byte 0x43800000
.4byte 0
.section .text, "ax"
.global GXAdjustForOverscan
@ -83,7 +86,7 @@ lbl_80378CF0:
/* 80378D14 00375C74 A0 63 00 0C */ lhz r3, 0xc(r3)
/* 80378D18 00375C78 7C 03 02 14 */ add r0, r3, r0
/* 80378D1C 00375C7C B0 04 00 0C */ sth r0, 0xc(r4)
/* 80378D20 00375C80 4E 80 00 20 */ blr
/* 80378D20 00375C80 4E 80 00 20 */ blr
.global GXSetDispCopySrc
GXSetDispCopySrc:
@ -122,7 +125,7 @@ GXSetDispCopySrc:
/* 80378DA4 00375D04 54 00 02 3E */ clrlwi r0, r0, 8
/* 80378DA8 00375D08 64 00 4A 00 */ oris r0, r0, 0x4a00
/* 80378DAC 00375D0C 90 09 01 E4 */ stw r0, 0x1e4(r9)
/* 80378DB0 00375D10 4E 80 00 20 */ blr
/* 80378DB0 00375D10 4E 80 00 20 */ blr
.global GXSetTexCopySrc
GXSetTexCopySrc:
@ -161,7 +164,7 @@ GXSetTexCopySrc:
/* 80378E34 00375D94 54 00 02 3E */ clrlwi r0, r0, 8
/* 80378E38 00375D98 64 00 4A 00 */ oris r0, r0, 0x4a00
/* 80378E3C 00375D9C 90 09 01 F4 */ stw r0, 0x1f4(r9)
/* 80378E40 00375DA0 4E 80 00 20 */ blr
/* 80378E40 00375DA0 4E 80 00 20 */ blr
.global GXSetDispCopyDst
GXSetDispCopyDst:
@ -179,7 +182,7 @@ GXSetDispCopyDst:
/* 80378E70 00375DD0 54 00 02 3E */ clrlwi r0, r0, 8
/* 80378E74 00375DD4 64 00 4D 00 */ oris r0, r0, 0x4d00
/* 80378E78 00375DD8 90 05 00 00 */ stw r0, 0(r5)
/* 80378E7C 00375DDC 4E 80 00 20 */ blr
/* 80378E7C 00375DDC 4E 80 00 20 */ blr
.global GXSetTexCopyDst
GXSetTexCopyDst:
@ -271,7 +274,7 @@ lbl_80378F0C:
/* 80378FC4 00375F24 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80378FC8 00375F28 38 21 00 30 */ addi r1, r1, 0x30
/* 80378FCC 00375F2C 7C 08 03 A6 */ mtlr r0
/* 80378FD0 00375F30 4E 80 00 20 */ blr
/* 80378FD0 00375F30 4E 80 00 20 */ blr
.global GXSetDispCopyFrame2Field
GXSetDispCopyFrame2Field:
@ -284,7 +287,7 @@ GXSetDispCopyFrame2Field:
/* 80378FEC 00375F4C 84 04 01 FC */ lwzu r0, 0x1fc(r4)
/* 80378FF0 00375F50 54 00 05 22 */ rlwinm r0, r0, 0, 0x14, 0x11
/* 80378FF4 00375F54 90 04 00 00 */ stw r0, 0(r4)
/* 80378FF8 00375F58 4E 80 00 20 */ blr
/* 80378FF8 00375F58 4E 80 00 20 */ blr
.global GXSetCopyClamp
GXSetCopyClamp:
@ -313,7 +316,7 @@ GXSetCopyClamp:
/* 80379054 00375FB4 54 00 07 FA */ rlwinm r0, r0, 0, 0x1f, 0x1d
/* 80379058 00375FB8 7C 00 2B 78 */ or r0, r0, r5
/* 8037905C 00375FBC 90 06 01 FC */ stw r0, 0x1fc(r6)
/* 80379060 00375FC0 4E 80 00 20 */ blr
/* 80379060 00375FC0 4E 80 00 20 */ blr
.global GXSetDispCopyYScale
GXSetDispCopyYScale:
@ -370,7 +373,7 @@ lbl_8037911C:
/* 8037911C 0037607C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80379120 00376080 38 21 00 08 */ addi r1, r1, 8
/* 80379124 00376084 7C 08 03 A6 */ mtlr r0
/* 80379128 00376088 4E 80 00 20 */ blr
/* 80379128 00376088 4E 80 00 20 */ blr
.global GXSetCopyClear
GXSetCopyClear:
@ -399,7 +402,7 @@ GXSetCopyClear:
/* 80379184 003760E4 98 C5 80 00 */ stb r6, 0xCC008000@l(r5)
/* 80379188 003760E8 90 E5 80 00 */ stw r7, 0xCC008000@l(r5)
/* 8037918C 003760EC B0 04 00 02 */ sth r0, 2(r4)
/* 80379190 003760F0 4E 80 00 20 */ blr
/* 80379190 003760F0 4E 80 00 20 */ blr
.global GXSetCopyFilter
GXSetCopyFilter:
@ -544,7 +547,7 @@ lbl_8037938C:
/* 803793AC 0037630C B0 03 00 02 */ sth r0, 2(r3)
/* 803793B0 00376310 BA E1 00 2C */ lmw r23, 0x2c(r1)
/* 803793B4 00376314 38 21 00 50 */ addi r1, r1, 0x50
/* 803793B8 00376318 4E 80 00 20 */ blr
/* 803793B8 00376318 4E 80 00 20 */ blr
.global GXSetDispCopyGamma
GXSetDispCopyGamma:
@ -554,7 +557,7 @@ GXSetDispCopyGamma:
/* 803793C8 00376328 54 63 06 6C */ rlwinm r3, r3, 0, 0x19, 0x16
/* 803793CC 0037632C 7C 60 03 78 */ or r0, r3, r0
/* 803793D0 00376330 90 04 00 00 */ stw r0, 0(r4)
/* 803793D4 00376334 4E 80 00 20 */ blr
/* 803793D4 00376334 4E 80 00 20 */ blr
.global GXCopyDisp
GXCopyDisp:
@ -649,7 +652,7 @@ lbl_80379524:
/* 80379524 00376484 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 80379528 00376488 38 00 00 00 */ li r0, 0
/* 8037952C 0037648C B0 03 00 02 */ sth r0, 2(r3)
/* 80379530 00376490 4E 80 00 20 */ blr
/* 80379530 00376490 4E 80 00 20 */ blr
.global GXCopyTex
GXCopyTex:
@ -754,7 +757,7 @@ lbl_803796A0:
/* 803796A0 00376600 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 803796A4 00376604 38 00 00 00 */ li r0, 0
/* 803796A8 00376608 B0 03 00 02 */ sth r0, 2(r3)
/* 803796AC 0037660C 4E 80 00 20 */ blr
/* 803796AC 0037660C 4E 80 00 20 */ blr
.global GXClearBoundingBox
GXClearBoundingBox:
@ -771,4 +774,4 @@ GXClearBoundingBox:
/* 803796D8 00376638 38 00 00 00 */ li r0, 0
/* 803796DC 0037663C 90 85 80 00 */ stw r4, 0xCC008000@l(r5)
/* 803796E0 00376640 B0 03 00 02 */ sth r0, 2(r3)
/* 803796E4 00376644 4E 80 00 20 */ blr
/* 803796E4 00376644 4E 80 00 20 */ blr

View File

@ -49,7 +49,7 @@ lbl_803788D8:
/* 803788E4 00375844 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803788E8 00375848 38 21 00 08 */ addi r1, r1, 8
/* 803788EC 0037584C 7C 08 03 A6 */ mtlr r0
/* 803788F0 00375850 4E 80 00 20 */ blr
/* 803788F0 00375850 4E 80 00 20 */ blr
.global GXBegin
GXBegin:
@ -120,7 +120,7 @@ lbl_803789B8:
/* 803789D4 00375934 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 803789D8 00375938 38 21 00 28 */ addi r1, r1, 0x28
/* 803789DC 0037593C 7C 08 03 A6 */ mtlr r0
/* 803789E0 00375940 4E 80 00 20 */ blr
/* 803789E0 00375940 4E 80 00 20 */ blr
.global __GXSendFlushPrim
__GXSendFlushPrim:
@ -161,7 +161,7 @@ lbl_80378A5C:
/* 80378A5C 003759BC 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 80378A60 003759C0 38 00 00 01 */ li r0, 1
/* 80378A64 003759C4 B0 03 00 02 */ sth r0, 2(r3)
/* 80378A68 003759C8 4E 80 00 20 */ blr
/* 80378A68 003759C8 4E 80 00 20 */ blr
.global GXSetLineWidth
GXSetLineWidth:
@ -182,7 +182,7 @@ GXSetLineWidth:
/* 80378AA4 00375A04 80 67 00 7C */ lwz r3, 0x7c(r7)
/* 80378AA8 00375A08 90 64 80 00 */ stw r3, 0xCC008000@l(r4)
/* 80378AAC 00375A0C B0 07 00 02 */ sth r0, 2(r7)
/* 80378AB0 00375A10 4E 80 00 20 */ blr
/* 80378AB0 00375A10 4E 80 00 20 */ blr
.global GXSetPointSize
GXSetPointSize:
@ -203,7 +203,7 @@ GXSetPointSize:
/* 80378AEC 00375A4C 80 67 00 7C */ lwz r3, 0x7c(r7)
/* 80378AF0 00375A50 90 64 80 00 */ stw r3, 0xCC008000@l(r4)
/* 80378AF4 00375A54 B0 07 00 02 */ sth r0, 2(r7)
/* 80378AF8 00375A58 4E 80 00 20 */ blr
/* 80378AF8 00375A58 4E 80 00 20 */ blr
.global GXEnableTexOffsets
GXEnableTexOffsets:
@ -229,7 +229,7 @@ GXEnableTexOffsets:
/* 80378B48 00375AA8 80 63 00 B8 */ lwz r3, 0xb8(r3)
/* 80378B4C 00375AAC 90 64 80 00 */ stw r3, 0xCC008000@l(r4)
/* 80378B50 00375AB0 B0 06 00 02 */ sth r0, 2(r6)
/* 80378B54 00375AB4 4E 80 00 20 */ blr
/* 80378B54 00375AB4 4E 80 00 20 */ blr
.global GXSetCullMode
GXSetCullMode:
@ -254,7 +254,7 @@ lbl_80378B7C:
/* 80378B94 00375AF4 80 04 04 F4 */ lwz r0, 0x4f4(r4)
/* 80378B98 00375AF8 60 00 00 04 */ ori r0, r0, 4
/* 80378B9C 00375AFC 90 04 04 F4 */ stw r0, 0x4f4(r4)
/* 80378BA0 00375B00 4E 80 00 20 */ blr
/* 80378BA0 00375B00 4E 80 00 20 */ blr
.global GXSetCoPlanar
GXSetCoPlanar:
@ -272,7 +272,7 @@ GXSetCoPlanar:
/* 80378BD0 00375B30 98 83 80 00 */ stb r4, 0xCC008000@l(r3)
/* 80378BD4 00375B34 80 06 02 04 */ lwz r0, 0x204(r6)
/* 80378BD8 00375B38 90 03 80 00 */ stw r0, 0xCC008000@l(r3)
/* 80378BDC 00375B3C 4E 80 00 20 */ blr
/* 80378BDC 00375B3C 4E 80 00 20 */ blr
.global __GXSetGenMode
__GXSetGenMode:
@ -284,4 +284,4 @@ __GXSetGenMode:
/* 80378BF4 00375B54 80 64 02 04 */ lwz r3, 0x204(r4)
/* 80378BF8 00375B58 90 65 80 00 */ stw r3, 0xCC008000@l(r5)
/* 80378BFC 00375B5C B0 04 00 02 */ sth r0, 2(r4)
/* 80378C00 00375B60 4E 80 00 20 */ blr
/* 80378C00 00375B60 4E 80 00 20 */ blr

View File

@ -22,73 +22,339 @@ lbl_805A9844:
.section .sdata
.global lbl_805A8AC8
lbl_805A8AC8:
.incbin "baserom.dol", 0x3F6468, 0x8
# ROM: 0x3F6468
.4byte 0x803F05E8
.4byte 0
.section .sdata2
.global lbl_805AEB28
lbl_805AEB28:
.incbin "baserom.dol", 0x3FB3C8, 0x4
# ROM: 0x3FB3C8
.4byte 0x80540C88
.global lbl_805AEB2C
lbl_805AEB2C:
.incbin "baserom.dol", 0x3FB3CC, 0x4
# ROM: 0x3FB3CC
.4byte 0x404040FF
.global lbl_805AEB30
lbl_805AEB30:
.incbin "baserom.dol", 0x3FB3D0, 0x4
# ROM: 0x3FB3D0
.4byte 0
.global lbl_805AEB34
lbl_805AEB34:
.incbin "baserom.dol", 0x3FB3D4, 0x4
# ROM: 0x3FB3D4
.4byte 0xFFFFFFFF
.global lbl_805AEB38
lbl_805AEB38:
.incbin "baserom.dol", 0x3FB3D8, 0x4
# ROM: 0x3FB3D8
.4byte 0x3F800000
.global lbl_805AEB3C
lbl_805AEB3C:
.incbin "baserom.dol", 0x3FB3DC, 0x4
# ROM: 0x3FB3DC
.4byte 0
.global lbl_805AEB40
lbl_805AEB40:
.incbin "baserom.dol", 0x3FB3E0, 0x8
# ROM: 0x3FB3E0
.4byte 0x3DCCCCCD
.4byte 0
.global lbl_805AEB48
lbl_805AEB48:
.incbin "baserom.dol", 0x3FB3E8, 0x8
# ROM: 0x3FB3E8
.4byte 0x43300000
.4byte 0
.section .data
.global lbl_803F062C
lbl_803F062C:
.incbin "baserom.dol", 0x3ED62C, 0xD0
# ROM: 0x3ED62C
.4byte 0x00000009
.4byte 0x00000001
.4byte 0x00000004
.4byte 0
.4byte 0x0000000A
.4byte 0
.4byte 0x00000004
.4byte 0
.4byte 0x0000000B
.4byte 0x00000001
.4byte 0x00000005
.4byte 0
.4byte 0x0000000C
.4byte 0x00000001
.4byte 0x00000005
.4byte 0
.4byte 0x0000000D
.4byte 0x00000001
.4byte 0x00000004
.4byte 0
.4byte 0x0000000E
.4byte 0x00000001
.4byte 0x00000004
.4byte 0
.4byte 0x0000000F
.4byte 0x00000001
.4byte 0x00000004
.4byte 0
.4byte 0x00000010
.4byte 0x00000001
.4byte 0x00000004
.4byte 0
.4byte 0x00000011
.4byte 0x00000001
.4byte 0x00000004
.4byte 0
.4byte 0x00000012
.4byte 0x00000001
.4byte 0x00000004
.4byte 0
.4byte 0x00000013
.4byte 0x00000001
.4byte 0x00000004
.4byte 0
.4byte 0x00000014
.4byte 0x00000001
.4byte 0x00000004
.4byte 0
.4byte 0x000000FF
.4byte 0
.4byte 0
.4byte 0
.global lbl_803F06FC
lbl_803F06FC:
.incbin "baserom.dol", 0x3ED6FC, 0x1C
# ROM: 0x3ED6FC
.4byte 0x3F800000
.4byte 0
.4byte 0x3F800000
.4byte 0
.4byte 0xBF800000
.4byte 0xC0000000
.4byte 0
.global lbl_803F0718
lbl_803F0718:
.incbin "baserom.dol", 0x3ED718, 0x68
# ROM: 0x3ED718
.4byte 0x80376F38
.4byte 0x80376F50
.4byte 0x80376F70
.4byte 0x80376F90
.4byte 0x80376FB0
.4byte 0x80376FD0
.4byte 0x80376FF0
.4byte 0x80377010
.4byte 0x80377030
.4byte 0x80377050
.4byte 0x80377070
.4byte 0x803770D8
.4byte 0x803770F8
.4byte 0x80377118
.4byte 0x80377130
.4byte 0x80377150
.4byte 0x80377170
.4byte 0x80377190
.4byte 0x803771B0
.4byte 0x803771D0
.4byte 0x803771F0
.4byte 0x8037720C
.4byte 0x8037720C
.4byte 0x8037720C
.4byte 0x8037720C
.4byte 0x803770A4
.global lbl_803F0780
lbl_803F0780:
.incbin "baserom.dol", 0x3ED780, 0x68
# ROM: 0x3ED780
.4byte 0x80377294
.4byte 0x803772B0
.4byte 0x803772D0
.4byte 0x803772F0
.4byte 0x80377310
.4byte 0x80377330
.4byte 0x80377350
.4byte 0x80377370
.4byte 0x80377390
.4byte 0x803773B0
.4byte 0x803773D0
.4byte 0x80377438
.4byte 0x80377458
.4byte 0x80377478
.4byte 0x80377494
.4byte 0x803774B4
.4byte 0x803774D4
.4byte 0x803774F4
.4byte 0x80377514
.4byte 0x80377534
.4byte 0x80377554
.4byte 0x80377570
.4byte 0x80377570
.4byte 0x80377570
.4byte 0x80377570
.4byte 0x80377404
.global lbl_803F07E8
lbl_803F07E8:
.incbin "baserom.dol", 0x3ED7E8, 0x44
# ROM: 0x3ED7E8
.4byte 0x803777C8
.4byte 0x80377804
.4byte 0x80377868
.4byte 0x80377894
.4byte 0x803778C0
.4byte 0x80377900
.4byte 0x8037793C
.4byte 0x8037797C
.4byte 0x803779BC
.4byte 0x803779FC
.4byte 0x80377A3C
.4byte 0x80377A7C
.4byte 0x80377AB4
.4byte 0x80377AB4
.4byte 0x80377AB4
.4byte 0x80377AB4
.4byte 0x80377804
.global lbl_803F082C
lbl_803F082C:
.incbin "baserom.dol", 0x3ED82C, 0x44
# ROM: 0x3ED82C
.4byte 0x80377B34
.4byte 0x80377B70
.4byte 0x80377BD4
.4byte 0x80377C00
.4byte 0x80377C2C
.4byte 0x80377C6C
.4byte 0x80377CA8
.4byte 0x80377CE8
.4byte 0x80377D28
.4byte 0x80377D64
.4byte 0x80377DA4
.4byte 0x80377DE4
.4byte 0x80377E1C
.4byte 0x80377E1C
.4byte 0x80377E1C
.4byte 0x80377E1C
.4byte 0x80377B70
.global lbl_803F0870
lbl_803F0870:
.incbin "baserom.dol", 0x3ED870, 0x1C
# ROM: 0x3ED870
.4byte 0x80378158
.4byte 0x80378178
.4byte 0x80378198
.4byte 0x803781B8
.4byte 0x803781D8
.4byte 0x803781F0
.4byte 0x80378210
.global lbl_803F088C
lbl_803F088C:
.incbin "baserom.dol", 0x3ED88C, 0x54
# ROM: 0x3ED88C
.4byte 0x80377FCC
.4byte 0x80377FD8
.4byte 0x80377FE4
.4byte 0x80377FF0
.4byte 0x8037800C
.4byte 0x80378014
.4byte 0x8037801C
.4byte 0x80378024
.4byte 0x8037802C
.4byte 0x80378034
.4byte 0x8037803C
.4byte 0x80378044
.4byte 0x80378048
.4byte 0x80378048
.4byte 0x80378048
.4byte 0x80378048
.4byte 0x80378048
.4byte 0x80378048
.4byte 0x80378048
.4byte 0x80377FFC
.4byte 0x80378004
.global lbl_803F08E0
lbl_803F08E0:
.incbin "baserom.dol", 0x3ED8E0, 0x3C
# ROM: 0x3ED8E0
.4byte 0
.4byte 0x028001E0
.4byte 0x01E00028
.4byte 0x00000280
.4byte 0x01E00000
.4byte 0x00000001
.4byte 0x00000606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060808
.4byte 0x0A0C0A08
.4byte 0x08000000
.global lbl_803F091C
lbl_803F091C:
.incbin "baserom.dol", 0x3ED91C, 0x3C
# ROM: 0x3ED91C
.4byte 0x00000008
.4byte 0x028001E0
.4byte 0x01E00028
.4byte 0x00000280
.4byte 0x01E00000
.4byte 0x00000001
.4byte 0x00000606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060808
.4byte 0x0A0C0A08
.4byte 0x08000000
.global lbl_803F0958
lbl_803F0958:
.incbin "baserom.dol", 0x3ED958, 0x3C
# ROM: 0x3ED958
.4byte 0x00000004
.4byte 0x02800210
.4byte 0x02100028
.4byte 0x00170280
.4byte 0x02100000
.4byte 0x00000001
.4byte 0x00000606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060808
.4byte 0x0A0C0A08
.4byte 0x08000000
.global lbl_803F0994
lbl_803F0994:
.incbin "baserom.dol", 0x3ED994, 0x3C
# ROM: 0x3ED994
.4byte 0x00000014
.4byte 0x028001E0
.4byte 0x01E00028
.4byte 0x00000280
.4byte 0x01E00000
.4byte 0x00000001
.4byte 0x00000606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060606
.4byte 0x06060808
.4byte 0x0A0C0A08
.4byte 0x08000000
.section .text, "ax"
.global __GXDefaultTexRegionCallback
@ -125,7 +391,7 @@ lbl_80375118:
/* 80375118 00372078 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8037511C 0037207C 38 21 00 08 */ addi r1, r1, 8
/* 80375120 00372080 7C 08 03 A6 */ mtlr r0
/* 80375124 00372084 4E 80 00 20 */ blr
/* 80375124 00372084 4E 80 00 20 */ blr
.global __GXDefaultTlutRegionCallback
__GXDefaultTlutRegionCallback:
@ -141,7 +407,7 @@ lbl_80375138:
.global sub_80375148
sub_80375148:
/* 80375148 003720A8 4E 80 00 20 */ blr
/* 80375148 003720A8 4E 80 00 20 */ blr
.global GXInit
GXInit:
@ -704,7 +970,7 @@ lbl_803758E8:
/* 803759A8 00372908 80 01 00 54 */ lwz r0, 0x54(r1)
/* 803759AC 0037290C 38 21 00 50 */ addi r1, r1, 0x50
/* 803759B0 00372910 7C 08 03 A6 */ mtlr r0
/* 803759B4 00372914 4E 80 00 20 */ blr
/* 803759B4 00372914 4E 80 00 20 */ blr
.global __GXInitGX
__GXInitGX:
@ -1289,4 +1555,4 @@ lbl_80376164:
/* 8037626C 003731CC 83 A1 00 74 */ lwz r29, 0x74(r1)
/* 80376270 003731D0 38 21 00 80 */ addi r1, r1, 0x80
/* 80376274 003731D4 7C 08 03 A6 */ mtlr r0
/* 80376278 003731D8 4E 80 00 20 */ blr
/* 80376278 003731D8 4E 80 00 20 */ blr

View File

@ -3,43 +3,75 @@
.section .sdata2
.global lbl_805AEB58
lbl_805AEB58:
.incbin "baserom.dol", 0x3FB3F8, 0x4
# ROM: 0x3FB3F8
.4byte 0
.global lbl_805AEB5C
lbl_805AEB5C:
.incbin "baserom.dol", 0x3FB3FC, 0x4
# ROM: 0x3FB3FC
.4byte 0x42B40000
.global lbl_805AEB60
lbl_805AEB60:
.incbin "baserom.dol", 0x3FB400, 0x4
# ROM: 0x3FB400
.4byte 0x40490FDB
.global lbl_805AEB64
lbl_805AEB64:
.incbin "baserom.dol", 0x3FB404, 0x4
# ROM: 0x3FB404
.4byte 0x43340000
.global lbl_805AEB68
lbl_805AEB68:
.incbin "baserom.dol", 0x3FB408, 0x4
# ROM: 0x3FB408
.4byte 0xC47A0000
.global lbl_805AEB6C
lbl_805AEB6C:
.incbin "baserom.dol", 0x3FB40C, 0x4
# ROM: 0x3FB40C
.4byte 0x447A0000
.global lbl_805AEB70
lbl_805AEB70:
.incbin "baserom.dol", 0x3FB410, 0x4
# ROM: 0x3FB410
.4byte 0x3F800000
.global lbl_805AEB74
lbl_805AEB74:
.incbin "baserom.dol", 0x3FB414, 0x4
# ROM: 0x3FB414
.4byte 0x40000000
.global lbl_805AEB78
lbl_805AEB78:
.incbin "baserom.dol", 0x3FB418, 0x4
# ROM: 0x3FB418
.4byte 0xC0800000
.global lbl_805AEB7C
lbl_805AEB7C:
.incbin "baserom.dol", 0x3FB41C, 0x4
# ROM: 0x3FB41C
.4byte 0x40800000
.global lbl_805AEB80
lbl_805AEB80:
.incbin "baserom.dol", 0x3FB420, 0x8
# ROM: 0x3FB420
.4byte 0xC0000000
.4byte 0
.section .data
.global lbl_803F09D0
lbl_803F09D0:
.incbin "baserom.dol", 0x3ED9D0, 0x20
# ROM: 0x3ED9D0
.4byte 0x80379864
.4byte 0x80379774
.4byte 0x80379788
.4byte 0x803797A8
.4byte 0x803797C8
.4byte 0x803797F4
.4byte 0x80379828
.4byte 0
.section .text, "ax"
.global GXInitLightAttn
@ -50,7 +82,7 @@ GXInitLightAttn:
/* 803796F4 00376654 D0 83 00 1C */ stfs f4, 0x1c(r3)
/* 803796F8 00376658 D0 A3 00 20 */ stfs f5, 0x20(r3)
/* 803796FC 0037665C D0 C3 00 24 */ stfs f6, 0x24(r3)
/* 80379700 00376660 4E 80 00 20 */ blr
/* 80379700 00376660 4E 80 00 20 */ blr
.global GXInitLightSpot
GXInitLightSpot:
@ -83,7 +115,7 @@ lbl_80379740:
/* 80379764 003766C4 57 E0 10 3A */ slwi r0, r31, 2
/* 80379768 003766C8 7C 03 00 2E */ lwzx r0, r3, r0
/* 8037976C 003766CC 7C 09 03 A6 */ mtctr r0
/* 80379770 003766D0 4E 80 04 20 */ bctr
/* 80379770 003766D0 4E 80 04 20 */ bctr
/* 80379774 003766D4 C0 02 CE 48 */ lfs f0, lbl_805AEB68@sda21(r2)
/* 80379778 003766D8 C0 82 CE 4C */ lfs f4, lbl_805AEB6C@sda21(r2)
/* 8037977C 003766DC EC 60 00 72 */ fmuls f3, f0, f1
@ -157,14 +189,14 @@ lbl_80379870:
/* 80379884 003767E4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80379888 003767E8 38 21 00 20 */ addi r1, r1, 0x20
/* 8037988C 003767EC 7C 08 03 A6 */ mtlr r0
/* 80379890 003767F0 4E 80 00 20 */ blr
/* 80379890 003767F0 4E 80 00 20 */ blr
.global GXInitLightPos
GXInitLightPos:
/* 80379894 003767F4 D0 23 00 28 */ stfs f1, 0x28(r3)
/* 80379898 003767F8 D0 43 00 2C */ stfs f2, 0x2c(r3)
/* 8037989C 003767FC D0 63 00 30 */ stfs f3, 0x30(r3)
/* 803798A0 00376800 4E 80 00 20 */ blr
/* 803798A0 00376800 4E 80 00 20 */ blr
.global GXInitLightDir
GXInitLightDir:
@ -174,13 +206,13 @@ GXInitLightDir:
/* 803798B0 00376810 D0 83 00 34 */ stfs f4, 0x34(r3)
/* 803798B4 00376814 D0 23 00 38 */ stfs f1, 0x38(r3)
/* 803798B8 00376818 D0 03 00 3C */ stfs f0, 0x3c(r3)
/* 803798BC 0037681C 4E 80 00 20 */ blr
/* 803798BC 0037681C 4E 80 00 20 */ blr
.global GXInitLightColor
GXInitLightColor:
/* 803798C0 00376820 80 04 00 00 */ lwz r0, 0(r4)
/* 803798C4 00376824 90 03 00 0C */ stw r0, 0xc(r3)
/* 803798C8 00376828 4E 80 00 20 */ blr
/* 803798C8 00376828 4E 80 00 20 */ blr
.global GXLoadLightObjImm
GXLoadLightObjImm:
@ -214,7 +246,7 @@ GXLoadLightObjImm:
/* 80379938 00376898 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 8037993C 0037689C 38 00 00 01 */ li r0, 1
/* 80379940 003768A0 B0 03 00 02 */ sth r0, 2(r3)
/* 80379944 003768A4 4E 80 00 20 */ blr
/* 80379944 003768A4 4E 80 00 20 */ blr
.global GXSetChanAmbColor
GXSetChanAmbColor:
@ -226,11 +258,11 @@ GXSetChanAmbColor:
/* 8037995C 003768BC 40 80 00 60 */ bge lbl_803799BC
/* 80379960 003768C0 2C 03 00 00 */ cmpwi r3, 0
/* 80379964 003768C4 40 80 00 18 */ bge lbl_8037997C
/* 80379968 003768C8 4E 80 00 20 */ blr
/* 80379968 003768C8 4E 80 00 20 */ blr
lbl_8037996C:
/* 8037996C 003768CC 2C 03 00 05 */ cmpwi r3, 5
/* 80379970 003768D0 41 82 00 88 */ beq lbl_803799F8
/* 80379974 003768D4 4C 80 00 20 */ bgelr
/* 80379974 003768D4 4C 80 00 20 */ bgelr
/* 80379978 003768D8 48 00 00 74 */ b lbl_803799EC
lbl_8037997C:
/* 8037997C 003768DC 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
@ -272,7 +304,7 @@ lbl_803799F8:
/* 803799F8 00376958 80 E4 00 00 */ lwz r7, 0(r4)
/* 803799FC 0037695C 38 A0 00 01 */ li r5, 1
/* 80379A00 00376960 48 00 00 08 */ b lbl_80379A08
/* 80379A04 00376964 4E 80 00 20 */ blr
/* 80379A04 00376964 4E 80 00 20 */ blr
lbl_80379A08:
/* 80379A08 00376968 38 00 00 10 */ li r0, 0x10
/* 80379A0C 0037696C 80 82 CE 08 */ lwz r4, lbl_805AEB28@sda21(r2)
@ -286,7 +318,7 @@ lbl_80379A08:
/* 80379A2C 0037698C 90 E6 80 00 */ stw r7, 0xCC008000@l(r6)
/* 80379A30 00376990 B0 A4 00 02 */ sth r5, 2(r4)
/* 80379A34 00376994 90 E3 00 A8 */ stw r7, 0xa8(r3)
/* 80379A38 00376998 4E 80 00 20 */ blr
/* 80379A38 00376998 4E 80 00 20 */ blr
.global GXSetChanMatColor
GXSetChanMatColor:
@ -298,11 +330,11 @@ GXSetChanMatColor:
/* 80379A50 003769B0 40 80 00 60 */ bge lbl_80379AB0
/* 80379A54 003769B4 2C 03 00 00 */ cmpwi r3, 0
/* 80379A58 003769B8 40 80 00 18 */ bge lbl_80379A70
/* 80379A5C 003769BC 4E 80 00 20 */ blr
/* 80379A5C 003769BC 4E 80 00 20 */ blr
lbl_80379A60:
/* 80379A60 003769C0 2C 03 00 05 */ cmpwi r3, 5
/* 80379A64 003769C4 41 82 00 88 */ beq lbl_80379AEC
/* 80379A68 003769C8 4C 80 00 20 */ bgelr
/* 80379A68 003769C8 4C 80 00 20 */ bgelr
/* 80379A6C 003769CC 48 00 00 74 */ b lbl_80379AE0
lbl_80379A70:
/* 80379A70 003769D0 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
@ -344,7 +376,7 @@ lbl_80379AEC:
/* 80379AEC 00376A4C 80 E4 00 00 */ lwz r7, 0(r4)
/* 80379AF0 00376A50 38 A0 00 01 */ li r5, 1
/* 80379AF4 00376A54 48 00 00 08 */ b lbl_80379AFC
/* 80379AF8 00376A58 4E 80 00 20 */ blr
/* 80379AF8 00376A58 4E 80 00 20 */ blr
lbl_80379AFC:
/* 80379AFC 00376A5C 38 00 00 10 */ li r0, 0x10
/* 80379B00 00376A60 80 82 CE 08 */ lwz r4, lbl_805AEB28@sda21(r2)
@ -358,7 +390,7 @@ lbl_80379AFC:
/* 80379B20 00376A80 90 E6 80 00 */ stw r7, 0xCC008000@l(r6)
/* 80379B24 00376A84 B0 A4 00 02 */ sth r5, 2(r4)
/* 80379B28 00376A88 90 E3 00 B0 */ stw r7, 0xb0(r3)
/* 80379B2C 00376A8C 4E 80 00 20 */ blr
/* 80379B2C 00376A8C 4E 80 00 20 */ blr
.global GXSetNumChans
GXSetNumChans:
@ -378,7 +410,7 @@ GXSetNumChans:
/* 80379B64 00376AC4 80 06 04 F4 */ lwz r0, 0x4f4(r6)
/* 80379B68 00376AC8 60 00 00 04 */ ori r0, r0, 4
/* 80379B6C 00376ACC 90 06 04 F4 */ stw r0, 0x4f4(r6)
/* 80379B70 00376AD0 4E 80 00 20 */ blr
/* 80379B70 00376AD0 4E 80 00 20 */ blr
.global GXSetChanCtrl
GXSetChanCtrl:
@ -435,4 +467,4 @@ lbl_80379C30:
/* 80379C30 00376B90 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 80379C34 00376B94 38 00 00 01 */ li r0, 1
/* 80379C38 00376B98 B0 03 00 02 */ sth r0, 2(r3)
/* 80379C3C 00376B9C 4E 80 00 20 */ blr
/* 80379C3C 00376B9C 4E 80 00 20 */ blr

View File

@ -21,9 +21,9 @@ lbl_805A9874:
GXSetMisc:
/* 803782A4 00375204 2C 03 00 01 */ cmpwi r3, 1
/* 803782A8 00375208 41 82 00 14 */ beq lbl_803782BC
/* 803782AC 0037520C 4D 80 00 20 */ bltlr
/* 803782AC 0037520C 4D 80 00 20 */ bltlr
/* 803782B0 00375210 2C 03 00 03 */ cmpwi r3, 3
/* 803782B4 00375214 4C 80 00 20 */ bgelr
/* 803782B4 00375214 4C 80 00 20 */ bgelr
/* 803782B8 00375218 48 00 00 40 */ b lbl_803782F8
lbl_803782BC:
/* 803782BC 0037521C 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
@ -36,18 +36,18 @@ lbl_803782BC:
/* 803782D8 00375238 B0 05 00 02 */ sth r0, 2(r5)
/* 803782DC 0037523C A0 05 00 04 */ lhz r0, 4(r5)
/* 803782E0 00375240 28 00 00 00 */ cmplwi r0, 0
/* 803782E4 00375244 4D 82 00 20 */ beqlr
/* 803782E4 00375244 4D 82 00 20 */ beqlr
/* 803782E8 00375248 80 05 04 F4 */ lwz r0, 0x4f4(r5)
/* 803782EC 0037524C 60 00 00 08 */ ori r0, r0, 8
/* 803782F0 00375250 90 05 04 F4 */ stw r0, 0x4f4(r5)
/* 803782F4 00375254 4E 80 00 20 */ blr
/* 803782F4 00375254 4E 80 00 20 */ blr
lbl_803782F8:
/* 803782F8 00375258 7C 84 00 D0 */ neg r4, r4
/* 803782FC 0037525C 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 80378300 00375260 30 04 FF FF */ addic r0, r4, -1
/* 80378304 00375264 7C 00 21 10 */ subfe r0, r0, r4
/* 80378308 00375268 98 03 04 F1 */ stb r0, 0x4f1(r3)
/* 8037830C 0037526C 4E 80 00 20 */ blr
/* 8037830C 0037526C 4E 80 00 20 */ blr
.global GXFlush
GXFlush:
@ -74,7 +74,7 @@ lbl_80378330:
/* 8037835C 003752BC 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80378360 003752C0 38 21 00 08 */ addi r1, r1, 8
/* 80378364 003752C4 7C 08 03 A6 */ mtlr r0
/* 80378368 003752C8 4E 80 00 20 */ blr
/* 80378368 003752C8 4E 80 00 20 */ blr
.global sub_8037836c
sub_8037836c:
@ -124,7 +124,7 @@ lbl_803783E4:
/* 80378410 00375370 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80378414 00375374 38 21 00 20 */ addi r1, r1, 0x20
/* 80378418 00375378 7C 08 03 A6 */ mtlr r0
/* 8037841C 0037537C 4E 80 00 20 */ blr
/* 8037841C 0037537C 4E 80 00 20 */ blr
.global GXSetDrawSync
GXSetDrawSync:
@ -174,13 +174,13 @@ lbl_80378484:
/* 803784C8 00375428 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803784CC 0037542C 38 21 00 18 */ addi r1, r1, 0x18
/* 803784D0 00375430 7C 08 03 A6 */ mtlr r0
/* 803784D4 00375434 4E 80 00 20 */ blr
/* 803784D4 00375434 4E 80 00 20 */ blr
.global GXReadDrawSync
GXReadDrawSync:
/* 803784D8 00375438 80 6D AC 80 */ lwz r3, lbl_805A9840@sda21(r13)
/* 803784DC 0037543C A0 63 00 0E */ lhz r3, 0xe(r3)
/* 803784E0 00375440 4E 80 00 20 */ blr
/* 803784E0 00375440 4E 80 00 20 */ blr
.global GXDrawDone
GXDrawDone:
@ -217,7 +217,7 @@ lbl_8037853C:
/* 80378554 003754B4 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80378558 003754B8 38 21 00 18 */ addi r1, r1, 0x18
/* 8037855C 003754BC 7C 08 03 A6 */ mtlr r0
/* 80378560 003754C0 4E 80 00 20 */ blr
/* 80378560 003754C0 4E 80 00 20 */ blr
.global GXPixModeSync
GXPixModeSync:
@ -229,7 +229,7 @@ GXPixModeSync:
/* 80378578 003754D8 80 64 01 DC */ lwz r3, 0x1dc(r4)
/* 8037857C 003754DC 90 65 80 00 */ stw r3, 0xCC008000@l(r5)
/* 80378580 003754E0 B0 04 00 02 */ sth r0, 2(r4)
/* 80378584 003754E4 4E 80 00 20 */ blr
/* 80378584 003754E4 4E 80 00 20 */ blr
.global GXPokeAlphaMode
GXPokeAlphaMode:
@ -237,7 +237,7 @@ GXPokeAlphaMode:
/* 8037858C 003754EC 54 80 06 3E */ clrlwi r0, r4, 0x18
/* 80378590 003754F0 50 60 40 2E */ rlwimi r0, r3, 8, 0, 0x17
/* 80378594 003754F4 B0 05 00 06 */ sth r0, 6(r5)
/* 80378598 003754F8 4E 80 00 20 */ blr
/* 80378598 003754F8 4E 80 00 20 */ blr
.global GXPokeAlphaRead
GXPokeAlphaRead:
@ -245,7 +245,7 @@ GXPokeAlphaRead:
/* 803785A0 00375500 80 6D AC 80 */ lwz r3, lbl_805A9840@sda21(r13)
/* 803785A4 00375504 60 00 00 04 */ ori r0, r0, 4
/* 803785A8 00375508 B0 03 00 08 */ sth r0, 8(r3)
/* 803785AC 0037550C 4E 80 00 20 */ blr
/* 803785AC 0037550C 4E 80 00 20 */ blr
.global GXPokeAlphaUpdate
GXPokeAlphaUpdate:
@ -255,7 +255,7 @@ GXPokeAlphaUpdate:
/* 803785BC 0037551C 54 63 07 34 */ rlwinm r3, r3, 0, 0x1c, 0x1a
/* 803785C0 00375520 7C 60 03 78 */ or r0, r3, r0
/* 803785C4 00375524 B0 04 00 00 */ sth r0, 0(r4)
/* 803785C8 00375528 4E 80 00 20 */ blr
/* 803785C8 00375528 4E 80 00 20 */ blr
.global GXPokeBlendMode
GXPokeBlendMode:
@ -293,7 +293,7 @@ lbl_803785F0:
/* 80378644 003755A4 54 00 02 3E */ clrlwi r0, r0, 8
/* 80378648 003755A8 64 00 41 00 */ oris r0, r0, 0x4100
/* 8037864C 003755AC B0 0A 00 00 */ sth r0, 0(r10)
/* 80378650 003755B0 4E 80 00 20 */ blr
/* 80378650 003755B0 4E 80 00 20 */ blr
.global GXPokeColorUpdate
GXPokeColorUpdate:
@ -303,7 +303,7 @@ GXPokeColorUpdate:
/* 80378660 003755C0 54 63 07 76 */ rlwinm r3, r3, 0, 0x1d, 0x1b
/* 80378664 003755C4 7C 60 03 78 */ or r0, r3, r0
/* 80378668 003755C8 B0 04 00 00 */ sth r0, 0(r4)
/* 8037866C 003755CC 4E 80 00 20 */ blr
/* 8037866C 003755CC 4E 80 00 20 */ blr
.global GXPokeDstAlpha
GXPokeDstAlpha:
@ -311,7 +311,7 @@ GXPokeDstAlpha:
/* 80378674 003755D4 54 60 44 2E */ rlwinm r0, r3, 8, 0x10, 0x17
/* 80378678 003755D8 50 80 06 3E */ rlwimi r0, r4, 0, 0x18, 0x1f
/* 8037867C 003755DC B0 05 00 04 */ sth r0, 4(r5)
/* 80378680 003755E0 4E 80 00 20 */ blr
/* 80378680 003755E0 4E 80 00 20 */ blr
.global GXPokeDither
GXPokeDither:
@ -321,7 +321,7 @@ GXPokeDither:
/* 80378690 003755F0 54 63 07 B8 */ rlwinm r3, r3, 0, 0x1e, 0x1c
/* 80378694 003755F4 7C 60 03 78 */ or r0, r3, r0
/* 80378698 003755F8 B0 04 00 00 */ sth r0, 0(r4)
/* 8037869C 003755FC 4E 80 00 20 */ blr
/* 8037869C 003755FC 4E 80 00 20 */ blr
.global GXPokeZMode
GXPokeZMode:
@ -334,7 +334,7 @@ GXPokeZMode:
/* 803786B8 00375618 54 A0 25 36 */ rlwinm r0, r5, 4, 0x14, 0x1b
/* 803786BC 0037561C 7C 80 03 78 */ or r0, r4, r0
/* 803786C0 00375620 B0 03 00 00 */ sth r0, 0(r3)
/* 803786C4 00375624 4E 80 00 20 */ blr
/* 803786C4 00375624 4E 80 00 20 */ blr
.global GXTokenInterruptHandler
GXTokenInterruptHandler:
@ -356,7 +356,7 @@ GXTokenInterruptHandler:
/* 80378704 00375664 81 8D AC A8 */ lwz r12, lbl_805A9868@sda21(r13)
/* 80378708 00375668 38 7F 00 00 */ addi r3, r31, 0
/* 8037870C 0037566C 7D 88 03 A6 */ mtlr r12
/* 80378710 00375670 4E 80 00 21 */ blrl
/* 80378710 00375670 4E 80 00 21 */ blrl
/* 80378714 00375674 38 61 00 10 */ addi r3, r1, 0x10
/* 80378718 00375678 48 00 6E FD */ bl OSClearContext
/* 8037871C 0037567C 7F C3 F3 78 */ mr r3, r30
@ -372,7 +372,7 @@ lbl_80378724:
/* 80378740 003756A0 83 C1 02 D8 */ lwz r30, 0x2d8(r1)
/* 80378744 003756A4 38 21 02 E0 */ addi r1, r1, 0x2e0
/* 80378748 003756A8 7C 08 03 A6 */ mtlr r0
/* 8037874C 003756AC 4E 80 00 20 */ blr
/* 8037874C 003756AC 4E 80 00 20 */ blr
.global GXFinishInterruptHandler
GXFinishInterruptHandler:
@ -397,7 +397,7 @@ GXFinishInterruptHandler:
/* 80378798 003756F8 48 00 6C 85 */ bl OSSetCurrentContext
/* 8037879C 003756FC 81 8D AC AC */ lwz r12, lbl_805A986C@sda21(r13)
/* 803787A0 00375700 7D 88 03 A6 */ mtlr r12
/* 803787A4 00375704 4E 80 00 21 */ blrl
/* 803787A4 00375704 4E 80 00 21 */ blrl
/* 803787A8 00375708 38 61 00 10 */ addi r3, r1, 0x10
/* 803787AC 0037570C 48 00 6E 69 */ bl OSClearContext
/* 803787B0 00375710 7F E3 FB 78 */ mr r3, r31
@ -409,7 +409,7 @@ lbl_803787B8:
/* 803787C4 00375724 83 E1 02 DC */ lwz r31, 0x2dc(r1)
/* 803787C8 00375728 38 21 02 E0 */ addi r1, r1, 0x2e0
/* 803787CC 0037572C 7C 08 03 A6 */ mtlr r0
/* 803787D0 00375730 4E 80 00 20 */ blr
/* 803787D0 00375730 4E 80 00 20 */ blr
.global __GXPEInit
__GXPEInit:
@ -444,4 +444,4 @@ __GXPEInit:
/* 80378844 003757A4 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80378848 003757A8 38 21 00 08 */ addi r1, r1, 8
/* 8037884C 003757AC 7C 08 03 A6 */ mtlr r0
/* 80378850 003757B0 4E 80 00 20 */ blr
/* 80378850 003757B0 4E 80 00 20 */ blr

View File

@ -2,10 +2,72 @@
.section .data
lbl_803F0CB0:
.incbin "baserom.dol", 0x3EDCB0, 0x5C
# ROM: 0x3EDCB0
.4byte 0x8037CD4C
.4byte 0x8037CD68
.4byte 0x8037CD84
.4byte 0x8037CDA0
.4byte 0x8037CDF4
.4byte 0x8037CE10
.4byte 0x8037CE2C
.4byte 0x8037CE48
.4byte 0x8037CDBC
.4byte 0x8037CE64
.4byte 0x8037CE94
.4byte 0x8037CEC4
.4byte 0x8037CEF4
.4byte 0x8037CF24
.4byte 0x8037CF54
.4byte 0x8037CF84
.4byte 0x8037CFB4
.4byte 0x8037CFE4
.4byte 0x8037CFF4
.4byte 0x8037D004
.4byte 0x8037D014
.4byte 0x8037CDD8
.4byte 0x8037D020
lbl_803F0D0C:
.incbin "baserom.dol", 0x3EDD0C, 0x94
# ROM: 0x3EDD0C
.4byte 0x8037C920
.4byte 0x8037C940
.4byte 0x8037C960
.4byte 0x8037C980
.4byte 0x8037C9A0
.4byte 0x8037C9C0
.4byte 0x8037C9E0
.4byte 0x8037CA00
.4byte 0x8037CA20
.4byte 0x8037CA40
.4byte 0x8037CA80
.4byte 0x8037CAA0
.4byte 0x8037CABC
.4byte 0x8037CAD8
.4byte 0x8037CAF4
.4byte 0x8037CB10
.4byte 0x8037CB2C
.4byte 0x8037CB48
.4byte 0x8037CB64
.4byte 0x8037CB80
.4byte 0x8037CB9C
.4byte 0x8037CBB8
.4byte 0x8037CBD4
.4byte 0x8037CBF0
.4byte 0x8037CC0C
.4byte 0x8037CC28
.4byte 0x8037CC44
.4byte 0x8037CC60
.4byte 0x8037CC7C
.4byte 0x8037CC98
.4byte 0x8037CCB4
.4byte 0x8037CCD0
.4byte 0x8037CCEC
.4byte 0x8037CD08
.4byte 0x8037CA60
.4byte 0x8037CD20
.4byte 0
.section .text, "ax"
.global GXSetGPMetric
@ -97,7 +159,7 @@ lbl_8037C8F4:
/* 8037C910 00379870 54 00 10 3A */ slwi r0, r0, 2
/* 8037C914 00379874 7C 03 00 2E */ lwzx r0, r3, r0
/* 8037C918 00379878 7C 09 03 A6 */ mtctr r0
/* 8037C91C 0037987C 4E 80 04 20 */ bctr
/* 8037C91C 0037987C 4E 80 04 20 */ bctr
/* 8037C920 00379880 38 00 00 10 */ li r0, 0x10
/* 8037C924 00379884 3C A0 CC 01 */ lis r5, 0xCC008000@ha
/* 8037C928 00379888 98 05 80 00 */ stb r0, 0xCC008000@l(r5)
@ -365,7 +427,7 @@ lbl_8037CD20:
/* 8037CD3C 00379C9C 54 00 10 3A */ slwi r0, r0, 2
/* 8037CD40 00379CA0 7C 04 00 2E */ lwzx r0, r4, r0
/* 8037CD44 00379CA4 7C 09 03 A6 */ mtctr r0
/* 8037CD48 00379CA8 4E 80 04 20 */ bctr
/* 8037CD48 00379CA8 4E 80 04 20 */ bctr
/* 8037CD4C 00379CAC 38 00 00 61 */ li r0, 0x61
/* 8037CD50 00379CB0 3C 80 CC 01 */ lis r4, 0xCC008000@ha
/* 8037CD54 00379CB4 3C 60 67 00 */ lis r3, 0x67000042@ha
@ -551,11 +613,11 @@ lbl_8037D020:
/* 8037D020 00379F80 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 8037D024 00379F84 38 00 00 00 */ li r0, 0
/* 8037D028 00379F88 B0 03 00 02 */ sth r0, 2(r3)
/* 8037D02C 00379F8C 4E 80 00 20 */ blr
/* 8037D02C 00379F8C 4E 80 00 20 */ blr
.global GXClearGPMetric
GXClearGPMetric:
/* 8037D030 00379F90 80 6D AC 7C */ lwz r3, lbl_805A983C@sda21(r13)
/* 8037D034 00379F94 38 00 00 04 */ li r0, 4
/* 8037D038 00379F98 B0 03 00 04 */ sth r0, 4(r3)
/* 8037D03C 00379F9C 4E 80 00 20 */ blr
/* 8037D03C 00379F9C 4E 80 00 20 */ blr

View File

@ -3,31 +3,59 @@
.section .sdata2
.global lbl_805AEBB8
lbl_805AEBB8:
.incbin "baserom.dol", 0x3FB458, 0x4
# ROM: 0x3FB458
.4byte 0
.global lbl_805AEBBC
lbl_805AEBBC:
.incbin "baserom.dol", 0x3FB45C, 0x4
# ROM: 0x3FB45C
.4byte 0x3F000000
.global lbl_805AEBC0
lbl_805AEBC0:
.incbin "baserom.dol", 0x3FB460, 0x8
# ROM: 0x3FB460
.4byte 0x3FF00000
.4byte 0
.global lbl_805AEBC8
lbl_805AEBC8:
.incbin "baserom.dol", 0x3FB468, 0x8
# ROM: 0x3FB468
.4byte 0x40000000
.4byte 0
.global lbl_805AEBD0
lbl_805AEBD0:
.incbin "baserom.dol", 0x3FB470, 0x8
# ROM: 0x3FB470
.4byte 0x3FE00000
.4byte 0
.global lbl_805AEBD8
lbl_805AEBD8:
.incbin "baserom.dol", 0x3FB478, 0x8
# ROM: 0x3FB478
.4byte 0x4B00001E
.4byte 0
.global lbl_805AEBE0
lbl_805AEBE0:
.incbin "baserom.dol", 0x3FB480, 0x8
# ROM: 0x3FB480
.4byte 0x43300000
.4byte 0x80000000
.section .data
.global lbl_803F0C90
lbl_803F0C90:
.incbin "baserom.dol", 0x3EDC90, 0x20
# ROM: 0x3EDC90
.4byte 0
.4byte 0x00000001
.4byte 0x00000002
.4byte 0x00000003
.4byte 0x00000004
.4byte 0x00000004
.4byte 0x00000004
.4byte 0x00000005
.section .text, "ax"
.global GXSetFog
@ -147,7 +175,7 @@ lbl_8037BCA0:
/* 8037BD9C 00378CFC 83 A1 00 3C */ lwz r29, 0x3c(r1)
/* 8037BDA0 00378D00 38 21 00 48 */ addi r1, r1, 0x48
/* 8037BDA4 00378D04 7C 08 03 A6 */ mtlr r0
/* 8037BDA8 00378D08 4E 80 00 20 */ blr
/* 8037BDA8 00378D08 4E 80 00 20 */ blr
.global GXSetFogRangeAdj
GXSetFogRangeAdj:
@ -215,7 +243,7 @@ lbl_8037BE70:
/* 8037BE9C 00378DFC 38 00 00 00 */ li r0, 0
/* 8037BEA0 00378E00 90 A3 80 00 */ stw r5, 0xCC008000@l(r3)
/* 8037BEA4 00378E04 B0 04 00 02 */ sth r0, 2(r4)
/* 8037BEA8 00378E08 4E 80 00 20 */ blr
/* 8037BEA8 00378E08 4E 80 00 20 */ blr
.global GXSetBlendMode
GXSetBlendMode:
@ -239,7 +267,7 @@ GXSetBlendMode:
/* 8037BEF0 00378E50 90 E3 80 00 */ stw r7, 0xCC008000@l(r3)
/* 8037BEF4 00378E54 90 E8 01 D0 */ stw r7, 0x1d0(r8)
/* 8037BEF8 00378E58 B0 08 00 02 */ sth r0, 2(r8)
/* 8037BEFC 00378E5C 4E 80 00 20 */ blr
/* 8037BEFC 00378E5C 4E 80 00 20 */ blr
.global GXSetColorUpdate
GXSetColorUpdate:
@ -253,7 +281,7 @@ GXSetColorUpdate:
/* 8037BF1C 00378E7C 90 C4 80 00 */ stw r6, 0xCC008000@l(r4)
/* 8037BF20 00378E80 90 C5 01 D0 */ stw r6, 0x1d0(r5)
/* 8037BF24 00378E84 B0 05 00 02 */ sth r0, 2(r5)
/* 8037BF28 00378E88 4E 80 00 20 */ blr
/* 8037BF28 00378E88 4E 80 00 20 */ blr
.global GXSetAlphaUpdate
GXSetAlphaUpdate:
@ -267,7 +295,7 @@ GXSetAlphaUpdate:
/* 8037BF48 00378EA8 90 C4 80 00 */ stw r6, 0xCC008000@l(r4)
/* 8037BF4C 00378EAC 90 C5 01 D0 */ stw r6, 0x1d0(r5)
/* 8037BF50 00378EB0 B0 05 00 02 */ sth r0, 2(r5)
/* 8037BF54 00378EB4 4E 80 00 20 */ blr
/* 8037BF54 00378EB4 4E 80 00 20 */ blr
.global GXSetZMode
GXSetZMode:
@ -283,7 +311,7 @@ GXSetZMode:
/* 8037BF7C 00378EDC 38 00 00 00 */ li r0, 0
/* 8037BF80 00378EE0 90 E6 01 D8 */ stw r7, 0x1d8(r6)
/* 8037BF84 00378EE4 B0 06 00 02 */ sth r0, 2(r6)
/* 8037BF88 00378EE8 4E 80 00 20 */ blr
/* 8037BF88 00378EE8 4E 80 00 20 */ blr
.global GXSetZCompLoc
GXSetZCompLoc:
@ -300,7 +328,7 @@ GXSetZCompLoc:
/* 8037BFB4 00378F14 80 66 01 DC */ lwz r3, 0x1dc(r6)
/* 8037BFB8 00378F18 90 64 80 00 */ stw r3, 0xCC008000@l(r4)
/* 8037BFBC 00378F1C B0 06 00 02 */ sth r0, 2(r6)
/* 8037BFC0 00378F20 4E 80 00 20 */ blr
/* 8037BFC0 00378F20 4E 80 00 20 */ blr
.global GXSetPixelFmt
GXSetPixelFmt:
@ -365,7 +393,7 @@ lbl_8037C09C:
/* 8037C09C 00378FFC 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 8037C0A0 00379000 38 00 00 00 */ li r0, 0
/* 8037C0A4 00379004 B0 03 00 02 */ sth r0, 2(r3)
/* 8037C0A8 00379008 4E 80 00 20 */ blr
/* 8037C0A8 00379008 4E 80 00 20 */ blr
.global GXSetDither
GXSetDither:
@ -381,7 +409,7 @@ GXSetDither:
/* 8037C0D0 00379030 38 00 00 00 */ li r0, 0
/* 8037C0D4 00379034 90 66 01 D0 */ stw r3, 0x1d0(r6)
/* 8037C0D8 00379038 B0 06 00 02 */ sth r0, 2(r6)
/* 8037C0DC 0037903C 4E 80 00 20 */ blr
/* 8037C0DC 0037903C 4E 80 00 20 */ blr
.global GXSetDstAlpha
GXSetDstAlpha:
@ -399,7 +427,7 @@ GXSetDstAlpha:
/* 8037C10C 0037906C 38 00 00 00 */ li r0, 0
/* 8037C110 00379070 90 66 01 D4 */ stw r3, 0x1d4(r6)
/* 8037C114 00379074 B0 06 00 02 */ sth r0, 2(r6)
/* 8037C118 00379078 4E 80 00 20 */ blr
/* 8037C118 00379078 4E 80 00 20 */ blr
.global GXSetFieldMask
GXSetFieldMask:
@ -416,7 +444,7 @@ GXSetFieldMask:
/* 8037C144 003790A4 38 00 00 00 */ li r0, 0
/* 8037C148 003790A8 90 A3 80 00 */ stw r5, 0xCC008000@l(r3)
/* 8037C14C 003790AC B0 04 00 02 */ sth r0, 2(r4)
/* 8037C150 003790B0 4E 80 00 20 */ blr
/* 8037C150 003790B0 4E 80 00 20 */ blr
.global GXSetFieldMode
GXSetFieldMode:
@ -450,4 +478,4 @@ GXSetFieldMode:
/* 8037C1C0 00379120 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8037C1C4 00379124 38 21 00 20 */ addi r1, r1, 0x20
/* 8037C1C8 00379128 7C 08 03 A6 */ mtlr r0
/* 8037C1CC 0037912C 4E 80 00 20 */ blr
/* 8037C1CC 0037912C 4E 80 00 20 */ blr

View File

@ -4,4 +4,4 @@
.global __GXSetRange
__GXSetRange:
/* 8037C1D0 00379130 4E 80 00 20 */ blr
/* 8037C1D0 00379130 4E 80 00 20 */ blr

View File

@ -3,11 +3,43 @@
.section .data
.global lbl_803F0C18
lbl_803F0C18:
.incbin "baserom.dol", 0x3EDC18, 0x50
# ROM: 0x3EDC18
.4byte 0xC008F8AF
.4byte 0xC008A89F
.4byte 0xC008AC8F
.4byte 0xC008FFF8
.4byte 0xC008FFFA
.4byte 0xC008F80F
.4byte 0xC008089F
.4byte 0xC0080C8F
.4byte 0xC008FFF8
.4byte 0xC008FFF0
.4byte 0xC108F2F0
.4byte 0xC108FFD0
.4byte 0xC108F2F0
.4byte 0xC108FFC0
.4byte 0xC108FFD0
.4byte 0xC108F070
.4byte 0xC108FF80
.4byte 0xC108F070
.4byte 0xC108FFC0
.4byte 0xC108FF80
.global lbl_803F0C68
lbl_803F0C68:
.incbin "baserom.dol", 0x3EDC68, 0x28
# ROM: 0x3EDC68
.4byte 0
.4byte 0x00000001
.4byte 0
.4byte 0x00000001
.4byte 0
.4byte 0x00000001
.4byte 0x00000007
.4byte 0x00000005
.4byte 0x00000006
.4byte 0
.section .text, "ax"
.global GXSetTevOp
@ -48,7 +80,7 @@ lbl_8037B44C:
/* 8037B494 003783F4 91 04 80 00 */ stw r8, 0xCC008000@l(r4)
/* 8037B498 003783F8 91 06 01 70 */ stw r8, 0x170(r6)
/* 8037B49C 003783FC B0 07 00 02 */ sth r0, 2(r7)
/* 8037B4A0 00378400 4E 80 00 20 */ blr
/* 8037B4A0 00378400 4E 80 00 20 */ blr
.global GXSetTevColorIn
GXSetTevColorIn:
@ -68,7 +100,7 @@ GXSetTevColorIn:
/* 8037B4D8 00378438 38 00 00 00 */ li r0, 0
/* 8037B4DC 0037843C 90 88 01 30 */ stw r4, 0x130(r8)
/* 8037B4E0 00378440 B0 09 00 02 */ sth r0, 2(r9)
/* 8037B4E4 00378444 4E 80 00 20 */ blr
/* 8037B4E4 00378444 4E 80 00 20 */ blr
.global GXSetTevAlphaIn
GXSetTevAlphaIn:
@ -88,7 +120,7 @@ GXSetTevAlphaIn:
/* 8037B51C 0037847C 38 00 00 00 */ li r0, 0
/* 8037B520 00378480 90 88 01 70 */ stw r4, 0x170(r8)
/* 8037B524 00378484 B0 09 00 02 */ sth r0, 2(r9)
/* 8037B528 00378488 4E 80 00 20 */ blr
/* 8037B528 00378488 4E 80 00 20 */ blr
.global GXSetTevColorOp
GXSetTevColorOp:
@ -119,7 +151,7 @@ lbl_8037B564:
/* 8037B584 003784E4 38 00 00 00 */ li r0, 0
/* 8037B588 003784E8 91 43 01 30 */ stw r10, 0x130(r3)
/* 8037B58C 003784EC B0 04 00 02 */ sth r0, 2(r4)
/* 8037B590 003784F0 4E 80 00 20 */ blr
/* 8037B590 003784F0 4E 80 00 20 */ blr
.global GXSetTevAlphaOp
GXSetTevAlphaOp:
@ -150,7 +182,7 @@ lbl_8037B5CC:
/* 8037B5EC 0037854C 38 00 00 00 */ li r0, 0
/* 8037B5F0 00378550 91 43 01 70 */ stw r10, 0x170(r3)
/* 8037B5F4 00378554 B0 04 00 02 */ sth r0, 2(r4)
/* 8037B5F8 00378558 4E 80 00 20 */ blr
/* 8037B5F8 00378558 4E 80 00 20 */ blr
.global GXSetTevColor
GXSetTevColor:
@ -182,7 +214,7 @@ GXSetTevColor:
/* 8037B660 003785C0 98 A4 80 00 */ stb r5, 0xCC008000@l(r4)
/* 8037B664 003785C4 90 C4 80 00 */ stw r6, 0xCC008000@l(r4)
/* 8037B668 003785C8 B0 03 00 02 */ sth r0, 2(r3)
/* 8037B66C 003785CC 4E 80 00 20 */ blr
/* 8037B66C 003785CC 4E 80 00 20 */ blr
.global GXSetTevColorS10
GXSetTevColorS10:
@ -214,7 +246,7 @@ GXSetTevColorS10:
/* 8037B6D4 00378634 98 A4 80 00 */ stb r5, 0xCC008000@l(r4)
/* 8037B6D8 00378638 90 C4 80 00 */ stw r6, 0xCC008000@l(r4)
/* 8037B6DC 0037863C B0 03 00 02 */ sth r0, 2(r3)
/* 8037B6E0 00378640 4E 80 00 20 */ blr
/* 8037B6E0 00378640 4E 80 00 20 */ blr
.global GXSetTevKColor
GXSetTevKColor:
@ -246,7 +278,7 @@ GXSetTevKColor:
/* 8037B748 003786A8 90 04 80 00 */ stw r0, 0xCC008000@l(r4)
/* 8037B74C 003786AC 38 00 00 00 */ li r0, 0
/* 8037B750 003786B0 B0 03 00 02 */ sth r0, 2(r3)
/* 8037B754 003786B4 4E 80 00 20 */ blr
/* 8037B754 003786B4 4E 80 00 20 */ blr
.global GXSetTevKColorSel
GXSetTevKColorSel:
@ -278,7 +310,7 @@ lbl_8037B7A0:
/* 8037B7B4 00378714 80 87 00 00 */ lwz r4, 0(r7)
/* 8037B7B8 00378718 90 85 80 00 */ stw r4, 0xCC008000@l(r5)
/* 8037B7BC 0037871C B0 03 00 02 */ sth r0, 2(r3)
/* 8037B7C0 00378720 4E 80 00 20 */ blr
/* 8037B7C0 00378720 4E 80 00 20 */ blr
.global GXSetTevKAlphaSel
GXSetTevKAlphaSel:
@ -310,7 +342,7 @@ lbl_8037B80C:
/* 8037B820 00378780 80 87 00 00 */ lwz r4, 0(r7)
/* 8037B824 00378784 90 85 80 00 */ stw r4, 0xCC008000@l(r5)
/* 8037B828 00378788 B0 03 00 02 */ sth r0, 2(r3)
/* 8037B82C 0037878C 4E 80 00 20 */ blr
/* 8037B82C 0037878C 4E 80 00 20 */ blr
.global GXSetTevSwapMode
GXSetTevSwapMode:
@ -334,7 +366,7 @@ GXSetTevSwapMode:
/* 8037B874 003787D4 80 68 00 00 */ lwz r3, 0(r8)
/* 8037B878 003787D8 90 64 80 00 */ stw r3, 0xCC008000@l(r4)
/* 8037B87C 003787DC B0 07 00 02 */ sth r0, 2(r7)
/* 8037B880 003787E0 4E 80 00 20 */ blr
/* 8037B880 003787E0 4E 80 00 20 */ blr
.global GXSetTevSwapModeTable
GXSetTevSwapModeTable:
@ -375,7 +407,7 @@ GXSetTevSwapModeTable:
/* 8037B90C 0037886C 80 6A 00 00 */ lwz r3, 0(r10)
/* 8037B910 00378870 90 65 80 00 */ stw r3, 0xCC008000@l(r5)
/* 8037B914 00378874 B0 09 00 02 */ sth r0, 2(r9)
/* 8037B918 00378878 4E 80 00 20 */ blr
/* 8037B918 00378878 4E 80 00 20 */ blr
.global GXSetAlphaCompare
GXSetAlphaCompare:
@ -399,7 +431,7 @@ GXSetAlphaCompare:
/* 8037B960 003788C0 90 03 80 00 */ stw r0, 0xCC008000@l(r3)
/* 8037B964 003788C4 38 00 00 00 */ li r0, 0
/* 8037B968 003788C8 B0 04 00 02 */ sth r0, 2(r4)
/* 8037B96C 003788CC 4E 80 00 20 */ blr
/* 8037B96C 003788CC 4E 80 00 20 */ blr
.global GXSetZTexture
GXSetZTexture:
@ -441,7 +473,7 @@ lbl_8037B9B8:
/* 8037B9E4 00378944 38 00 00 00 */ li r0, 0
/* 8037B9E8 00378948 90 65 80 00 */ stw r3, 0xCC008000@l(r5)
/* 8037B9EC 0037894C B0 04 00 02 */ sth r0, 2(r4)
/* 8037B9F0 00378950 4E 80 00 20 */ blr
/* 8037B9F0 00378950 4E 80 00 20 */ blr
.global GXSetTevOrder
GXSetTevOrder:
@ -574,7 +606,7 @@ lbl_8037BB9C:
/* 8037BBBC 00378B1C 80 03 04 F4 */ lwz r0, 0x4f4(r3)
/* 8037BBC0 00378B20 60 00 00 01 */ ori r0, r0, 1
/* 8037BBC4 00378B24 90 03 04 F4 */ stw r0, 0x4f4(r3)
/* 8037BBC8 00378B28 4E 80 00 20 */ blr
/* 8037BBC8 00378B28 4E 80 00 20 */ blr
.global GXSetNumTevStages
GXSetNumTevStages:
@ -589,4 +621,4 @@ GXSetNumTevStages:
/* 8037BBEC 00378B4C 80 04 04 F4 */ lwz r0, 0x4f4(r4)
/* 8037BBF0 00378B50 60 00 00 04 */ ori r0, r0, 4
/* 8037BBF4 00378B54 90 04 04 F4 */ stw r0, 0x4f4(r4)
/* 8037BBF8 00378B58 4E 80 00 20 */ blr
/* 8037BBF8 00378B58 4E 80 00 20 */ blr

View File

@ -3,67 +3,250 @@
.section .sdata
.global lbl_805A8AE0
lbl_805A8AE0:
.incbin "baserom.dol", 0x3F6480, 0x8
# ROM: 0x3F6480
.4byte 0x80818283
.4byte 0xA0A1A2A3
.global lbl_805A8AE8
lbl_805A8AE8:
.incbin "baserom.dol", 0x3F6488, 0x8
# ROM: 0x3F6488
.4byte 0x84858687
.4byte 0xA4A5A6A7
.global lbl_805A8AF0
lbl_805A8AF0:
.incbin "baserom.dol", 0x3F6490, 0x8
# ROM: 0x3F6490
.4byte 0x88898A8B
.4byte 0xA8A9AAAB
.global lbl_805A8AF8
lbl_805A8AF8:
.incbin "baserom.dol", 0x3F6498, 0x8
# ROM: 0x3F6498
.4byte 0x8C8D8E8F
.4byte 0xACADAEAF
.global lbl_805A8B00
lbl_805A8B00:
.incbin "baserom.dol", 0x3F64A0, 0x8
# ROM: 0x3F64A0
.4byte 0x90919293
.4byte 0xB0B1B2B3
.global lbl_805A8B08
lbl_805A8B08:
.incbin "baserom.dol", 0x3F64A8, 0x8
# ROM: 0x3F64A8
.4byte 0x94959697
.4byte 0xB4B5B6B7
.global lbl_805A8B10
lbl_805A8B10:
.incbin "baserom.dol", 0x3F64B0, 0x8
# ROM: 0x3F64B0
.4byte 0x98999A9B
.4byte 0xB8B9BABB
.global lbl_805A8B18
lbl_805A8B18:
.incbin "baserom.dol", 0x3F64B8, 0x8
# ROM: 0x3F64B8
.4byte 0x00040105
.4byte 0x02060000
.section .sdata2
.global lbl_805AEB88
lbl_805AEB88:
.incbin "baserom.dol", 0x3FB428, 0x8
# ROM: 0x3FB428
.4byte 0x41800000
.4byte 0
.global lbl_805AEB90
lbl_805AEB90:
.incbin "baserom.dol", 0x3FB430, 0x8
# ROM: 0x3FB430
.4byte 0x43300000
.4byte 0
.global lbl_805AEB98
lbl_805AEB98:
.incbin "baserom.dol", 0x3FB438, 0x4
# ROM: 0x3FB438
.4byte 0xC0800000
.global lbl_805AEB9C
lbl_805AEB9C:
.incbin "baserom.dol", 0x3FB43C, 0x4
# ROM: 0x3FB43C
.4byte 0x40800000
.global lbl_805AEBA0
lbl_805AEBA0:
.incbin "baserom.dol", 0x3FB440, 0x4
# ROM: 0x3FB440
.4byte 0x407F5C29
.global lbl_805AEBA4
lbl_805AEBA4:
.incbin "baserom.dol", 0x3FB444, 0x4
# ROM: 0x3FB444
.4byte 0x42000000
.global lbl_805AEBA8
lbl_805AEBA8:
.incbin "baserom.dol", 0x3FB448, 0x4
# ROM: 0x3FB448
.4byte 0
.global lbl_805AEBAC
lbl_805AEBAC:
.incbin "baserom.dol", 0x3FB44C, 0x4
# ROM: 0x3FB44C
.4byte 0x41200000
.section .data
.global lbl_803F09F0
lbl_803F09F0:
.incbin "baserom.dol", 0x3ED9F0, 0xF4
# ROM: 0x3ED9F0
.4byte 0x80379C68
.4byte 0x80379C74
.4byte 0x80379C74
.4byte 0x80379C80
.4byte 0x80379C80
.4byte 0x80379C80
.4byte 0x80379C80
.4byte 0x80379C8C
.4byte 0x80379C68
.4byte 0x80379C74
.4byte 0x80379C80
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C68
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C74
.4byte 0x80379C8C
.4byte 0x80379C80
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C80
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C68
.4byte 0x80379C8C
.4byte 0x80379C74
.4byte 0x80379C80
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C74
.4byte 0x80379C74
.4byte 0x80379C74
.4byte 0x80379C74
.4byte 0x80379C80
.4byte 0x80379C80
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C68
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C8C
.4byte 0x80379C74
.4byte 0x80379C74
.4byte 0x80379C8C
.4byte 0x80379C80
.global lbl_803F0AE4
lbl_803F0AE4:
.incbin "baserom.dol", 0x3EDAE4, 0xF4
# ROM: 0x3EDAE4
.4byte 0x80379DBC
.4byte 0x80379DC8
.4byte 0x80379DC8
.4byte 0x80379DD4
.4byte 0x80379DD4
.4byte 0x80379DD4
.4byte 0x80379DD4
.4byte 0x80379DE0
.4byte 0x80379DBC
.4byte 0x80379DC8
.4byte 0x80379DD4
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DBC
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DC8
.4byte 0x80379DE0
.4byte 0x80379DD4
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DD4
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DBC
.4byte 0x80379DE0
.4byte 0x80379DC8
.4byte 0x80379DD4
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DC8
.4byte 0x80379DC8
.4byte 0x80379DC8
.4byte 0x80379DC8
.4byte 0x80379DD4
.4byte 0x80379DD4
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DBC
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DE0
.4byte 0x80379DC8
.4byte 0x80379DC8
.4byte 0x80379DE0
.4byte 0x80379DD4
.global lbl_803F0BD8
lbl_803F0BD8:
.incbin "baserom.dol", 0x3EDBD8, 0x40
# ROM: 0x3EDBD8
.4byte 0x8037A00C
.4byte 0x8037A020
.4byte 0x8037A020
.4byte 0x8037A034
.4byte 0x8037A034
.4byte 0x8037A034
.4byte 0x8037A048
.4byte 0x8037A070
.4byte 0x8037A00C
.4byte 0x8037A020
.4byte 0x8037A034
.4byte 0x8037A070
.4byte 0x8037A070
.4byte 0x8037A070
.4byte 0x8037A05C
.4byte 0
.section .text, "ax"
.global GXGetTexBufferSize
@ -77,7 +260,7 @@ GXGetTexBufferSize:
/* 80379C58 00376BB8 54 A0 10 3A */ slwi r0, r5, 2
/* 80379C5C 00376BBC 7C 08 00 2E */ lwzx r0, r8, r0
/* 80379C60 00376BC0 7C 09 03 A6 */ mtctr r0
/* 80379C64 00376BC4 4E 80 04 20 */ bctr
/* 80379C64 00376BC4 4E 80 04 20 */ bctr
/* 80379C68 00376BC8 38 00 00 03 */ li r0, 3
/* 80379C6C 00376BCC 39 00 00 03 */ li r8, 3
/* 80379C70 00376BD0 48 00 00 24 */ b lbl_80379C94
@ -167,7 +350,7 @@ lbl_80379D8C:
/* 80379D8C 00376CEC 7F E3 FB 78 */ mr r3, r31
/* 80379D90 00376CF0 83 E1 00 24 */ lwz r31, 0x24(r1)
/* 80379D94 00376CF4 38 21 00 28 */ addi r1, r1, 0x28
/* 80379D98 00376CF8 4E 80 00 20 */ blr
/* 80379D98 00376CF8 4E 80 00 20 */ blr
.global __GetImageTileCount
__GetImageTileCount:
@ -178,7 +361,7 @@ __GetImageTileCount:
/* 80379DAC 00376D0C 54 60 10 3A */ slwi r0, r3, 2
/* 80379DB0 00376D10 7C 09 00 2E */ lwzx r0, r9, r0
/* 80379DB4 00376D14 7C 09 03 A6 */ mtctr r0
/* 80379DB8 00376D18 4E 80 04 20 */ bctr
/* 80379DB8 00376D18 4E 80 04 20 */ bctr
/* 80379DBC 00376D1C 39 60 00 03 */ li r11, 3
/* 80379DC0 00376D20 39 80 00 03 */ li r12, 3
/* 80379DC4 00376D24 48 00 00 24 */ b lbl_80379DE8
@ -227,7 +410,7 @@ lbl_80379E58:
/* 80379E58 00376DB8 38 00 00 01 */ li r0, 1
lbl_80379E5C:
/* 80379E5C 00376DBC 90 08 00 00 */ stw r0, 0(r8)
/* 80379E60 00376DC0 4E 80 00 20 */ blr
/* 80379E60 00376DC0 4E 80 00 20 */ blr
.global GXInitTexObj
GXInitTexObj:
@ -342,7 +525,7 @@ lbl_80379F8C:
/* 80379FFC 00376F5C 54 E0 10 3A */ slwi r0, r7, 2
/* 8037A000 00376F60 7C 05 00 2E */ lwzx r0, r5, r0
/* 8037A004 00376F64 7C 09 03 A6 */ mtctr r0
/* 8037A008 00376F68 4E 80 04 20 */ bctr
/* 8037A008 00376F68 4E 80 04 20 */ bctr
/* 8037A00C 00376F6C 38 00 00 01 */ li r0, 1
/* 8037A010 00376F70 98 1F 00 1E */ stb r0, 0x1e(r31)
/* 8037A014 00376F74 38 00 00 03 */ li r0, 3
@ -395,7 +578,7 @@ lbl_8037A080:
/* 8037A0C8 00377028 BB 01 00 40 */ lmw r24, 0x40(r1)
/* 8037A0CC 0037702C 38 21 00 60 */ addi r1, r1, 0x60
/* 8037A0D0 00377030 7C 08 03 A6 */ mtlr r0
/* 8037A0D4 00377034 4E 80 00 20 */ blr
/* 8037A0D4 00377034 4E 80 00 20 */ blr
.global GXInitTexObjCI
GXInitTexObjCI:
@ -416,7 +599,7 @@ GXInitTexObjCI:
/* 8037A110 00377070 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8037A114 00377074 38 21 00 30 */ addi r1, r1, 0x30
/* 8037A118 00377078 7C 08 03 A6 */ mtlr r0
/* 8037A11C 0037707C 4E 80 00 20 */ blr
/* 8037A11C 0037707C 4E 80 00 20 */ blr
.global GXInitTexObjLOD
GXInitTexObjLOD:
@ -530,7 +713,7 @@ lbl_8037A278:
/* 8037A2A4 00377204 50 04 44 2E */ rlwimi r4, r0, 8, 0x10, 0x17
/* 8037A2A8 00377208 90 83 00 04 */ stw r4, 4(r3)
/* 8037A2AC 0037720C 38 21 00 38 */ addi r1, r1, 0x38
/* 8037A2B0 00377210 4E 80 00 20 */ blr
/* 8037A2B0 00377210 4E 80 00 20 */ blr
.global GXInitTexObjData
GXInitTexObjData:
@ -539,7 +722,7 @@ GXInitTexObjData:
/* 8037A2BC 0037721C 54 A4 00 14 */ rlwinm r4, r5, 0, 0, 0xa
/* 8037A2C0 00377220 7C 80 03 78 */ or r0, r4, r0
/* 8037A2C4 00377224 90 03 00 0C */ stw r0, 0xc(r3)
/* 8037A2C8 00377228 4E 80 00 20 */ blr
/* 8037A2C8 00377228 4E 80 00 20 */ blr
.global GXInitTexObjWrapMode
GXInitTexObjWrapMode:
@ -552,12 +735,12 @@ GXInitTexObjWrapMode:
/* 8037A2E4 00377244 54 84 07 B6 */ rlwinm r4, r4, 0, 0x1e, 0x1b
/* 8037A2E8 00377248 7C 80 03 78 */ or r0, r4, r0
/* 8037A2EC 0037724C 90 03 00 00 */ stw r0, 0(r3)
/* 8037A2F0 00377250 4E 80 00 20 */ blr
/* 8037A2F0 00377250 4E 80 00 20 */ blr
.global GXGetTexObjFmt
GXGetTexObjFmt:
/* 8037A2F4 00377254 80 63 00 14 */ lwz r3, 0x14(r3)
/* 8037A2F8 00377258 4E 80 00 20 */ blr
/* 8037A2F8 00377258 4E 80 00 20 */ blr
.global GXLoadTexObjPreLoaded
GXLoadTexObjPreLoaded:
@ -633,7 +816,7 @@ GXLoadTexObjPreLoaded:
/* 8037A410 00377370 80 7C 00 18 */ lwz r3, 0x18(r28)
/* 8037A414 00377374 81 84 04 14 */ lwz r12, 0x414(r4)
/* 8037A418 00377378 7D 88 03 A6 */ mtlr r12
/* 8037A41C 0037737C 4E 80 00 21 */ blrl
/* 8037A41C 0037737C 4E 80 00 21 */ blrl
/* 8037A420 00377380 38 8D 9F 50 */ addi r4, r13, lbl_805A8B10@sda21
/* 8037A424 00377384 80 A3 00 04 */ lwz r5, 4(r3)
/* 8037A428 00377388 7C 04 E8 AE */ lbzx r0, r4, r29
@ -663,7 +846,7 @@ lbl_8037A444:
/* 8037A484 003773E4 83 81 00 18 */ lwz r28, 0x18(r1)
/* 8037A488 003773E8 38 21 00 28 */ addi r1, r1, 0x28
/* 8037A48C 003773EC 7C 08 03 A6 */ mtlr r0
/* 8037A490 003773F0 4E 80 00 20 */ blr
/* 8037A490 003773F0 4E 80 00 20 */ blr
.global GXLoadTexObj
GXLoadTexObj:
@ -677,7 +860,7 @@ GXLoadTexObj:
/* 8037A4B0 00377410 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
/* 8037A4B4 00377414 81 85 04 10 */ lwz r12, 0x410(r5)
/* 8037A4B8 00377418 7D 88 03 A6 */ mtlr r12
/* 8037A4BC 0037741C 4E 80 00 21 */ blrl
/* 8037A4BC 0037741C 4E 80 00 21 */ blrl
/* 8037A4C0 00377420 38 83 00 00 */ addi r4, r3, 0
/* 8037A4C4 00377424 38 7E 00 00 */ addi r3, r30, 0
/* 8037A4C8 00377428 38 BF 00 00 */ addi r5, r31, 0
@ -687,7 +870,7 @@ GXLoadTexObj:
/* 8037A4D8 00377438 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8037A4DC 0037743C 38 21 00 18 */ addi r1, r1, 0x18
/* 8037A4E0 00377440 7C 08 03 A6 */ mtlr r0
/* 8037A4E4 00377444 4E 80 00 20 */ blr
/* 8037A4E4 00377444 4E 80 00 20 */ blr
.global GXInitTlutObj
GXInitTlutObj:
@ -708,7 +891,7 @@ GXInitTlutObj:
/* 8037A520 00377480 64 00 64 00 */ oris r0, r0, 0x6400
/* 8037A524 00377484 90 03 00 04 */ stw r0, 4(r3)
/* 8037A528 00377488 B0 C3 00 08 */ sth r6, 8(r3)
/* 8037A52C 0037748C 4E 80 00 20 */ blr
/* 8037A52C 0037748C 4E 80 00 20 */ blr
.global GXLoadTlut
GXLoadTlut:
@ -722,7 +905,7 @@ GXLoadTlut:
/* 8037A54C 003774AC 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
/* 8037A550 003774B0 81 85 04 14 */ lwz r12, 0x414(r5)
/* 8037A554 003774B4 7D 88 03 A6 */ mtlr r12
/* 8037A558 003774B8 4E 80 00 21 */ blrl
/* 8037A558 003774B8 4E 80 00 21 */ blrl
/* 8037A55C 003774BC 7C 7F 1B 78 */ mr r31, r3
/* 8037A560 003774C0 48 00 0E 95 */ bl __GXFlushTextureState
/* 8037A564 003774C4 38 80 00 61 */ li r4, 0x61
@ -750,7 +933,7 @@ GXLoadTlut:
/* 8037A5BC 0037751C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8037A5C0 00377520 38 21 00 20 */ addi r1, r1, 0x20
/* 8037A5C4 00377524 7C 08 03 A6 */ mtlr r0
/* 8037A5C8 00377528 4E 80 00 20 */ blr
/* 8037A5C8 00377528 4E 80 00 20 */ blr
.global GXInitTexCacheRegion
GXInitTexCacheRegion:
@ -836,7 +1019,7 @@ lbl_8037A698:
/* 8037A6DC 0037763C 90 A3 00 04 */ stw r5, 4(r3)
/* 8037A6E0 00377640 98 83 00 0C */ stb r4, 0xc(r3)
/* 8037A6E4 00377644 98 03 00 0D */ stb r0, 0xd(r3)
/* 8037A6E8 00377648 4E 80 00 20 */ blr
/* 8037A6E8 00377648 4E 80 00 20 */ blr
.global GXInitTlutRegion
GXInitTlutRegion:
@ -857,7 +1040,7 @@ GXInitTlutRegion:
/* 8037A724 00377684 54 00 02 3E */ clrlwi r0, r0, 8
/* 8037A728 00377688 64 00 65 00 */ oris r0, r0, 0x6500
/* 8037A72C 0037768C 90 03 00 00 */ stw r0, 0(r3)
/* 8037A730 00377690 4E 80 00 20 */ blr
/* 8037A730 00377690 4E 80 00 20 */ blr
.global GXInvalidateTexRegion
GXInvalidateTexRegion:
@ -935,7 +1118,7 @@ lbl_8037A820:
/* 8037A830 00377790 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8037A834 00377794 38 21 00 20 */ addi r1, r1, 0x20
/* 8037A838 00377798 7C 08 03 A6 */ mtlr r0
/* 8037A83C 0037779C 4E 80 00 20 */ blr
/* 8037A83C 0037779C 4E 80 00 20 */ blr
.global GXInvalidateTexAll
GXInvalidateTexAll:
@ -956,7 +1139,7 @@ GXInvalidateTexAll:
/* 8037A878 003777D8 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8037A87C 003777DC 38 21 00 08 */ addi r1, r1, 8
/* 8037A880 003777E0 7C 08 03 A6 */ mtlr r0
/* 8037A884 003777E4 4E 80 00 20 */ blr
/* 8037A884 003777E4 4E 80 00 20 */ blr
.global GXSetTexRegionCallback
GXSetTexRegionCallback:
@ -964,7 +1147,7 @@ GXSetTexRegionCallback:
/* 8037A88C 003777EC 84 04 04 10 */ lwzu r0, 0x410(r4)
/* 8037A890 003777F0 90 64 00 00 */ stw r3, 0(r4)
/* 8037A894 003777F4 7C 03 03 78 */ mr r3, r0
/* 8037A898 003777F8 4E 80 00 20 */ blr
/* 8037A898 003777F8 4E 80 00 20 */ blr
.global GXSetTlutRegionCallback
GXSetTlutRegionCallback:
@ -972,7 +1155,7 @@ GXSetTlutRegionCallback:
/* 8037A8A0 00377800 84 04 04 14 */ lwzu r0, 0x414(r4)
/* 8037A8A4 00377804 90 64 00 00 */ stw r3, 0(r4)
/* 8037A8A8 00377808 7C 03 03 78 */ mr r3, r0
/* 8037A8AC 0037780C 4E 80 00 20 */ blr
/* 8037A8AC 0037780C 4E 80 00 20 */ blr
.global GXSetTexCoordCylWrap
GXSetTexCoordCylWrap:
@ -985,7 +1168,7 @@ GXSetTexCoordCylWrap:
/* 8037A8C8 00377828 7C 80 18 30 */ slw r0, r4, r3
/* 8037A8CC 0037782C 7C E0 03 78 */ or r0, r7, r0
/* 8037A8D0 00377830 90 08 04 DC */ stw r0, 0x4dc(r8)
/* 8037A8D4 00377834 4D 82 00 20 */ beqlr
/* 8037A8D4 00377834 4D 82 00 20 */ beqlr
/* 8037A8D8 00377838 54 67 10 3A */ slwi r7, r3, 2
/* 8037A8DC 0037783C 7C 88 3A 14 */ add r4, r8, r7
/* 8037A8E0 00377840 80 64 00 B8 */ lwz r3, 0xb8(r4)
@ -1010,7 +1193,7 @@ GXSetTexCoordCylWrap:
/* 8037A92C 0037788C 80 64 00 D8 */ lwz r3, 0xd8(r4)
/* 8037A930 00377890 90 65 80 00 */ stw r3, 0xCC008000@l(r5)
/* 8037A934 00377894 B0 08 00 02 */ sth r0, 2(r8)
/* 8037A938 00377898 4E 80 00 20 */ blr
/* 8037A938 00377898 4E 80 00 20 */ blr
.global GXSetTexCoordBias
GXSetTexCoordBias:
@ -1032,7 +1215,7 @@ GXSetTexCoordBias:
/* 8037A978 003778D8 90 6A 00 D8 */ stw r3, 0xd8(r10)
/* 8037A97C 003778DC 80 67 04 DC */ lwz r3, 0x4dc(r7)
/* 8037A980 003778E0 7C 60 00 39 */ and. r0, r3, r0
/* 8037A984 003778E4 4D 82 00 20 */ beqlr
/* 8037A984 003778E4 4D 82 00 20 */ beqlr
/* 8037A988 003778E8 38 C0 00 61 */ li r6, 0x61
/* 8037A98C 003778EC 3C A0 CC 01 */ lis r5, 0xCC008000@ha
/* 8037A990 003778F0 98 C5 80 00 */ stb r6, 0xCC008000@l(r5)
@ -1044,7 +1227,7 @@ GXSetTexCoordBias:
/* 8037A9A8 00377908 80 64 00 D8 */ lwz r3, 0xd8(r4)
/* 8037A9AC 0037790C 90 65 80 00 */ stw r3, 0xCC008000@l(r5)
/* 8037A9B0 00377910 B0 07 00 02 */ sth r0, 2(r7)
/* 8037A9B4 00377914 4E 80 00 20 */ blr
/* 8037A9B4 00377914 4E 80 00 20 */ blr
.global __SetSURegs
__SetSURegs:
@ -1093,7 +1276,7 @@ __SetSURegs:
/* 8037AA60 003779C0 80 64 00 D8 */ lwz r3, 0xd8(r4)
/* 8037AA64 003779C4 90 66 80 00 */ stw r3, 0xCC008000@l(r6)
/* 8037AA68 003779C8 B0 05 00 02 */ sth r0, 2(r5)
/* 8037AA6C 003779CC 4E 80 00 20 */ blr
/* 8037AA6C 003779CC 4E 80 00 20 */ blr
.global __GXSetSUTexRegs
__GXSetSUTexRegs:
@ -1206,7 +1389,7 @@ lbl_8037ABD8:
/* 8037ABDC 00377B3C 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8037ABE0 00377B40 38 21 00 28 */ addi r1, r1, 0x28
/* 8037ABE4 00377B44 7C 08 03 A6 */ mtlr r0
/* 8037ABE8 00377B48 4E 80 00 20 */ blr
/* 8037ABE8 00377B48 4E 80 00 20 */ blr
.global __GXSetTmemConfig
__GXSetTmemConfig:
@ -1356,4 +1539,4 @@ lbl_8037AE1C:
/* 8037AE1C 00377D7C 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8037AE20 00377D80 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8037AE24 00377D84 38 21 00 18 */ addi r1, r1, 0x18
/* 8037AE28 00377D88 4E 80 00 20 */ blr
/* 8037AE28 00377D88 4E 80 00 20 */ blr

View File

@ -3,13 +3,20 @@
.section .sdata2
.global lbl_805AEBE8
lbl_805AEBE8:
.incbin "baserom.dol", 0x3FB488, 0x4
# ROM: 0x3FB488
.4byte 0x3F000000
.global lbl_805AEBEC
lbl_805AEBEC:
.incbin "baserom.dol", 0x3FB48C, 0x4
# ROM: 0x3FB48C
.4byte 0x43AB0000
.global lbl_805AEBF0
lbl_805AEBF0:
.incbin "baserom.dol", 0x3FB490, 0x8
# ROM: 0x3FB490
.4byte 0x4B7FFFFF
.4byte 0
.section .text, "ax"
@ -62,7 +69,7 @@ lbl_8037C298:
/* 8037C2E8 00379248 80 64 04 20 */ lwz r3, 0x420(r4)
/* 8037C2EC 0037924C 90 65 80 00 */ stw r3, 0xCC008000@l(r5)
/* 8037C2F0 00379250 B0 04 00 02 */ sth r0, 2(r4)
/* 8037C2F4 00379254 4E 80 00 20 */ blr
/* 8037C2F4 00379254 4E 80 00 20 */ blr
.global GXSetProjectionv
GXSetProjectionv:
@ -113,7 +120,7 @@ GXSetProjectionv:
/* 8037C3A8 00379308 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8037C3AC 0037930C 38 21 00 18 */ addi r1, r1, 0x18
/* 8037C3B0 00379310 7C 08 03 A6 */ mtlr r0
/* 8037C3B4 00379314 4E 80 00 20 */ blr
/* 8037C3B4 00379314 4E 80 00 20 */ blr
.global GXLoadPosMtxImm
GXLoadPosMtxImm:
@ -136,7 +143,7 @@ GXLoadPosMtxImm:
/* 8037C3F8 00379358 F0 44 00 00 */ psq_st f2, 0(r4), 0, qr0
/* 8037C3FC 0037935C F0 24 00 00 */ psq_st f1, 0(r4), 0, qr0
/* 8037C400 00379360 F0 04 00 00 */ psq_st f0, 0(r4), 0, qr0
/* 8037C404 00379364 4E 80 00 20 */ blr
/* 8037C404 00379364 4E 80 00 20 */ blr
.global GXLoadNrmMtxImm
GXLoadNrmMtxImm:
@ -159,7 +166,7 @@ GXLoadNrmMtxImm:
/* 8037C448 003793A8 D0 44 00 00 */ stfs f2, 0(r4)
/* 8037C44C 003793AC F0 24 00 00 */ psq_st f1, 0(r4), 0, qr0
/* 8037C450 003793B0 D0 04 00 00 */ stfs f0, 0(r4)
/* 8037C454 003793B4 4E 80 00 20 */ blr
/* 8037C454 003793B4 4E 80 00 20 */ blr
.global GXSetCurrentMtx
GXSetCurrentMtx:
@ -176,7 +183,7 @@ GXSetCurrentMtx:
/* 8037C480 003793E0 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8037C484 003793E4 38 21 00 08 */ addi r1, r1, 8
/* 8037C488 003793E8 7C 08 03 A6 */ mtlr r0
/* 8037C48C 003793EC 4E 80 00 20 */ blr
/* 8037C48C 003793EC 4E 80 00 20 */ blr
.global GXLoadTexMtxImm
GXLoadTexMtxImm:
@ -218,7 +225,7 @@ lbl_8037C4C0:
/* 8037C50C 0037946C F0 44 00 00 */ psq_st f2, 0(r4), 0, qr0
/* 8037C510 00379470 F0 24 00 00 */ psq_st f1, 0(r4), 0, qr0
/* 8037C514 00379474 F0 04 00 00 */ psq_st f0, 0(r4), 0, qr0
/* 8037C518 00379478 4E 80 00 20 */ blr
/* 8037C518 00379478 4E 80 00 20 */ blr
lbl_8037C51C:
/* 8037C51C 0037947C 38 84 80 00 */ addi r4, r4, -32768
/* 8037C520 00379480 E0 63 00 00 */ psq_l f3, 0(r3), 0, qr0
@ -229,7 +236,7 @@ lbl_8037C51C:
/* 8037C534 00379494 F0 44 00 00 */ psq_st f2, 0(r4), 0, qr0
/* 8037C538 00379498 F0 24 00 00 */ psq_st f1, 0(r4), 0, qr0
/* 8037C53C 0037949C F0 04 00 00 */ psq_st f0, 0(r4), 0, qr0
/* 8037C540 003794A0 4E 80 00 20 */ blr
/* 8037C540 003794A0 4E 80 00 20 */ blr
.global GXSetViewportJitter
GXSetViewportJitter:
@ -299,7 +306,7 @@ lbl_8037C5E4:
/* 8037C638 00379598 CB 41 00 30 */ lfd f26, 0x30(r1)
/* 8037C63C 0037959C 38 21 00 60 */ addi r1, r1, 0x60
/* 8037C640 003795A0 7C 08 03 A6 */ mtlr r0
/* 8037C644 003795A4 4E 80 00 20 */ blr
/* 8037C644 003795A4 4E 80 00 20 */ blr
.global GXSetViewport
GXSetViewport:
@ -311,7 +318,7 @@ GXSetViewport:
/* 8037C65C 003795BC 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8037C660 003795C0 38 21 00 08 */ addi r1, r1, 8
/* 8037C664 003795C4 7C 08 03 A6 */ mtlr r0
/* 8037C668 003795C8 4E 80 00 20 */ blr
/* 8037C668 003795C8 4E 80 00 20 */ blr
.global GXSetScissor
GXSetScissor:
@ -350,7 +357,7 @@ GXSetScissor:
/* 8037C6EC 0037964C 80 68 00 FC */ lwz r3, 0xfc(r8)
/* 8037C6F0 00379650 90 64 80 00 */ stw r3, 0xCC008000@l(r4)
/* 8037C6F4 00379654 B0 08 00 02 */ sth r0, 2(r8)
/* 8037C6F8 00379658 4E 80 00 20 */ blr
/* 8037C6F8 00379658 4E 80 00 20 */ blr
.global GXSetScissorBoxOffset
GXSetScissorBoxOffset:
@ -369,7 +376,7 @@ GXSetScissorBoxOffset:
/* 8037C72C 0037968C 38 00 00 00 */ li r0, 0
/* 8037C730 00379690 90 A4 80 00 */ stw r5, 0xCC008000@l(r4)
/* 8037C734 00379694 B0 03 00 02 */ sth r0, 2(r3)
/* 8037C738 00379698 4E 80 00 20 */ blr
/* 8037C738 00379698 4E 80 00 20 */ blr
.global GXSetClipMode
GXSetClipMode:
@ -382,7 +389,7 @@ GXSetClipMode:
/* 8037C754 003796B4 90 A6 80 00 */ stw r5, 0xCC008000@l(r6)
/* 8037C758 003796B8 90 66 80 00 */ stw r3, 0xCC008000@l(r6)
/* 8037C75C 003796BC B0 04 00 02 */ sth r0, 2(r4)
/* 8037C760 003796C0 4E 80 00 20 */ blr
/* 8037C760 003796C0 4E 80 00 20 */ blr
.global __GXSetMatrixIndex
__GXSetMatrixIndex:
@ -420,5 +427,5 @@ lbl_8037C7D8:
/* 8037C7D8 00379738 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
/* 8037C7DC 0037973C 38 00 00 01 */ li r0, 1
/* 8037C7E0 00379740 B0 03 00 02 */ sth r0, 2(r3)
/* 8037C7E4 00379744 4E 80 00 20 */ blr
/* 8037C7E4 00379744 4E 80 00 20 */ blr

View File

@ -4,16 +4,23 @@
.global lbl_805A8B20
lbl_805A8B20:
.incbin "baserom.dol", 0x3F64C0, 0x8
# ROM: 0x3F64C0
.4byte 0
.4byte 0x3F800000
.section .sdata2
.global lbl_805AEBF8
lbl_805AEBF8:
.incbin "baserom.dol", 0x3FB498, 0x4
# ROM: 0x3FB498
.4byte 0x3F800000
.global lbl_805AEBFC
lbl_805AEBFC:
.incbin "baserom.dol", 0x3FB49C, 0x4
# ROM: 0x3FB49C
.4byte 0
.section .text, "ax"
.global PSMTXIdentity
@ -28,7 +35,7 @@ PSMTXIdentity:
/* 8037D05C 00379FBC F0 43 00 10 */ psq_st f2, 16(r3), 0, qr0
/* 8037D060 00379FC0 F0 23 00 00 */ psq_st f1, 0(r3), 0, qr0
/* 8037D064 00379FC4 F0 23 00 28 */ psq_st f1, 40(r3), 0, qr0
/* 8037D068 00379FC8 4E 80 00 20 */ blr
/* 8037D068 00379FC8 4E 80 00 20 */ blr
.global PSMTXCopy
PSMTXCopy:
@ -44,7 +51,7 @@ PSMTXCopy:
/* 8037D090 00379FF0 F0 84 00 20 */ psq_st f4, 32(r4), 0, qr0
/* 8037D094 00379FF4 E0 A3 00 28 */ psq_l f5, 40(r3), 0, qr0
/* 8037D098 00379FF8 F0 A4 00 28 */ psq_st f5, 40(r4), 0, qr0
/* 8037D09C 00379FFC 4E 80 00 20 */ blr
/* 8037D09C 00379FFC 4E 80 00 20 */ blr
.global PSMTXConcat
PSMTXConcat:
@ -98,7 +105,7 @@ PSMTXConcat:
/* 8037D15C 0037A0BC F0 05 00 28 */ psq_st f0, 40(r5), 0, qr0
/* 8037D160 0037A0C0 CB E1 00 28 */ lfd f31, 0x28(r1)
/* 8037D164 0037A0C4 38 21 00 40 */ addi r1, r1, 0x40
/* 8037D168 0037A0C8 4E 80 00 20 */ blr
/* 8037D168 0037A0C8 4E 80 00 20 */ blr
.global PSMTXInvXpose
PSMTXInvXpose:
@ -130,7 +137,7 @@ PSMTXInvXpose:
/* 8037D1D0 0037A130 10 07 08 40 */ ps_cmpo0 cr0, f7, f1
/* 8037D1D4 0037A134 40 82 00 0C */ bne lbl_8037D1E0
/* 8037D1D8 0037A138 38 60 00 00 */ li r3, 0
/* 8037D1DC 0037A13C 4E 80 00 20 */ blr
/* 8037D1DC 0037A13C 4E 80 00 20 */ blr
lbl_8037D1E0:
/* 8037D1E0 0037A140 EC 00 38 30 */ fres f0, f7
/* 8037D1E4 0037A144 F0 24 80 0C */ psq_st f1, 12(r4), 1, qr0
@ -152,7 +159,7 @@ lbl_8037D1E0:
/* 8037D224 0037A184 38 60 00 01 */ li r3, 1
/* 8037D228 0037A188 F1 24 80 18 */ psq_st f9, 24(r4), 1, qr0
/* 8037D22C 0037A18C F1 04 80 28 */ psq_st f8, 40(r4), 1, qr0
/* 8037D230 0037A190 4E 80 00 20 */ blr
/* 8037D230 0037A190 4E 80 00 20 */ blr
.global PSMTXTrans
PSMTXTrans:
@ -168,7 +175,7 @@ PSMTXTrans:
/* 8037D258 0037A1B8 D0 83 00 28 */ stfs f4, 0x28(r3)
/* 8037D25C 0037A1BC D0 63 00 2C */ stfs f3, 0x2c(r3)
/* 8037D260 0037A1C0 D0 83 00 00 */ stfs f4, 0(r3)
/* 8037D264 0037A1C4 4E 80 00 20 */ blr
/* 8037D264 0037A1C4 4E 80 00 20 */ blr
.global PSMTXScale
PSMTXScale:
@ -181,7 +188,7 @@ PSMTXScale:
/* 8037D280 0037A1E0 F0 03 00 20 */ psq_st f0, 32(r3), 0, qr0
/* 8037D284 0037A1E4 D0 63 00 28 */ stfs f3, 0x28(r3)
/* 8037D288 0037A1E8 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 8037D28C 0037A1EC 4E 80 00 20 */ blr
/* 8037D28C 0037A1EC 4E 80 00 20 */ blr
.global PSMTXScaleApply
PSMTXScaleApply:
@ -206,7 +213,7 @@ PSMTXScaleApply:
/* 8037D2D8 0037A238 F0 E4 00 18 */ psq_st f7, 24(r4), 0, qr0
/* 8037D2DC 0037A23C F1 04 00 20 */ psq_st f8, 32(r4), 0, qr0
/* 8037D2E0 0037A240 F0 44 00 28 */ psq_st f2, 40(r4), 0, qr0
/* 8037D2E4 0037A244 4E 80 00 20 */ blr
/* 8037D2E4 0037A244 4E 80 00 20 */ blr
.global C_MTXLookAt
C_MTXLookAt:
@ -308,5 +315,5 @@ C_MTXLookAt:
/* 8037D464 0037A3C4 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 8037D468 0037A3C8 38 21 00 50 */ addi r1, r1, 0x50
/* 8037D46C 0037A3CC 7C 08 03 A6 */ mtlr r0
/* 8037D470 0037A3D0 4E 80 00 20 */ blr
/* 8037D470 0037A3D0 4E 80 00 20 */ blr

View File

@ -3,16 +3,24 @@
.section .sdata2
.global lbl_805AEC00
lbl_805AEC00:
.incbin "baserom.dol", 0x3FB4A0, 0x4
# ROM: 0x3FB4A0
.4byte 0x3F800000
.global lbl_805AEC04
lbl_805AEC04:
.incbin "baserom.dol", 0x3FB4A4, 0x4
# ROM: 0x3FB4A4
.4byte 0x40000000
.global lbl_805AEC08
lbl_805AEC08:
.incbin "baserom.dol", 0x3FB4A8, 0x4
# ROM: 0x3FB4A8
.4byte 0
.global lbl_805AEC0C
lbl_805AEC0C:
.incbin "baserom.dol", 0x3FB4AC, 0x4
# ROM: 0x3FB4AC
.4byte 0xBF800000
.section .text, "ax"
@ -56,7 +64,7 @@ C_MTXFrustum:
/* 8037D5A8 0037A508 C0 02 CE EC */ lfs f0, lbl_805AEC0C@sda21(r2)
/* 8037D5AC 0037A50C D0 03 00 38 */ stfs f0, 0x38(r3)
/* 8037D5B0 0037A510 D0 83 00 3C */ stfs f4, 0x3c(r3)
/* 8037D5B4 0037A514 4E 80 00 20 */ blr
/* 8037D5B4 0037A514 4E 80 00 20 */ blr
.global C_MTXOrtho
C_MTXOrtho:
@ -97,4 +105,4 @@ C_MTXOrtho:
/* 8037D640 0037A5A0 D0 63 00 34 */ stfs f3, 0x34(r3)
/* 8037D644 0037A5A4 D0 63 00 38 */ stfs f3, 0x38(r3)
/* 8037D648 0037A5A8 D1 23 00 3C */ stfs f9, 0x3c(r3)
/* 8037D64C 0037A5AC 4E 80 00 20 */ blr
/* 8037D64C 0037A5AC 4E 80 00 20 */ blr

View File

@ -24,7 +24,7 @@ PSMTXMultVec:
/* 8037D4B8 0037A418 10 A3 20 7A */ ps_madd f5, f3, f1, f4
/* 8037D4BC 0037A41C 10 C5 29 94 */ ps_sum0 f6, f5, f6, f5
/* 8037D4C0 0037A420 F0 C5 80 08 */ psq_st f6, 8(r5), 1, qr0
/* 8037D4C4 0037A424 4E 80 00 20 */ blr
/* 8037D4C4 0037A424 4E 80 00 20 */ blr
.global PSMTXMultVecSR
PSMTXMultVecSR:
@ -48,4 +48,4 @@ PSMTXMultVecSR:
/* 8037D50C 0037A46C F1 65 80 04 */ psq_st f11, 4(r5), 1, qr0
/* 8037D510 0037A470 11 A5 61 FA */ ps_madd f13, f5, f7, f12
/* 8037D514 0037A474 F1 A5 80 08 */ psq_st f13, 8(r5), 1, qr0
/* 8037D518 0037A478 4E 80 00 20 */ blr
/* 8037D518 0037A478 4E 80 00 20 */ blr

View File

@ -22,4 +22,4 @@ PSMTXReorder:
/* 8037D70C 0037A66C F1 04 00 18 */ psq_st f8, 24(r4), 0, qr0
/* 8037D710 0037A670 F1 24 00 20 */ psq_st f9, 32(r4), 0, qr0
/* 8037D714 0037A674 F1 44 00 28 */ psq_st f10, 40(r4), 0, qr0
/* 8037D718 0037A678 4E 80 00 20 */ blr
/* 8037D718 0037A678 4E 80 00 20 */ blr

View File

@ -3,11 +3,15 @@
.section .sdata2
.global lbl_805AEC10
lbl_805AEC10:
.incbin "baserom.dol", 0x3FB4B0, 0x4
# ROM: 0x3FB4B0
.4byte 0x3F000000
.global lbl_805AEC14
lbl_805AEC14:
.incbin "baserom.dol", 0x3FB4B4, 0x4
# ROM: 0x3FB4B4
.4byte 0x40400000
.section .text, "ax"
.global C_VECNormalize
@ -28,7 +32,7 @@ C_VECNormalize:
/* 8037D684 0037A5E4 F0 44 00 00 */ psq_st f2, 0(r4), 0, qr0
/* 8037D688 0037A5E8 10 63 01 58 */ ps_muls0 f3, f3, f5
/* 8037D68C 0037A5EC F0 64 80 08 */ psq_st f3, 8(r4), 1, qr0
/* 8037D690 0037A5F0 4E 80 00 20 */ blr
/* 8037D690 0037A5F0 4E 80 00 20 */ blr
.global C_VECCrossProduct
C_VECCrossProduct:
@ -46,5 +50,5 @@ C_VECCrossProduct:
/* 8037D6C0 0037A620 F1 25 80 00 */ psq_st f9, 0(r5), 1, qr0
/* 8037D6C4 0037A624 11 40 50 50 */ ps_neg f10, f10
/* 8037D6C8 0037A628 F1 45 00 04 */ psq_st f10, 4(r5), 0, qr0
/* 8037D6CC 0037A62C 4E 80 00 20 */ blr
/* 8037D6CC 0037A62C 4E 80 00 20 */ blr

View File

@ -36,7 +36,7 @@ __OSInIPL:
.global __OSStartTime
__OSStartTime:
.skip 0x8
.section .data
.global lbl_803F0DA0
lbl_803F0DA0:
@ -94,13 +94,13 @@ __OSExceptionLocations:
.balign 4
.asciz "Exceptions initialized...\n"
.balign 4
.section .sdata
.global lbl_805A8B28
lbl_805A8B28:
.4byte lbl_803F0DA0
.global lbl_805A8B2C
lbl_805A8B2C:
.asciz "%s\n"
@ -121,7 +121,7 @@ lbl_8037D734:
/* 8037D738 0037A698 38 63 00 02 */ addi r3, r3, 0x10000002@l
/* 8037D73C 0037A69C 48 00 00 04 */ b lbl_8037D740
lbl_8037D740:
/* 8037D740 0037A6A0 4E 80 00 20 */ blr
/* 8037D740 0037A6A0 4E 80 00 20 */ blr
.global ClearArena
ClearArena:
@ -202,7 +202,7 @@ lbl_8037D858:
/* 8037D85C 0037A7BC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8037D860 0037A7C0 38 21 00 10 */ addi r1, r1, 0x10
/* 8037D864 0037A7C4 7C 08 03 A6 */ mtlr r0
/* 8037D868 0037A7C8 4E 80 00 20 */ blr
/* 8037D868 0037A7C8 4E 80 00 20 */ blr
.global InquiryCallback
InquiryCallback:
@ -223,7 +223,7 @@ lbl_8037D898:
/* 8037D89C 0037A7FC 3C 60 80 00 */ lis r3, 0x800030E6@ha
/* 8037D8A0 0037A800 B0 03 30 E6 */ sth r0, 0x800030E6@l(r3)
lbl_8037d8a4:
/* 8037D8A4 0037A804 4E 80 00 20 */ blr
/* 8037D8A4 0037A804 4E 80 00 20 */ blr
.global OSInit
OSInit:
@ -468,7 +468,7 @@ lbl_8037DC04:
/* 8037DC10 0037AB70 83 A1 00 0C */ lwz r29, 0xc(r1)
/* 8037DC14 0037AB74 38 21 00 18 */ addi r1, r1, 0x18
/* 8037DC18 0037AB78 7C 08 03 A6 */ mtlr r0
/* 8037DC1C 0037AB7C 4E 80 00 20 */ blr
/* 8037DC1C 0037AB7C 4E 80 00 20 */ blr
.global OSExceptionInit
OSExceptionInit:
@ -648,7 +648,7 @@ lbl_8037DE70:
/* 8037DE90 0037ADF0 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 8037DE94 0037ADF4 38 21 00 38 */ addi r1, r1, 0x38
/* 8037DE98 0037ADF8 7C 08 03 A6 */ mtlr r0
/* 8037DE9C 0037ADFC 4E 80 00 20 */ blr
/* 8037DE9C 0037ADFC 4E 80 00 20 */ blr
.global __OSDBIntegrator
__OSDBIntegrator:
@ -660,7 +660,7 @@ __OSDBIntegrator:
/* 8037DEB4 0037AE14 7C 68 03 A6 */ mtlr r3
/* 8037DEB8 0037AE18 38 60 00 30 */ li r3, 0x30
/* 8037DEBC 0037AE1C 7C 60 01 24 */ mtmsr r3
/* 8037DEC0 0037AE20 4E 80 00 20 */ blr
/* 8037DEC0 0037AE20 4E 80 00 20 */ blr
.global __OSDBJump
__OSDBJump:
@ -678,7 +678,7 @@ __OSSetExceptionHandler:
/* 8037DED4 0037AE34 7C A3 02 14 */ add r5, r3, r0
/* 8037DED8 0037AE38 80 65 00 00 */ lwz r3, 0(r5)
/* 8037DEDC 0037AE3C 90 85 00 00 */ stw r4, 0(r5)
/* 8037DEE0 0037AE40 4E 80 00 20 */ blr
/* 8037DEE0 0037AE40 4E 80 00 20 */ blr
.global __OSGetExceptionHandler
__OSGetExceptionHandler:
@ -686,7 +686,7 @@ __OSGetExceptionHandler:
/* 8037DEE8 0037AE48 80 6D AC D4 */ lwz r3, OSExceptionTable@sda21(r13)
/* 8037DEEC 0037AE4C 54 00 10 3A */ slwi r0, r0, 2
/* 8037DEF0 0037AE50 7C 63 00 2E */ lwzx r3, r3, r0
/* 8037DEF4 0037AE54 4E 80 00 20 */ blr
/* 8037DEF4 0037AE54 4E 80 00 20 */ blr
.global OSExceptionVector
OSExceptionVector:
@ -713,7 +713,7 @@ OSExceptionVector:
/* 8037DF48 0037AEA8 90 64 01 9C */ stw r3, 0x19c(r4)
/* 8037DF4C 0037AEAC 7C 65 1B 78 */ mr r5, r3
__DBVECTOR:
/* 8037DF50 0037AEB0 60 00 00 00 */ nop
/* 8037DF50 0037AEB0 60 00 00 00 */ nop
/* 8037DF54 0037AEB4 7C 60 00 A6 */ mfmsr r3
/* 8037DF58 0037AEB8 60 63 00 30 */ ori r3, r3, 0x30
/* 8037DF5C 0037AEBC 7C 7B 03 A6 */ mtspr 0x1b, r3
@ -725,12 +725,12 @@ lbl_8037DF60:
/* 8037DF70 0037AED0 3C A0 80 38 */ lis r5, OSDefaultExceptionHandler@ha
/* 8037DF74 0037AED4 38 A5 DF 94 */ addi r5, r5, OSDefaultExceptionHandler@l
/* 8037DF78 0037AED8 7C BA 03 A6 */ mtspr 0x1a, r5
/* 8037DF7C 0037AEDC 4C 00 00 64 */ rfi
/* 8037DF7C 0037AEDC 4C 00 00 64 */ rfi
lbl_8037DF80:
/* 8037DF80 0037AEE0 54 65 15 BA */ rlwinm r5, r3, 2, 0x16, 0x1d
/* 8037DF84 0037AEE4 80 A5 30 00 */ lwz r5, 0x3000(r5)
/* 8037DF88 0037AEE8 7C BA 03 A6 */ mtspr 0x1a, r5
/* 8037DF8C 0037AEEC 4C 00 00 64 */ rfi
/* 8037DF8C 0037AEEC 4C 00 00 64 */ rfi
lbl_8037DF90:
/* 8037DF90 0037AEF0 60 00 00 00 */ nop
@ -774,7 +774,7 @@ __OSPSInit:
/* 8037E014 0037AF74 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8037E018 0037AF78 38 21 00 08 */ addi r1, r1, 8
/* 8037E01C 0037AF7C 7C 08 03 A6 */ mtlr r0
/* 8037E020 0037AF80 4E 80 00 20 */ blr
/* 8037E020 0037AF80 4E 80 00 20 */ blr
.global __OSGetDIConfig
__OSGetDIConfig:
@ -782,7 +782,7 @@ __OSGetDIConfig:
/* 8037E028 0037AF88 38 63 60 00 */ addi r3, r3, 0xCC006000@l
/* 8037E02C 0037AF8C 80 03 00 24 */ lwz r0, 0x24(r3)
/* 8037E030 0037AF90 54 03 06 3E */ clrlwi r3, r0, 0x18
/* 8037E034 0037AF94 4E 80 00 20 */ blr
/* 8037E034 0037AF94 4E 80 00 20 */ blr
.global OSRegisterVersion
OSRegisterVersion:
@ -796,4 +796,4 @@ OSRegisterVersion:
/* 8037E054 0037AFB4 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8037E058 0037AFB8 38 21 00 08 */ addi r1, r1, 8
/* 8037E05C 0037AFBC 7C 08 03 A6 */ mtlr r0
/* 8037E060 0037AFC0 4E 80 00 20 */ blr
/* 8037E060 0037AFC0 4E 80 00 20 */ blr

View File

@ -28,14 +28,14 @@ lbl_8037E0A0:
/* 8037E0A0 0037B000 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8037E0A4 0037B004 38 21 00 08 */ addi r1, r1, 8
/* 8037E0A8 0037B008 7C 08 03 A6 */ mtlr r0
/* 8037E0AC 0037B00C 4E 80 00 20 */ blr
/* 8037E0AC 0037B00C 4E 80 00 20 */ blr
.global OSCreateAlarm
OSCreateAlarm:
/* 8037E0B0 0037B010 38 00 00 00 */ li r0, 0
/* 8037E0B4 0037B014 90 03 00 00 */ stw r0, 0(r3)
/* 8037E0B8 0037B018 90 03 00 04 */ stw r0, 4(r3)
/* 8037E0BC 0037B01C 4E 80 00 20 */ blr
/* 8037E0BC 0037B01C 4E 80 00 20 */ blr
.global InsertAlarm
InsertAlarm:
@ -197,7 +197,7 @@ lbl_8037E2FC:
/* 8037E300 0037B260 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8037E304 0037B264 38 21 00 40 */ addi r1, r1, 0x40
/* 8037E308 0037B268 7C 08 03 A6 */ mtlr r0
/* 8037E30C 0037B26C 4E 80 00 20 */ blr
/* 8037E30C 0037B26C 4E 80 00 20 */ blr
.global OSSetAlarm
OSSetAlarm:
@ -226,7 +226,7 @@ OSSetAlarm:
/* 8037E368 0037B2C8 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 8037E36C 0037B2CC 38 21 00 38 */ addi r1, r1, 0x38
/* 8037E370 0037B2D0 7C 08 03 A6 */ mtlr r0
/* 8037E374 0037B2D4 4E 80 00 20 */ blr
/* 8037E374 0037B2D4 4E 80 00 20 */ blr
.global OSSetPeriodicAlarm
OSSetPeriodicAlarm:
@ -260,7 +260,7 @@ OSSetPeriodicAlarm:
/* 8037E3E4 0037B344 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8037E3E8 0037B348 38 21 00 40 */ addi r1, r1, 0x40
/* 8037E3EC 0037B34C 7C 08 03 A6 */ mtlr r0
/* 8037E3F0 0037B350 4E 80 00 20 */ blr
/* 8037E3F0 0037B350 4E 80 00 20 */ blr
.global OSCancelAlarm
OSCancelAlarm:
@ -342,7 +342,7 @@ lbl_8037E4F4:
/* 8037E500 0037B460 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8037E504 0037B464 38 21 00 20 */ addi r1, r1, 0x20
/* 8037E508 0037B468 7C 08 03 A6 */ mtlr r0
/* 8037E50C 0037B46C 4E 80 00 20 */ blr
/* 8037E50C 0037B46C 4E 80 00 20 */ blr
.global DecrementerExceptionCallback
DecrementerExceptionCallback:
@ -480,7 +480,7 @@ lbl_8037E6D8:
/* 8037E6F0 0037B650 7D 88 03 A6 */ mtlr r12
/* 8037E6F4 0037B654 38 7F 00 00 */ addi r3, r31, 0
/* 8037E6F8 0037B658 38 9D 00 00 */ addi r4, r29, 0
/* 8037E6FC 0037B65C 4E 80 00 21 */ blrl
/* 8037E6FC 0037B65C 4E 80 00 21 */ blrl
/* 8037E700 0037B660 38 61 00 18 */ addi r3, r1, 0x18
/* 8037E704 0037B664 48 00 0F 11 */ bl OSClearContext
/* 8037E708 0037B668 7F A3 EB 78 */ mr r3, r29
@ -496,7 +496,7 @@ lbl_8037E6D8:
/* 8037E730 0037B690 83 81 02 E0 */ lwz r28, 0x2e0(r1)
/* 8037E734 0037B694 38 21 02 F0 */ addi r1, r1, 0x2f0
/* 8037E738 0037B698 7C 08 03 A6 */ mtlr r0
/* 8037E73C 0037B69C 4E 80 00 20 */ blr
/* 8037E73C 0037B69C 4E 80 00 20 */ blr
.global DecrementerExceptionHandler
DecrementerExceptionHandler:

View File

@ -3,34 +3,37 @@
.section .sdata
.global lbl_805A8B30
lbl_805A8B30:
.incbin "baserom.dol", 0x3F64D0, 0x8
# ROM: 0x3F64D0
.4byte 0xFFFFFFFF
.4byte 0
.section .sbss
.global lbl_805A98B8
lbl_805A98B8:
.skip 0x8
.section .text, "ax"
.global OSGetArenaHi
OSGetArenaHi:
/* 8037E790 0037B6F0 80 6D AC F8 */ lwz r3, lbl_805A98B8@sda21(r13)
/* 8037E794 0037B6F4 4E 80 00 20 */ blr
/* 8037E794 0037B6F4 4E 80 00 20 */ blr
.global OSGetArenaLo
OSGetArenaLo:
/* 8037E798 0037B6F8 80 6D 9F 70 */ lwz r3, lbl_805A8B30@sda21(r13)
/* 8037E79C 0037B6FC 4E 80 00 20 */ blr
/* 8037E79C 0037B6FC 4E 80 00 20 */ blr
.global OSSetArenaHi
OSSetArenaHi:
/* 8037E7A0 0037B700 90 6D AC F8 */ stw r3, lbl_805A98B8@sda21(r13)
/* 8037E7A4 0037B704 4E 80 00 20 */ blr
/* 8037E7A4 0037B704 4E 80 00 20 */ blr
.global OSSetArenaLo
OSSetArenaLo:
/* 8037E7A8 0037B708 90 6D 9F 70 */ stw r3, lbl_805A8B30@sda21(r13)
/* 8037E7AC 0037B70C 4E 80 00 20 */ blr
/* 8037E7AC 0037B70C 4E 80 00 20 */ blr
.global OSAllocFromArenaLo
OSAllocFromArenaLo:
@ -44,6 +47,6 @@ OSAllocFromArenaLo:
/* 8037E7CC 0037B72C 7C A0 00 38 */ and r0, r5, r0
/* 8037E7D0 0037B730 90 0D 9F 70 */ stw r0, lbl_805A8B30@sda21(r13)
/* 8037E7D4 0037B734 7C C3 33 78 */ mr r3, r6
/* 8037E7D8 0037B738 4E 80 00 20 */ blr
/* 8037E7D8 0037B738 4E 80 00 20 */ blr

View File

@ -30,7 +30,7 @@ lbl_803F1028:
.asciz "L2 cache initialized\n"
.balign 4
.asciz "Locked cache machine check handler installed\n"
.section .text, "ax"
.global DCEnable
@ -39,12 +39,12 @@ DCEnable:
/* 8037EA74 0037B9D4 7C 70 FA A6 */ mfspr r3, 0x3f0
/* 8037EA78 0037B9D8 60 63 40 00 */ ori r3, r3, 0x4000
/* 8037EA7C 0037B9DC 7C 70 FB A6 */ mtspr 0x3f0, r3
/* 8037EA80 0037B9E0 4E 80 00 20 */ blr
/* 8037EA80 0037B9E0 4E 80 00 20 */ blr
.global DCInvalidateRange
DCInvalidateRange:
/* 8037EA84 0037B9E4 28 04 00 00 */ cmplwi r4, 0
/* 8037EA88 0037B9E8 4C 81 00 20 */ blelr
/* 8037EA88 0037B9E8 4C 81 00 20 */ blelr
/* 8037EA8C 0037B9EC 54 65 06 FE */ clrlwi r5, r3, 0x1b
/* 8037EA90 0037B9F0 7C 84 2A 14 */ add r4, r4, r5
/* 8037EA94 0037B9F4 38 84 00 1F */ addi r4, r4, 0x1f
@ -54,12 +54,12 @@ lbl_8037EAA0:
/* 8037EAA0 0037BA00 7C 00 1B AC */ dcbi 0, r3
/* 8037EAA4 0037BA04 38 63 00 20 */ addi r3, r3, 0x20
/* 8037EAA8 0037BA08 42 00 FF F8 */ bdnz lbl_8037EAA0
/* 8037EAAC 0037BA0C 4E 80 00 20 */ blr
/* 8037EAAC 0037BA0C 4E 80 00 20 */ blr
.global DCFlushRange
DCFlushRange:
/* 8037EAB0 0037BA10 28 04 00 00 */ cmplwi r4, 0
/* 8037EAB4 0037BA14 4C 81 00 20 */ blelr
/* 8037EAB4 0037BA14 4C 81 00 20 */ blelr
/* 8037EAB8 0037BA18 54 65 06 FE */ clrlwi r5, r3, 0x1b
/* 8037EABC 0037BA1C 7C 84 2A 14 */ add r4, r4, r5
/* 8037EAC0 0037BA20 38 84 00 1F */ addi r4, r4, 0x1f
@ -69,13 +69,13 @@ lbl_8037EACC:
/* 8037EACC 0037BA2C 7C 00 18 AC */ dcbf 0, r3
/* 8037EAD0 0037BA30 38 63 00 20 */ addi r3, r3, 0x20
/* 8037EAD4 0037BA34 42 00 FF F8 */ bdnz lbl_8037EACC
/* 8037EAD8 0037BA38 44 00 00 02 */ sc
/* 8037EADC 0037BA3C 4E 80 00 20 */ blr
/* 8037EAD8 0037BA38 44 00 00 02 */ sc
/* 8037EADC 0037BA3C 4E 80 00 20 */ blr
.global DCStoreRange
DCStoreRange:
/* 8037EAE0 0037BA40 28 04 00 00 */ cmplwi r4, 0
/* 8037EAE4 0037BA44 4C 81 00 20 */ blelr
/* 8037EAE4 0037BA44 4C 81 00 20 */ blelr
/* 8037EAE8 0037BA48 54 65 06 FE */ clrlwi r5, r3, 0x1b
/* 8037EAEC 0037BA4C 7C 84 2A 14 */ add r4, r4, r5
/* 8037EAF0 0037BA50 38 84 00 1F */ addi r4, r4, 0x1f
@ -85,13 +85,13 @@ lbl_8037EAFC:
/* 8037EAFC 0037BA5C 7C 00 18 6C */ dcbst 0, r3
/* 8037EB00 0037BA60 38 63 00 20 */ addi r3, r3, 0x20
/* 8037EB04 0037BA64 42 00 FF F8 */ bdnz lbl_8037EAFC
/* 8037EB08 0037BA68 44 00 00 02 */ sc
/* 8037EB0C 0037BA6C 4E 80 00 20 */ blr
/* 8037EB08 0037BA68 44 00 00 02 */ sc
/* 8037EB0C 0037BA6C 4E 80 00 20 */ blr
.global DCFlushRangeNoSync
DCFlushRangeNoSync:
/* 8037EB10 0037BA70 28 04 00 00 */ cmplwi r4, 0
/* 8037EB14 0037BA74 4C 81 00 20 */ blelr
/* 8037EB14 0037BA74 4C 81 00 20 */ blelr
/* 8037EB18 0037BA78 54 65 06 FE */ clrlwi r5, r3, 0x1b
/* 8037EB1C 0037BA7C 7C 84 2A 14 */ add r4, r4, r5
/* 8037EB20 0037BA80 38 84 00 1F */ addi r4, r4, 0x1f
@ -101,12 +101,12 @@ lbl_8037EB2C:
/* 8037EB2C 0037BA8C 7C 00 18 AC */ dcbf 0, r3
/* 8037EB30 0037BA90 38 63 00 20 */ addi r3, r3, 0x20
/* 8037EB34 0037BA94 42 00 FF F8 */ bdnz lbl_8037EB2C
/* 8037EB38 0037BA98 4E 80 00 20 */ blr
/* 8037EB38 0037BA98 4E 80 00 20 */ blr
.global DCStoreRangeNoSync
DCStoreRangeNoSync:
/* 8037EB3C 0037BA9C 28 04 00 00 */ cmplwi r4, 0
/* 8037EB40 0037BAA0 4C 81 00 20 */ blelr
/* 8037EB40 0037BAA0 4C 81 00 20 */ blelr
/* 8037EB44 0037BAA4 54 65 06 FE */ clrlwi r5, r3, 0x1b
/* 8037EB48 0037BAA8 7C 84 2A 14 */ add r4, r4, r5
/* 8037EB4C 0037BAAC 38 84 00 1F */ addi r4, r4, 0x1f
@ -116,12 +116,12 @@ lbl_8037EB58:
/* 8037EB58 0037BAB8 7C 00 18 6C */ dcbst 0, r3
/* 8037EB5C 0037BABC 38 63 00 20 */ addi r3, r3, 0x20
/* 8037EB60 0037BAC0 42 00 FF F8 */ bdnz lbl_8037EB58
/* 8037EB64 0037BAC4 4E 80 00 20 */ blr
/* 8037EB64 0037BAC4 4E 80 00 20 */ blr
.global DCZeroRange
DCZeroRange:
/* 8037EB68 0037BAC8 28 04 00 00 */ cmplwi r4, 0
/* 8037EB6C 0037BACC 4C 81 00 20 */ blelr
/* 8037EB6C 0037BACC 4C 81 00 20 */ blelr
/* 8037EB70 0037BAD0 54 65 06 FE */ clrlwi r5, r3, 0x1b
/* 8037EB74 0037BAD4 7C 84 2A 14 */ add r4, r4, r5
/* 8037EB78 0037BAD8 38 84 00 1F */ addi r4, r4, 0x1f
@ -134,12 +134,12 @@ lbl_8037EB84:
.global sub_8037eb90
sub_8037eb90:
/* 8037EB90 0037BAF0 4E 80 00 20 */ blr
/* 8037EB90 0037BAF0 4E 80 00 20 */ blr
.global ICInvalidateRange
ICInvalidateRange:
/* 8037EB94 0037BAF4 28 04 00 00 */ cmplwi r4, 0
/* 8037EB98 0037BAF8 4C 81 00 20 */ blelr
/* 8037EB98 0037BAF8 4C 81 00 20 */ blelr
/* 8037EB9C 0037BAFC 54 65 06 FE */ clrlwi r5, r3, 0x1b
/* 8037EBA0 0037BB00 7C 84 2A 14 */ add r4, r4, r5
/* 8037EBA4 0037BB04 38 84 00 1F */ addi r4, r4, 0x1f
@ -150,23 +150,23 @@ lbl_8037EBB0:
/* 8037EBB4 0037BB14 38 63 00 20 */ addi r3, r3, 0x20
/* 8037EBB8 0037BB18 42 00 FF F8 */ bdnz lbl_8037EBB0
/* 8037EBBC 0037BB1C 7C 00 04 AC */ sync 0
/* 8037EBC0 0037BB20 4C 00 01 2C */ isync
/* 8037EBC4 0037BB24 4E 80 00 20 */ blr
/* 8037EBC0 0037BB20 4C 00 01 2C */ isync
/* 8037EBC4 0037BB24 4E 80 00 20 */ blr
.global ICFlashInvalidate
ICFlashInvalidate:
/* 8037EBC8 0037BB28 7C 70 FA A6 */ mfspr r3, 0x3f0
/* 8037EBCC 0037BB2C 60 63 08 00 */ ori r3, r3, 0x800
/* 8037EBD0 0037BB30 7C 70 FB A6 */ mtspr 0x3f0, r3
/* 8037EBD4 0037BB34 4E 80 00 20 */ blr
/* 8037EBD4 0037BB34 4E 80 00 20 */ blr
.global ICEnable
ICEnable:
/* 8037EBD8 0037BB38 4C 00 01 2C */ isync
/* 8037EBD8 0037BB38 4C 00 01 2C */ isync
/* 8037EBDC 0037BB3C 7C 70 FA A6 */ mfspr r3, 0x3f0
/* 8037EBE0 0037BB40 60 63 80 00 */ ori r3, r3, 0x8000
/* 8037EBE4 0037BB44 7C 70 FB A6 */ mtspr 0x3f0, r3
/* 8037EBE8 0037BB48 4E 80 00 20 */ blr
/* 8037EBE8 0037BB48 4E 80 00 20 */ blr
.global __LCEnable
__LCEnable:
@ -184,24 +184,24 @@ lbl_8037EC04:
/* 8037EC14 0037BB74 7C 98 E2 A6 */ mfspr r4, 0x398
/* 8037EC18 0037BB78 64 84 10 0F */ oris r4, r4, 0x100f
/* 8037EC1C 0037BB7C 7C 98 E3 A6 */ mtspr 0x398, r4
/* 8037EC20 0037BB80 60 00 00 00 */ nop
/* 8037EC24 0037BB84 60 00 00 00 */ nop
/* 8037EC28 0037BB88 60 00 00 00 */ nop
/* 8037EC2C 0037BB8C 60 00 00 00 */ nop
/* 8037EC30 0037BB90 60 00 00 00 */ nop
/* 8037EC34 0037BB94 60 00 00 00 */ nop
/* 8037EC38 0037BB98 60 00 00 00 */ nop
/* 8037EC3C 0037BB9C 60 00 00 00 */ nop
/* 8037EC40 0037BBA0 60 00 00 00 */ nop
/* 8037EC44 0037BBA4 60 00 00 00 */ nop
/* 8037EC48 0037BBA8 60 00 00 00 */ nop
/* 8037EC4C 0037BBAC 60 00 00 00 */ nop
/* 8037EC20 0037BB80 60 00 00 00 */ nop
/* 8037EC24 0037BB84 60 00 00 00 */ nop
/* 8037EC28 0037BB88 60 00 00 00 */ nop
/* 8037EC2C 0037BB8C 60 00 00 00 */ nop
/* 8037EC30 0037BB90 60 00 00 00 */ nop
/* 8037EC34 0037BB94 60 00 00 00 */ nop
/* 8037EC38 0037BB98 60 00 00 00 */ nop
/* 8037EC3C 0037BB9C 60 00 00 00 */ nop
/* 8037EC40 0037BBA0 60 00 00 00 */ nop
/* 8037EC44 0037BBA4 60 00 00 00 */ nop
/* 8037EC48 0037BBA8 60 00 00 00 */ nop
/* 8037EC4C 0037BBAC 60 00 00 00 */ nop
/* 8037EC50 0037BBB0 3C 60 E0 00 */ lis r3, 0xE0000002@h
/* 8037EC54 0037BBB4 60 63 00 02 */ ori r3, r3, 0xE0000002@l
/* 8037EC58 0037BBB8 7C 7F 83 A6 */ mtdbatl 3, r3
/* 8037EC5C 0037BBBC 60 63 01 FE */ ori r3, r3, 0x1fe
/* 8037EC60 0037BBC0 7C 7E 83 A6 */ mtdbatu 3, r3
/* 8037EC64 0037BBC4 4C 00 01 2C */ isync
/* 8037EC64 0037BBC4 4C 00 01 2C */ isync
/* 8037EC68 0037BBC8 3C 60 E0 00 */ lis r3, 0xE0000020@ha
/* 8037EC6C 0037BBCC 38 C0 02 00 */ li r6, 0x200
/* 8037EC70 0037BBD0 7C C9 03 A6 */ mtctr r6
@ -210,19 +210,19 @@ lbl_8037EC78:
/* 8037EC78 0037BBD8 10 06 1F EC */ dcbz_l r6, r3
/* 8037EC7C 0037BBDC 38 63 00 20 */ addi r3, r3, 0xE0000020@l
/* 8037EC80 0037BBE0 42 00 FF F8 */ bdnz lbl_8037EC78
/* 8037EC84 0037BBE4 60 00 00 00 */ nop
/* 8037EC88 0037BBE8 60 00 00 00 */ nop
/* 8037EC8C 0037BBEC 60 00 00 00 */ nop
/* 8037EC90 0037BBF0 60 00 00 00 */ nop
/* 8037EC94 0037BBF4 60 00 00 00 */ nop
/* 8037EC98 0037BBF8 60 00 00 00 */ nop
/* 8037EC9C 0037BBFC 60 00 00 00 */ nop
/* 8037ECA0 0037BC00 60 00 00 00 */ nop
/* 8037ECA4 0037BC04 60 00 00 00 */ nop
/* 8037ECA8 0037BC08 60 00 00 00 */ nop
/* 8037ECAC 0037BC0C 60 00 00 00 */ nop
/* 8037ECB0 0037BC10 60 00 00 00 */ nop
/* 8037ECB4 0037BC14 4E 80 00 20 */ blr
/* 8037EC84 0037BBE4 60 00 00 00 */ nop
/* 8037EC88 0037BBE8 60 00 00 00 */ nop
/* 8037EC8C 0037BBEC 60 00 00 00 */ nop
/* 8037EC90 0037BBF0 60 00 00 00 */ nop
/* 8037EC94 0037BBF4 60 00 00 00 */ nop
/* 8037EC98 0037BBF8 60 00 00 00 */ nop
/* 8037EC9C 0037BBFC 60 00 00 00 */ nop
/* 8037ECA0 0037BC00 60 00 00 00 */ nop
/* 8037ECA4 0037BC04 60 00 00 00 */ nop
/* 8037ECA8 0037BC08 60 00 00 00 */ nop
/* 8037ECAC 0037BC0C 60 00 00 00 */ nop
/* 8037ECB0 0037BC10 60 00 00 00 */ nop
/* 8037ECB4 0037BC14 4E 80 00 20 */ blr
.global LCEnable
LCEnable:
@ -239,7 +239,7 @@ LCEnable:
/* 8037ECE0 0037BC40 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8037ECE4 0037BC44 38 21 00 10 */ addi r1, r1, 0x10
/* 8037ECE8 0037BC48 7C 08 03 A6 */ mtlr r0
/* 8037ECEC 0037BC4C 4E 80 00 20 */ blr
/* 8037ECEC 0037BC4C 4E 80 00 20 */ blr
.global LCDisable
LCDisable:
@ -253,7 +253,7 @@ lbl_8037ECFC:
/* 8037ED08 0037BC68 7C 98 E2 A6 */ mfspr r4, 0x398
/* 8037ED0C 0037BC6C 54 84 01 04 */ rlwinm r4, r4, 0, 4, 2
/* 8037ED10 0037BC70 7C 98 E3 A6 */ mtspr 0x398, r4
/* 8037ED14 0037BC74 4E 80 00 20 */ blr
/* 8037ED14 0037BC74 4E 80 00 20 */ blr
.global sub_8037ed18
sub_8037ed18:
@ -265,7 +265,7 @@ sub_8037ed18:
/* 8037ED2C 0037BC8C 7C C6 1B 78 */ or r6, r6, r3
/* 8037ED30 0037BC90 60 C6 00 12 */ ori r6, r6, 0x12
/* 8037ED34 0037BC94 7C DB E3 A6 */ mtspr 0x39b, r6
/* 8037ED38 0037BC98 4E 80 00 20 */ blr
/* 8037ED38 0037BC98 4E 80 00 20 */ blr
.global LCStoreBlocks
LCStoreBlocks:
@ -277,7 +277,7 @@ LCStoreBlocks:
/* 8037ED50 0037BCB0 7C C6 23 78 */ or r6, r6, r4
/* 8037ED54 0037BCB4 60 C6 00 02 */ ori r6, r6, 2
/* 8037ED58 0037BCB8 7C DB E3 A6 */ mtspr 0x39b, r6
/* 8037ED5C 0037BCBC 4E 80 00 20 */ blr
/* 8037ED5C 0037BCBC 4E 80 00 20 */ blr
.global sub_8037ed60
sub_8037ed60:
@ -328,7 +328,7 @@ lbl_8037EDE0:
/* 8037EDFC 0037BD5C 83 81 00 18 */ lwz r28, 0x18(r1)
/* 8037EE00 0037BD60 38 21 00 28 */ addi r1, r1, 0x28
/* 8037EE04 0037BD64 7C 08 03 A6 */ mtlr r0
/* 8037EE08 0037BD68 4E 80 00 20 */ blr
/* 8037EE08 0037BD68 4E 80 00 20 */ blr
.global LCStoreData
LCStoreData:
@ -379,13 +379,13 @@ lbl_8037EE8C:
/* 8037EEA8 0037BE08 83 81 00 18 */ lwz r28, 0x18(r1)
/* 8037EEAC 0037BE0C 38 21 00 28 */ addi r1, r1, 0x28
/* 8037EEB0 0037BE10 7C 08 03 A6 */ mtlr r0
/* 8037EEB4 0037BE14 4E 80 00 20 */ blr
/* 8037EEB4 0037BE14 4E 80 00 20 */ blr
.global LCQueueLength
LCQueueLength:
/* 8037EEB8 0037BE18 7C 98 E2 A6 */ mfspr r4, 0x398
/* 8037EEBC 0037BE1C 54 83 47 3E */ rlwinm r3, r4, 8, 0x1c, 0x1f
/* 8037EEC0 0037BE20 4E 80 00 20 */ blr
/* 8037EEC0 0037BE20 4E 80 00 20 */ blr
.global LCQueueWait
LCQueueWait:
@ -395,7 +395,7 @@ lbl_8037EEC8:
/* 8037EECC 0037BE2C 54 84 47 3E */ rlwinm r4, r4, 8, 0x1c, 0x1f
/* 8037EED0 0037BE30 7D 04 18 00 */ cmpw cr2, r4, r3
/* 8037EED4 0037BE34 40 88 FF F4 */ bge cr2, lbl_8037EEC8
/* 8037EED8 0037BE38 4E 80 00 20 */ blr
/* 8037EED8 0037BE38 4E 80 00 20 */ blr
.global L2GlobalInvalidate
L2GlobalInvalidate:
@ -442,7 +442,7 @@ lbl_8037EF50:
/* 8037EF64 0037BEC4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8037EF68 0037BEC8 38 21 00 10 */ addi r1, r1, 0x10
/* 8037EF6C 0037BECC 7C 08 03 A6 */ mtlr r0
/* 8037EF70 0037BED0 4E 80 00 20 */ blr
/* 8037EF70 0037BED0 4E 80 00 20 */ blr
.global DMAErrorHandler
DMAErrorHandler:
@ -540,7 +540,7 @@ lbl_8037F0B0:
/* 8037F0C4 0037C024 83 A1 00 74 */ lwz r29, 0x74(r1)
/* 8037F0C8 0037C028 38 21 00 80 */ addi r1, r1, 0x80
/* 8037F0CC 0037C02C 7C 08 03 A6 */ mtlr r0
/* 8037F0D0 0037C030 4E 80 00 20 */ blr
/* 8037F0D0 0037C030 4E 80 00 20 */ blr
.global __OSCacheInit
__OSCacheInit:
@ -607,4 +607,4 @@ lbl_8037F194:
/* 8037F1B8 0037C118 83 C1 00 08 */ lwz r30, 8(r1)
/* 8037F1BC 0037C11C 38 21 00 10 */ addi r1, r1, 0x10
/* 8037F1C0 0037C120 7C 08 03 A6 */ mtlr r0
/* 8037F1C4 0037C124 4E 80 00 20 */ blr
/* 8037F1C4 0037C124 4E 80 00 20 */ blr

View File

@ -1,6 +1,6 @@
.include "macros.inc"
.section .data
.section .data
.balign 8
lbl_803F1258:
.asciz "------------------------- Context 0x%08x -------------------------\n"
@ -110,7 +110,7 @@ lbl_8037F268:
/* 8037F2E0 0037C240 CB C4 01 80 */ lfd f30, 0x180(r4)
/* 8037F2E4 0037C244 CB E4 01 88 */ lfd f31, 0x188(r4)
lbl_8037f2e8:
/* 8037F2E8 0037C248 4E 80 00 20 */ blr
/* 8037F2E8 0037C248 4E 80 00 20 */ blr
.global __OSSaveFPUContext
__OSSaveFPUContext:
@ -190,7 +190,7 @@ __OSSaveFPUContext:
.global sub_8037f410
sub_8037f410:
/* 8037F410 0037C370 4E 80 00 20 */ blr
/* 8037F410 0037C370 4E 80 00 20 */ blr
.global OSSaveFPUContext
OSSaveFPUContext:
@ -212,7 +212,7 @@ OSSetCurrentContext:
/* 8037F444 0037C3A4 7C C0 00 A6 */ mfmsr r6
/* 8037F448 0037C3A8 60 C6 00 02 */ ori r6, r6, 2
/* 8037F44C 0037C3AC 7C C0 01 24 */ mtmsr r6
/* 8037F450 0037C3B0 4E 80 00 20 */ blr
/* 8037F450 0037C3B0 4E 80 00 20 */ blr
lbl_8037F454:
/* 8037F454 0037C3B4 80 C3 01 9C */ lwz r6, 0x19c(r3)
/* 8037F458 0037C3B8 54 C6 04 E2 */ rlwinm r6, r6, 0, 0x13, 0x11
@ -221,14 +221,14 @@ lbl_8037F454:
/* 8037F464 0037C3C4 54 C6 04 E2 */ rlwinm r6, r6, 0, 0x13, 0x11
/* 8037F468 0037C3C8 60 C6 00 02 */ ori r6, r6, 2
/* 8037F46C 0037C3CC 7C C0 01 24 */ mtmsr r6
/* 8037F470 0037C3D0 4C 00 01 2C */ isync
/* 8037F474 0037C3D4 4E 80 00 20 */ blr
/* 8037F470 0037C3D0 4C 00 01 2C */ isync
/* 8037F474 0037C3D4 4E 80 00 20 */ blr
.global OSGetCurrentContext
OSGetCurrentContext:
/* 8037F478 0037C3D8 3C 60 80 00 */ lis r3, 0x800000D4@ha
/* 8037F47C 0037C3DC 80 63 00 D4 */ lwz r3, 0x800000D4@l(r3)
/* 8037F480 0037C3E0 4E 80 00 20 */ blr
/* 8037F480 0037C3E0 4E 80 00 20 */ blr
.global OSSaveContext
OSSaveContext:
@ -263,7 +263,7 @@ OSSaveContext:
/* 8037F4F4 0037C454 38 00 00 01 */ li r0, 1
/* 8037F4F8 0037C458 90 03 00 0C */ stw r0, 0xc(r3)
/* 8037F4FC 0037C45C 38 60 00 00 */ li r3, 0
/* 8037F500 0037C460 4E 80 00 20 */ blr
/* 8037F500 0037C460 4E 80 00 20 */ blr
.global OSLoadContext
OSLoadContext:
@ -323,12 +323,12 @@ lbl_8037F558:
/* 8037F5CC 0037C52C 7C 9B 03 A6 */ mtspr 0x1b, r4
/* 8037F5D0 0037C530 80 83 00 10 */ lwz r4, 0x10(r3)
/* 8037F5D4 0037C534 80 63 00 0C */ lwz r3, 0xc(r3)
/* 8037F5D8 0037C538 4C 00 00 64 */ rfi
/* 8037F5D8 0037C538 4C 00 00 64 */ rfi
.global OSGetStackPointer
OSGetStackPointer:
/* 8037F5DC 0037C53C 7C 23 0B 78 */ mr r3, r1
/* 8037F5E0 0037C540 4E 80 00 20 */ blr
/* 8037F5E0 0037C540 4E 80 00 20 */ blr
.global OSSwitchFiber
OSSwitchFiber:
@ -338,12 +338,12 @@ OSSwitchFiber:
/* 8037F5F0 0037C550 7C 81 23 78 */ mr r1, r4
/* 8037F5F4 0037C554 90 05 00 04 */ stw r0, 4(r5)
/* 8037F5F8 0037C558 7C 68 03 A6 */ mtlr r3
/* 8037F5FC 0037C55C 4E 80 00 21 */ blrl
/* 8037F5FC 0037C55C 4E 80 00 21 */ blrl
/* 8037F600 0037C560 80 A1 00 00 */ lwz r5, 0(r1)
/* 8037F604 0037C564 80 05 00 04 */ lwz r0, 4(r5)
/* 8037F608 0037C568 7C 08 03 A6 */ mtlr r0
/* 8037F60C 0037C56C 7C A1 2B 78 */ mr r1, r5
/* 8037F610 0037C570 4E 80 00 20 */ blr
/* 8037F610 0037C570 4E 80 00 20 */ blr
.global OSClearContext
OSClearContext:
@ -356,7 +356,7 @@ OSClearContext:
/* 8037F62C 0037C58C 40 82 00 08 */ bne lbl_8037F634
/* 8037F630 0037C590 90 A4 00 D8 */ stw r5, 0xd8(r4)
lbl_8037F634:
/* 8037F634 0037C594 4E 80 00 20 */ blr
/* 8037F634 0037C594 4E 80 00 20 */ blr
.global OSDumpContext
OSDumpContext:
@ -549,14 +549,14 @@ lbl_8037F8CC:
/* 8037F8D0 0037C830 80 01 02 FC */ lwz r0, 0x2fc(r1)
/* 8037F8D4 0037C834 38 21 02 F8 */ addi r1, r1, 0x2f8
/* 8037F8D8 0037C838 7C 08 03 A6 */ mtlr r0
/* 8037F8DC 0037C83C 4E 80 00 20 */ blr
/* 8037F8DC 0037C83C 4E 80 00 20 */ blr
.global OSSwitchFPUContext
OSSwitchFPUContext:
/* 8037F8E0 0037C840 7C A0 00 A6 */ mfmsr r5
/* 8037F8E4 0037C844 60 A5 20 00 */ ori r5, r5, 0x2000
/* 8037F8E8 0037C848 7C A0 01 24 */ mtmsr r5
/* 8037F8EC 0037C84C 4C 00 01 2C */ isync
/* 8037F8EC 0037C84C 4C 00 01 2C */ isync
/* 8037F8F0 0037C850 80 A4 01 9C */ lwz r5, 0x19c(r4)
/* 8037F8F4 0037C854 60 A5 20 00 */ ori r5, r5, 0x2000
/* 8037F8F8 0037C858 7C BB 03 A6 */ mtspr 0x1b, r5
@ -587,7 +587,7 @@ lbl_8037F920:
/* 8037F954 0037C8B4 80 A4 00 14 */ lwz r5, 0x14(r4)
/* 8037F958 0037C8B8 80 64 00 0C */ lwz r3, 0xc(r4)
/* 8037F95C 0037C8BC 80 84 00 10 */ lwz r4, 0x10(r4)
/* 8037F960 0037C8C0 4C 00 00 64 */ rfi
/* 8037F960 0037C8C0 4C 00 00 64 */ rfi
.global __OSContextInit
__OSContextInit:
@ -608,4 +608,4 @@ __OSContextInit:
/* 8037F99C 0037C8FC 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8037F9A0 0037C900 38 21 00 08 */ addi r1, r1, 8
/* 8037F9A4 0037C904 7C 08 03 A6 */ mtlr r0
/* 8037F9A8 0037C908 4E 80 00 20 */ blr
/* 8037F9A8 0037C908 4E 80 00 20 */ blr

View File

@ -4,7 +4,7 @@
.global lbl_80541250
lbl_80541250:
.skip 0x48
.section .data
.balign 8
@ -47,7 +47,7 @@ lbl_803F170C:
.4byte lbl_8037FF7C
.4byte lbl_8037FF94
.4byte lbl_80380024
.4byte lbl_8037FFA8
.4byte lbl_8037FFA8
.4byte lbl_8037FFC0
.4byte lbl_80380024
.4byte lbl_80380024
@ -61,11 +61,15 @@ lbl_803F170C:
.section .sdata
.global lbl_805A8B38
lbl_805A8B38:
.incbin "baserom.dol", 0x3F64D8, 0x4
# ROM: 0x3F64D8
.4byte 0x000000F8
.global lbl_805A8B3C
lbl_805A8B3C:
.incbin "baserom.dol", 0x3F64DC, 0x4
# ROM: 0x3F64DC
.4byte 0x0A000000
.section .text, "ax"
.global OSReport
@ -102,7 +106,7 @@ lbl_8037F9DC:
/* 8037FA1C 0037C97C 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 8037FA20 0037C980 38 21 00 78 */ addi r1, r1, 0x78
/* 8037FA24 0037C984 7C 08 03 A6 */ mtlr r0
/* 8037FA28 0037C988 4E 80 00 20 */ blr
/* 8037FA28 0037C988 4E 80 00 20 */ blr
.global OSPanic
OSPanic:
@ -184,7 +188,7 @@ lbl_8037FB34:
/* 8037FB48 0037CAA8 83 81 00 80 */ lwz r28, 0x80(r1)
/* 8037FB4C 0037CAAC 38 21 00 90 */ addi r1, r1, 0x90
/* 8037FB50 0037CAB0 7C 08 03 A6 */ mtlr r0
/* 8037FB54 0037CAB4 4E 80 00 20 */ blr
/* 8037FB54 0037CAB4 4E 80 00 20 */ blr
.global OSSetErrorHandler
OSSetErrorHandler:
@ -330,7 +334,7 @@ lbl_8037FD44:
/* 8037FD60 0037CCC0 83 81 00 20 */ lwz r28, 0x20(r1)
/* 8037FD64 0037CCC4 38 21 00 30 */ addi r1, r1, 0x30
/* 8037FD68 0037CCC8 7C 08 03 A6 */ mtlr r0
/* 8037FD6C 0037CCCC 4E 80 00 20 */ blr
/* 8037FD6C 0037CCCC 4E 80 00 20 */ blr
.global __OSUnhandledException
__OSUnhandledException:
@ -396,7 +400,7 @@ lbl_8037FE14:
/* 8037FE54 0037CDB4 7D 88 03 A6 */ mtlr r12
/* 8037FE58 0037CDB8 38 DB 00 00 */ addi r6, r27, 0
/* 8037FE5C 0037CDBC 38 60 00 10 */ li r3, 0x10
/* 8037FE60 0037CDC0 4E 80 00 21 */ blrl
/* 8037FE60 0037CDC0 4E 80 00 21 */ blrl
/* 8037FE64 0037CDC4 80 79 01 9C */ lwz r3, 0x19c(r25)
/* 8037FE68 0037CDC8 38 00 00 00 */ li r0, 0
/* 8037FE6C 0037CDCC 54 63 04 E2 */ rlwinm r3, r3, 0, 0x13, 0x11
@ -432,7 +436,7 @@ lbl_8037FEAC:
/* 8037FED8 0037CE38 7D 88 03 A6 */ mtlr r12
/* 8037FEDC 0037CE3C 38 BA 00 00 */ addi r5, r26, 0
/* 8037FEE0 0037CE40 38 DB 00 00 */ addi r6, r27, 0
/* 8037FEE4 0037CE44 4E 80 00 21 */ blrl
/* 8037FEE4 0037CE44 4E 80 00 21 */ blrl
/* 8037FEE8 0037CE48 48 00 47 39 */ bl OSEnableScheduler
/* 8037FEEC 0037CE4C 48 00 4C 01 */ bl __OSReschedule
/* 8037FEF0 0037CE50 7F 23 CB 78 */ mr r3, r25
@ -533,4 +537,4 @@ lbl_80380024:
/* 80380048 0037CFA8 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8038004C 0037CFAC 38 21 00 40 */ addi r1, r1, 0x40
/* 80380050 0037CFB0 7C 08 03 A6 */ mtlr r0
/* 80380054 0037CFB4 4E 80 00 20 */ blr
/* 80380054 0037CFB4 4E 80 00 20 */ blr

View File

@ -9,46 +9,73 @@ lbl_80541298:
.global lbl_805A8B40
lbl_805A8B40:
.incbin "baserom.dol", 0x3F64E0, 0x8
# ROM: 0x3F64E0
.4byte 0x25730A00
.4byte 0
.section .sdata2
.global lbl_805AEC18
lbl_805AEC18:
.incbin "baserom.dol", 0x3FB4B8, 0x4
# ROM: 0x3FB4B8
.4byte 0x3F000000
.global lbl_805AEC1C
lbl_805AEC1C:
.incbin "baserom.dol", 0x3FB4BC, 0x4
# ROM: 0x3FB4BC
.4byte 0x41800000
.global lbl_805AEC20
lbl_805AEC20:
.incbin "baserom.dol", 0x3FB4C0, 0x4
# ROM: 0x3FB4C0
.4byte 0x3DC8B439
.global lbl_805AEC24
lbl_805AEC24:
.incbin "baserom.dol", 0x3FB4C4, 0x4
# ROM: 0x3FB4C4
.4byte 0x3E839581
.global lbl_805AEC28
lbl_805AEC28:
.incbin "baserom.dol", 0x3FB4C8, 0x4
# ROM: 0x3FB4C8
.4byte 0x3F010625
.global lbl_805AEC2C
lbl_805AEC2C:
.incbin "baserom.dol", 0x3FB4CC, 0x4
# ROM: 0x3FB4CC
.4byte 0x43000000
.global lbl_805AEC30
lbl_805AEC30:
.incbin "baserom.dol", 0x3FB4D0, 0x4
# ROM: 0x3FB4D0
.4byte 0x3EE0C49C
.global lbl_805AEC34
lbl_805AEC34:
.incbin "baserom.dol", 0x3FB4D4, 0x4
# ROM: 0x3FB4D4
.4byte 0xBE178D50
.global lbl_805AEC38
lbl_805AEC38:
.incbin "baserom.dol", 0x3FB4D8, 0x4
# ROM: 0x3FB4D8
.4byte 0x3E94FDF4
.global lbl_805AEC3C
lbl_805AEC3C:
.incbin "baserom.dol", 0x3FB4DC, 0x4
# ROM: 0x3FB4DC
.4byte 0x3EBC6A7F
.global lbl_805AEC40
lbl_805AEC40:
.incbin "baserom.dol", 0x3FB4E0, 0x4
# ROM: 0x3FB4E0
.4byte 0x3D916873
.global lbl_805AEC44
lbl_805AEC44:
.incbin "baserom.dol", 0x3FB4E4, 0x4
# ROM: 0x3FB4E4
.4byte 0x436B0000
.section .text, "ax"
@ -313,7 +340,7 @@ lbl_80380420:
/* 80380424 0037D384 80 01 01 A4 */ lwz r0, 0x1a4(r1)
/* 80380428 0037D388 38 21 01 A0 */ addi r1, r1, 0x1a0
/* 8038042C 0037D38C 7C 08 03 A6 */ mtlr r0
/* 80380430 0037D390 4E 80 00 20 */ blr
/* 80380430 0037D390 4E 80 00 20 */ blr
.global ConfigureVideo
ConfigureVideo:
@ -385,7 +412,7 @@ lbl_80380504:
/* 80380520 0037D480 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 80380524 0037D484 38 21 00 48 */ addi r1, r1, 0x48
/* 80380528 0037D488 7C 08 03 A6 */ mtlr r0
/* 8038052C 0037D48C 4E 80 00 20 */ blr
/* 8038052C 0037D48C 4E 80 00 20 */ blr
.global OSFatal
OSFatal:
@ -453,7 +480,7 @@ lbl_803805B0:
/* 8038061C 0037D57C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80380620 0037D580 38 21 00 30 */ addi r1, r1, 0x30
/* 80380624 0037D584 7C 08 03 A6 */ mtlr r0
/* 80380628 0037D588 4E 80 00 20 */ blr
/* 80380628 0037D588 4E 80 00 20 */ blr
.global Halt
Halt:
@ -868,4 +895,4 @@ lbl_80380BEC:
/* 80380C24 0037DB84 83 81 00 78 */ lwz r28, 0x78(r1)
/* 80380C28 0037DB88 38 21 00 88 */ addi r1, r1, 0x88
/* 80380C2C 0037DB8C 7C 08 03 A6 */ mtlr r0
/* 80380C30 0037DB90 4E 80 00 20 */ blr
/* 80380C30 0037DB90 4E 80 00 20 */ blr

View File

@ -3,8 +3,11 @@
.section .sdata
.global lbl_805A8B48
lbl_805A8B48:
.incbin "baserom.dol", 0x3F64E8, 0x8
# ROM: 0x3F64E8
.4byte 0xFFFF0000
.4byte 0
.section .sbss
lbl_805A98C0:
.skip 0x4
@ -14,7 +17,7 @@ lbl_805A98C8:
.skip 0x4
lbl_805A98CC:
.skip 0x4
.section .data
.balign 8
.global HankakuToCode
@ -115,7 +118,7 @@ HankakuToCode:
.4byte 0x02A402A5
.4byte 0x02A602A7
.4byte 0x02A802A9
.global Zenkaku2Code
Zenkaku2Code:
@ -735,16 +738,26 @@ Zenkaku2Code:
.section .sdata2
.global lbl_805AEC48
lbl_805AEC48:
.incbin "baserom.dol", 0x3FB4E8, 0x8
# ROM: 0x3FB4E8
.4byte 0x43700000
.4byte 0
.global lbl_805AEC50
lbl_805AEC50:
.incbin "baserom.dol", 0x3FB4F0, 0x8
# ROM: 0x3FB4F0
.4byte 0x43300000
.4byte 0
.global lbl_805AEC58
lbl_805AEC58:
.incbin "baserom.dol", 0x3FB4F8, 0x4
# ROM: 0x3FB4F8
.4byte 0x2ABE003D
.global lbl_805AEC5C
lbl_805AEC5C:
.incbin "baserom.dol", 0x3FB4FC, 0x4
# ROM: 0x3FB4FC
.4byte 0x003D003D
.section .text, "ax"
@ -865,7 +878,7 @@ lbl_80380DBC:
/* 80380DC0 0037DD20 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80380DC4 0037DD24 38 21 00 18 */ addi r1, r1, 0x18
/* 80380DC8 0037DD28 7C 08 03 A6 */ mtlr r0
/* 80380DCC 0037DD2C 4E 80 00 20 */ blr
/* 80380DCC 0037DD2C 4E 80 00 20 */ blr
.global sub_80380dd0
sub_80380dd0:
@ -970,13 +983,13 @@ lbl_80380F20:
/* 80380F34 0037DE94 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80380F38 0037DE98 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80380F3C 0037DE9C 38 21 00 20 */ addi r1, r1, 0x20
/* 80380F40 0037DEA0 4E 80 00 20 */ blr
/* 80380F40 0037DEA0 4E 80 00 20 */ blr
.global OSGetFontEncode
OSGetFontEncode:
/* 80380F44 0037DEA4 A0 6D 9F 88 */ lhz r3, lbl_805A8B48@sda21(r13)
/* 80380F48 0037DEA8 28 03 00 01 */ cmplwi r3, 1
/* 80380F4C 0037DEAC 4C 81 00 20 */ blelr
/* 80380F4C 0037DEAC 4C 81 00 20 */ blelr
/* 80380F50 0037DEB0 3C 60 80 00 */ lis r3, 0x800000CC@ha
/* 80380F54 0037DEB4 80 03 00 CC */ lwz r0, 0x800000CC@l(r3)
/* 80380F58 0037DEB8 2C 00 00 00 */ cmpwi r0, 0
@ -1000,7 +1013,7 @@ lbl_80380F8C:
/* 80380F90 0037DEF0 B0 0D 9F 88 */ sth r0, lbl_805A8B48@sda21(r13)
lbl_80380F94:
/* 80380F94 0037DEF4 A0 6D 9F 88 */ lhz r3, lbl_805A8B48@sda21(r13)
/* 80380F98 0037DEF8 4E 80 00 20 */ blr
/* 80380F98 0037DEF8 4E 80 00 20 */ blr
.global sub_80380f9c
sub_80380f9c:
@ -1043,7 +1056,7 @@ lbl_80381000:
/* 80381018 0037DF78 83 81 00 18 */ lwz r28, 0x18(r1)
/* 8038101C 0037DF7C 38 21 00 28 */ addi r1, r1, 0x28
/* 80381020 0037DF80 7C 08 03 A6 */ mtlr r0
/* 80381024 0037DF84 4E 80 00 20 */ blr
/* 80381024 0037DF84 4E 80 00 20 */ blr
.global sub_80381028
sub_80381028:
@ -1263,7 +1276,7 @@ lbl_8038133C:
/* 8038134C 0037E2AC 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 80381350 0037E2B0 38 21 00 40 */ addi r1, r1, 0x40
/* 80381354 0037E2B4 7C 08 03 A6 */ mtlr r0
/* 80381358 0037E2B8 4E 80 00 20 */ blr
/* 80381358 0037E2B8 4E 80 00 20 */ blr
.global sub_8038135c
sub_8038135c:
@ -1479,4 +1492,4 @@ lbl_8038164C:
/* 80381650 0037E5B0 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80381654 0037E5B4 38 21 00 60 */ addi r1, r1, 0x60
/* 80381658 0037E5B8 7C 08 03 A6 */ mtlr r0
/* 8038165C 0037E5BC 4E 80 00 20 */ blr
/* 8038165C 0037E5BC 4E 80 00 20 */ blr

View File

@ -16,7 +16,7 @@ lbl_805A98E0:
.global lbl_805A98E4
lbl_805A98E4:
.skip 0x4
.section .data
.balign 8
.global lbl_803F2260
@ -33,7 +33,7 @@ lbl_803F2260:
.4byte 0x00004000
.4byte 0xFFFFFFFF
.4byte 0x00000000
.section .text, "ax"
.global OSDisableInterrupts
@ -46,7 +46,7 @@ __RAS_OSDisableInterrupts_begin:
.global __RAS_OSDisableInterrupts_end
__RAS_OSDisableInterrupts_end:
/* 8038166C 0037E5CC 54 63 8F FE */ rlwinm r3, r3, 0x11, 0x1f, 0x1f
/* 80381670 0037E5D0 4E 80 00 20 */ blr
/* 80381670 0037E5D0 4E 80 00 20 */ blr
.global OSEnableInterrupts
OSEnableInterrupts:
@ -54,7 +54,7 @@ OSEnableInterrupts:
/* 80381678 0037E5D8 60 64 80 00 */ ori r4, r3, 0x8000
/* 8038167C 0037E5DC 7C 80 01 24 */ mtmsr r4
/* 80381680 0037E5E0 54 63 8F FE */ rlwinm r3, r3, 0x11, 0x1f, 0x1f
/* 80381684 0037E5E4 4E 80 00 20 */ blr
/* 80381684 0037E5E4 4E 80 00 20 */ blr
.global OSRestoreInterrupts
OSRestoreInterrupts:
@ -68,7 +68,7 @@ lbl_8038169C:
lbl_803816A0:
/* 803816A0 0037E600 7C A0 01 24 */ mtmsr r5
/* 803816A4 0037E604 54 83 8F FE */ rlwinm r3, r4, 0x11, 0x1f, 0x1f
/* 803816A8 0037E608 4E 80 00 20 */ blr
/* 803816A8 0037E608 4E 80 00 20 */ blr
.global __OSSetInterruptHandler
__OSSetInterruptHandler:
@ -78,7 +78,7 @@ __OSSetInterruptHandler:
/* 803816B8 0037E618 7C A3 02 14 */ add r5, r3, r0
/* 803816BC 0037E61C 80 65 00 00 */ lwz r3, 0(r5)
/* 803816C0 0037E620 90 85 00 00 */ stw r4, 0(r5)
/* 803816C4 0037E624 4E 80 00 20 */ blr
/* 803816C4 0037E624 4E 80 00 20 */ blr
.global __OSGetInterruptHandler
__OSGetInterruptHandler:
@ -86,7 +86,7 @@ __OSGetInterruptHandler:
/* 803816CC 0037E62C 80 6D AD 10 */ lwz r3, lbl_805A98D0@sda21(r13)
/* 803816D0 0037E630 54 00 10 3A */ slwi r0, r0, 2
/* 803816D4 0037E634 7C 63 00 2E */ lwzx r3, r3, r0
/* 803816D8 0037E638 4E 80 00 20 */ blr
/* 803816D8 0037E638 4E 80 00 20 */ blr
.global __OSInterruptInit
__OSInterruptInit:
@ -118,7 +118,7 @@ __OSInterruptInit:
/* 80381740 0037E6A0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80381744 0037E6A4 38 21 00 10 */ addi r1, r1, 0x10
/* 80381748 0037E6A8 7C 08 03 A6 */ mtlr r0
/* 8038174C 0037E6AC 4E 80 00 20 */ blr
/* 8038174C 0037E6AC 4E 80 00 20 */ blr
.global SetInterruptMask
SetInterruptMask:
@ -340,7 +340,7 @@ lbl_80381A14:
/* 80381A1C 0037E97C 90 A4 00 04 */ stw r5, 4(r4)
/* 80381A20 0037E980 54 63 06 E0 */ rlwinm r3, r3, 0, 0x1b, 0x10
lbl_80381A24:
/* 80381A24 0037E984 4E 80 00 20 */ blr
/* 80381A24 0037E984 4E 80 00 20 */ blr
.global __OSMaskInterrupts
__OSMaskInterrupts:
@ -381,7 +381,7 @@ lbl_80381A80:
/* 80381AA0 0037EA00 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80381AA4 0037EA04 38 21 00 20 */ addi r1, r1, 0x20
/* 80381AA8 0037EA08 7C 08 03 A6 */ mtlr r0
/* 80381AAC 0037EA0C 4E 80 00 20 */ blr
/* 80381AAC 0037EA0C 4E 80 00 20 */ blr
.global __OSUnmaskInterrupts
__OSUnmaskInterrupts:
@ -422,7 +422,7 @@ lbl_80381B08:
/* 80381B28 0037EA88 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80381B2C 0037EA8C 38 21 00 20 */ addi r1, r1, 0x20
/* 80381B30 0037EA90 7C 08 03 A6 */ mtlr r0
/* 80381B34 0037EA94 4E 80 00 20 */ blr
/* 80381B34 0037EA94 4E 80 00 20 */ blr
.global __OSDispatchInterrupt
__OSDispatchInterrupt:
@ -655,7 +655,7 @@ lbl_80381E30:
/* 80381E38 0037ED98 7F C4 F3 78 */ mr r4, r30
/* 80381E3C 0037ED9C 7F EC FB 78 */ mr r12, r31
/* 80381E40 0037EDA0 7D 88 03 A6 */ mtlr r12
/* 80381E44 0037EDA4 4E 80 00 21 */ blrl
/* 80381E44 0037EDA4 4E 80 00 21 */ blrl
/* 80381E48 0037EDA8 48 00 27 D9 */ bl OSEnableScheduler
/* 80381E4C 0037EDAC 48 00 2C A1 */ bl __OSReschedule
/* 80381E50 0037EDB0 7F C3 F3 78 */ mr r3, r30
@ -669,7 +669,7 @@ lbl_80381E58:
/* 80381E6C 0037EDCC 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 80381E70 0037EDD0 38 21 00 28 */ addi r1, r1, 0x28
/* 80381E74 0037EDD4 7C 08 03 A6 */ mtlr r0
/* 80381E78 0037EDD8 4E 80 00 20 */ blr
/* 80381E78 0037EDD8 4E 80 00 20 */ blr
.global ExternalInterruptHandler
ExternalInterruptHandler:

View File

@ -5,21 +5,21 @@
lbl_803F2290:
.asciz "OSLink: unknown relocation type %3d\n"
.balign 4
.global lbl_803F22B8
lbl_803F22B8:
.asciz "OSUnlink: unknown relocation type %3d\n"
.balign 4
.section .text, "ax"
.global OSNotifyLink
OSNotifyLink:
/* 80381ECC 0037EE2C 4E 80 00 20 */ blr
/* 80381ECC 0037EE2C 4E 80 00 20 */ blr
.global OSNotifyUnlink
OSNotifyUnlink:
/* 80381ED0 0037EE30 4E 80 00 20 */ blr
/* 80381ED0 0037EE30 4E 80 00 20 */ blr
.global Relocate
Relocate:
@ -228,7 +228,7 @@ lbl_8038217C:
/* 80382180 0037F0E0 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80382184 0037F0E4 38 21 00 40 */ addi r1, r1, 0x40
/* 80382188 0037F0E8 7C 08 03 A6 */ mtlr r0
/* 8038218C 0037F0EC 4E 80 00 20 */ blr
/* 8038218C 0037F0EC 4E 80 00 20 */ blr
.global OSLink
OSLink:
@ -401,7 +401,7 @@ lbl_803823D4:
/* 803823DC 0037F33C 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803823E0 0037F340 38 21 00 18 */ addi r1, r1, 0x18
/* 803823E4 0037F344 7C 08 03 A6 */ mtlr r0
/* 803823E8 0037F348 4E 80 00 20 */ blr
/* 803823E8 0037F348 4E 80 00 20 */ blr
.global Undo
Undo:
@ -572,7 +572,7 @@ lbl_80382610:
/* 80382614 0037F574 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 80382618 0037F578 38 21 00 38 */ addi r1, r1, 0x38
/* 8038261C 0037F57C 7C 08 03 A6 */ mtlr r0
/* 80382620 0037F580 4E 80 00 20 */ blr
/* 80382620 0037F580 4E 80 00 20 */ blr
.global OSUnlink
OSUnlink:
@ -708,7 +708,7 @@ lbl_803827AC:
/* 803827E8 0037F748 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803827EC 0037F74C 38 21 00 18 */ addi r1, r1, 0x18
/* 803827F0 0037F750 7C 08 03 A6 */ mtlr r0
/* 803827F4 0037F754 4E 80 00 20 */ blr
/* 803827F4 0037F754 4E 80 00 20 */ blr
.global __OSModuleInit
__OSModuleInit:
@ -717,4 +717,4 @@ __OSModuleInit:
/* 80382800 0037F760 90 04 30 CC */ stw r0, 0x800030CC@l(r4)
/* 80382804 0037F764 90 04 30 C8 */ stw r0, 0x30c8(r4)
/* 80382808 0037F768 90 04 30 D0 */ stw r0, 0x30d0(r4)
/* 8038280C 0037F76C 4E 80 00 20 */ blr
/* 8038280C 0037F76C 4E 80 00 20 */ blr

View File

@ -6,7 +6,7 @@ lbl_803F22E0:
.4byte 0x7f
.4byte 0
.4byte 0
.section .text, "ax"
.global sub_80382810
@ -34,7 +34,7 @@ sub_80382810:
/* 80382860 0037F7C0 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 80382864 0037F7C4 38 21 00 28 */ addi r1, r1, 0x28
/* 80382868 0037F7C8 7C 08 03 A6 */ mtlr r0
/* 8038286C 0037F7CC 4E 80 00 20 */ blr
/* 8038286C 0037F7CC 4E 80 00 20 */ blr
.global sub_80382870
sub_80382870:
@ -91,7 +91,7 @@ lbl_80382918:
/* 80382928 0037F888 83 81 00 18 */ lwz r28, 0x18(r1)
/* 8038292C 0037F88C 38 21 00 28 */ addi r1, r1, 0x28
/* 80382930 0037F890 7C 08 03 A6 */ mtlr r0
/* 80382934 0037F894 4E 80 00 20 */ blr
/* 80382934 0037F894 4E 80 00 20 */ blr
.global sub_80382938
sub_80382938:
@ -154,7 +154,7 @@ lbl_803829F4:
/* 80382A04 0037F964 83 81 00 18 */ lwz r28, 0x18(r1)
/* 80382A08 0037F968 38 21 00 28 */ addi r1, r1, 0x28
/* 80382A0C 0037F96C 7C 08 03 A6 */ mtlr r0
/* 80382A10 0037F970 4E 80 00 20 */ blr
/* 80382A10 0037F970 4E 80 00 20 */ blr
OnReset:
/* 80382A14 0037F974 7C 08 02 A6 */ mflr r0
@ -172,7 +172,7 @@ lbl_80382A3C:
/* 80382A40 0037F9A0 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80382A44 0037F9A4 38 21 00 08 */ addi r1, r1, 8
/* 80382A48 0037F9A8 7C 08 03 A6 */ mtlr r0
/* 80382A4C 0037F9AC 4E 80 00 20 */ blr
/* 80382A4C 0037F9AC 4E 80 00 20 */ blr
.global MEMIntrruptHandler
MEMIntrruptHandler:
@ -195,7 +195,7 @@ MEMIntrruptHandler:
/* 80382A90 0037F9F0 7D 88 03 A6 */ mtlr r12
/* 80382A94 0037F9F4 38 60 00 0F */ li r3, 0xf
/* 80382A98 0037F9F8 4C C6 31 82 */ crclr 6
/* 80382A9C 0037F9FC 4E 80 00 21 */ blrl
/* 80382A9C 0037F9FC 4E 80 00 21 */ blrl
/* 80382AA0 0037FA00 48 00 00 0C */ b lbl_80382AAC
lbl_80382AA4:
/* 80382AA4 0037FA04 38 60 00 0F */ li r3, 0xf
@ -204,7 +204,7 @@ lbl_80382AAC:
/* 80382AAC 0037FA0C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80382AB0 0037FA10 38 21 00 08 */ addi r1, r1, 8
/* 80382AB4 0037FA14 7C 08 03 A6 */ mtlr r0
/* 80382AB8 0037FA18 4E 80 00 20 */ blr
/* 80382AB8 0037FA18 4E 80 00 20 */ blr
.global OSProtectRange
OSProtectRange:
@ -258,7 +258,7 @@ lbl_80382B6C:
/* 80382B70 0037FAD0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80382B74 0037FAD4 38 21 00 30 */ addi r1, r1, 0x30
/* 80382B78 0037FAD8 7C 08 03 A6 */ mtlr r0
/* 80382B7C 0037FADC 4E 80 00 20 */ blr
/* 80382B7C 0037FADC 4E 80 00 20 */ blr
.global Config24MB
Config24MB:
@ -271,29 +271,29 @@ Config24MB:
/* 80382B98 0037FAF8 38 C6 00 02 */ addi r6, r6, 0x01000002@l
/* 80382B9C 0037FAFC 3C A0 81 00 */ lis r5, 0x810000FF@ha
/* 80382BA0 0037FB00 38 A5 00 FF */ addi r5, r5, 0x810000FF@l
/* 80382BA4 0037FB04 4C 00 01 2C */ isync
/* 80382BA4 0037FB04 4C 00 01 2C */ isync
/* 80382BA8 0037FB08 7C F8 83 A6 */ mtdbatu 0, r7
/* 80382BAC 0037FB0C 7C 99 83 A6 */ mtdbatl 0, r4
/* 80382BB0 0037FB10 7C 78 83 A6 */ mtdbatu 0, r3
/* 80382BB4 0037FB14 4C 00 01 2C */ isync
/* 80382BB4 0037FB14 4C 00 01 2C */ isync
/* 80382BB8 0037FB18 7C F0 83 A6 */ mtibatu 0, r7
/* 80382BBC 0037FB1C 7C 91 83 A6 */ mtibatl 0, r4
/* 80382BC0 0037FB20 7C 70 83 A6 */ mtibatu 0, r3
/* 80382BC4 0037FB24 4C 00 01 2C */ isync
/* 80382BC4 0037FB24 4C 00 01 2C */ isync
/* 80382BC8 0037FB28 7C FC 83 A6 */ mtdbatu 2, r7
/* 80382BCC 0037FB2C 7C DD 83 A6 */ mtdbatl 2, r6
/* 80382BD0 0037FB30 7C BC 83 A6 */ mtdbatu 2, r5
/* 80382BD4 0037FB34 4C 00 01 2C */ isync
/* 80382BD4 0037FB34 4C 00 01 2C */ isync
/* 80382BD8 0037FB38 7C F4 83 A6 */ mtibatu 2, r7
/* 80382BDC 0037FB3C 7C D5 83 A6 */ mtibatl 2, r6
/* 80382BE0 0037FB40 7C B4 83 A6 */ mtibatu 2, r5
/* 80382BE4 0037FB44 4C 00 01 2C */ isync
/* 80382BE4 0037FB44 4C 00 01 2C */ isync
/* 80382BE8 0037FB48 7C 60 00 A6 */ mfmsr r3
/* 80382BEC 0037FB4C 60 63 00 30 */ ori r3, r3, 0x30
/* 80382BF0 0037FB50 7C 7B 03 A6 */ mtspr 0x1b, r3
/* 80382BF4 0037FB54 7C 68 02 A6 */ mflr r3
/* 80382BF8 0037FB58 7C 7A 03 A6 */ mtspr 0x1a, r3
/* 80382BFC 0037FB5C 4C 00 00 64 */ rfi
/* 80382BFC 0037FB5C 4C 00 00 64 */ rfi
.global Config48MB
Config48MB:
@ -306,29 +306,29 @@ Config48MB:
/* 80382C18 0037FB78 38 C6 00 02 */ addi r6, r6, 0x02000002@l
/* 80382C1C 0037FB7C 3C A0 82 00 */ lis r5, 0x820001FF@ha
/* 80382C20 0037FB80 38 A5 01 FF */ addi r5, r5, 0x820001FF@l
/* 80382C24 0037FB84 4C 00 01 2C */ isync
/* 80382C24 0037FB84 4C 00 01 2C */ isync
/* 80382C28 0037FB88 7C F8 83 A6 */ mtdbatu 0, r7
/* 80382C2C 0037FB8C 7C 99 83 A6 */ mtdbatl 0, r4
/* 80382C30 0037FB90 7C 78 83 A6 */ mtdbatu 0, r3
/* 80382C34 0037FB94 4C 00 01 2C */ isync
/* 80382C34 0037FB94 4C 00 01 2C */ isync
/* 80382C38 0037FB98 7C F0 83 A6 */ mtibatu 0, r7
/* 80382C3C 0037FB9C 7C 91 83 A6 */ mtibatl 0, r4
/* 80382C40 0037FBA0 7C 70 83 A6 */ mtibatu 0, r3
/* 80382C44 0037FBA4 4C 00 01 2C */ isync
/* 80382C44 0037FBA4 4C 00 01 2C */ isync
/* 80382C48 0037FBA8 7C FC 83 A6 */ mtdbatu 2, r7
/* 80382C4C 0037FBAC 7C DD 83 A6 */ mtdbatl 2, r6
/* 80382C50 0037FBB0 7C BC 83 A6 */ mtdbatu 2, r5
/* 80382C54 0037FBB4 4C 00 01 2C */ isync
/* 80382C54 0037FBB4 4C 00 01 2C */ isync
/* 80382C58 0037FBB8 7C F4 83 A6 */ mtibatu 2, r7
/* 80382C5C 0037FBBC 7C D5 83 A6 */ mtibatl 2, r6
/* 80382C60 0037FBC0 7C B4 83 A6 */ mtibatu 2, r5
/* 80382C64 0037FBC4 4C 00 01 2C */ isync
/* 80382C64 0037FBC4 4C 00 01 2C */ isync
/* 80382C68 0037FBC8 7C 60 00 A6 */ mfmsr r3
/* 80382C6C 0037FBCC 60 63 00 30 */ ori r3, r3, 0x30
/* 80382C70 0037FBD0 7C 7B 03 A6 */ mtspr 0x1b, r3
/* 80382C74 0037FBD4 7C 68 02 A6 */ mflr r3
/* 80382C78 0037FBD8 7C 7A 03 A6 */ mtspr 0x1a, r3
/* 80382C7C 0037FBDC 4C 00 00 64 */ rfi
/* 80382C7C 0037FBDC 4C 00 00 64 */ rfi
.global RealMode
RealMode:
@ -337,7 +337,7 @@ RealMode:
/* 80382C88 0037FBE8 7C 60 00 A6 */ mfmsr r3
/* 80382C8C 0037FBEC 54 63 07 32 */ rlwinm r3, r3, 0, 0x1c, 0x19
/* 80382C90 0037FBF0 7C 7B 03 A6 */ mtspr 0x1b, r3
/* 80382C94 0037FBF4 4C 00 00 64 */ rfi
/* 80382C94 0037FBF4 4C 00 00 64 */ rfi
.global __OSInitMemoryProtection
__OSInitMemoryProtection:
@ -415,4 +415,4 @@ lbl_80382D8C:
/* 80382DA8 0037FD08 83 A1 00 3C */ lwz r29, 0x3c(r1)
/* 80382DAC 0037FD0C 38 21 00 48 */ addi r1, r1, 0x48
/* 80382DB0 0037FD10 7C 08 03 A6 */ mtlr r0
/* 80382DB4 0037FD14 4E 80 00 20 */ blr
/* 80382DB4 0037FD14 4E 80 00 20 */ blr

View File

@ -35,4 +35,4 @@ lbl_80382E04:
/* 80382E18 0037FD78 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80382E1C 0037FD7C 38 21 00 18 */ addi r1, r1, 0x18
/* 80382E20 0037FD80 7C 08 03 A6 */ mtlr r0
/* 80382E24 0037FD84 4E 80 00 20 */ blr
/* 80382E24 0037FD84 4E 80 00 20 */ blr

View File

@ -12,19 +12,19 @@ SaveEnd:
.skip 0x4
Prepared:
.skip 0x8
.section .text, "ax"
Run:
/* 80382E28 0037FD88 7C 00 04 AC */ sync 0
/* 80382E2C 0037FD8C 4C 00 01 2C */ isync
/* 80382E2C 0037FD8C 4C 00 01 2C */ isync
/* 80382E30 0037FD90 7C 68 03 A6 */ mtlr r3
/* 80382E34 0037FD94 4E 80 00 20 */ blr
/* 80382E34 0037FD94 4E 80 00 20 */ blr
Callback:
/* 80382E38 0037FD98 38 00 00 01 */ li r0, 1
/* 80382E3C 0037FD9C 90 0D AD 30 */ stw r0, Prepared@sda21(r13)
/* 80382E40 0037FDA0 4E 80 00 20 */ blr
/* 80382E40 0037FDA0 4E 80 00 20 */ blr
.global __OSReboot
__OSReboot:
@ -156,13 +156,13 @@ lbl_80382FD8:
/* 80382FFC 0037FF5C 83 C1 03 38 */ lwz r30, 0x338(r1)
/* 80383000 0037FF60 38 21 03 40 */ addi r1, r1, 0x340
/* 80383004 0037FF64 7C 08 03 A6 */ mtlr r0
/* 80383008 0037FF68 4E 80 00 20 */ blr
/* 80383008 0037FF68 4E 80 00 20 */ blr
.global OSSetSaveRegion
OSSetSaveRegion:
/* 8038300C 0037FF6C 90 6D AD 28 */ stw r3, SaveStart@sda21(r13)
/* 80383010 0037FF70 90 8D AD 2C */ stw r4, SaveEnd@sda21(r13)
/* 80383014 0037FF74 4E 80 00 20 */ blr
/* 80383014 0037FF74 4E 80 00 20 */ blr
.global OSGetSaveRegion
OSGetSaveRegion:
@ -170,4 +170,4 @@ OSGetSaveRegion:
/* 8038301C 0037FF7C 90 03 00 00 */ stw r0, 0(r3)
/* 80383020 0037FF80 80 0D AC D8 */ lwz r0, __OSSavedRegionEnd@sda21(r13)
/* 80383024 0037FF84 90 04 00 00 */ stw r0, 0(r4)
/* 80383028 0037FF88 4E 80 00 20 */ blr
/* 80383028 0037FF88 4E 80 00 20 */ blr

View File

@ -3,7 +3,7 @@
.section .sbss
ResetFunctionQueue:
.skip 0x8
.section .text, "ax"
.global OSRegisterResetFunction
@ -35,7 +35,7 @@ lbl_80383074:
/* 80383078 0037FFD8 38 00 00 00 */ li r0, 0
/* 8038307C 0037FFDC 90 03 00 08 */ stw r0, 8(r3)
/* 80383080 0037FFE0 90 65 00 00 */ stw r3, 0(r5)
/* 80383084 0037FFE4 4E 80 00 20 */ blr
/* 80383084 0037FFE4 4E 80 00 20 */ blr
lbl_80383088:
/* 80383088 0037FFE8 90 A3 00 08 */ stw r5, 8(r3)
/* 8038308C 0037FFEC 80 85 00 0C */ lwz r4, 0xc(r5)
@ -44,10 +44,10 @@ lbl_80383088:
/* 80383098 0037FFF8 90 83 00 0C */ stw r4, 0xc(r3)
/* 8038309C 0037FFFC 40 82 00 0C */ bne lbl_803830A8
/* 803830A0 00380000 90 6D AD 38 */ stw r3, ResetFunctionQueue@sda21(r13)
/* 803830A4 00380004 4E 80 00 20 */ blr
/* 803830A4 00380004 4E 80 00 20 */ blr
lbl_803830A8:
/* 803830A8 00380008 90 64 00 08 */ stw r3, 8(r4)
/* 803830AC 0038000C 4E 80 00 20 */ blr
/* 803830AC 0038000C 4E 80 00 20 */ blr
.global __OSCallResetFunctions
__OSCallResetFunctions:
@ -65,7 +65,7 @@ lbl_803830D8:
/* 803830D8 00380038 81 9F 00 00 */ lwz r12, 0(r31)
/* 803830DC 0038003C 38 7D 00 00 */ addi r3, r29, 0
/* 803830E0 00380040 7D 88 03 A6 */ mtlr r12
/* 803830E4 00380044 4E 80 00 21 */ blrl
/* 803830E4 00380044 4E 80 00 21 */ blrl
/* 803830E8 00380048 7C 60 00 34 */ cntlzw r0, r3
/* 803830EC 0038004C 83 FF 00 08 */ lwz r31, 8(r31)
/* 803830F0 00380050 54 00 D9 7E */ srwi r0, r0, 5
@ -89,7 +89,7 @@ lbl_80383120:
/* 8038312C 0038008C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80383130 00380090 38 21 00 20 */ addi r1, r1, 0x20
/* 80383134 00380094 7C 08 03 A6 */ mtlr r0
/* 80383138 00380098 4E 80 00 20 */ blr
/* 80383138 00380098 4E 80 00 20 */ blr
Reset:
/* 8038313C 0038009C 48 00 00 20 */ b lbl_8038315C
@ -97,9 +97,9 @@ lbl_80383140:
/* 80383140 003800A0 7D 10 FA A6 */ mfspr r8, 0x3f0
/* 80383144 003800A4 61 08 00 08 */ ori r8, r8, 8
/* 80383148 003800A8 7D 10 FB A6 */ mtspr 0x3f0, r8
/* 8038314C 003800AC 4C 00 01 2C */ isync
/* 8038314C 003800AC 4C 00 01 2C */ isync
/* 80383150 003800B0 7C 00 04 AC */ sync 0
/* 80383154 003800B4 60 00 00 00 */ nop
/* 80383154 003800B4 60 00 00 00 */ nop
/* 80383158 003800B8 48 00 00 08 */ b lbl_80383160
lbl_8038315C:
/* 8038315C 003800BC 48 00 00 20 */ b lbl_8038317C
@ -110,7 +110,7 @@ lbl_80383164:
/* 80383168 003800C8 7C E5 30 50 */ subf r7, r5, r6
/* 8038316C 003800CC 28 07 11 24 */ cmplwi r7, 0x1124
/* 80383170 003800D0 41 80 FF F4 */ blt lbl_80383164
/* 80383174 003800D4 60 00 00 00 */ nop
/* 80383174 003800D4 60 00 00 00 */ nop
/* 80383178 003800D8 48 00 00 08 */ b lbl_80383180
lbl_8038317C:
/* 8038317C 003800DC 48 00 00 20 */ b lbl_8038319C
@ -120,12 +120,12 @@ lbl_80383180:
/* 80383188 003800E8 38 80 00 03 */ li r4, 3
/* 8038318C 003800EC 90 88 00 24 */ stw r4, 0x24(r8)
/* 80383190 003800F0 90 68 00 24 */ stw r3, 0x24(r8)
/* 80383194 003800F4 60 00 00 00 */ nop
/* 80383194 003800F4 60 00 00 00 */ nop
/* 80383198 003800F8 48 00 00 08 */ b lbl_803831A0
lbl_8038319C:
/* 8038319C 003800FC 48 00 00 0C */ b lbl_803831A8
lbl_803831A0:
/* 803831A0 00380100 60 00 00 00 */ nop
/* 803831A0 00380100 60 00 00 00 */ nop
/* 803831A4 00380104 4B FF FF FC */ b lbl_803831A0
lbl_803831A8:
/* 803831A8 00380108 4B FF FF 98 */ b lbl_80383140
@ -149,7 +149,7 @@ __OSDoHotReset:
/* 803831E4 00380144 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803831E8 00380148 38 21 00 18 */ addi r1, r1, 0x18
/* 803831EC 0038014C 7C 08 03 A6 */ mtlr r0
/* 803831F0 00380150 4E 80 00 20 */ blr
/* 803831F0 00380150 4E 80 00 20 */ blr
.global OSResetSystem
OSResetSystem:
@ -183,7 +183,7 @@ lbl_80383248:
/* 80383248 003801A8 38 60 00 00 */ li r3, 0
/* 8038324C 003801AC 81 9B 00 00 */ lwz r12, 0(r27)
/* 80383250 003801B0 7D 88 03 A6 */ mtlr r12
/* 80383254 003801B4 4E 80 00 21 */ blrl
/* 80383254 003801B4 4E 80 00 21 */ blrl
/* 80383258 003801B8 7C 60 00 34 */ cntlzw r0, r3
/* 8038325C 003801BC 83 7B 00 08 */ lwz r27, 8(r27)
/* 80383260 003801C0 54 00 D9 7E */ srwi r0, r0, 5
@ -234,7 +234,7 @@ lbl_803832F0:
/* 803832F0 00380250 38 60 00 01 */ li r3, 1
/* 803832F4 00380254 81 9C 00 00 */ lwz r12, 0(r28)
/* 803832F8 00380258 7D 88 03 A6 */ mtlr r12
/* 803832FC 0038025C 4E 80 00 21 */ blrl
/* 803832FC 0038025C 4E 80 00 21 */ blrl
/* 80383300 00380260 7C 60 00 34 */ cntlzw r0, r3
/* 80383304 00380264 83 9C 00 08 */ lwz r28, 8(r28)
/* 80383308 00380268 54 00 D9 7E */ srwi r0, r0, 5
@ -340,7 +340,7 @@ lbl_803833E4:
/* 8038345C 003803BC 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80383460 003803C0 38 21 00 40 */ addi r1, r1, 0x40
/* 80383464 003803C4 7C 08 03 A6 */ mtlr r0
/* 80383468 003803C8 4E 80 00 20 */ blr
/* 80383468 003803C8 4E 80 00 20 */ blr
.global OSGetResetCode
OSGetResetCode:
@ -357,4 +357,4 @@ lbl_80383484:
/* 80383490 003803F0 54 00 00 38 */ rlwinm r0, r0, 0, 0, 0x1c
/* 80383494 003803F4 54 03 E8 FE */ srwi r3, r0, 3
lbl_80383498:
/* 80383498 003803F8 4E 80 00 20 */ blr
/* 80383498 003803F8 4E 80 00 20 */ blr

View File

@ -80,7 +80,7 @@ lbl_80383528:
/* 80383558 003804B8 38 00 00 00 */ li r0, 0
/* 8038355C 003804BC 7D 88 03 A6 */ mtlr r12
/* 80383560 003804C0 90 0D AD 40 */ stw r0, lbl_805A9900@sda21(r13)
/* 80383564 003804C4 4E 80 00 21 */ blrl
/* 80383564 003804C4 4E 80 00 21 */ blrl
lbl_80383568:
/* 80383568 003804C8 38 00 00 02 */ li r0, 2
/* 8038356C 003804CC 3C 60 CC 00 */ lis r3, 0xCC003000@ha
@ -91,7 +91,7 @@ lbl_80383568:
/* 80383580 003804E0 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 80383584 003804E4 38 21 00 28 */ addi r1, r1, 0x28
/* 80383588 003804E8 7C 08 03 A6 */ mtlr r0
/* 8038358C 003804EC 4E 80 00 20 */ blr
/* 8038358C 003804EC 4E 80 00 20 */ blr
.global OSGetResetButtonState
OSGetResetButtonState:
@ -273,4 +273,4 @@ lbl_80383800:
/* 80383818 00380778 83 A1 00 0C */ lwz r29, 0xc(r1)
/* 8038381C 0038077C 38 21 00 18 */ addi r1, r1, 0x18
/* 80383820 00380780 7C 08 03 A6 */ mtlr r0
/* 80383824 00380784 4E 80 00 20 */ blr
/* 80383824 00380784 4E 80 00 20 */ blr

View File

@ -3,7 +3,7 @@
.section .bss
Scb:
.skip 0x58
.section .text, "ax"
.global WriteSramCallback
@ -32,7 +32,7 @@ lbl_80383870:
/* 80383878 003807D8 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8038387C 003807DC 38 21 00 18 */ addi r1, r1, 0x18
/* 80383880 003807E0 7C 08 03 A6 */ mtlr r0
/* 80383884 003807E4 4E 80 00 20 */ blr
/* 80383884 003807E4 4E 80 00 20 */ blr
.global WriteSram
WriteSram:
@ -108,7 +108,7 @@ lbl_80383984:
/* 80383990 003808F0 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 80383994 003808F4 38 21 00 28 */ addi r1, r1, 0x28
/* 80383998 003808F8 7C 08 03 A6 */ mtlr r0
/* 8038399C 003808FC 4E 80 00 20 */ blr
/* 8038399C 003808FC 4E 80 00 20 */ blr
.global __OSInitSram
__OSInitSram:
@ -191,7 +191,7 @@ lbl_80383AB0:
/* 80383AC4 00380A24 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80383AC8 00380A28 38 21 00 18 */ addi r1, r1, 0x18
/* 80383ACC 00380A2C 7C 08 03 A6 */ mtlr r0
/* 80383AD0 00380A30 4E 80 00 20 */ blr
/* 80383AD0 00380A30 4E 80 00 20 */ blr
.global __OSLockSram
__OSLockSram:
@ -219,7 +219,7 @@ lbl_80383B18:
/* 80383B20 00380A80 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80383B24 00380A84 38 21 00 10 */ addi r1, r1, 0x10
/* 80383B28 00380A88 7C 08 03 A6 */ mtlr r0
/* 80383B2C 00380A8C 4E 80 00 20 */ blr
/* 80383B2C 00380A8C 4E 80 00 20 */ blr
.global __OSLockSramEx
__OSLockSramEx:
@ -247,7 +247,7 @@ lbl_80383B78:
/* 80383B7C 00380ADC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80383B80 00380AE0 38 21 00 10 */ addi r1, r1, 0x10
/* 80383B84 00380AE4 7C 08 03 A6 */ mtlr r0
/* 80383B88 00380AE8 4E 80 00 20 */ blr
/* 80383B88 00380AE8 4E 80 00 20 */ blr
.global UnlockSram
UnlockSram:
@ -454,7 +454,7 @@ lbl_80383E6C:
/* 80383E84 00380DE4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80383E88 00380DE8 38 21 00 30 */ addi r1, r1, 0x30
/* 80383E8C 00380DEC 7C 08 03 A6 */ mtlr r0
/* 80383E90 00380DF0 4E 80 00 20 */ blr
/* 80383E90 00380DF0 4E 80 00 20 */ blr
.global __OSUnlockSram
__OSUnlockSram:
@ -466,7 +466,7 @@ __OSUnlockSram:
/* 80383EA8 00380E08 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80383EAC 00380E0C 38 21 00 08 */ addi r1, r1, 8
/* 80383EB0 00380E10 7C 08 03 A6 */ mtlr r0
/* 80383EB4 00380E14 4E 80 00 20 */ blr
/* 80383EB4 00380E14 4E 80 00 20 */ blr
.global __OSUnlockSramEx
__OSUnlockSramEx:
@ -478,14 +478,14 @@ __OSUnlockSramEx:
/* 80383ECC 00380E2C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80383ED0 00380E30 38 21 00 08 */ addi r1, r1, 8
/* 80383ED4 00380E34 7C 08 03 A6 */ mtlr r0
/* 80383ED8 00380E38 4E 80 00 20 */ blr
/* 80383ED8 00380E38 4E 80 00 20 */ blr
.global __OSSyncSram
__OSSyncSram:
/* 80383EDC 00380E3C 3C 60 80 54 */ lis r3, Scb@ha
/* 80383EE0 00380E40 38 63 15 A0 */ addi r3, r3, Scb@l
/* 80383EE4 00380E44 80 63 00 4C */ lwz r3, 0x4c(r3)
/* 80383EE8 00380E48 4E 80 00 20 */ blr
/* 80383EE8 00380E48 4E 80 00 20 */ blr
.global sub_80383eec
sub_80383eec:
@ -564,7 +564,7 @@ lbl_80383FF4:
/* 80384000 00380F60 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 80384004 00380F64 38 21 00 28 */ addi r1, r1, 0x28
/* 80384008 00380F68 7C 08 03 A6 */ mtlr r0
/* 8038400C 00380F6C 4E 80 00 20 */ blr
/* 8038400C 00380F6C 4E 80 00 20 */ blr
.global OSGetSoundMode
OSGetSoundMode:
@ -603,7 +603,7 @@ lbl_8038406C:
/* 80384080 00380FE0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80384084 00380FE4 38 21 00 20 */ addi r1, r1, 0x20
/* 80384088 00380FE8 7C 08 03 A6 */ mtlr r0
/* 8038408C 00380FEC 4E 80 00 20 */ blr
/* 8038408C 00380FEC 4E 80 00 20 */ blr
.global OSSetSoundMode
OSSetSoundMode:
@ -651,7 +651,7 @@ lbl_8038411C:
/* 80384124 00381084 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80384128 00381088 38 21 00 20 */ addi r1, r1, 0x20
/* 8038412C 0038108C 7C 08 03 A6 */ mtlr r0
/* 80384130 00381090 4E 80 00 20 */ blr
/* 80384130 00381090 4E 80 00 20 */ blr
.global OSGetProgressiveMode
OSGetProgressiveMode:
@ -684,7 +684,7 @@ lbl_80384178:
/* 80384194 003810F4 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80384198 003810F8 38 21 00 18 */ addi r1, r1, 0x18
/* 8038419C 003810FC 7C 08 03 A6 */ mtlr r0
/* 803841A0 00381100 4E 80 00 20 */ blr
/* 803841A0 00381100 4E 80 00 20 */ blr
.global sub_803841a4
sub_803841a4:
@ -732,7 +732,7 @@ lbl_80384230:
/* 80384238 00381198 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8038423C 0038119C 38 21 00 20 */ addi r1, r1, 0x20
/* 80384240 003811A0 7C 08 03 A6 */ mtlr r0
/* 80384244 003811A4 4E 80 00 20 */ blr
/* 80384244 003811A4 4E 80 00 20 */ blr
.global OSGetLanguage
OSGetLanguage:
@ -764,7 +764,7 @@ lbl_8038428C:
/* 803842A4 00381204 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803842A8 00381208 38 21 00 18 */ addi r1, r1, 0x18
/* 803842AC 0038120C 7C 08 03 A6 */ mtlr r0
/* 803842B0 00381210 4E 80 00 20 */ blr
/* 803842B0 00381210 4E 80 00 20 */ blr
.global OSGetWirelessID
OSGetWirelessID:
@ -802,7 +802,7 @@ lbl_80384304:
/* 80384328 00381288 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8038432C 0038128C 38 21 00 20 */ addi r1, r1, 0x20
/* 80384330 00381290 7C 08 03 A6 */ mtlr r0
/* 80384334 00381294 4E 80 00 20 */ blr
/* 80384334 00381294 4E 80 00 20 */ blr
.global OSSetWirelessID
OSSetWirelessID:
@ -852,4 +852,4 @@ lbl_803843C8:
/* 803843D4 00381334 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 803843D8 00381338 38 21 00 28 */ addi r1, r1, 0x28
/* 803843DC 0038133C 7C 08 03 A6 */ mtlr r0
/* 803843E0 00381340 4E 80 00 20 */ blr
/* 803843E0 00381340 4E 80 00 20 */ blr

View File

@ -8,12 +8,12 @@ SystemCallVector:
/* 803843E4 00381344 7D 30 FA A6 */ mfspr r9, 0x3f0
/* 803843E8 00381348 61 2A 00 08 */ ori r10, r9, 8
/* 803843EC 0038134C 7D 50 FB A6 */ mtspr 0x3f0, r10
/* 803843F0 00381350 4C 00 01 2C */ isync
/* 803843F0 00381350 4C 00 01 2C */ isync
/* 803843F4 00381354 7C 00 04 AC */ sync 0
/* 803843F8 00381358 7D 30 FB A6 */ mtspr 0x3f0, r9
/* 803843FC 0038135C 4C 00 00 64 */ rfi
/* 803843FC 0038135C 4C 00 00 64 */ rfi
__OSSystemCallVectorEnd:
/* 80384400 00381360 60 00 00 00 */ nop
/* 80384400 00381360 60 00 00 00 */ nop
.global __OSInitSystemCall
__OSInitSystemCall:
@ -41,4 +41,4 @@ __OSInitSystemCall:
/* 80384458 003813B8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8038445C 003813BC 38 21 00 10 */ addi r1, r1, 0x10
/* 80384460 003813C0 7C 08 03 A6 */ mtlr r0
/* 80384464 003813C4 4E 80 00 20 */ blr
/* 80384464 003813C4 4E 80 00 20 */ blr

View File

@ -16,13 +16,16 @@ lbl_805A9928:
.global lbl_805A8B50
lbl_805A8B50:
.incbin "baserom.dol", 0x3F64F0, 0x8
# ROM: 0x3F64F0
.4byte 0x80384468
.4byte 0
.section .text, "ax"
.global DefaultSwitchThreadCallback
DefaultSwitchThreadCallback:
/* 80384468 003813C8 4E 80 00 20 */ blr
/* 80384468 003813C8 4E 80 00 20 */ blr
.global __OSThreadInit
__OSThreadInit:
@ -72,7 +75,7 @@ __OSThreadInit:
/* 80384518 00381478 81 8D 9F 90 */ lwz r12, lbl_805A8B50@sda21(r13)
/* 8038451C 0038147C 80 7E 00 E4 */ lwz r3, 0xe4(r30)
/* 80384520 00381480 7D 88 03 A6 */ mtlr r12
/* 80384524 00381484 4E 80 00 21 */ blrl
/* 80384524 00381484 4E 80 00 21 */ blrl
/* 80384528 00381488 93 FE 00 E4 */ stw r31, 0xe4(r30)
/* 8038452C 0038148C 38 60 00 00 */ li r3, 0
/* 80384530 00381490 48 00 0D CD */ bl OSClearStack
@ -114,20 +117,20 @@ lbl_80384588:
/* 803845B4 00381514 83 81 00 08 */ lwz r28, 8(r1)
/* 803845B8 00381518 38 21 00 18 */ addi r1, r1, 0x18
/* 803845BC 0038151C 7C 08 03 A6 */ mtlr r0
/* 803845C0 00381520 4E 80 00 20 */ blr
/* 803845C0 00381520 4E 80 00 20 */ blr
.global OSInitThreadQueue
OSInitThreadQueue:
/* 803845C4 00381524 38 00 00 00 */ li r0, 0
/* 803845C8 00381528 90 03 00 04 */ stw r0, 4(r3)
/* 803845CC 0038152C 90 03 00 00 */ stw r0, 0(r3)
/* 803845D0 00381530 4E 80 00 20 */ blr
/* 803845D0 00381530 4E 80 00 20 */ blr
.global OSGetCurrentThread
OSGetCurrentThread:
/* 803845D4 00381534 3C 60 80 00 */ lis r3, 0x800000E4@ha
/* 803845D8 00381538 80 63 00 E4 */ lwz r3, 0x800000E4@l(r3)
/* 803845DC 0038153C 4E 80 00 20 */ blr
/* 803845DC 0038153C 4E 80 00 20 */ blr
.global OSDisableScheduler
OSDisableScheduler:
@ -146,7 +149,7 @@ OSDisableScheduler:
/* 80384610 00381570 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80384614 00381574 38 21 00 10 */ addi r1, r1, 0x10
/* 80384618 00381578 7C 08 03 A6 */ mtlr r0
/* 8038461C 0038157C 4E 80 00 20 */ blr
/* 8038461C 0038157C 4E 80 00 20 */ blr
.global OSEnableScheduler
OSEnableScheduler:
@ -165,7 +168,7 @@ OSEnableScheduler:
/* 80384650 003815B0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80384654 003815B4 38 21 00 10 */ addi r1, r1, 0x10
/* 80384658 003815B8 7C 08 03 A6 */ mtlr r0
/* 8038465C 003815BC 4E 80 00 20 */ blr
/* 8038465C 003815BC 4E 80 00 20 */ blr
.global UnsetRun
UnsetRun:
@ -199,7 +202,7 @@ lbl_80384694:
lbl_803846BC:
/* 803846BC 0038161C 38 00 00 00 */ li r0, 0
/* 803846C0 00381620 90 03 02 DC */ stw r0, 0x2dc(r3)
/* 803846C4 00381624 4E 80 00 20 */ blr
/* 803846C4 00381624 4E 80 00 20 */ blr
.global __OSGetEffectivePriority
__OSGetEffectivePriority:
@ -220,7 +223,7 @@ lbl_803846F4:
/* 803846F4 00381654 28 05 00 00 */ cmplwi r5, 0
/* 803846F8 00381658 40 82 FF DC */ bne lbl_803846D4
/* 803846FC 0038165C 7C 83 23 78 */ mr r3, r4
/* 80384700 00381660 4E 80 00 20 */ blr
/* 80384700 00381660 4E 80 00 20 */ blr
.global SetEffectivePriority
SetEffectivePriority:
@ -355,7 +358,7 @@ lbl_803848AC:
/* 803848B4 00381814 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803848B8 00381818 38 21 00 18 */ addi r1, r1, 0x18
/* 803848BC 0038181C 7C 08 03 A6 */ mtlr r0
/* 803848C0 00381820 4E 80 00 20 */ blr
/* 803848C0 00381820 4E 80 00 20 */ blr
.global SelectThread
SelectThread:
@ -440,7 +443,7 @@ lbl_803849D8:
/* 803849E0 00381940 80 7E 00 E4 */ lwz r3, 0x800000E4@l(r30)
/* 803849E4 00381944 38 80 00 00 */ li r4, 0
/* 803849E8 00381948 7D 88 03 A6 */ mtlr r12
/* 803849EC 0038194C 4E 80 00 21 */ blrl
/* 803849EC 0038194C 4E 80 00 21 */ blrl
/* 803849F0 00381950 80 0D AD 60 */ lwz r0, lbl_805A9920@sda21(r13)
/* 803849F4 00381954 38 60 00 00 */ li r3, 0
/* 803849F8 00381958 90 7E 00 E4 */ stw r3, 0xe4(r30)
@ -497,7 +500,7 @@ lbl_80384A94:
/* 80384AAC 00381A0C 81 8D 9F 90 */ lwz r12, lbl_805A8B50@sda21(r13)
/* 80384AB0 00381A10 80 7F 00 E4 */ lwz r3, 0x800000E4@l(r31)
/* 80384AB4 00381A14 7D 88 03 A6 */ mtlr r12
/* 80384AB8 00381A18 4E 80 00 21 */ blrl
/* 80384AB8 00381A18 4E 80 00 21 */ blrl
/* 80384ABC 00381A1C 93 DF 00 E4 */ stw r30, 0xe4(r31)
/* 80384AC0 00381A20 7F C3 F3 78 */ mr r3, r30
/* 80384AC4 00381A24 4B FF A9 59 */ bl OSSetCurrentContext
@ -510,7 +513,7 @@ lbl_80384AD4:
/* 80384ADC 00381A3C 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80384AE0 00381A40 38 21 00 18 */ addi r1, r1, 0x18
/* 80384AE4 00381A44 7C 08 03 A6 */ mtlr r0
/* 80384AE8 00381A48 4E 80 00 20 */ blr
/* 80384AE8 00381A48 4E 80 00 20 */ blr
.global __OSReschedule
__OSReschedule:
@ -526,7 +529,7 @@ lbl_80384B0C:
/* 80384B0C 00381A6C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80384B10 00381A70 38 21 00 08 */ addi r1, r1, 8
/* 80384B14 00381A74 7C 08 03 A6 */ mtlr r0
/* 80384B18 00381A78 4E 80 00 20 */ blr
/* 80384B18 00381A78 4E 80 00 20 */ blr
.global OSYieldThread
OSYieldThread:
@ -544,7 +547,7 @@ OSYieldThread:
/* 80384B48 00381AA8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80384B4C 00381AAC 38 21 00 10 */ addi r1, r1, 0x10
/* 80384B50 00381AB0 7C 08 03 A6 */ mtlr r0
/* 80384B54 00381AB4 4E 80 00 20 */ blr
/* 80384B54 00381AB4 4E 80 00 20 */ blr
.global OSCancelThread
OSCancelThread:
@ -677,7 +680,7 @@ lbl_80384CF8:
/* 80384D04 00381C64 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80384D08 00381C68 38 21 00 20 */ addi r1, r1, 0x20
/* 80384D0C 00381C6C 7C 08 03 A6 */ mtlr r0
/* 80384D10 00381C70 4E 80 00 20 */ blr
/* 80384D10 00381C70 4E 80 00 20 */ blr
.global OSResumeThread
OSResumeThread:
@ -868,7 +871,7 @@ lbl_80384F74:
/* 80384F8C 00381EEC 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 80384F90 00381EF0 38 21 00 28 */ addi r1, r1, 0x28
/* 80384F94 00381EF4 7C 08 03 A6 */ mtlr r0
/* 80384F98 00381EF8 4E 80 00 20 */ blr
/* 80384F98 00381EF8 4E 80 00 20 */ blr
.global OSSuspendThread
OSSuspendThread:
@ -976,7 +979,7 @@ lbl_803850E4:
/* 803850FC 0038205C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80385100 00382060 38 21 00 20 */ addi r1, r1, 0x20
/* 80385104 00382064 7C 08 03 A6 */ mtlr r0
/* 80385108 00382068 4E 80 00 20 */ blr
/* 80385108 00382068 4E 80 00 20 */ blr
.global OSSleepThread
OSSleepThread:
@ -1047,7 +1050,7 @@ lbl_803851D8:
/* 803851E8 00382148 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803851EC 0038214C 38 21 00 18 */ addi r1, r1, 0x18
/* 803851F0 00382150 7C 08 03 A6 */ mtlr r0
/* 803851F4 00382154 4E 80 00 20 */ blr
/* 803851F4 00382154 4E 80 00 20 */ blr
.global OSWakeupThread
OSWakeupThread:
@ -1122,7 +1125,7 @@ lbl_803852DC:
/* 803852EC 0038224C 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803852F0 00382250 38 21 00 18 */ addi r1, r1, 0x18
/* 803852F4 00382254 7C 08 03 A6 */ mtlr r0
/* 803852F8 00382258 4E 80 00 20 */ blr
/* 803852F8 00382258 4E 80 00 20 */ blr
.global OSClearStack
OSClearStack:
@ -1172,4 +1175,4 @@ lbl_80385394:
/* 80385398 003822F8 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8038539C 003822FC 38 21 00 18 */ addi r1, r1, 0x18
/* 803853A0 00382300 7C 08 03 A6 */ mtlr r0
/* 803853A4 00382304 4E 80 00 20 */ blr
/* 803853A4 00382304 4E 80 00 20 */ blr

View File

@ -16,7 +16,7 @@ YearDays:
.4byte 0x00000111
.4byte 0x00000130
.4byte 0x0000014E
.global lbl_803F2320
lbl_803F2320:
.4byte 0x00000000
@ -31,7 +31,7 @@ lbl_803F2320:
.4byte 0x00000112
.4byte 0x00000131
.4byte 0x0000014F
.section .text, "ax"
.global OSGetTime
@ -41,12 +41,12 @@ OSGetTime:
/* 803853B0 00382310 7C AD 42 E6 */ mftbu r5
/* 803853B4 00382314 7C 03 28 00 */ cmpw r3, r5
/* 803853B8 00382318 40 82 FF F0 */ bne OSGetTime
/* 803853BC 0038231C 4E 80 00 20 */ blr
/* 803853BC 0038231C 4E 80 00 20 */ blr
.global OSGetTick
OSGetTick:
/* 803853C0 00382320 7C 6C 42 E6 */ mftb r3, 0x10c
/* 803853C4 00382324 4E 80 00 20 */ blr
/* 803853C4 00382324 4E 80 00 20 */ blr
.global __OSGetSystemTime
__OSGetSystemTime:
@ -74,7 +74,7 @@ __OSGetSystemTime:
/* 8038541C 0038237C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80385420 00382380 38 21 00 20 */ addi r1, r1, 0x20
/* 80385424 00382384 7C 08 03 A6 */ mtlr r0
/* 80385428 00382388 4E 80 00 20 */ blr
/* 80385428 00382388 4E 80 00 20 */ blr
.global __OSTimeToSystemTime
__OSTimeToSystemTime:
@ -99,7 +99,7 @@ __OSTimeToSystemTime:
/* 80385474 003823D4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80385478 003823D8 38 21 00 20 */ addi r1, r1, 0x20
/* 8038547C 003823DC 7C 08 03 A6 */ mtlr r0
/* 80385480 003823E0 4E 80 00 20 */ blr
/* 80385480 003823E0 4E 80 00 20 */ blr
.global GetDates
GetDates:
@ -217,7 +217,7 @@ lbl_803855F4:
/* 80385610 00382570 7C 63 00 50 */ subf r3, r3, r0
/* 80385614 00382574 38 03 00 01 */ addi r0, r3, 1
/* 80385618 00382578 90 04 00 0C */ stw r0, 0xc(r4)
/* 8038561C 0038257C 4E 80 00 20 */ blr
/* 8038561C 0038257C 4E 80 00 20 */ blr
.global OSTicksToCalendarTime
OSTicksToCalendarTime:
@ -351,4 +351,4 @@ lbl_803857A0:
/* 80385814 00382774 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 80385818 00382778 38 21 00 38 */ addi r1, r1, 0x38
/* 8038581C 0038277C 7C 08 03 A6 */ mtlr r0
/* 80385820 00382780 4E 80 00 20 */ blr
/* 80385820 00382780 4E 80 00 20 */ blr

View File

@ -3,8 +3,13 @@
.section .rodata
lbl_803D8588:
.incbin "baserom.dol", 0x3D5588, 0x10
# ROM: 0x3D5588
.4byte 0x1EB40F48
.4byte 0x280F3B1F
.4byte 0x382C0000
.4byte 0
.section .text, "ax"
.global ClampStick
@ -51,7 +56,7 @@ lbl_80385924:
/* 80385934 00382894 38 00 00 00 */ li r0, 0
/* 80385938 00382898 98 04 00 00 */ stb r0, 0(r4)
/* 8038593C 0038289C 98 03 00 00 */ stb r0, 0(r3)
/* 80385940 003828A0 4E 80 00 20 */ blr
/* 80385940 003828A0 4E 80 00 20 */ blr
lbl_80385944:
/* 80385944 003828A4 7C C6 07 74 */ extsb r6, r6
/* 80385948 003828A8 7D 26 61 D6 */ mullw r9, r6, r12
@ -95,7 +100,7 @@ lbl_803859D4:
/* 803859D8 00382938 7C 08 61 D6 */ mullw r0, r8, r12
/* 803859DC 0038293C 98 A3 00 00 */ stb r5, 0(r3)
/* 803859E0 00382940 98 04 00 00 */ stb r0, 0(r4)
/* 803859E4 00382944 4E 80 00 20 */ blr
/* 803859E4 00382944 4E 80 00 20 */ blr
.global PADClamp
PADClamp:
@ -174,4 +179,4 @@ lbl_80385ACC:
/* 80385AEC 00382A4C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80385AF0 00382A50 38 21 00 20 */ addi r1, r1, 0x20
/* 80385AF4 00382A54 7C 08 03 A6 */ mtlr r0
/* 80385AF8 00382A58 4E 80 00 20 */ blr
/* 80385AF8 00382A58 4E 80 00 20 */ blr

View File

@ -5,7 +5,7 @@ lbl_80541FF0:
.skip 0x10
lbl_80542000:
.skip 0x40
.section .sbss
.balign 4
@ -40,11 +40,11 @@ SamplingCallback:
.global __PADSpec
__PADSpec:
.skip 0x4
.section .data, "wa"
PAD_VERSION_STR:
.asciz "<< Dolphin SDK - PAD\trelease build: Sep 5 2002 05:34:02 (0x2301) >>"
.balign 4
.global lbl_803F2398
lbl_803F2398:
@ -57,25 +57,25 @@ lbl_803F2398:
__PADVersion:
.4byte PAD_VERSION_STR
ResettingChan:
.4byte 0x00000020
XPatchBits:
.4byte 0xF0000000
AnalogMode:
.4byte 0x00000300
lbl_805A8B68:
.4byte 00000005
MakeStatus:
.4byte SPEC2_MakeStatus
CmdReadOrigin:
.4byte 0x41000000
.global CmdCalibrate
CmdCalibrate:
.4byte 0x42000000
@ -196,7 +196,7 @@ lbl_80385C8C:
/* 80385C90 00382BF0 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80385C94 00382BF4 38 21 00 18 */ addi r1, r1, 0x18
/* 80385C98 00382BF8 7C 08 03 A6 */ mtlr r0
/* 80385C9C 00382BFC 4E 80 00 20 */ blr
/* 80385C9C 00382BFC 4E 80 00 20 */ blr
.global PADOriginCallback
PADOriginCallback:
@ -250,7 +250,7 @@ lbl_80385D50:
/* 80385D54 00382CB4 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80385D58 00382CB8 38 21 00 30 */ addi r1, r1, 0x30
/* 80385D5C 00382CBC 7C 08 03 A6 */ mtlr r0
/* 80385D60 00382CC0 4E 80 00 20 */ blr
/* 80385D60 00382CC0 4E 80 00 20 */ blr
.global sub_80385d64
sub_80385d64:
@ -303,7 +303,7 @@ lbl_80385E08:
/* 80385E14 00382D74 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 80385E18 00382D78 38 21 00 28 */ addi r1, r1, 0x28
/* 80385E1C 00382D7C 7C 08 03 A6 */ mtlr r0
/* 80385E20 00382D80 4E 80 00 20 */ blr
/* 80385E20 00382D80 4E 80 00 20 */ blr
.global PADProbeCallback
PADProbeCallback:
@ -362,7 +362,7 @@ lbl_80385EE4:
/* 80385EEC 00382E4C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80385EF0 00382E50 38 21 00 30 */ addi r1, r1, 0x30
/* 80385EF4 00382E54 7C 08 03 A6 */ mtlr r0
/* 80385EF8 00382E58 4E 80 00 20 */ blr
/* 80385EF8 00382E58 4E 80 00 20 */ blr
.global PADTypeAndStatusCallback
PADTypeAndStatusCallback:
@ -578,7 +578,7 @@ lbl_80386208:
/* 80386218 00383178 83 81 00 30 */ lwz r28, 0x30(r1)
/* 8038621C 0038317C 38 21 00 40 */ addi r1, r1, 0x40
/* 80386220 00383180 7C 08 03 A6 */ mtlr r0
/* 80386224 00383184 4E 80 00 20 */ blr
/* 80386224 00383184 4E 80 00 20 */ blr
.global sub_80386228
sub_80386228:
@ -660,7 +660,7 @@ lbl_80386340:
/* 8038634C 003832AC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80386350 003832B0 38 21 00 20 */ addi r1, r1, 0x20
/* 80386354 003832B4 7C 08 03 A6 */ mtlr r0
/* 80386358 003832B8 4E 80 00 20 */ blr
/* 80386358 003832B8 4E 80 00 20 */ blr
.global PADReset
PADReset:
@ -729,7 +729,7 @@ lbl_80386438:
/* 8038644C 003833AC 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80386450 003833B0 38 21 00 18 */ addi r1, r1, 0x18
/* 80386454 003833B4 7C 08 03 A6 */ mtlr r0
/* 80386458 003833B8 4E 80 00 20 */ blr
/* 80386458 003833B8 4E 80 00 20 */ blr
.global PADRecalibrate
PADRecalibrate:
@ -799,7 +799,7 @@ lbl_8038653C:
/* 80386550 003834B0 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80386554 003834B4 38 21 00 18 */ addi r1, r1, 0x18
/* 80386558 003834B8 7C 08 03 A6 */ mtlr r0
/* 8038655C 003834BC 4E 80 00 20 */ blr
/* 8038655C 003834BC 4E 80 00 20 */ blr
.global PADInit
PADInit:
@ -942,7 +942,7 @@ lbl_80386764:
/* 80386768 003836C8 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 8038676C 003836CC 38 21 00 38 */ addi r1, r1, 0x38
/* 80386770 003836D0 7C 08 03 A6 */ mtlr r0
/* 80386774 003836D4 4E 80 00 20 */ blr
/* 80386774 003836D4 4E 80 00 20 */ blr
.global PADRead
PADRead:
@ -1156,7 +1156,7 @@ lbl_80386A78:
/* 80386A80 003839E0 38 9F 00 00 */ addi r4, r31, 0
/* 80386A84 003839E4 7D 88 03 A6 */ mtlr r12
/* 80386A88 003839E8 38 A1 00 14 */ addi r5, r1, 0x14
/* 80386A8C 003839EC 4E 80 00 21 */ blrl
/* 80386A8C 003839EC 4E 80 00 21 */ blrl
/* 80386A90 003839F0 A0 1F 00 00 */ lhz r0, 0(r31)
/* 80386A94 003839F4 54 00 04 A5 */ rlwinm. r0, r0, 0, 0x12, 0x12
/* 80386A98 003839F8 41 82 00 44 */ beq lbl_80386ADC
@ -1195,7 +1195,7 @@ lbl_80386AF0:
/* 80386B14 00383A74 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80386B18 00383A78 38 21 00 50 */ addi r1, r1, 0x50
/* 80386B1C 00383A7C 7C 08 03 A6 */ mtlr r0
/* 80386B20 00383A80 4E 80 00 20 */ blr
/* 80386B20 00383A80 4E 80 00 20 */ blr
.global PADControlAllMotors
PADControlAllMotors:
@ -1248,7 +1248,7 @@ lbl_80386BC0:
/* 80386BCC 00383B2C 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 80386BD0 00383B30 38 21 00 28 */ addi r1, r1, 0x28
/* 80386BD4 00383B34 7C 08 03 A6 */ mtlr r0
/* 80386BD8 00383B38 4E 80 00 20 */ blr
/* 80386BD8 00383B38 4E 80 00 20 */ blr
.global PADControlMotor
PADControlMotor:
@ -1294,7 +1294,7 @@ lbl_80386C5C:
/* 80386C70 00383BD0 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 80386C74 00383BD4 38 21 00 28 */ addi r1, r1, 0x28
/* 80386C78 00383BD8 7C 08 03 A6 */ mtlr r0
/* 80386C7C 00383BDC 4E 80 00 20 */ blr
/* 80386C7C 00383BDC 4E 80 00 20 */ blr
.global PADSetSpec
PADSetSpec:
@ -1326,7 +1326,7 @@ lbl_80386CCC:
/* 80386CD4 00383C34 90 0D 9F AC */ stw r0, MakeStatus@sda21(r13)
lbl_80386CD8:
/* 80386CD8 00383C38 90 6D 9F A8 */ stw r3, lbl_805A8B68@sda21(r13)
/* 80386CDC 00383C3C 4E 80 00 20 */ blr
/* 80386CDC 00383C3C 4E 80 00 20 */ blr
.global SPEC0_MakeStatus
SPEC0_MakeStatus:
@ -1433,7 +1433,7 @@ lbl_80386E20:
/* 80386E44 00383DA4 88 64 00 05 */ lbz r3, 5(r4)
/* 80386E48 00383DA8 38 03 FF 80 */ addi r0, r3, -128
/* 80386E4C 00383DAC 98 04 00 05 */ stb r0, 5(r4)
/* 80386E50 00383DB0 4E 80 00 20 */ blr
/* 80386E50 00383DB0 4E 80 00 20 */ blr
.global SPEC1_MakeStatus
SPEC1_MakeStatus:
@ -1540,7 +1540,7 @@ lbl_80386F94:
/* 80386FB8 00383F18 88 64 00 05 */ lbz r3, 5(r4)
/* 80386FBC 00383F1C 38 03 FF 80 */ addi r0, r3, -128
/* 80386FC0 00383F20 98 04 00 05 */ stb r0, 5(r4)
/* 80386FC4 00383F24 4E 80 00 20 */ blr
/* 80386FC4 00383F24 4E 80 00 20 */ blr
.global SPEC2_MakeStatus
SPEC2_MakeStatus:
@ -1816,7 +1816,7 @@ lbl_80387398:
lbl_803873B4:
/* 803873B4 00384314 7C 60 18 50 */ subf r3, r0, r3
/* 803873B8 00384318 98 64 00 07 */ stb r3, 7(r4)
/* 803873BC 0038431C 4E 80 00 20 */ blr
/* 803873BC 0038431C 4E 80 00 20 */ blr
OnReset:
/* 803873C0 00384320 7C 08 02 A6 */ mflr r0
@ -1927,7 +1927,7 @@ lbl_8038753C:
/* 80387544 003844A4 83 C1 00 20 */ lwz r30, 0x20(r1)
/* 80387548 003844A8 38 21 00 28 */ addi r1, r1, 0x28
/* 8038754C 003844AC 7C 08 03 A6 */ mtlr r0
/* 80387550 003844B0 4E 80 00 20 */ blr
/* 80387550 003844B0 4E 80 00 20 */ blr
.global SamplingHandler
SamplingHandler:
@ -1945,7 +1945,7 @@ SamplingHandler:
/* 80387580 003844E0 4B FF 7E 9D */ bl OSSetCurrentContext
/* 80387584 003844E4 81 8D AD 8C */ lwz r12, SamplingCallback@sda21(r13)
/* 80387588 003844E8 7D 88 03 A6 */ mtlr r12
/* 8038758C 003844EC 4E 80 00 21 */ blrl
/* 8038758C 003844EC 4E 80 00 21 */ blrl
/* 80387590 003844F0 38 61 00 10 */ addi r3, r1, 0x10
/* 80387594 003844F4 4B FF 80 81 */ bl OSClearContext
/* 80387598 003844F8 7F E3 FB 78 */ mr r3, r31
@ -1955,7 +1955,7 @@ lbl_803875A0:
/* 803875A4 00384504 83 E1 02 DC */ lwz r31, 0x2dc(r1)
/* 803875A8 00384508 38 21 02 E0 */ addi r1, r1, 0x2e0
/* 803875AC 0038450C 7C 08 03 A6 */ mtlr r0
/* 803875B0 00384510 4E 80 00 20 */ blr
/* 803875B0 00384510 4E 80 00 20 */ blr
.global PADSetSamplingCallback
PADSetSamplingCallback:
@ -1981,7 +1981,7 @@ lbl_803875F0:
/* 803875F8 00384558 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803875FC 0038455C 38 21 00 18 */ addi r1, r1, 0x18
/* 80387600 00384560 7C 08 03 A6 */ mtlr r0
/* 80387604 00384564 4E 80 00 20 */ blr
/* 80387604 00384564 4E 80 00 20 */ blr
.global __PADDisableRecalibration
__PADDisableRecalibration:
@ -2018,4 +2018,4 @@ lbl_80387664:
/* 80387674 003845D4 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80387678 003845D8 38 21 00 18 */ addi r1, r1, 0x18
/* 8038767C 003845DC 7C 08 03 A6 */ mtlr r0
/* 80387680 003845E0 4E 80 00 20 */ blr
/* 80387680 003845E0 4E 80 00 20 */ blr

View File

@ -28,21 +28,51 @@ lbl_803F6EA0:
.asciz "<< Dolphin SDK - SI\trelease build: Sep 5 2002 05:33:08 (0x2301) >>"
.balign 4
.global Si
Si:
.incbin "baserom.dol", 0x3F3EE4, 0x14
# ROM: 0x3F3EE4
.4byte 0xFFFFFFFF
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.global Type
Type:
.incbin "baserom.dol", 0x3F3EF8, 0xC0
# ROM: 0x3F3EF8
.4byte 0x00000008
.4byte 0x00000008
.4byte 0x00000008
.4byte 0x00000008
.asciz "No response"
.asciz "N64 controller"
.balign 4
.asciz "N64 microphone"
.balign 4
.asciz "N64 keyboard"
.balign 4
.asciz "N64 mouse"
.balign 4
.asciz "GameBoy Advance"
.asciz "Standard controller"
.asciz "Wireless receiver"
.balign 4
.asciz "WaveBird controller"
.asciz "Keyboard"
.balign 4
.asciz "Steering"
.balign 4
.4byte 0
.section .sdata, "wa"
.global __SIVersion
__SIVersion:
.4byte lbl_803F6EA0
.skip 4
.section .sbss, "wa"
.balign 4
.global lbl_805A9BD0
@ -69,7 +99,7 @@ lbl_805A9BF0:
.global lbl_805A9BF4
lbl_805A9BF4:
.skip 0xC
.section .text, "ax"
.global SIBusy
@ -79,10 +109,10 @@ SIBusy:
/* 803BE6B4 003BB614 2C 00 FF FF */ cmpwi r0, -1
/* 803BE6B8 003BB618 41 82 00 0C */ beq lbl_803BE6C4
/* 803BE6BC 003BB61C 38 60 00 01 */ li r3, 1
/* 803BE6C0 003BB620 4E 80 00 20 */ blr
/* 803BE6C0 003BB620 4E 80 00 20 */ blr
lbl_803BE6C4:
/* 803BE6C4 003BB624 38 60 00 00 */ li r3, 0
/* 803BE6C8 003BB628 4E 80 00 20 */ blr
/* 803BE6C8 003BB628 4E 80 00 20 */ blr
.global SIIsChanBusy
SIIsChanBusy:
@ -101,7 +131,7 @@ SIIsChanBusy:
/* 803BE6FC 003BB65C 38 A0 00 00 */ li r5, 0
lbl_803BE700:
/* 803BE700 003BB660 7C A3 2B 78 */ mr r3, r5
/* 803BE704 003BB664 4E 80 00 20 */ blr
/* 803BE704 003BB664 4E 80 00 20 */ blr
.global CompleteTransfer
CompleteTransfer:
@ -309,7 +339,7 @@ lbl_803BE9E4:
/* 803BE9F4 003BB954 83 81 00 10 */ lwz r28, 0x10(r1)
/* 803BE9F8 003BB958 38 21 00 20 */ addi r1, r1, 0x20
/* 803BE9FC 003BB95C 7C 08 03 A6 */ mtlr r0
/* 803BEA00 003BB960 4E 80 00 20 */ blr
/* 803BEA00 003BB960 4E 80 00 20 */ blr
.global SIInterruptHandler
SIInterruptHandler:
@ -386,7 +416,7 @@ lbl_803BEB00:
/* 803BEB10 003BBA70 38 77 00 00 */ addi r3, r23, 0
/* 803BEB14 003BBA74 38 96 00 00 */ addi r4, r22, 0
/* 803BEB18 003BBA78 38 BF 00 00 */ addi r5, r31, 0
/* 803BEB1C 003BBA7C 4E 80 00 21 */ blrl
/* 803BEB1C 003BBA7C 4E 80 00 21 */ blrl
lbl_803BEB20:
/* 803BEB20 003BBA80 3C 60 CC 00 */ lis r3, 0xCC006400@ha
/* 803BEB24 003BBA84 38 83 64 00 */ addi r4, r3, 0xCC006400@l
@ -525,7 +555,7 @@ lbl_803BED08:
/* 803BED14 003BBC74 7D 88 03 A6 */ mtlr r12
/* 803BED18 003BBC78 38 7E 00 00 */ addi r3, r30, 0
/* 803BED1C 003BBC7C 38 9F 00 00 */ addi r4, r31, 0
/* 803BED20 003BBC80 4E 80 00 21 */ blrl
/* 803BED20 003BBC80 4E 80 00 21 */ blrl
lbl_803BED24:
/* 803BED24 003BBC84 3A D6 00 01 */ addi r22, r22, 1
/* 803BED28 003BBC88 2C 16 00 04 */ cmpwi r22, 4
@ -536,7 +566,7 @@ lbl_803BED34:
/* 803BED38 003BBC98 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 803BED3C 003BBC9C 38 21 00 48 */ addi r1, r1, 0x48
/* 803BED40 003BBCA0 7C 08 03 A6 */ mtlr r0
/* 803BED44 003BBCA4 4E 80 00 20 */ blr
/* 803BED44 003BBCA4 4E 80 00 20 */ blr
.global SIEnablePollingInterrupt
SIEnablePollingInterrupt:
@ -581,7 +611,7 @@ lbl_803BEDB4:
/* 803BEDD0 003BBD30 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 803BEDD4 003BBD34 38 21 00 30 */ addi r1, r1, 0x30
/* 803BEDD8 003BBD38 7C 08 03 A6 */ mtlr r0
/* 803BEDDC 003BBD3C 4E 80 00 20 */ blr
/* 803BEDDC 003BBD3C 4E 80 00 20 */ blr
.global SIRegisterPollingHandler
SIRegisterPollingHandler:
@ -640,7 +670,7 @@ lbl_803BEE94:
/* 803BEE9C 003BBDFC 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803BEEA0 003BBE00 38 21 00 18 */ addi r1, r1, 0x18
/* 803BEEA4 003BBE04 7C 08 03 A6 */ mtlr r0
/* 803BEEA8 003BBE08 4E 80 00 20 */ blr
/* 803BEEA8 003BBE08 4E 80 00 20 */ blr
.global SIUnregisterPollingHandler
SIUnregisterPollingHandler:
@ -709,7 +739,7 @@ lbl_803BEF88:
/* 803BEF90 003BBEF0 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803BEF94 003BBEF4 38 21 00 18 */ addi r1, r1, 0x18
/* 803BEF98 003BBEF8 7C 08 03 A6 */ mtlr r0
/* 803BEF9C 003BBEFC 4E 80 00 20 */ blr
/* 803BEF9C 003BBEFC 4E 80 00 20 */ blr
.global SIInit
SIInit:
@ -758,7 +788,7 @@ lbl_803BEFF0:
/* 803BF044 003BBFA4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 803BF048 003BBFA8 38 21 00 10 */ addi r1, r1, 0x10
/* 803BF04C 003BBFAC 7C 08 03 A6 */ mtlr r0
/* 803BF050 003BBFB0 4E 80 00 20 */ blr
/* 803BF050 003BBFB0 4E 80 00 20 */ blr
.global __SITransfer
__SITransfer:
@ -905,7 +935,7 @@ lbl_803BF24C:
/* 803BF250 003BC1B0 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 803BF254 003BC1B4 38 21 00 48 */ addi r1, r1, 0x48
/* 803BF258 003BC1B8 7C 08 03 A6 */ mtlr r0
/* 803BF25C 003BC1BC 4E 80 00 20 */ blr
/* 803BF25C 003BC1BC 4E 80 00 20 */ blr
.global SIGetStatus
SIGetStatus:
@ -940,7 +970,7 @@ lbl_803BF2BC:
/* 803BF2CC 003BC22C 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803BF2D0 003BC230 38 21 00 18 */ addi r1, r1, 0x18
/* 803BF2D4 003BC234 7C 08 03 A6 */ mtlr r0
/* 803BF2D8 003BC238 4E 80 00 20 */ blr
/* 803BF2D8 003BC238 4E 80 00 20 */ blr
.global SISetCommand
SISetCommand:
@ -948,14 +978,14 @@ SISetCommand:
/* 803BF2E0 003BC240 3C 60 CC 00 */ lis r3, 0xCC006400@ha
/* 803BF2E4 003BC244 38 63 64 00 */ addi r3, r3, 0xCC006400@l
/* 803BF2E8 003BC248 7C 83 01 2E */ stwx r4, r3, r0
/* 803BF2EC 003BC24C 4E 80 00 20 */ blr
/* 803BF2EC 003BC24C 4E 80 00 20 */ blr
.global SITransferCommands
SITransferCommands:
/* 803BF2F0 003BC250 3C 60 CC 00 */ lis r3, 0xCC006438@ha
/* 803BF2F4 003BC254 3C 00 80 00 */ lis r0, 0x8000
/* 803BF2F8 003BC258 90 03 64 38 */ stw r0, 0xCC006438@l(r3)
/* 803BF2FC 003BC25C 4E 80 00 20 */ blr
/* 803BF2FC 003BC25C 4E 80 00 20 */ blr
.global SISetXY
SISetXY:
@ -985,7 +1015,7 @@ SISetXY:
/* 803BF35C 003BC2BC 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803BF360 003BC2C0 38 21 00 18 */ addi r1, r1, 0x18
/* 803BF364 003BC2C4 7C 08 03 A6 */ mtlr r0
/* 803BF368 003BC2C8 4E 80 00 20 */ blr
/* 803BF368 003BC2C8 4E 80 00 20 */ blr
.global SIEnablePolling
SIEnablePolling:
@ -1029,7 +1059,7 @@ lbl_803BF3F4:
/* 803BF3F8 003BC358 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803BF3FC 003BC35C 38 21 00 18 */ addi r1, r1, 0x18
/* 803BF400 003BC360 7C 08 03 A6 */ mtlr r0
/* 803BF404 003BC364 4E 80 00 20 */ blr
/* 803BF404 003BC364 4E 80 00 20 */ blr
.global SIDisablePolling
SIDisablePolling:
@ -1061,7 +1091,7 @@ lbl_803BF460:
/* 803BF464 003BC3C4 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803BF468 003BC3C8 38 21 00 18 */ addi r1, r1, 0x18
/* 803BF46C 003BC3CC 7C 08 03 A6 */ mtlr r0
/* 803BF470 003BC3D0 4E 80 00 20 */ blr
/* 803BF470 003BC3D0 4E 80 00 20 */ blr
.global SIGetResponseRaw
SIGetResponseRaw:
@ -1120,7 +1150,7 @@ lbl_803BF52C:
/* 803BF538 003BC498 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 803BF53C 003BC49C 38 21 00 28 */ addi r1, r1, 0x28
/* 803BF540 003BC4A0 7C 08 03 A6 */ mtlr r0
/* 803BF544 003BC4A4 4E 80 00 20 */ blr
/* 803BF544 003BC4A4 4E 80 00 20 */ blr
.global SIGetResponse
SIGetResponse:
@ -1174,7 +1204,7 @@ lbl_803BF5EC:
/* 803BF5FC 003BC55C 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 803BF600 003BC560 38 21 00 28 */ addi r1, r1, 0x28
/* 803BF604 003BC564 7C 08 03 A6 */ mtlr r0
/* 803BF608 003BC568 4E 80 00 20 */ blr
/* 803BF608 003BC568 4E 80 00 20 */ blr
AlarmHandler:
/* 803BF60C 003BC56C 7C 08 02 A6 */ mflr r0
@ -1212,7 +1242,7 @@ lbl_803BF684:
/* 803BF688 003BC5E8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 803BF68C 003BC5EC 38 21 00 20 */ addi r1, r1, 0x20
/* 803BF690 003BC5F0 7C 08 03 A6 */ mtlr r0
/* 803BF694 003BC5F4 4E 80 00 20 */ blr
/* 803BF694 003BC5F4 4E 80 00 20 */ blr
.global SITransfer
SITransfer:
@ -1313,7 +1343,7 @@ lbl_803BF7F0:
/* 803BF7F4 003BC754 80 01 00 64 */ lwz r0, 0x64(r1)
/* 803BF7F8 003BC758 38 21 00 60 */ addi r1, r1, 0x60
/* 803BF7FC 003BC75C 7C 08 03 A6 */ mtlr r0
/* 803BF800 003BC760 4E 80 00 20 */ blr
/* 803BF800 003BC760 4E 80 00 20 */ blr
.global GetTypeCallback
GetTypeCallback:
@ -1375,7 +1405,7 @@ lbl_803BF8C8:
/* 803BF8D8 003BC838 7D 88 03 A6 */ mtlr r12
/* 803BF8DC 003BC83C 38 7B 00 00 */ addi r3, r27, 0
/* 803BF8E0 003BC840 38 9E 00 00 */ addi r4, r30, 0
/* 803BF8E4 003BC844 4E 80 00 21 */ blrl
/* 803BF8E4 003BC844 4E 80 00 21 */ blrl
lbl_803BF8E8:
/* 803BF8E8 003BC848 3B BD 00 01 */ addi r29, r29, 1
/* 803BF8EC 003BC84C 2C 1D 00 04 */ cmpwi r29, 4
@ -1483,7 +1513,7 @@ lbl_803BFA58:
/* 803BFA68 003BC9C8 7D 88 03 A6 */ mtlr r12
/* 803BFA6C 003BC9CC 38 7B 00 00 */ addi r3, r27, 0
/* 803BFA70 003BC9D0 38 9E 00 00 */ addi r4, r30, 0
/* 803BFA74 003BC9D4 4E 80 00 21 */ blrl
/* 803BFA74 003BC9D4 4E 80 00 21 */ blrl
lbl_803BFA78:
/* 803BFA78 003BC9D8 3B BD 00 01 */ addi r29, r29, 1
/* 803BFA7C 003BC9DC 2C 1D 00 04 */ cmpwi r29, 4
@ -1494,7 +1524,7 @@ lbl_803BFA88:
/* 803BFA8C 003BC9EC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 803BFA90 003BC9F0 38 21 00 30 */ addi r1, r1, 0x30
/* 803BFA94 003BC9F4 7C 08 03 A6 */ mtlr r0
/* 803BFA98 003BC9F8 4E 80 00 20 */ blr
/* 803BFA98 003BC9F8 4E 80 00 20 */ blr
.global SIGetType
SIGetType:
@ -1616,7 +1646,7 @@ lbl_803BFC4C:
/* 803BFC50 003BCBB0 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 803BFC54 003BCBB4 38 21 00 28 */ addi r1, r1, 0x28
/* 803BFC58 003BCBB8 7C 08 03 A6 */ mtlr r0
/* 803BFC5C 003BCBBC 4E 80 00 20 */ blr
/* 803BFC5C 003BCBBC 4E 80 00 20 */ blr
.global SIGetTypeAsync
SIGetTypeAsync:
@ -1691,7 +1721,7 @@ lbl_803BFD5C:
/* 803BFD60 003BCCC0 7D 88 03 A6 */ mtlr r12
/* 803BFD64 003BCCC4 38 7C 00 00 */ addi r3, r28, 0
/* 803BFD68 003BCCC8 38 9D 00 00 */ addi r4, r29, 0
/* 803BFD6C 003BCCCC 4E 80 00 21 */ blrl
/* 803BFD6C 003BCCCC 4E 80 00 21 */ blrl
lbl_803BFD70:
/* 803BFD70 003BCCD0 7F C3 F3 78 */ mr r3, r30
/* 803BFD74 003BCCD4 4B FC 19 15 */ bl OSRestoreInterrupts
@ -1703,7 +1733,7 @@ lbl_803BFD70:
/* 803BFD8C 003BCCEC 83 81 00 10 */ lwz r28, 0x10(r1)
/* 803BFD90 003BCCF0 38 21 00 20 */ addi r1, r1, 0x20
/* 803BFD94 003BCCF4 7C 08 03 A6 */ mtlr r0
/* 803BFD98 003BCCF8 4E 80 00 20 */ blr
/* 803BFD98 003BCCF8 4E 80 00 20 */ blr
.global SIDecodeType
SIDecodeType:
@ -1712,76 +1742,76 @@ SIDecodeType:
/* 803BFDA4 003BCD04 54 65 00 2E */ rlwinm r5, r3, 0, 0, 0x17
/* 803BFDA8 003BCD08 41 82 00 0C */ beq lbl_803BFDB4
/* 803BFDAC 003BCD0C 38 60 00 08 */ li r3, 8
/* 803BFDB0 003BCD10 4E 80 00 20 */ blr
/* 803BFDB0 003BCD10 4E 80 00 20 */ blr
lbl_803BFDB4:
/* 803BFDB4 003BCD14 70 80 00 47 */ andi. r0, r4, 0x47
/* 803BFDB8 003BCD18 41 82 00 0C */ beq lbl_803BFDC4
/* 803BFDBC 003BCD1C 38 60 00 40 */ li r3, 0x40
/* 803BFDC0 003BCD20 4E 80 00 20 */ blr
/* 803BFDC0 003BCD20 4E 80 00 20 */ blr
lbl_803BFDC4:
/* 803BFDC4 003BCD24 28 04 00 00 */ cmplwi r4, 0
/* 803BFDC8 003BCD28 41 82 00 0C */ beq lbl_803BFDD4
/* 803BFDCC 003BCD2C 38 60 00 80 */ li r3, 0x80
/* 803BFDD0 003BCD30 4E 80 00 20 */ blr
/* 803BFDD0 003BCD30 4E 80 00 20 */ blr
lbl_803BFDD4:
/* 803BFDD4 003BCD34 54 A3 00 C9 */ rlwinm. r3, r5, 0, 3, 4
/* 803BFDD8 003BCD38 40 82 00 64 */ bne lbl_803BFE3C
/* 803BFDDC 003BCD3C 54 A3 00 1E */ rlwinm r3, r5, 0, 0, 0xf
/* 803BFDE0 003BCD40 3C 00 00 04 */ lis r0, 4
/* 803BFDE4 003BCD44 7C 03 00 00 */ cmpw r3, r0
/* 803BFDE8 003BCD48 4D 82 00 20 */ beqlr
/* 803BFDE8 003BCD48 4D 82 00 20 */ beqlr
/* 803BFDEC 003BCD4C 40 80 00 24 */ bge lbl_803BFE10
/* 803BFDF0 003BCD50 3C 00 00 02 */ lis r0, 2
/* 803BFDF4 003BCD54 7C 03 00 00 */ cmpw r3, r0
/* 803BFDF8 003BCD58 4D 82 00 20 */ beqlr
/* 803BFDF8 003BCD58 4D 82 00 20 */ beqlr
/* 803BFDFC 003BCD5C 40 80 00 38 */ bge lbl_803BFE34
/* 803BFE00 003BCD60 3C 00 00 01 */ lis r0, 1
/* 803BFE04 003BCD64 7C 03 00 00 */ cmpw r3, r0
/* 803BFE08 003BCD68 4D 82 00 20 */ beqlr
/* 803BFE08 003BCD68 4D 82 00 20 */ beqlr
/* 803BFE0C 003BCD6C 48 00 00 28 */ b lbl_803BFE34
lbl_803BFE10:
/* 803BFE10 003BCD70 3C 00 05 00 */ lis r0, 0x500
/* 803BFE14 003BCD74 7C 03 00 00 */ cmpw r3, r0
/* 803BFE18 003BCD78 4D 82 00 20 */ beqlr
/* 803BFE18 003BCD78 4D 82 00 20 */ beqlr
/* 803BFE1C 003BCD7C 40 80 00 18 */ bge lbl_803BFE34
/* 803BFE20 003BCD80 3C 00 02 00 */ lis r0, 0x200
/* 803BFE24 003BCD84 7C 03 00 00 */ cmpw r3, r0
/* 803BFE28 003BCD88 4D 82 00 20 */ beqlr
/* 803BFE28 003BCD88 4D 82 00 20 */ beqlr
/* 803BFE2C 003BCD8C 48 00 00 08 */ b lbl_803BFE34
.global sub_803bfe30
sub_803bfe30:
/* 803BFE30 003BCD90 4E 80 00 20 */ blr
/* 803BFE30 003BCD90 4E 80 00 20 */ blr
lbl_803BFE34:
/* 803BFE34 003BCD94 38 60 00 40 */ li r3, 0x40
/* 803BFE38 003BCD98 4E 80 00 20 */ blr
/* 803BFE38 003BCD98 4E 80 00 20 */ blr
lbl_803BFE3C:
/* 803BFE3C 003BCD9C 3C 03 F8 00 */ addis r0, r3, 0xf800
/* 803BFE40 003BCDA0 28 00 00 00 */ cmplwi r0, 0
/* 803BFE44 003BCDA4 41 82 00 0C */ beq lbl_803BFE50
/* 803BFE48 003BCDA8 38 60 00 40 */ li r3, 0x40
/* 803BFE4C 003BCDAC 4E 80 00 20 */ blr
/* 803BFE4C 003BCDAC 4E 80 00 20 */ blr
lbl_803BFE50:
/* 803BFE50 003BCDB0 54 A3 00 1E */ rlwinm r3, r5, 0, 0, 0xf
/* 803BFE54 003BCDB4 3C 00 09 00 */ lis r0, 0x900
/* 803BFE58 003BCDB8 7C 03 00 00 */ cmpw r3, r0
/* 803BFE5C 003BCDBC 4D 82 00 20 */ beqlr
/* 803BFE5C 003BCDBC 4D 82 00 20 */ beqlr
/* 803BFE60 003BCDC0 40 80 00 18 */ bge lbl_803BFE78
/* 803BFE64 003BCDC4 3C 00 08 00 */ lis r0, 0x800
/* 803BFE68 003BCDC8 7C 03 00 00 */ cmpw r3, r0
/* 803BFE6C 003BCDCC 4D 82 00 20 */ beqlr
/* 803BFE6C 003BCDCC 4D 82 00 20 */ beqlr
/* 803BFE70 003BCDD0 48 00 00 08 */ b lbl_803BFE78
.global sub_803bfe74
sub_803bfe74:
/* 803BFE74 003BCDD4 4E 80 00 20 */ blr
/* 803BFE74 003BCDD4 4E 80 00 20 */ blr
lbl_803BFE78:
/* 803BFE78 003BCDD8 54 A3 00 14 */ rlwinm r3, r5, 0, 0, 0xa
/* 803BFE7C 003BCDDC 3C 03 F7 E0 */ addis r0, r3, 0xf7e0
/* 803BFE80 003BCDE0 28 00 00 00 */ cmplwi r0, 0
/* 803BFE84 003BCDE4 40 82 00 0C */ bne lbl_803BFE90
/* 803BFE88 003BCDE8 3C 60 08 20 */ lis r3, 0x820
/* 803BFE8C 003BCDEC 4E 80 00 20 */ blr
/* 803BFE8C 003BCDEC 4E 80 00 20 */ blr
lbl_803BFE90:
/* 803BFE90 003BCDF0 54 A0 00 01 */ rlwinm. r0, r5, 0, 0, 0
/* 803BFE94 003BCDF4 41 82 00 34 */ beq lbl_803BFEC8
@ -1792,22 +1822,22 @@ lbl_803BFE90:
/* 803BFEA8 003BCE08 28 00 00 00 */ cmplwi r0, 0
/* 803BFEAC 003BCE0C 40 82 00 0C */ bne lbl_803BFEB8
/* 803BFEB0 003BCE10 3C 60 8B 10 */ lis r3, 0x8b10
/* 803BFEB4 003BCE14 4E 80 00 20 */ blr
/* 803BFEB4 003BCE14 4E 80 00 20 */ blr
lbl_803BFEB8:
/* 803BFEB8 003BCE18 54 A0 01 8D */ rlwinm. r0, r5, 0, 6, 6
/* 803BFEBC 003BCE1C 40 82 00 0C */ bne lbl_803BFEC8
/* 803BFEC0 003BCE20 3C 60 88 00 */ lis r3, 0x8800
/* 803BFEC4 003BCE24 4E 80 00 20 */ blr
/* 803BFEC4 003BCE24 4E 80 00 20 */ blr
lbl_803BFEC8:
/* 803BFEC8 003BCE28 74 A3 09 00 */ andis. r3, r5, 0x900
/* 803BFECC 003BCE2C 3C 03 F7 00 */ addis r0, r3, 0xf700
/* 803BFED0 003BCE30 28 00 00 00 */ cmplwi r0, 0
/* 803BFED4 003BCE34 40 82 00 0C */ bne lbl_803BFEE0
/* 803BFED8 003BCE38 3C 60 09 00 */ lis r3, 0x900
/* 803BFEDC 003BCE3C 4E 80 00 20 */ blr
/* 803BFEDC 003BCE3C 4E 80 00 20 */ blr
lbl_803BFEE0:
/* 803BFEE0 003BCE40 38 60 00 40 */ li r3, 0x40
/* 803BFEE4 003BCE44 4E 80 00 20 */ blr
/* 803BFEE4 003BCE44 4E 80 00 20 */ blr
.global SIProbe
SIProbe:
@ -1819,4 +1849,4 @@ SIProbe:
/* 803BFEFC 003BCE5C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803BFF00 003BCE60 38 21 00 08 */ addi r1, r1, 8
/* 803BFF04 003BCE64 7C 08 03 A6 */ mtlr r0
/* 803BFF08 003BCE68 4E 80 00 20 */ blr
/* 803BFF08 003BCE68 4E 80 00 20 */ blr

View File

@ -4,8 +4,53 @@
.global lbl_803F6FB8
lbl_803F6FB8:
.incbin "baserom.dol", 0x3F3FB8, 0x168
# ROM: 0x3F3FB8
.4byte 0x00F60200
.4byte 0x000F1200
.4byte 0x001E0900
.4byte 0x002C0600
.4byte 0x00340500
.4byte 0x00410400
.4byte 0x00570300
.4byte 0x00570300
.4byte 0x00570300
.4byte 0x00830200
.4byte 0x00830200
.4byte 0x00830200
.4byte 0x01280200
.4byte 0x000F1500
.4byte 0x001D0B00
.4byte 0x002D0700
.4byte 0x00340600
.4byte 0x003F0500
.4byte 0x004E0400
.4byte 0x00680300
.4byte 0x00680300
.4byte 0x00680300
.4byte 0x00680300
.4byte 0x009C0200
.asciz "SISetSamplingRate: unknown TV format. Use default."
.balign 4
.4byte 0
.asciz "<< Dolphin SDK - EXI\trelease build: Sep 5 2002 05:33:04 (0x2301) >>"
.balign 4
.asciz "Memory Card 59"
.balign 4
.asciz "Memory Card 123"
.asciz "Memory Card 251"
.asciz "Memory Card 507"
.asciz "USB Adapter"
.asciz "Net Card"
.balign 4
.asciz "Artist Ether"
.balign 4
.asciz "Stream Hanger"
.balign 4
.asciz "IS Viewer"
.balign 4
.4byte 0
.section .text, "ax"
.global SISetSamplingRate
@ -74,7 +119,7 @@ lbl_803BFFB4:
/* 803BFFE0 003BCF40 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803BFFE4 003BCF44 38 21 00 20 */ addi r1, r1, 0x20
/* 803BFFE8 003BCF48 7C 08 03 A6 */ mtlr r0
/* 803BFFEC 003BCF4C 4E 80 00 20 */ blr
/* 803BFFEC 003BCF4C 4E 80 00 20 */ blr
.global SIRefreshSamplingRate
SIRefreshSamplingRate:
@ -86,4 +131,4 @@ SIRefreshSamplingRate:
/* 803C0004 003BCF64 80 01 00 0C */ lwz r0, 0xc(r1)
/* 803C0008 003BCF68 38 21 00 08 */ addi r1, r1, 8
/* 803C000C 003BCF6C 7C 08 03 A6 */ mtlr r0
/* 803C0010 003BCF70 4E 80 00 20 */ blr
/* 803C0010 003BCF70 4E 80 00 20 */ blr

View File

@ -309,7 +309,7 @@ lbl_803C9518:
/* 803C951C 003C647C 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 803C9520 003C6480 38 21 00 58 */ addi r1, r1, 0x58
/* 803C9524 003C6484 7C 08 03 A6 */ mtlr r0
/* 803C9528 003C6488 4E 80 00 20 */ blr
/* 803C9528 003C6488 4E 80 00 20 */ blr
.global __THPAudioGetNewSample
__THPAudioGetNewSample:
@ -351,7 +351,7 @@ lbl_803C95A8:
/* 803C95AC 003C650C 38 04 00 01 */ addi r0, r4, 1
/* 803C95B0 003C6510 90 03 00 04 */ stw r0, 4(r3)
/* 803C95B4 003C6514 7C A3 2B 78 */ mr r3, r5
/* 803C95B8 003C6518 4E 80 00 20 */ blr
/* 803C95B8 003C6518 4E 80 00 20 */ blr
.global __THPAudioInitialize
__THPAudioInitialize:
@ -369,4 +369,4 @@ __THPAudioInitialize:
/* 803C95E8 003C6548 80 83 00 00 */ lwz r4, 0(r3)
/* 803C95EC 003C654C 38 04 00 01 */ addi r0, r4, 1
/* 803C95F0 003C6550 90 03 00 00 */ stw r0, 0(r3)
/* 803C95F4 003C6554 4E 80 00 20 */ blr
/* 803C95F4 003C6554 4E 80 00 20 */ blr

View File

@ -40,12 +40,12 @@ __THPAANScaleFactor: # local object
.double 0.5411961078643799
.double 0.27589938044548035
.section .sdata2, "wa"
.global lbl_805AF440
lbl_805AF440:
.double 4.503599627370496E15
.global lbl_805AF448
lbl_805AF448:
.float 1.4142135
@ -61,7 +61,7 @@ lbl_805AF454:
.global lbl_805AF458
lbl_805AF458:
.float 1024.0
.section .sbss, "wa"
.balign 32
Ydchuff:
@ -106,16 +106,16 @@ __THPInfo:
.skip 4
__THPInitFlag:
.skip 4
.section .data, "wa"
THPVersionStr:
.asciz "<< Dolphin SDK - THP\trelease build: Aug 27 2002 20:42:01 >>"
.skip 4
.section .sdata, "wa"
THPVersion:
.4byte THPVersionStr
.section .text, "ax"
.global THPVideoDecode
@ -285,7 +285,7 @@ lbl_803C1D90:
/* 803C1D94 003BECF4 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 803C1D98 003BECF8 38 21 00 38 */ addi r1, r1, 0x38
/* 803C1D9C 003BECFC 7C 08 03 A6 */ mtlr r0
/* 803C1DA0 003BED00 4E 80 00 20 */ blr
/* 803C1DA0 003BED00 4E 80 00 20 */ blr
__THPSetupBuffers: # local func
/* 803C1DA4 003BED04 80 8D B1 4C */ lwz r4, __THPWorkArea@sda21(r13)
@ -304,7 +304,7 @@ __THPSetupBuffers: # local func
/* 803C1DD8 003BED38 90 85 00 0C */ stw r4, 0xc(r5)
/* 803C1DDC 003BED3C 90 65 00 10 */ stw r3, 0x10(r5)
/* 803C1DE0 003BED40 90 05 00 14 */ stw r0, 0x14(r5)
/* 803C1DE4 003BED44 4E 80 00 20 */ blr
/* 803C1DE4 003BED44 4E 80 00 20 */ blr
__THPReadFrameHeader: # local func
/* 803C1DE8 003BED48 80 8D B1 50 */ lwz r4, __THPInfo@sda21(r13)
@ -319,7 +319,7 @@ __THPReadFrameHeader: # local func
/* 803C1E0C 003BED6C 28 00 00 08 */ cmplwi r0, 8
/* 803C1E10 003BED70 41 82 00 0C */ beq lbl_803C1E1C
/* 803C1E14 003BED74 38 60 00 0A */ li r3, 0xa
/* 803C1E18 003BED78 4E 80 00 20 */ blr
/* 803C1E18 003BED78 4E 80 00 20 */ blr
lbl_803C1E1C:
/* 803C1E1C 003BED7C 80 AD B1 50 */ lwz r5, __THPInfo@sda21(r13)
/* 803C1E20 003BED80 80 85 06 9C */ lwz r4, 0x69c(r5)
@ -349,7 +349,7 @@ lbl_803C1E1C:
/* 803C1E80 003BEDE0 28 00 00 03 */ cmplwi r0, 3
/* 803C1E84 003BEDE4 41 82 00 0C */ beq lbl_803C1E90
/* 803C1E88 003BEDE8 38 60 00 0C */ li r3, 0xc
/* 803C1E8C 003BEDEC 4E 80 00 20 */ blr
/* 803C1E8C 003BEDEC 4E 80 00 20 */ blr
lbl_803C1E90:
/* 803C1E90 003BEDF0 38 E0 00 00 */ li r7, 0
/* 803C1E94 003BEDF4 38 C0 00 00 */ li r6, 0
@ -375,7 +375,7 @@ lbl_803C1ED0:
/* 803C1EDC 003BEE3C 41 82 00 0C */ beq lbl_803C1EE8
lbl_803C1EE0:
/* 803C1EE0 003BEE40 38 60 00 13 */ li r3, 0x13
/* 803C1EE4 003BEE44 4E 80 00 20 */ blr
/* 803C1EE4 003BEE44 4E 80 00 20 */ blr
lbl_803C1EE8:
/* 803C1EE8 003BEE48 80 AD B1 50 */ lwz r5, __THPInfo@sda21(r13)
/* 803C1EEC 003BEE4C 38 06 06 80 */ addi r0, r6, 0x680
@ -392,7 +392,7 @@ lbl_803C1F10:
/* 803C1F14 003BEE74 28 00 00 03 */ cmplwi r0, 3
/* 803C1F18 003BEE78 41 80 FF 84 */ blt lbl_803C1E9C
/* 803C1F1C 003BEE7C 38 60 00 00 */ li r3, 0
/* 803C1F20 003BEE80 4E 80 00 20 */ blr
/* 803C1F20 003BEE80 4E 80 00 20 */ blr
__THPReadScaneHeader: # local func
/* 803C1F24 003BEE84 80 8D B1 50 */ lwz r4, __THPInfo@sda21(r13)
@ -407,7 +407,7 @@ __THPReadScaneHeader: # local func
/* 803C1F48 003BEEA8 28 00 00 03 */ cmplwi r0, 3
/* 803C1F4C 003BEEAC 41 82 00 0C */ beq lbl_803C1F58
/* 803C1F50 003BEEB0 38 60 00 0C */ li r3, 0xc
/* 803C1F54 003BEEB4 4E 80 00 20 */ blr
/* 803C1F54 003BEEB4 4E 80 00 20 */ blr
lbl_803C1F58:
/* 803C1F58 003BEEB8 39 20 00 00 */ li r9, 0
/* 803C1F5C 003BEEBC 39 00 00 00 */ li r8, 0
@ -437,14 +437,14 @@ lbl_803C1F64:
/* 803C1FB8 003BEF18 7C 80 00 39 */ and. r0, r4, r0
/* 803C1FBC 003BEF1C 40 82 00 0C */ bne lbl_803C1FC8
/* 803C1FC0 003BEF20 38 60 00 0F */ li r3, 0xf
/* 803C1FC4 003BEF24 4E 80 00 20 */ blr
/* 803C1FC4 003BEF24 4E 80 00 20 */ blr
lbl_803C1FC8:
/* 803C1FC8 003BEF28 38 07 00 01 */ addi r0, r7, 1
/* 803C1FCC 003BEF2C 7C 60 00 30 */ slw r0, r3, r0
/* 803C1FD0 003BEF30 7C 80 00 39 */ and. r0, r4, r0
/* 803C1FD4 003BEF34 40 82 00 0C */ bne lbl_803C1FE0
/* 803C1FD8 003BEF38 38 60 00 0F */ li r3, 0xf
/* 803C1FDC 003BEF3C 4E 80 00 20 */ blr
/* 803C1FDC 003BEF3C 4E 80 00 20 */ blr
lbl_803C1FE0:
/* 803C1FE0 003BEF40 39 08 00 06 */ addi r8, r8, 6
/* 803C1FE4 003BEF44 39 29 00 01 */ addi r9, r9, 1
@ -470,7 +470,7 @@ lbl_803C1FE8:
/* 803C2030 003BEF90 B0 04 06 8A */ sth r0, 0x68a(r4)
/* 803C2034 003BEF94 80 8D B1 50 */ lwz r4, __THPInfo@sda21(r13)
/* 803C2038 003BEF98 B0 04 06 90 */ sth r0, 0x690(r4)
/* 803C203C 003BEF9C 4E 80 00 20 */ blr
/* 803C203C 003BEF9C 4E 80 00 20 */ blr
.global __THPReadQuantizationTable
__THPReadQuantizationTable:
@ -717,7 +717,7 @@ lbl_803C23D4:
/* 803C23EC 003BF34C 38 60 00 00 */ li r3, 0
/* 803C23F0 003BF350 BA A1 01 5C */ lmw r21, 0x15c(r1)
/* 803C23F4 003BF354 38 21 01 88 */ addi r1, r1, 0x188
/* 803C23F8 003BF358 4E 80 00 20 */ blr
/* 803C23F8 003BF358 4E 80 00 20 */ blr
.global __THPReadHuffmanTableSpecification
__THPReadHuffmanTableSpecification:
@ -843,7 +843,7 @@ lbl_803C2550:
/* 803C25CC 003BF52C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803C25D0 003BF530 38 21 00 20 */ addi r1, r1, 0x20
/* 803C25D4 003BF534 7C 08 03 A6 */ mtlr r0
/* 803C25D8 003BF538 4E 80 00 20 */ blr
/* 803C25D8 003BF538 4E 80 00 20 */ blr
.global __THPHuffGenerateSizeTable
__THPHuffGenerateSizeTable:
@ -911,7 +911,7 @@ lbl_803C26B0:
/* 803C26BC 003BF61C 80 6D B0 E8 */ lwz r3, __THPHuffmanSizeTab@sda21(r13)
/* 803C26C0 003BF620 38 00 00 00 */ li r0, 0
/* 803C26C4 003BF624 7C 03 31 AE */ stbx r0, r3, r6
/* 803C26C8 003BF628 4E 80 00 20 */ blr
/* 803C26C8 003BF628 4E 80 00 20 */ blr
.global __THPHuffGenerateCodeTable
__THPHuffGenerateCodeTable:
@ -947,7 +947,7 @@ lbl_803C2720:
.global sub_803c2730
sub_803c2730:
/* 803C2730 003BF690 4E 80 00 20 */ blr
/* 803C2730 003BF690 4E 80 00 20 */ blr
.global __THPHuffGenerateDecoderTables
__THPHuffGenerateDecoderTables:
@ -1070,7 +1070,7 @@ lbl_803C28D4:
/* 803C28E0 003BF840 3C 60 00 10 */ lis r3, 0x000FFFFF@ha
/* 803C28E4 003BF844 38 03 FF FF */ addi r0, r3, 0x000FFFFF@l
/* 803C28E8 003BF848 90 07 00 88 */ stw r0, 0x88(r7)
/* 803C28EC 003BF84C 4E 80 00 20 */ blr
/* 803C28EC 003BF84C 4E 80 00 20 */ blr
.global __THPRestartDefinition
__THPRestartDefinition:
@ -1094,7 +1094,7 @@ __THPRestartDefinition:
/* 803C2934 003BF894 80 6D B1 50 */ lwz r3, __THPInfo@sda21(r13)
/* 803C2938 003BF898 A0 03 06 AA */ lhz r0, 0x6aa(r3)
/* 803C293C 003BF89C B0 03 06 AC */ sth r0, 0x6ac(r3)
/* 803C2940 003BF8A0 4E 80 00 20 */ blr
/* 803C2940 003BF8A0 4E 80 00 20 */ blr
.global __THPPrepBitStream
__THPPrepBitStream:
@ -1255,7 +1255,7 @@ lbl_803C2AD4:
/* 803C2B80 003BFAE0 90 0D B0 E0 */ stw r0, Vachuff@sda21(r13)
/* 803C2B84 003BFAE4 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803C2B88 003BFAE8 38 21 00 18 */ addi r1, r1, 0x18
/* 803C2B8C 003BFAEC 4E 80 00 20 */ blr
/* 803C2B8C 003BFAEC 4E 80 00 20 */ blr
.global __THPDecompressYUV
__THPDecompressYUV:
@ -1333,7 +1333,7 @@ lbl_803C2C74:
/* 803C2C8C 003BFBEC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 803C2C90 003BFBF0 38 21 00 20 */ addi r1, r1, 0x20
/* 803C2C94 003BFBF4 7C 08 03 A6 */ mtlr r0
/* 803C2C98 003BFBF8 4E 80 00 20 */ blr
/* 803C2C98 003BFBF8 4E 80 00 20 */ blr
.global __THPDecompressiMCURow512x448
__THPDecompressiMCURow512x448:
@ -3080,7 +3080,7 @@ lbl_803C467C:
/* 803C4714 003C1674 83 C1 00 08 */ lwz r30, 8(r1)
/* 803C4718 003C1678 38 21 00 38 */ addi r1, r1, 0x38
/* 803C471C 003C167C 7C 08 03 A6 */ mtlr r0
/* 803C4720 003C1680 4E 80 00 20 */ blr
/* 803C4720 003C1680 4E 80 00 20 */ blr
.global __THPDecompressiMCURow640x480
__THPDecompressiMCURow640x480:
@ -4828,7 +4828,7 @@ lbl_803C6108:
/* 803C61A0 003C3100 83 C1 00 08 */ lwz r30, 8(r1)
/* 803C61A4 003C3104 38 21 00 38 */ addi r1, r1, 0x38
/* 803C61A8 003C3108 7C 08 03 A6 */ mtlr r0
/* 803C61AC 003C310C 4E 80 00 20 */ blr
/* 803C61AC 003C310C 4E 80 00 20 */ blr
.global __THPDecompressiMCURowNxN
__THPDecompressiMCURowNxN:
@ -6584,7 +6584,7 @@ lbl_803C7BA0:
/* 803C7C4C 003C4BAC 83 81 00 08 */ lwz r28, 8(r1)
/* 803C7C50 003C4BB0 38 21 00 40 */ addi r1, r1, 0x40
/* 803C7C54 003C4BB4 7C 08 03 A6 */ mtlr r0
/* 803C7C58 003C4BB8 4E 80 00 20 */ blr
/* 803C7C58 003C4BB8 4E 80 00 20 */ blr
__THPHuffDecodeDCTCompY: #local func
/* 803C7C5C 003C4BBC 94 21 FF E0 */ stwu r1, -0x20(r1)
@ -7049,7 +7049,7 @@ lbl_803C82BC:
/* 803C82C8 003C5228 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 803C82CC 003C522C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803C82D0 003C5230 38 21 00 20 */ addi r1, r1, 0x20
/* 803C82D4 003C5234 4E 80 00 20 */ blr
/* 803C82D4 003C5234 4E 80 00 20 */ blr
__THPHuffDecodeDCTCompU: # local func
/* 803C82D8 003C5238 94 21 FF E8 */ stwu r1, -0x18(r1)
@ -7526,7 +7526,7 @@ lbl_803C8970:
/* 803C8970 003C58D0 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803C8974 003C58D4 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803C8978 003C58D8 38 21 00 18 */ addi r1, r1, 0x18
/* 803C897C 003C58DC 4E 80 00 20 */ blr
/* 803C897C 003C58DC 4E 80 00 20 */ blr
__THPHuffDecodeDCTCompV: # local func
/* 803C8980 003C58E0 94 21 FF E8 */ stwu r1, -0x18(r1)
@ -8003,7 +8003,7 @@ lbl_803C9018:
/* 803C9018 003C5F78 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 803C901C 003C5F7C 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803C9020 003C5F80 38 21 00 18 */ addi r1, r1, 0x18
/* 803C9024 003C5F84 4E 80 00 20 */ blr
/* 803C9024 003C5F84 4E 80 00 20 */ blr
.global THPInit
THPInit:
@ -8046,5 +8046,5 @@ THPInit:
/* 803C90B8 003C6018 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 803C90BC 003C601C 38 21 00 10 */ addi r1, r1, 0x10
/* 803C90C0 003C6020 7C 08 03 A6 */ mtlr r0
/* 803C90C4 003C6024 4E 80 00 20 */ blr
/* 803C90C4 003C6024 4E 80 00 20 */ blr

View File

@ -5,26 +5,192 @@ lbl_80542040:
.skip 0xF0
lbl_80542130:
.skip 0x58
.section .data, "wa"
.global lbl_803F23A8
lbl_803F23A8:
.incbin "baserom.dol", 0x3EF3A8, 0x1F4
# ROM: 0x3EF3A8
.asciz "<< Dolphin SDK - VI\trelease build: Sep 5 2002 05:33:13 (0x2301) >>"
.4byte 0x060000F0
.4byte 0x00180019
.4byte 0x00030002
.4byte 0x0C0D0C0D
.4byte 0x02080207
.4byte 0x02080207
.4byte 0x020D01AD
.4byte 0x404769A2
.4byte 0x01757A00
.4byte 0x019C0600
.4byte 0x00F00018
.4byte 0x00180004
.4byte 0x00040C0C
.4byte 0x0C0C0208
.4byte 0x02080208
.4byte 0x0208020E
.4byte 0x01AD4047
.4byte 0x69A20175
.4byte 0x7A00019C
.4byte 0x0500011F
.4byte 0x00230024
.4byte 0x00010000
.4byte 0x0D0C0B0A
.4byte 0x026B026A
.4byte 0x0269026C
.4byte 0x027101B0
.4byte 0x404B6AAC
.4byte 0x017C8500
.4byte 0x01A40500
.4byte 0x011F0021
.4byte 0x00210002
.4byte 0x00020D0B
.4byte 0x0D0B026B
.4byte 0x026D026B
.4byte 0x026D0270
.4byte 0x01B0404B
.4byte 0x6AAC017C
.4byte 0x850001A4
.4byte 0x060000F0
.4byte 0x00180019
.4byte 0x00030002
.4byte 0x100F0E0D
.4byte 0x02060205
.4byte 0x02040207
.4byte 0x020D01AD
.4byte 0x404E70A2
.4byte 0x01757A00
.4byte 0x019C0600
.4byte 0x00F00018
.4byte 0x00180004
.4byte 0x0004100E
.4byte 0x100E0206
.4byte 0x02080206
.4byte 0x0208020E
.4byte 0x01AD404E
.4byte 0x70A20175
.4byte 0x7A00019C
.4byte 0x0C0001E0
.4byte 0x00300030
.4byte 0x00060006
.4byte 0x18181818
.4byte 0x040E040E
.4byte 0x040E040E
.4byte 0x041A01AD
.4byte 0x404769A2
.4byte 0x01757A00
.4byte 0x019C0C00
.4byte 0x01E0002C
.4byte 0x002C000A
.4byte 0x000A1818
.4byte 0x1818040E
.4byte 0x040E040E
.4byte 0x040E041A
.4byte 0x01AD4047
.4byte 0x69A8017B
.4byte 0x7A00019C
.4byte 0x060000F1
.4byte 0x00180019
.4byte 0x00010000
.4byte 0x0C0D0C0D
.4byte 0x02080207
.4byte 0x02080207
.4byte 0x020D01AD
.4byte 0x4047699F
.4byte 0x01727A00
.4byte 0x019C0C00
.4byte 0x01E00030
.4byte 0x00300006
.4byte 0x00061818
.4byte 0x1818040E
.4byte 0x040E040E
.4byte 0x040E041A
.4byte 0x01AD4047
.4byte 0x69B40187
.4byte 0x7A00019C
.4byte 0x01F001DC
.4byte 0x01AE0174
.4byte 0x012900DB
.4byte 0x008E0046
.4byte 0x000C00E2
.4byte 0x00CB00C0
.4byte 0x00C400CF
.4byte 0x00DE00EC
.4byte 0x00FC0008
.4byte 0x000F0013
.4byte 0x0013000F
.4byte 0x000C0008
.4byte 0x00010000
.global lbl_803F259C
lbl_803F259C:
.incbin "baserom.dol", 0x3EF59C, 0x1C0
# ROM: 0x3EF59C
.4byte 0x80387964
.4byte 0x8038796C
.4byte 0x803879A4
.4byte 0x803879AC
.4byte 0x80387974
.4byte 0x8038797C
.4byte 0x803879D4
.4byte 0x803879D4
.4byte 0x80387994
.4byte 0x8038799C
.4byte 0x803879D4
.4byte 0x803879D4
.4byte 0x803879D4
.4byte 0x803879D4
.4byte 0x803879D4
.4byte 0x803879D4
.4byte 0x803879B4
.4byte 0x803879BC
.4byte 0x803879D4
.4byte 0x803879D4
.4byte 0x80387984
.4byte 0x8038798C
.4byte 0x803879D4
.4byte 0x803879D4
.4byte 0x803879C4
.4byte 0x803879D4
.4byte 0x803879CC
.asciz "***************************************\n"
.balign 4
.asciz " ! ! ! C A U T I O N ! ! ! \n"
.balign 4
.asciz "This TV format \"DEBUG_PAL\" is only for \n"
.balign 4
.asciz "temporary solution until PAL DAC board \n"
.balign 4
.asciz "is available. Please do NOT use this \n"
.balign 4
.asciz "mode in real games!!! \n"
.balign 4
.asciz "VIConfigure(): Tried to change mode from (%d) to (%d), which is forbidden\n"
.balign 4
.global lbl_803F275C
lbl_803F275C:
.incbin "baserom.dol", 0x3EF75C, 0x1C
# ROM: 0x3EF75C
.4byte 0x80389510
.4byte 0x80389518
.4byte 0x80389520
.4byte 0x80389510
.4byte 0x80389518
.4byte 0x80389520
.4byte 0x80389510
.section .sdata
.global lbl_805A8B78
lbl_805A8B78:
.incbin "baserom.dol", 0x3F6518, 0x4
# ROM: 0x3F6518
.4byte 0x803F23A8
.global lbl_805A8B7C
lbl_805A8B7C:
.incbin "baserom.dol", 0x3F651C, 0xC
# ROM: 0x3F651C
.asciz "vi.c"
.balign 4
.4byte 0
.section .sbss, "wa"
.balign 4
@ -70,7 +236,7 @@ lbl_805A99A8:
.skip 0x4
lbl_805A99AC:
.skip 0x4
.section .text, "ax"
.global __VIRetraceHandler
@ -137,7 +303,7 @@ lbl_80387734:
/* 80387758 003846B8 41 82 00 10 */ beq lbl_80387768
/* 8038775C 003846BC 80 6D AD 9C */ lwz r3, lbl_805A995C@sda21(r13)
/* 80387760 003846C0 7D 88 03 A6 */ mtlr r12
/* 80387764 003846C4 4E 80 00 21 */ blrl
/* 80387764 003846C4 4E 80 00 21 */ blrl
lbl_80387768:
/* 80387768 003846C8 80 0D AD A0 */ lwz r0, lbl_805A9960@sda21(r13)
/* 8038776C 003846CC 28 00 00 00 */ cmplwi r0, 0
@ -218,7 +384,7 @@ lbl_80387864:
/* 80387878 003847D8 81 8D AD B0 */ lwz r12, lbl_805A9970@sda21(r13)
/* 8038787C 003847DC 80 6D AD 9C */ lwz r3, lbl_805A995C@sda21(r13)
/* 80387880 003847E0 7D 88 03 A6 */ mtlr r12
/* 80387884 003847E4 4E 80 00 21 */ blrl
/* 80387884 003847E4 4E 80 00 21 */ blrl
lbl_80387888:
/* 80387888 003847E8 38 6D AD A4 */ addi r3, r13, lbl_805A9964@sda21
/* 8038788C 003847EC 4B FF D9 6D */ bl OSWakeupThread
@ -231,7 +397,7 @@ lbl_803878A0:
/* 803878A4 00384804 80 01 02 FC */ lwz r0, 0x2fc(r1)
/* 803878A8 00384808 38 21 02 F8 */ addi r1, r1, 0x2f8
/* 803878AC 0038480C 7C 08 03 A6 */ mtlr r0
/* 803878B0 00384810 4E 80 00 20 */ blr
/* 803878B0 00384810 4E 80 00 20 */ blr
.global VISetPreRetraceCallback
VISetPreRetraceCallback:
@ -251,7 +417,7 @@ VISetPreRetraceCallback:
/* 803878E8 00384848 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803878EC 0038484C 38 21 00 18 */ addi r1, r1, 0x18
/* 803878F0 00384850 7C 08 03 A6 */ mtlr r0
/* 803878F4 00384854 4E 80 00 20 */ blr
/* 803878F4 00384854 4E 80 00 20 */ blr
.global VISetPostRetraceCallback
VISetPostRetraceCallback:
@ -271,7 +437,7 @@ VISetPostRetraceCallback:
/* 8038792C 0038488C 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 80387930 00384890 38 21 00 18 */ addi r1, r1, 0x18
/* 80387934 00384894 7C 08 03 A6 */ mtlr r0
/* 80387938 00384898 4E 80 00 20 */ blr
/* 80387938 00384898 4E 80 00 20 */ blr
.global getTiming
getTiming:
@ -284,38 +450,38 @@ getTiming:
/* 80387954 003848B4 54 60 10 3A */ slwi r0, r3, 2
/* 80387958 003848B8 7C 04 00 2E */ lwzx r0, r4, r0
/* 8038795C 003848BC 7C 09 03 A6 */ mtctr r0
/* 80387960 003848C0 4E 80 04 20 */ bctr
/* 80387960 003848C0 4E 80 04 20 */ bctr
/* 80387964 003848C4 38 65 00 44 */ addi r3, r5, 0x44
/* 80387968 003848C8 4E 80 00 20 */ blr
/* 80387968 003848C8 4E 80 00 20 */ blr
/* 8038796C 003848CC 38 65 00 6A */ addi r3, r5, 0x6a
/* 80387970 003848D0 4E 80 00 20 */ blr
/* 80387970 003848D0 4E 80 00 20 */ blr
/* 80387974 003848D4 38 65 00 90 */ addi r3, r5, 0x90
/* 80387978 003848D8 4E 80 00 20 */ blr
/* 80387978 003848D8 4E 80 00 20 */ blr
/* 8038797C 003848DC 38 65 00 B6 */ addi r3, r5, 0xb6
/* 80387980 003848E0 4E 80 00 20 */ blr
/* 80387980 003848E0 4E 80 00 20 */ blr
/* 80387984 003848E4 38 65 00 44 */ addi r3, r5, 0x44
/* 80387988 003848E8 4E 80 00 20 */ blr
/* 80387988 003848E8 4E 80 00 20 */ blr
/* 8038798C 003848EC 38 65 00 6A */ addi r3, r5, 0x6a
/* 80387990 003848F0 4E 80 00 20 */ blr
/* 80387990 003848F0 4E 80 00 20 */ blr
/* 80387994 003848F4 38 65 00 DC */ addi r3, r5, 0xdc
/* 80387998 003848F8 4E 80 00 20 */ blr
/* 80387998 003848F8 4E 80 00 20 */ blr
/* 8038799C 003848FC 38 65 01 02 */ addi r3, r5, 0x102
/* 803879A0 00384900 4E 80 00 20 */ blr
/* 803879A0 00384900 4E 80 00 20 */ blr
/* 803879A4 00384904 38 65 01 28 */ addi r3, r5, 0x128
/* 803879A8 00384908 4E 80 00 20 */ blr
/* 803879A8 00384908 4E 80 00 20 */ blr
/* 803879AC 0038490C 38 65 01 4E */ addi r3, r5, 0x14e
/* 803879B0 00384910 4E 80 00 20 */ blr
/* 803879B0 00384910 4E 80 00 20 */ blr
/* 803879B4 00384914 38 65 00 90 */ addi r3, r5, 0x90
/* 803879B8 00384918 4E 80 00 20 */ blr
/* 803879B8 00384918 4E 80 00 20 */ blr
/* 803879BC 0038491C 38 65 00 B6 */ addi r3, r5, 0xb6
/* 803879C0 00384920 4E 80 00 20 */ blr
/* 803879C0 00384920 4E 80 00 20 */ blr
/* 803879C4 00384924 38 65 01 74 */ addi r3, r5, 0x174
/* 803879C8 00384928 4E 80 00 20 */ blr
/* 803879C8 00384928 4E 80 00 20 */ blr
/* 803879CC 0038492C 38 65 01 9A */ addi r3, r5, 0x19a
/* 803879D0 00384930 4E 80 00 20 */ blr
/* 803879D0 00384930 4E 80 00 20 */ blr
lbl_803879D4:
/* 803879D4 00384934 38 60 00 00 */ li r3, 0
/* 803879D8 00384938 4E 80 00 20 */ blr
/* 803879D8 00384938 4E 80 00 20 */ blr
.global __VIInit
__VIInit:
@ -451,7 +617,7 @@ lbl_80387BC0:
/* 80387BCC 00384B2C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80387BD0 00384B30 38 21 00 30 */ addi r1, r1, 0x30
/* 80387BD4 00384B34 7C 08 03 A6 */ mtlr r0
/* 80387BD8 00384B38 4E 80 00 20 */ blr
/* 80387BD8 00384B38 4E 80 00 20 */ blr
.global VIInit
VIInit:
@ -776,7 +942,7 @@ lbl_8038806C:
/* 8038807C 00384FDC 83 81 00 08 */ lwz r28, 8(r1)
/* 80388080 00384FE0 38 21 00 18 */ addi r1, r1, 0x18
/* 80388084 00384FE4 7C 08 03 A6 */ mtlr r0
/* 80388088 00384FE8 4E 80 00 20 */ blr
/* 80388088 00384FE8 4E 80 00 20 */ blr
.global VIWaitForRetrace
VIWaitForRetrace:
@ -801,7 +967,7 @@ lbl_803880AC:
/* 803880D0 00385030 83 C1 00 08 */ lwz r30, 8(r1)
/* 803880D4 00385034 38 21 00 10 */ addi r1, r1, 0x10
/* 803880D8 00385038 7C 08 03 A6 */ mtlr r0
/* 803880DC 0038503C 4E 80 00 20 */ blr
/* 803880DC 0038503C 4E 80 00 20 */ blr
.global setFbbRegs
setFbbRegs:
@ -996,7 +1162,7 @@ lbl_8038828C:
lbl_803883A8:
/* 803883A8 00385308 83 E1 00 44 */ lwz r31, 0x44(r1)
/* 803883AC 0038530C 38 21 00 48 */ addi r1, r1, 0x48
/* 803883B0 00385310 4E 80 00 20 */ blr
/* 803883B0 00385310 4E 80 00 20 */ blr
.global setVerticalRegs
setVerticalRegs:
@ -1108,7 +1274,7 @@ lbl_803884A8:
/* 80388544 003854A4 83 C1 00 20 */ lwz r30, 0x20(r1)
/* 80388548 003854A8 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 8038854C 003854AC 38 21 00 28 */ addi r1, r1, 0x28
/* 80388550 003854B0 4E 80 00 20 */ blr
/* 80388550 003854B0 4E 80 00 20 */ blr
.global VIConfigure
VIConfigure:
@ -1687,7 +1853,7 @@ lbl_80388D34:
/* 80388D6C 00385CCC 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 80388D70 00385CD0 38 21 00 78 */ addi r1, r1, 0x78
/* 80388D74 00385CD4 7C 08 03 A6 */ mtlr r0
/* 80388D78 00385CD8 4E 80 00 20 */ blr
/* 80388D78 00385CD8 4E 80 00 20 */ blr
.global VIConfigurePan
VIConfigurePan:
@ -1947,7 +2113,7 @@ lbl_803890C8:
/* 80389100 00386060 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80389104 00386064 38 21 00 50 */ addi r1, r1, 0x50
/* 80389108 00386068 7C 08 03 A6 */ mtlr r0
/* 8038910C 0038606C 4E 80 00 20 */ blr
/* 8038910C 0038606C 4E 80 00 20 */ blr
.global VIFlush
VIFlush:
@ -2030,7 +2196,7 @@ lbl_803891EC:
/* 80389230 00386190 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80389234 00386194 38 21 00 20 */ addi r1, r1, 0x20
/* 80389238 00386198 7C 08 03 A6 */ mtlr r0
/* 8038923C 0038619C 4E 80 00 20 */ blr
/* 8038923C 0038619C 4E 80 00 20 */ blr
.global VISetNextFrameBuffer
VISetNextFrameBuffer:
@ -2060,7 +2226,7 @@ VISetNextFrameBuffer:
/* 8038929C 003861FC 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 803892A0 00386200 38 21 00 18 */ addi r1, r1, 0x18
/* 803892A4 00386204 7C 08 03 A6 */ mtlr r0
/* 803892A8 00386208 4E 80 00 20 */ blr
/* 803892A8 00386208 4E 80 00 20 */ blr
.global VISetBlack
VISetBlack:
@ -2094,12 +2260,12 @@ VISetBlack:
/* 80389318 00386278 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8038931C 0038627C 38 21 00 20 */ addi r1, r1, 0x20
/* 80389320 00386280 7C 08 03 A6 */ mtlr r0
/* 80389324 00386284 4E 80 00 20 */ blr
/* 80389324 00386284 4E 80 00 20 */ blr
.global VIGetRetraceCount
VIGetRetraceCount:
/* 80389328 00386288 80 6D AD 9C */ lwz r3, lbl_805A995C@sda21(r13)
/* 8038932C 0038628C 4E 80 00 20 */ blr
/* 8038932C 0038628C 4E 80 00 20 */ blr
.global getCurrentFieldEvenOdd
getCurrentFieldEvenOdd:
@ -2127,10 +2293,10 @@ lbl_80389344:
/* 80389380 003862E0 7C 03 00 40 */ cmplw r3, r0
/* 80389384 003862E4 40 80 00 0C */ bge lbl_80389390
/* 80389388 003862E8 38 60 00 01 */ li r3, 1
/* 8038938C 003862EC 4E 80 00 20 */ blr
/* 8038938C 003862EC 4E 80 00 20 */ blr
lbl_80389390:
/* 80389390 003862F0 38 60 00 00 */ li r3, 0
/* 80389394 003862F4 4E 80 00 20 */ blr
/* 80389394 003862F4 4E 80 00 20 */ blr
.global VIGetNextField
VIGetNextField:
@ -2178,7 +2344,7 @@ lbl_80389410:
/* 80389430 00386390 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80389434 00386394 38 21 00 20 */ addi r1, r1, 0x20
/* 80389438 00386398 7C 08 03 A6 */ mtlr r0
/* 8038943C 0038639C 4E 80 00 20 */ blr
/* 8038943C 0038639C 4E 80 00 20 */ blr
.global VIGetCurrentLine
VIGetCurrentLine:
@ -2221,7 +2387,7 @@ lbl_803894BC:
/* 803894C8 00386428 83 C1 00 08 */ lwz r30, 8(r1)
/* 803894CC 0038642C 38 21 00 10 */ addi r1, r1, 0x10
/* 803894D0 00386430 7C 08 03 A6 */ mtlr r0
/* 803894D4 00386434 4E 80 00 20 */ blr
/* 803894D4 00386434 4E 80 00 20 */ blr
.global VIGetTvFormat
VIGetTvFormat:
@ -2238,7 +2404,7 @@ VIGetTvFormat:
/* 80389500 00386460 54 A0 10 3A */ slwi r0, r5, 2
/* 80389504 00386464 7C 04 00 2E */ lwzx r0, r4, r0
/* 80389508 00386468 7C 09 03 A6 */ mtctr r0
/* 8038950C 0038646C 4E 80 04 20 */ bctr
/* 8038950C 0038646C 4E 80 04 20 */ bctr
/* 80389510 00386470 3B E0 00 00 */ li r31, 0
/* 80389514 00386474 48 00 00 10 */ b lbl_80389524
/* 80389518 00386478 3B E0 00 01 */ li r31, 1
@ -2251,7 +2417,7 @@ lbl_80389524:
/* 80389530 00386490 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80389534 00386494 38 21 00 10 */ addi r1, r1, 0x10
/* 80389538 00386498 7C 08 03 A6 */ mtlr r0
/* 8038953C 0038649C 4E 80 00 20 */ blr
/* 8038953C 0038649C 4E 80 00 20 */ blr
.global VIGetDTVStatus
VIGetDTVStatus:
@ -2269,4 +2435,4 @@ VIGetDTVStatus:
/* 8038956C 003864CC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80389570 003864D0 38 21 00 10 */ addi r1, r1, 0x10
/* 80389574 003864D4 7C 08 03 A6 */ mtlr r0
/* 80389578 003864D8 4E 80 00 20 */ blr
/* 80389578 003864D8 4E 80 00 20 */ blr

View File

@ -40,17 +40,17 @@ lbl_805A86DC:
GetWidgetTypeID__16CAuiEnergyBarT01CFv:
/* 802CB1D0 002C8130 3C 60 45 4E */ lis r3, 0x454E5247@ha
/* 802CB1D4 002C8134 38 63 52 47 */ addi r3, r3, 0x454E5247@l
/* 802CB1D8 002C8138 4E 80 00 20 */ blr
/* 802CB1D8 002C8138 4E 80 00 20 */ blr
.global GetActualFraction__16CAuiEnergyBarT01CFv
GetActualFraction__16CAuiEnergyBarT01CFv:
/* 802CB1DC 002C813C C0 22 C4 20 */ lfs f1, lbl_805AE140@sda21(r2)
/* 802CB1E0 002C8140 C0 43 00 E0 */ lfs f2, 0xe0(r3)
/* 802CB1E4 002C8144 FC 01 10 00 */ fcmpu cr0, f1, f2
/* 802CB1E8 002C8148 4D 82 00 20 */ beqlr
/* 802CB1E8 002C8148 4D 82 00 20 */ beqlr
/* 802CB1EC 002C814C C0 03 00 F4 */ lfs f0, 0xf4(r3)
/* 802CB1F0 002C8150 EC 20 10 24 */ fdivs f1, f0, f2
/* 802CB1F4 002C8154 4E 80 00 20 */ blr
/* 802CB1F4 002C8154 4E 80 00 20 */ blr
.global Draw__16CAuiEnergyBarT01CFRC19CGuiWidgetDrawParms
Draw__16CAuiEnergyBarT01CFRC19CGuiWidgetDrawParms:
@ -239,7 +239,7 @@ lbl_802CB450:
/* 802CB498 002C83F8 FC 20 D8 90 */ fmr f1, f27
/* 802CB49C 002C83FC 38 61 00 60 */ addi r3, r1, 0x60
/* 802CB4A0 002C8400 7D 89 03 A6 */ mtctr r12
/* 802CB4A4 002C8404 4E 80 04 21 */ bctrl
/* 802CB4A4 002C8404 4E 80 04 21 */ bctrl
/* 802CB4A8 002C8408 C0 A1 00 60 */ lfs f5, 0x60(r1)
/* 802CB4AC 002C840C C0 81 00 64 */ lfs f4, 0x64(r1)
/* 802CB4B0 002C8410 C0 61 00 68 */ lfs f3, 0x68(r1)
@ -273,7 +273,7 @@ lbl_802CB4DC:
/* 802CB51C 002C847C FC 20 E0 90 */ fmr f1, f28
/* 802CB520 002C8480 38 61 00 48 */ addi r3, r1, 0x48
/* 802CB524 002C8484 7D 89 03 A6 */ mtctr r12
/* 802CB528 002C8488 4E 80 04 21 */ bctrl
/* 802CB528 002C8488 4E 80 04 21 */ bctrl
/* 802CB52C 002C848C 80 E1 00 48 */ lwz r7, 0x48(r1)
/* 802CB530 002C8490 FC 20 E0 90 */ fmr f1, f28
/* 802CB534 002C8494 80 C1 00 4C */ lwz r6, 0x4c(r1)
@ -302,7 +302,7 @@ lbl_802CB588:
/* 802CB58C 002C84EC FC 20 D8 90 */ fmr f1, f27
/* 802CB590 002C84F0 38 61 00 30 */ addi r3, r1, 0x30
/* 802CB594 002C84F4 7D 89 03 A6 */ mtctr r12
/* 802CB598 002C84F8 4E 80 04 21 */ bctrl
/* 802CB598 002C84F8 4E 80 04 21 */ bctrl
/* 802CB59C 002C84FC 80 E1 00 30 */ lwz r7, 0x30(r1)
/* 802CB5A0 002C8500 80 C1 00 34 */ lwz r6, 0x34(r1)
/* 802CB5A4 002C8504 80 A1 00 38 */ lwz r5, 0x38(r1)
@ -342,7 +342,7 @@ lbl_802CB5F4:
/* 802CB620 002C8580 80 01 01 14 */ lwz r0, 0x114(r1)
/* 802CB624 002C8584 7C 08 03 A6 */ mtlr r0
/* 802CB628 002C8588 38 21 01 10 */ addi r1, r1, 0x110
/* 802CB62C 002C858C 4E 80 00 20 */ blr
/* 802CB62C 002C858C 4E 80 00 20 */ blr
.global DownloadBarCoordFunc__16CAuiEnergyBarT01Ff
DownloadBarCoordFunc__16CAuiEnergyBarT01Ff:
@ -358,7 +358,7 @@ DownloadBarCoordFunc__16CAuiEnergyBarT01Ff:
/* 802CB654 002C85B4 D0 63 00 0C */ stfs f3, 0xc(r3)
/* 802CB658 002C85B8 D0 43 00 10 */ stfs f2, 0x10(r3)
/* 802CB65C 002C85BC D0 03 00 14 */ stfs f0, 0x14(r3)
/* 802CB660 002C85C0 4E 80 00 20 */ blr
/* 802CB660 002C85C0 4E 80 00 20 */ blr
.global Update__16CAuiEnergyBarT01Ff
Update__16CAuiEnergyBarT01Ff:
@ -534,7 +534,7 @@ lbl_802CB89C:
/* 802CB8B8 002C8818 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 802CB8BC 002C881C 7C 08 03 A6 */ mtlr r0
/* 802CB8C0 002C8820 38 21 00 40 */ addi r1, r1, 0x40
/* 802CB8C4 002C8824 4E 80 00 20 */ blr
/* 802CB8C4 002C8824 4E 80 00 20 */ blr
.global SetCurrEnergy__16CAuiEnergyBarT01Ffb
SetCurrEnergy__16CAuiEnergyBarT01Ffb:
@ -580,7 +580,7 @@ lbl_802CB950:
/* 802CB958 002C88B8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802CB95C 002C88BC 7C 08 03 A6 */ mtlr r0
/* 802CB960 002C88C0 38 21 00 20 */ addi r1, r1, 0x20
/* 802CB964 002C88C4 4E 80 00 20 */ blr
/* 802CB964 002C88C4 4E 80 00 20 */ blr
.global SetMaxEnergy__16CAuiEnergyBarT01Ff
SetMaxEnergy__16CAuiEnergyBarT01Ff:
@ -618,7 +618,7 @@ lbl_802CB9CC:
lbl_802CB9D0:
/* 802CB9D0 002C8930 C0 04 00 00 */ lfs f0, 0(r4)
/* 802CB9D4 002C8934 D0 03 00 FC */ stfs f0, 0xfc(r3)
/* 802CB9D8 002C8938 4E 80 00 20 */ blr
/* 802CB9D8 002C8938 4E 80 00 20 */ blr
.global __dt__16CAuiEnergyBarT01Fv
__dt__16CAuiEnergyBarT01Fv:
@ -662,7 +662,7 @@ lbl_802CBA58:
/* 802CBA64 002C89C4 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CBA68 002C89C8 7C 08 03 A6 */ mtlr r0
/* 802CBA6C 002C89CC 38 21 00 10 */ addi r1, r1, 0x10
/* 802CBA70 002C89D0 4E 80 00 20 */ blr
/* 802CBA70 002C89D0 4E 80 00 20 */ blr
.global __ct__16CAuiEnergyBarT01FRCQ210CGuiWidget15CGuiWidgetParmsUi
__ct__16CAuiEnergyBarT01FRCQ210CGuiWidget15CGuiWidgetParmsUi:
@ -722,7 +722,7 @@ __ct__16CAuiEnergyBarT01FRCQ210CGuiWidget15CGuiWidgetParmsUi:
/* 802CBB48 002C8AA8 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CBB4C 002C8AAC 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 802CBB50 002C8AB0 7D 89 03 A6 */ mtctr r12
/* 802CBB54 002C8AB4 4E 80 04 21 */ bctrl
/* 802CBB54 002C8AB4 4E 80 04 21 */ bctrl
/* 802CBB58 002C8AB8 38 61 00 18 */ addi r3, r1, 0x18
/* 802CBB5C 002C8ABC 38 81 00 08 */ addi r4, r1, 8
/* 802CBB60 002C8AC0 48 07 53 49 */ bl __ct__6CTokenFRC6CToken
@ -766,7 +766,7 @@ lbl_802CBBD8:
/* 802CBBE8 002C8B48 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 802CBBEC 002C8B4C 7C 08 03 A6 */ mtlr r0
/* 802CBBF0 002C8B50 38 21 00 40 */ addi r1, r1, 0x40
/* 802CBBF4 002C8B54 4E 80 00 20 */ blr
/* 802CBBF4 002C8B54 4E 80 00 20 */ blr
.global Create__16CAuiEnergyBarT01FP9CGuiFrameR12CInputStreamb
Create__16CAuiEnergyBarT01FP9CGuiFrameR12CInputStreamb:

View File

@ -130,13 +130,13 @@ lbl_802CBE1C:
/* 802CBE28 002C8D88 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CBE2C 002C8D8C 7C 08 03 A6 */ mtlr r0
/* 802CBE30 002C8D90 38 21 00 10 */ addi r1, r1, 0x10
/* 802CBE34 002C8D94 4E 80 00 20 */ blr
/* 802CBE34 002C8D94 4E 80 00 20 */ blr
.global GetWidgetTypeID__13CAuiImagePaneCFv
GetWidgetTypeID__13CAuiImagePaneCFv:
/* 802CBE38 002C8D98 3C 60 49 4D */ lis r3, 0x494D4750@ha
/* 802CBE3C 002C8D9C 38 63 47 50 */ addi r3, r3, 0x494D4750@l
/* 802CBE40 002C8DA0 4E 80 00 20 */ blr
/* 802CBE40 002C8DA0 4E 80 00 20 */ blr
.global GetIsFinishedLoadingWidgetSpecific__13CAuiImagePaneCFv
GetIsFinishedLoadingWidgetSpecific__13CAuiImagePaneCFv:
@ -177,7 +177,7 @@ lbl_802CBEB8:
/* 802CBEBC 002C8E1C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CBEC0 002C8E20 7C 08 03 A6 */ mtlr r0
/* 802CBEC4 002C8E24 38 21 00 10 */ addi r1, r1, 0x10
/* 802CBEC8 002C8E28 4E 80 00 20 */ blr
/* 802CBEC8 002C8E28 4E 80 00 20 */ blr
.global SetTextureID0__13CAuiImagePaneFUib
SetTextureID0__13CAuiImagePaneFUib:
@ -204,7 +204,7 @@ SetTextureID0__13CAuiImagePaneFUib:
/* 802CBF1C 002C8E7C 81 84 00 00 */ lwz r12, 0(r4)
/* 802CBF20 002C8E80 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 802CBF24 002C8E84 7D 89 03 A6 */ mtctr r12
/* 802CBF28 002C8E88 4E 80 04 21 */ bctrl
/* 802CBF28 002C8E88 4E 80 04 21 */ bctrl
/* 802CBF2C 002C8E8C 38 61 00 28 */ addi r3, r1, 0x28
/* 802CBF30 002C8E90 38 81 00 08 */ addi r4, r1, 8
/* 802CBF34 002C8E94 48 07 4F 75 */ bl __ct__6CTokenFRC6CToken
@ -301,7 +301,7 @@ lbl_802CC06C:
/* 802CC074 002C8FD4 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 802CC078 002C8FD8 7C 08 03 A6 */ mtlr r0
/* 802CC07C 002C8FDC 38 21 00 40 */ addi r1, r1, 0x40
/* 802CC080 002C8FE0 4E 80 00 20 */ blr
/* 802CC080 002C8FE0 4E 80 00 20 */ blr
.global DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb
DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb:
@ -824,7 +824,7 @@ lbl_802CC7F8:
/* 802CC824 002C9784 80 01 01 54 */ lwz r0, 0x154(r1)
/* 802CC828 002C9788 7C 08 03 A6 */ mtlr r0
/* 802CC82C 002C978C 38 21 01 50 */ addi r1, r1, 0x150
/* 802CC830 002C9790 4E 80 00 20 */ blr
/* 802CC830 002C9790 4E 80 00 20 */ blr
.global Draw__13CAuiImagePaneCFRC19CGuiWidgetDrawParms
Draw__13CAuiImagePaneCFRC19CGuiWidgetDrawParms:
@ -848,7 +848,7 @@ Draw__13CAuiImagePaneCFRC19CGuiWidgetDrawParms:
/* 802CC878 002C97D8 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CC87C 002C97DC 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 802CC880 002C97E0 7D 89 03 A6 */ mtctr r12
/* 802CC884 002C97E4 4E 80 04 21 */ bctrl
/* 802CC884 002C97E4 4E 80 04 21 */ bctrl
/* 802CC888 002C97E8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802CC88C 002C97EC 41 82 04 BC */ beq lbl_802CCD48
/* 802CC890 002C97F0 88 1D 00 C4 */ lbz r0, 0xc4(r29)
@ -860,7 +860,7 @@ lbl_802CC8A0:
/* 802CC8A4 002C9804 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CC8A8 002C9808 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 802CC8AC 002C980C 7D 89 03 A6 */ mtctr r12
/* 802CC8B0 002C9810 4E 80 04 21 */ bctrl
/* 802CC8B0 002C9810 4E 80 04 21 */ bctrl
/* 802CC8B4 002C9814 83 FD 00 C0 */ lwz r31, 0xc0(r29)
/* 802CC8B8 002C9818 28 1F 00 00 */ cmplwi r31, 0
/* 802CC8BC 002C981C 41 82 04 8C */ beq lbl_802CCD48
@ -1181,7 +1181,7 @@ lbl_802CCD48:
/* 802CCD6C 002C9CCC 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 802CCD70 002C9CD0 7C 08 03 A6 */ mtlr r0
/* 802CCD74 002C9CD4 38 21 00 D0 */ addi r1, r1, 0xd0
/* 802CCD78 002C9CD8 4E 80 00 20 */ blr
/* 802CCD78 002C9CD8 4E 80 00 20 */ blr
.global Update__13CAuiImagePaneFf
Update__13CAuiImagePaneFf:
@ -1260,7 +1260,7 @@ lbl_802CCE80:
/* 802CCE98 002C9DF8 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 802CCE9C 002C9DFC 7C 08 03 A6 */ mtlr r0
/* 802CCEA0 002C9E00 38 21 00 50 */ addi r1, r1, 0x50
/* 802CCEA4 002C9E04 4E 80 00 20 */ blr
/* 802CCEA4 002C9E04 4E 80 00 20 */ blr
.global SetAnimationParms__13CAuiImagePaneFRC9CVector2fff
SetAnimationParms__13CAuiImagePaneFRC9CVector2fff:
@ -1272,7 +1272,7 @@ SetAnimationParms__13CAuiImagePaneFRC9CVector2fff:
/* 802CCEBC 002C9E1C D0 23 01 40 */ stfs f1, 0x140(r3)
/* 802CCEC0 002C9E20 D0 03 01 44 */ stfs f0, 0x144(r3)
/* 802CCEC4 002C9E24 D0 43 01 48 */ stfs f2, 0x148(r3)
/* 802CCEC8 002C9E28 4E 80 00 20 */ blr
/* 802CCEC8 002C9E28 4E 80 00 20 */ blr
.global "__ct__13CAuiImagePaneFRCQ210CGuiWidget15CGuiWidgetParmsUiUiRCQ24rstl29reserved_vector<9CVector3f,4>RCQ24rstl29reserved_vector<9CVector2f,4>b"
"__ct__13CAuiImagePaneFRCQ210CGuiWidget15CGuiWidgetParmsUiUiRCQ24rstl29reserved_vector<9CVector3f,4>RCQ24rstl29reserved_vector<9CVector2f,4>b":
@ -1368,7 +1368,7 @@ lbl_802CD00C:
/* 802CD014 002C9F74 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802CD018 002C9F78 7C 08 03 A6 */ mtlr r0
/* 802CD01C 002C9F7C 38 21 00 30 */ addi r1, r1, 0x30
/* 802CD020 002C9F80 4E 80 00 20 */ blr
/* 802CD020 002C9F80 4E 80 00 20 */ blr
.global WriteData__13CAuiImagePaneCFR13COutputStreamb
WriteData__13CAuiImagePaneCFR13COutputStreamb:
@ -1436,7 +1436,7 @@ lbl_802CD0EC:
/* 802CD110 002CA070 83 81 00 20 */ lwz r28, 0x20(r1)
/* 802CD114 002CA074 7C 08 03 A6 */ mtlr r0
/* 802CD118 002CA078 38 21 00 30 */ addi r1, r1, 0x30
/* 802CD11C 002CA07C 4E 80 00 20 */ blr
/* 802CD11C 002CA07C 4E 80 00 20 */ blr
.global "StreamObjects<PC9CVector2f>__4rstlFR13COutputStreamRCPC9CVector2fRCPC9CVector2fi"
"StreamObjects<PC9CVector2f>__4rstlFR13COutputStreamRCPC9CVector2fRCPC9CVector2fi":
@ -1493,7 +1493,7 @@ lbl_802CD1CC:
/* 802CD1E0 002CA140 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 802CD1E4 002CA144 7C 08 03 A6 */ mtlr r0
/* 802CD1E8 002CA148 38 21 00 30 */ addi r1, r1, 0x30
/* 802CD1EC 002CA14C 4E 80 00 20 */ blr
/* 802CD1EC 002CA14C 4E 80 00 20 */ blr
.global Create__13CAuiImagePaneFP9CGuiFrameR12CInputStreamb
Create__13CAuiImagePaneFP9CGuiFrameR12CInputStreamb:

View File

@ -4,4 +4,4 @@
.global InitializeApplicationUI__FR7CGuiSys
InitializeApplicationUI__FR7CGuiSys:
/* 802C0BF4 002BDB54 4E 80 00 20 */ blr
/* 802C0BF4 002BDB54 4E 80 00 20 */ blr

View File

@ -96,26 +96,26 @@ lbl_802C0C9C:
/* 802C0CA8 002BDC08 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802C0CAC 002BDC0C 7C 08 03 A6 */ mtlr r0
/* 802C0CB0 002BDC10 38 21 00 20 */ addi r1, r1, 0x20
/* 802C0CB4 002BDC14 4E 80 00 20 */ blr
/* 802C0CB4 002BDC14 4E 80 00 20 */ blr
.global GetWidgetTypeID__9CAuiMeterCFv
GetWidgetTypeID__9CAuiMeterCFv:
/* 802C0CB8 002BDC18 3C 60 4D 45 */ lis r3, 0x4D455452@ha
/* 802C0CBC 002BDC1C 38 63 54 52 */ addi r3, r3, 0x4D455452@l
/* 802C0CC0 002BDC20 4E 80 00 20 */ blr
/* 802C0CC0 002BDC20 4E 80 00 20 */ blr
.global Initialize__10CGuiWidgetFv
Initialize__10CGuiWidgetFv:
/* 802C0CC4 002BDC24 4E 80 00 20 */ blr
/* 802C0CC4 002BDC24 4E 80 00 20 */ blr
.global Touch__10CGuiWidgetCFv
Touch__10CGuiWidgetCFv:
/* 802C0CC8 002BDC28 4E 80 00 20 */ blr
/* 802C0CC8 002BDC28 4E 80 00 20 */ blr
.global GetIsFinishedLoadingWidgetSpecific__10CGuiWidgetCFv
GetIsFinishedLoadingWidgetSpecific__10CGuiWidgetCFv:
/* 802C0CCC 002BDC2C 38 60 00 01 */ li r3, 1
/* 802C0CD0 002BDC30 4E 80 00 20 */ blr
/* 802C0CD0 002BDC30 4E 80 00 20 */ blr
.global UpdateMeterWorkers__9CAuiMeterFv
UpdateMeterWorkers__9CAuiMeterFv:
@ -209,14 +209,14 @@ lbl_802C0E04:
/* 802C0E1C 002BDD7C 81 9A 00 00 */ lwz r12, 0(r26)
/* 802C0E20 002BDD80 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 802C0E24 002BDD84 7D 89 03 A6 */ mtctr r12
/* 802C0E28 002BDD88 4E 80 04 21 */ bctrl
/* 802C0E28 002BDD88 4E 80 04 21 */ bctrl
/* 802C0E2C 002BDD8C 81 9A 00 00 */ lwz r12, 0(r26)
/* 802C0E30 002BDD90 7C 7B 1B 78 */ mr r27, r3
/* 802C0E34 002BDD94 7F 43 D3 78 */ mr r3, r26
/* 802C0E38 002BDD98 38 80 00 01 */ li r4, 1
/* 802C0E3C 002BDD9C 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 802C0E40 002BDDA0 7D 89 03 A6 */ mtctr r12
/* 802C0E44 002BDDA4 4E 80 04 21 */ bctrl
/* 802C0E44 002BDDA4 4E 80 04 21 */ bctrl
/* 802C0E48 002BDDA8 7C 18 E0 00 */ cmpw r24, r28
/* 802C0E4C 002BDDAC 7C 7A 1B 78 */ mr r26, r3
/* 802C0E50 002BDDB0 40 80 00 30 */ bge lbl_802C0E80
@ -269,7 +269,7 @@ lbl_802C0EE4:
/* 802C0EF0 002BDE50 80 01 00 84 */ lwz r0, 0x84(r1)
/* 802C0EF4 002BDE54 7C 08 03 A6 */ mtlr r0
/* 802C0EF8 002BDE58 38 21 00 80 */ addi r1, r1, 0x80
/* 802C0EFC 002BDE5C 4E 80 00 20 */ blr
/* 802C0EFC 002BDE5C 4E 80 00 20 */ blr
.global OnVisible__9CAuiMeterFv
OnVisible__9CAuiMeterFv:
@ -281,7 +281,7 @@ OnVisible__9CAuiMeterFv:
/* 802C0F14 002BDE74 81 83 00 00 */ lwz r12, 0(r3)
/* 802C0F18 002BDE78 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 802C0F1C 002BDE7C 7D 89 03 A6 */ mtctr r12
/* 802C0F20 002BDE80 4E 80 04 21 */ bctrl
/* 802C0F20 002BDE80 4E 80 04 21 */ bctrl
/* 802C0F24 002BDE84 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802C0F28 002BDE88 41 82 00 0C */ beq lbl_802C0F34
/* 802C0F2C 002BDE8C 7F E3 FB 78 */ mr r3, r31
@ -291,7 +291,7 @@ lbl_802C0F34:
/* 802C0F38 002BDE98 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C0F3C 002BDE9C 7C 08 03 A6 */ mtlr r0
/* 802C0F40 002BDEA0 38 21 00 10 */ addi r1, r1, 0x10
/* 802C0F44 002BDEA4 4E 80 00 20 */ blr
/* 802C0F44 002BDEA4 4E 80 00 20 */ blr
.global SetRemainder__9CAuiMeteri
SetRemainder__9CAuiMeteri:
@ -313,7 +313,7 @@ SetRemainder__9CAuiMeteri:
/* 802C0F84 002BDEE4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802C0F88 002BDEE8 7C 08 03 A6 */ mtlr r0
/* 802C0F8C 002BDEEC 38 21 00 20 */ addi r1, r1, 0x20
/* 802C0F90 002BDEF0 4E 80 00 20 */ blr
/* 802C0F90 002BDEF0 4E 80 00 20 */ blr
.global SetCapacity__9CAuiMeterFi
SetCapacity__9CAuiMeterFi:
@ -346,7 +346,7 @@ lbl_802C0FE0:
/* 802C0FF4 002BDF54 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802C0FF8 002BDF58 7C 08 03 A6 */ mtlr r0
/* 802C0FFC 002BDF5C 38 21 00 20 */ addi r1, r1, 0x20
/* 802C1000 002BDF60 4E 80 00 20 */ blr
/* 802C1000 002BDF60 4E 80 00 20 */ blr
.global SetMaxCapacity__9CAuiMeterFi
SetMaxCapacity__9CAuiMeterFi:
@ -388,14 +388,14 @@ lbl_802C1070:
/* 802C107C 002BDFDC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C1080 002BDFE0 7C 08 03 A6 */ mtlr r0
/* 802C1084 002BDFE4 38 21 00 10 */ addi r1, r1, 0x10
/* 802C1088 002BDFE8 4E 80 00 20 */ blr
/* 802C1088 002BDFE8 4E 80 00 20 */ blr
.global GetWorkerWidget__9CAuiMeterFi
GetWorkerWidget__9CAuiMeterFi:
/* 802C108C 002BDFEC 80 63 00 E0 */ lwz r3, 0xe0(r3)
/* 802C1090 002BDFF0 54 80 10 3A */ slwi r0, r4, 2
/* 802C1094 002BDFF4 7C 63 00 2E */ lwzx r3, r3, r0
/* 802C1098 002BDFF8 4E 80 00 20 */ blr
/* 802C1098 002BDFF8 4E 80 00 20 */ blr
.global AddWorkerWidget__9CAuiMeterFP10CGuiWidget
AddWorkerWidget__9CAuiMeterFP10CGuiWidget:
@ -449,7 +449,7 @@ lbl_802C112C:
/* 802C1140 002BE0A0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802C1144 002BE0A4 7C 08 03 A6 */ mtlr r0
/* 802C1148 002BE0A8 38 21 00 20 */ addi r1, r1, 0x20
/* 802C114C 002BE0AC 4E 80 00 20 */ blr
/* 802C114C 002BE0AC 4E 80 00 20 */ blr
.global __ct__9CAuiMeterFRCQ210CGuiWidget15CGuiWidgetParmsbii
__ct__9CAuiMeterFRCQ210CGuiWidget15CGuiWidgetParmsbii:

Some files were not shown because too many files have changed in this diff Show More