1617 lines
69 KiB
ArmAsm
1617 lines
69 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global GXGetTexBufferSize
|
|
GXGetTexBufferSize:
|
|
/* 800365C0 00032400 28 05 00 3C */ cmplwi r5, 0x3c
|
|
/* 800365C4 00032404 41 81 00 40 */ bgt lbl_80036604
|
|
/* 800365C8 00032408 3D 00 80 43 */ lis r8, "@2689_80430D50"@ha
|
|
/* 800365CC 0003240C 54 A0 10 3A */ slwi r0, r5, 2
|
|
/* 800365D0 00032410 39 08 0D 50 */ addi r8, r8, "@2689_80430D50"@l
|
|
/* 800365D4 00032414 7D 08 00 2E */ lwzx r8, r8, r0
|
|
/* 800365D8 00032418 7D 09 03 A6 */ mtctr r8
|
|
/* 800365DC 0003241C 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_800365E0
|
|
lbl_800365E0:
|
|
/* 800365E0 00032420 39 40 00 03 */ li r10, 0x3
|
|
/* 800365E4 00032424 38 00 00 03 */ li r0, 0x3
|
|
/* 800365E8 00032428 48 00 00 24 */ b lbl_8003660C
|
|
|
|
.global lbl_800365EC
|
|
lbl_800365EC:
|
|
/* 800365EC 0003242C 39 40 00 03 */ li r10, 0x3
|
|
/* 800365F0 00032430 38 00 00 02 */ li r0, 0x2
|
|
/* 800365F4 00032434 48 00 00 18 */ b lbl_8003660C
|
|
|
|
.global lbl_800365F8
|
|
lbl_800365F8:
|
|
/* 800365F8 00032438 39 40 00 02 */ li r10, 0x2
|
|
/* 800365FC 0003243C 38 00 00 02 */ li r0, 0x2
|
|
/* 80036600 00032440 48 00 00 0C */ b lbl_8003660C
|
|
|
|
.global lbl_80036604
|
|
lbl_80036604:
|
|
/* 80036604 00032444 38 00 00 00 */ li r0, 0x0
|
|
/* 80036608 00032448 39 40 00 00 */ li r10, 0x0
|
|
.global lbl_8003660C
|
|
lbl_8003660C:
|
|
/* 8003660C 0003244C 28 05 00 06 */ cmplwi r5, 0x6
|
|
/* 80036610 00032450 41 82 00 0C */ beq lbl_8003661C
|
|
/* 80036614 00032454 28 05 00 16 */ cmplwi r5, 0x16
|
|
/* 80036618 00032458 40 82 00 0C */ bne lbl_80036624
|
|
.global lbl_8003661C
|
|
lbl_8003661C:
|
|
/* 8003661C 0003245C 39 60 00 40 */ li r11, 0x40
|
|
/* 80036620 00032460 48 00 00 08 */ b lbl_80036628
|
|
.global lbl_80036624
|
|
lbl_80036624:
|
|
/* 80036624 00032464 39 60 00 20 */ li r11, 0x20
|
|
.global lbl_80036628
|
|
lbl_80036628:
|
|
/* 80036628 00032468 28 06 00 01 */ cmplwi r6, 0x1
|
|
/* 8003662C 0003246C 40 82 00 84 */ bne lbl_800366B0
|
|
/* 80036630 00032470 38 A0 00 01 */ li r5, 0x1
|
|
/* 80036634 00032474 39 80 00 00 */ li r12, 0x0
|
|
/* 80036638 00032478 7C A8 50 30 */ slw r8, r5, r10
|
|
/* 8003663C 0003247C 7C A9 00 30 */ slw r9, r5, r0
|
|
/* 80036640 00032480 7C E9 03 A6 */ mtctr r7
|
|
/* 80036644 00032484 28 07 00 00 */ cmplwi r7, 0x0
|
|
/* 80036648 00032488 40 81 00 94 */ ble lbl_800366DC
|
|
.global lbl_8003664C
|
|
lbl_8003664C:
|
|
/* 8003664C 0003248C 7C C3 42 14 */ add r6, r3, r8
|
|
/* 80036650 00032490 7C A4 4A 14 */ add r5, r4, r9
|
|
/* 80036654 00032494 38 C6 FF FF */ addi r6, r6, -0x1
|
|
/* 80036658 00032498 28 03 00 01 */ cmplwi r3, 0x1
|
|
/* 8003665C 0003249C 7C C6 56 30 */ sraw r6, r6, r10
|
|
/* 80036660 000324A0 38 A5 FF FF */ addi r5, r5, -0x1
|
|
/* 80036664 000324A4 7C CB 31 D6 */ mullw r6, r11, r6
|
|
/* 80036668 000324A8 7C A5 06 30 */ sraw r5, r5, r0
|
|
/* 8003666C 000324AC 7C A6 29 D6 */ mullw r5, r6, r5
|
|
/* 80036670 000324B0 7D 8C 2A 14 */ add r12, r12, r5
|
|
/* 80036674 000324B4 40 82 00 0C */ bne lbl_80036680
|
|
/* 80036678 000324B8 28 04 00 01 */ cmplwi r4, 0x1
|
|
/* 8003667C 000324BC 41 82 00 60 */ beq lbl_800366DC
|
|
.global lbl_80036680
|
|
lbl_80036680:
|
|
/* 80036680 000324C0 28 03 00 01 */ cmplwi r3, 0x1
|
|
/* 80036684 000324C4 38 A0 00 01 */ li r5, 0x1
|
|
/* 80036688 000324C8 40 81 00 08 */ ble lbl_80036690
|
|
/* 8003668C 000324CC 54 65 FC 7E */ extrwi r5, r3, 15, 16
|
|
.global lbl_80036690
|
|
lbl_80036690:
|
|
/* 80036690 000324D0 28 04 00 01 */ cmplwi r4, 0x1
|
|
/* 80036694 000324D4 54 A3 04 3E */ clrlwi r3, r5, 16
|
|
/* 80036698 000324D8 38 A0 00 01 */ li r5, 0x1
|
|
/* 8003669C 000324DC 40 81 00 08 */ ble lbl_800366A4
|
|
/* 800366A0 000324E0 54 85 FC 7E */ extrwi r5, r4, 15, 16
|
|
.global lbl_800366A4
|
|
lbl_800366A4:
|
|
/* 800366A4 000324E4 54 A4 04 3E */ clrlwi r4, r5, 16
|
|
/* 800366A8 000324E8 42 00 FF A4 */ bdnz lbl_8003664C
|
|
/* 800366AC 000324EC 48 00 00 30 */ b lbl_800366DC
|
|
.global lbl_800366B0
|
|
lbl_800366B0:
|
|
/* 800366B0 000324F0 38 C0 00 01 */ li r6, 0x1
|
|
/* 800366B4 000324F4 7C C5 50 30 */ slw r5, r6, r10
|
|
/* 800366B8 000324F8 7C A3 2A 14 */ add r5, r3, r5
|
|
/* 800366BC 000324FC 7C C3 00 30 */ slw r3, r6, r0
|
|
/* 800366C0 00032500 38 A5 FF FF */ addi r5, r5, -0x1
|
|
/* 800366C4 00032504 7C A5 56 30 */ sraw r5, r5, r10
|
|
/* 800366C8 00032508 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 800366CC 0003250C 7C 8B 29 D6 */ mullw r4, r11, r5
|
|
/* 800366D0 00032510 38 63 FF FF */ addi r3, r3, -0x1
|
|
/* 800366D4 00032514 7C 60 06 30 */ sraw r0, r3, r0
|
|
/* 800366D8 00032518 7D 84 01 D6 */ mullw r12, r4, r0
|
|
.global lbl_800366DC
|
|
lbl_800366DC:
|
|
/* 800366DC 0003251C 7D 83 63 78 */ mr r3, r12
|
|
/* 800366E0 00032520 4E 80 00 20 */ blr
|
|
/* 800366E4 00032524 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800366E8 00032528 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800366EC 0003252C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __GetImageTileCount
|
|
__GetImageTileCount:
|
|
/* 800366F0 00032530 28 03 00 3C */ cmplwi r3, 0x3c
|
|
/* 800366F4 00032534 41 81 00 40 */ bgt lbl_80036734
|
|
/* 800366F8 00032538 3D 20 80 43 */ lis r9, "@2732"@ha
|
|
/* 800366FC 0003253C 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80036700 00032540 39 29 0E 44 */ addi r9, r9, "@2732"@l
|
|
/* 80036704 00032544 7D 29 00 2E */ lwzx r9, r9, r0
|
|
/* 80036708 00032548 7D 29 03 A6 */ mtctr r9
|
|
/* 8003670C 0003254C 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_80036710
|
|
lbl_80036710:
|
|
/* 80036710 00032550 39 60 00 03 */ li r11, 0x3
|
|
/* 80036714 00032554 39 80 00 03 */ li r12, 0x3
|
|
/* 80036718 00032558 48 00 00 24 */ b lbl_8003673C
|
|
|
|
.global lbl_8003671C
|
|
lbl_8003671C:
|
|
/* 8003671C 0003255C 39 60 00 03 */ li r11, 0x3
|
|
/* 80036720 00032560 39 80 00 02 */ li r12, 0x2
|
|
/* 80036724 00032564 48 00 00 18 */ b lbl_8003673C
|
|
|
|
.global lbl_80036728
|
|
lbl_80036728:
|
|
/* 80036728 00032568 39 60 00 02 */ li r11, 0x2
|
|
/* 8003672C 0003256C 39 80 00 02 */ li r12, 0x2
|
|
/* 80036730 00032570 48 00 00 0C */ b lbl_8003673C
|
|
|
|
.global lbl_80036734
|
|
lbl_80036734:
|
|
/* 80036734 00032574 39 80 00 00 */ li r12, 0x0
|
|
/* 80036738 00032578 39 60 00 00 */ li r11, 0x0
|
|
.global lbl_8003673C
|
|
lbl_8003673C:
|
|
/* 8003673C 0003257C 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 80036740 00032580 40 82 00 08 */ bne lbl_80036748
|
|
/* 80036744 00032584 38 80 00 01 */ li r4, 0x1
|
|
.global lbl_80036748
|
|
lbl_80036748:
|
|
/* 80036748 00032588 2C 05 00 00 */ cmpwi r5, 0x0
|
|
/* 8003674C 0003258C 40 82 00 08 */ bne lbl_80036754
|
|
/* 80036750 00032590 38 A0 00 01 */ li r5, 0x1
|
|
.global lbl_80036754
|
|
lbl_80036754:
|
|
/* 80036754 00032594 39 40 00 01 */ li r10, 0x1
|
|
/* 80036758 00032598 2C 03 00 06 */ cmpwi r3, 0x6
|
|
/* 8003675C 0003259C 7D 40 58 30 */ slw r0, r10, r11
|
|
/* 80036760 000325A0 39 20 00 00 */ li r9, 0x0
|
|
/* 80036764 000325A4 7C 84 02 14 */ add r4, r4, r0
|
|
/* 80036768 000325A8 7D 40 60 30 */ slw r0, r10, r12
|
|
/* 8003676C 000325AC 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80036770 000325B0 7C 8A 5E 30 */ sraw r10, r4, r11
|
|
/* 80036774 000325B4 91 46 00 00 */ stw r10, 0x0(r6)
|
|
/* 80036778 000325B8 7C 85 02 14 */ add r4, r5, r0
|
|
/* 8003677C 000325BC 38 04 FF FF */ addi r0, r4, -0x1
|
|
/* 80036780 000325C0 7C 00 66 30 */ sraw r0, r0, r12
|
|
/* 80036784 000325C4 90 07 00 00 */ stw r0, 0x0(r7)
|
|
/* 80036788 000325C8 41 82 00 0C */ beq lbl_80036794
|
|
/* 8003678C 000325CC 2C 03 00 16 */ cmpwi r3, 0x16
|
|
/* 80036790 000325D0 40 82 00 08 */ bne lbl_80036798
|
|
.global lbl_80036794
|
|
lbl_80036794:
|
|
/* 80036794 000325D4 39 20 00 01 */ li r9, 0x1
|
|
.global lbl_80036798
|
|
lbl_80036798:
|
|
/* 80036798 000325D8 7C 09 00 D0 */ neg r0, r9
|
|
/* 8003679C 000325DC 7C 00 4B 78 */ or r0, r0, r9
|
|
/* 800367A0 000325E0 54 03 0F FE */ srwi r3, r0, 31
|
|
/* 800367A4 000325E4 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 800367A8 000325E8 90 08 00 00 */ stw r0, 0x0(r8)
|
|
/* 800367AC 000325EC 4E 80 00 20 */ blr
|
|
.global GXInitTexObj
|
|
GXInitTexObj:
|
|
/* 800367B0 000325F0 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
/* 800367B4 000325F4 7C 08 02 A6 */ mflr r0
|
|
/* 800367B8 000325F8 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 800367BC 000325FC 39 61 00 40 */ addi r11, r1, 0x40
|
|
/* 800367C0 00032600 4B FD 0B 71 */ bl lbl_80007330
|
|
/* 800367C4 00032604 7C 9B 23 78 */ mr r27, r4
|
|
/* 800367C8 00032608 7C BC 2B 78 */ mr r28, r5
|
|
/* 800367CC 0003260C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 800367D0 00032610 7C DD 33 78 */ mr r29, r6
|
|
/* 800367D4 00032614 7C FE 3B 78 */ mr r30, r7
|
|
/* 800367D8 00032618 7D 18 43 78 */ mr r24, r8
|
|
/* 800367DC 0003261C 7D 39 4B 78 */ mr r25, r9
|
|
/* 800367E0 00032620 7D 5A 53 78 */ mr r26, r10
|
|
/* 800367E4 00032624 38 80 00 00 */ li r4, 0x0
|
|
/* 800367E8 00032628 38 A0 00 20 */ li r5, 0x20
|
|
/* 800367EC 0003262C 4B FC DB 65 */ bl memset
|
|
/* 800367F0 00032630 80 1F 00 00 */ lwz r0, 0x0(r31)
|
|
/* 800367F4 00032634 53 00 07 BE */ rlwimi r0, r24, 0, 30, 31
|
|
/* 800367F8 00032638 53 20 17 3A */ rlwimi r0, r25, 2, 28, 29
|
|
/* 800367FC 0003263C 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
/* 80036800 00032640 60 04 00 10 */ ori r4, r0, 0x10
|
|
/* 80036804 00032644 90 9F 00 00 */ stw r4, 0x0(r31)
|
|
/* 80036808 00032648 41 82 00 90 */ beq lbl_80036898
|
|
/* 8003680C 0003264C 38 1E FF F8 */ addi r0, r30, -0x8
|
|
/* 80036810 00032650 88 7F 00 1F */ lbz r3, 0x1f(r31)
|
|
/* 80036814 00032654 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 80036818 00032658 60 60 00 01 */ ori r0, r3, 0x1
|
|
/* 8003681C 0003265C 98 1F 00 1F */ stb r0, 0x1f(r31)
|
|
/* 80036820 00032660 41 81 00 14 */ bgt lbl_80036834
|
|
/* 80036824 00032664 38 00 00 05 */ li r0, 0x5
|
|
/* 80036828 00032668 50 04 2E 34 */ rlwimi r4, r0, 5, 24, 26
|
|
/* 8003682C 0003266C 90 9F 00 00 */ stw r4, 0x0(r31)
|
|
/* 80036830 00032670 48 00 00 10 */ b lbl_80036840
|
|
.global lbl_80036834
|
|
lbl_80036834:
|
|
/* 80036834 00032674 38 00 00 06 */ li r0, 0x6
|
|
/* 80036838 00032678 50 04 2E 34 */ rlwimi r4, r0, 5, 24, 26
|
|
/* 8003683C 0003267C 90 9F 00 00 */ stw r4, 0x0(r31)
|
|
.global lbl_80036840
|
|
lbl_80036840:
|
|
/* 80036840 00032680 7C 1C E8 40 */ cmplw r28, r29
|
|
/* 80036844 00032684 40 81 00 10 */ ble lbl_80036854
|
|
/* 80036848 00032688 7F 80 00 34 */ cntlzw r0, r28
|
|
/* 8003684C 0003268C 20 60 00 1F */ subfic r3, r0, 0x1f
|
|
/* 80036850 00032690 48 00 00 0C */ b lbl_8003685C
|
|
.global lbl_80036854
|
|
lbl_80036854:
|
|
/* 80036854 00032694 7F A0 00 34 */ cntlzw r0, r29
|
|
/* 80036858 00032698 20 60 00 1F */ subfic r3, r0, 0x1f
|
|
.global lbl_8003685C
|
|
lbl_8003685C:
|
|
/* 8003685C 0003269C 3C 00 43 30 */ lis r0, 0x4330
|
|
/* 80036860 000326A0 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 80036864 000326A4 C8 42 86 78 */ lfd f2, "@2760"@sda21(r2)
|
|
/* 80036868 000326A8 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8003686C 000326AC C0 02 86 70 */ lfs f0, "@2756_8055E5F0"@sda21(r2)
|
|
/* 80036870 000326B0 C8 21 00 08 */ lfd f1, 0x8(r1)
|
|
/* 80036874 000326B4 80 1F 00 04 */ lwz r0, 0x4(r31)
|
|
/* 80036878 000326B8 EC 21 10 28 */ fsubs f1, f1, f2
|
|
/* 8003687C 000326BC EC 00 00 72 */ fmuls f0, f0, f1
|
|
/* 80036880 000326C0 FC 00 00 1E */ fctiwz f0, f0
|
|
/* 80036884 000326C4 D8 01 00 10 */ stfd f0, 0x10(r1)
|
|
/* 80036888 000326C8 80 61 00 14 */ lwz r3, 0x14(r1)
|
|
/* 8003688C 000326CC 50 60 44 2E */ rlwimi r0, r3, 8, 16, 23
|
|
/* 80036890 000326D0 90 1F 00 04 */ stw r0, 0x4(r31)
|
|
/* 80036894 000326D4 48 00 00 10 */ b lbl_800368A4
|
|
.global lbl_80036898
|
|
lbl_80036898:
|
|
/* 80036898 000326D8 38 00 00 04 */ li r0, 0x4
|
|
/* 8003689C 000326DC 50 04 2E 34 */ rlwimi r4, r0, 5, 24, 26
|
|
/* 800368A0 000326E0 90 9F 00 00 */ stw r4, 0x0(r31)
|
|
.global lbl_800368A4
|
|
lbl_800368A4:
|
|
/* 800368A4 000326E4 57 C5 07 3E */ clrlwi r5, r30, 28
|
|
/* 800368A8 000326E8 38 1C FF FF */ addi r0, r28, -0x1
|
|
/* 800368AC 000326EC 80 9F 00 08 */ lwz r4, 0x8(r31)
|
|
/* 800368B0 000326F0 50 04 05 BE */ rlwimi r4, r0, 0, 22, 31
|
|
/* 800368B4 000326F4 80 1F 00 0C */ lwz r0, 0xc(r31)
|
|
/* 800368B8 000326F8 38 7D FF FF */ addi r3, r29, -0x1
|
|
/* 800368BC 000326FC 53 60 DA 3E */ rlwimi r0, r27, 27, 8, 31
|
|
/* 800368C0 00032700 28 05 00 0E */ cmplwi r5, 0xe
|
|
/* 800368C4 00032704 50 64 53 2A */ rlwimi r4, r3, 10, 12, 21
|
|
/* 800368C8 00032708 93 DF 00 14 */ stw r30, 0x14(r31)
|
|
/* 800368CC 0003270C 53 C4 A2 16 */ rlwimi r4, r30, 20, 8, 11
|
|
/* 800368D0 00032710 90 9F 00 08 */ stw r4, 0x8(r31)
|
|
/* 800368D4 00032714 90 1F 00 0C */ stw r0, 0xc(r31)
|
|
/* 800368D8 00032718 41 81 00 80 */ bgt lbl_80036958
|
|
/* 800368DC 0003271C 3C 60 80 43 */ lis r3, "@2762"@ha
|
|
/* 800368E0 00032720 54 A0 10 3A */ slwi r0, r5, 2
|
|
/* 800368E4 00032724 38 63 0F 38 */ addi r3, r3, "@2762"@l
|
|
/* 800368E8 00032728 7C 63 00 2E */ lwzx r3, r3, r0
|
|
/* 800368EC 0003272C 7C 69 03 A6 */ mtctr r3
|
|
/* 800368F0 00032730 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_800368F4
|
|
lbl_800368F4:
|
|
/* 800368F4 00032734 38 00 00 01 */ li r0, 0x1
|
|
/* 800368F8 00032738 98 1F 00 1E */ stb r0, 0x1e(r31)
|
|
/* 800368FC 0003273C 38 C0 00 03 */ li r6, 0x3
|
|
/* 80036900 00032740 38 E0 00 03 */ li r7, 0x3
|
|
/* 80036904 00032744 48 00 00 64 */ b lbl_80036968
|
|
|
|
.global lbl_80036908
|
|
lbl_80036908:
|
|
/* 80036908 00032748 38 00 00 02 */ li r0, 0x2
|
|
/* 8003690C 0003274C 98 1F 00 1E */ stb r0, 0x1e(r31)
|
|
/* 80036910 00032750 38 C0 00 03 */ li r6, 0x3
|
|
/* 80036914 00032754 38 E0 00 02 */ li r7, 0x2
|
|
/* 80036918 00032758 48 00 00 50 */ b lbl_80036968
|
|
|
|
.global lbl_8003691C
|
|
lbl_8003691C:
|
|
/* 8003691C 0003275C 38 00 00 02 */ li r0, 0x2
|
|
/* 80036920 00032760 98 1F 00 1E */ stb r0, 0x1e(r31)
|
|
/* 80036924 00032764 38 C0 00 02 */ li r6, 0x2
|
|
/* 80036928 00032768 38 E0 00 02 */ li r7, 0x2
|
|
/* 8003692C 0003276C 48 00 00 3C */ b lbl_80036968
|
|
|
|
.global lbl_80036930
|
|
lbl_80036930:
|
|
/* 80036930 00032770 38 00 00 03 */ li r0, 0x3
|
|
/* 80036934 00032774 98 1F 00 1E */ stb r0, 0x1e(r31)
|
|
/* 80036938 00032778 38 C0 00 02 */ li r6, 0x2
|
|
/* 8003693C 0003277C 38 E0 00 02 */ li r7, 0x2
|
|
/* 80036940 00032780 48 00 00 28 */ b lbl_80036968
|
|
|
|
.global lbl_80036944
|
|
lbl_80036944:
|
|
/* 80036944 00032784 38 00 00 00 */ li r0, 0x0
|
|
/* 80036948 00032788 98 1F 00 1E */ stb r0, 0x1e(r31)
|
|
/* 8003694C 0003278C 38 C0 00 03 */ li r6, 0x3
|
|
/* 80036950 00032790 38 E0 00 03 */ li r7, 0x3
|
|
/* 80036954 00032794 48 00 00 14 */ b lbl_80036968
|
|
|
|
.global lbl_80036958
|
|
lbl_80036958:
|
|
/* 80036958 00032798 38 00 00 02 */ li r0, 0x2
|
|
/* 8003695C 0003279C 98 1F 00 1E */ stb r0, 0x1e(r31)
|
|
/* 80036960 000327A0 38 C0 00 02 */ li r6, 0x2
|
|
/* 80036964 000327A4 38 E0 00 02 */ li r7, 0x2
|
|
.global lbl_80036968
|
|
lbl_80036968:
|
|
/* 80036968 000327A8 38 A0 00 01 */ li r5, 0x1
|
|
/* 8003696C 000327AC 88 1F 00 1F */ lbz r0, 0x1f(r31)
|
|
/* 80036970 000327B0 7C A3 30 30 */ slw r3, r5, r6
|
|
/* 80036974 000327B4 39 61 00 40 */ addi r11, r1, 0x40
|
|
/* 80036978 000327B8 7C 9C 1A 14 */ add r4, r28, r3
|
|
/* 8003697C 000327BC 60 00 00 02 */ ori r0, r0, 0x2
|
|
/* 80036980 000327C0 7C A3 38 30 */ slw r3, r5, r7
|
|
/* 80036984 000327C4 98 1F 00 1F */ stb r0, 0x1f(r31)
|
|
/* 80036988 000327C8 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8003698C 000327CC 7C 7D 1A 14 */ add r3, r29, r3
|
|
/* 80036990 000327D0 7C 84 36 30 */ sraw r4, r4, r6
|
|
/* 80036994 000327D4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80036998 000327D8 7C 00 3E 30 */ sraw r0, r0, r7
|
|
/* 8003699C 000327DC 7C 04 01 D6 */ mullw r0, r4, r0
|
|
/* 800369A0 000327E0 54 00 04 7E */ clrlwi r0, r0, 17
|
|
/* 800369A4 000327E4 B0 1F 00 1C */ sth r0, 0x1c(r31)
|
|
/* 800369A8 000327E8 4B FD 09 D5 */ bl lbl_8000737C
|
|
/* 800369AC 000327EC 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 800369B0 000327F0 7C 08 03 A6 */ mtlr r0
|
|
/* 800369B4 000327F4 38 21 00 40 */ addi r1, r1, 0x40
|
|
/* 800369B8 000327F8 4E 80 00 20 */ blr
|
|
/* 800369BC 000327FC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitTexObjCI
|
|
GXInitTexObjCI:
|
|
/* 800369C0 00032800 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 800369C4 00032804 7C 08 02 A6 */ mflr r0
|
|
/* 800369C8 00032808 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 800369CC 0003280C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 800369D0 00032810 83 E1 00 18 */ lwz r31, 0x18(r1)
|
|
/* 800369D4 00032814 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 800369D8 00032818 7C 7E 1B 78 */ mr r30, r3
|
|
/* 800369DC 0003281C 4B FF FD D5 */ bl GXInitTexObj
|
|
/* 800369E0 00032820 88 1E 00 1F */ lbz r0, 0x1f(r30)
|
|
/* 800369E4 00032824 93 FE 00 18 */ stw r31, 0x18(r30)
|
|
/* 800369E8 00032828 54 00 07 FA */ rlwinm r0, r0, 0, 31, 29
|
|
/* 800369EC 0003282C 98 1E 00 1F */ stb r0, 0x1f(r30)
|
|
/* 800369F0 00032830 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 800369F4 00032834 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 800369F8 00032838 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 800369FC 0003283C 7C 08 03 A6 */ mtlr r0
|
|
/* 80036A00 00032840 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80036A04 00032844 4E 80 00 20 */ blr
|
|
/* 80036A08 00032848 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036A0C 0003284C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitTexObjLOD
|
|
GXInitTexObjLOD:
|
|
/* 80036A10 00032850 C0 02 86 80 */ lfs f0, "@2784"@sda21(r2)
|
|
/* 80036A14 00032854 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80036A18 00032858 FC 03 00 40 */ fcmpo cr0, f3, f0
|
|
/* 80036A1C 0003285C 40 80 00 0C */ bge lbl_80036A28
|
|
/* 80036A20 00032860 FC 60 00 90 */ fmr f3, f0
|
|
/* 80036A24 00032864 48 00 00 18 */ b lbl_80036A3C
|
|
.global lbl_80036A28
|
|
lbl_80036A28:
|
|
/* 80036A28 00032868 C0 02 86 88 */ lfs f0, "@2786_8055E608"@sda21(r2)
|
|
/* 80036A2C 0003286C FC 03 00 40 */ fcmpo cr0, f3, f0
|
|
/* 80036A30 00032870 4C 41 13 82 */ cror eq, gt, eq
|
|
/* 80036A34 00032874 40 82 00 08 */ bne lbl_80036A3C
|
|
/* 80036A38 00032878 C0 62 86 84 */ lfs f3, "@2785"@sda21(r2)
|
|
.global lbl_80036A3C
|
|
lbl_80036A3C:
|
|
/* 80036A3C 0003287C C0 82 86 8C */ lfs f4, "@2787_8055E60C"@sda21(r2)
|
|
/* 80036A40 00032880 38 05 FF FF */ addi r0, r5, -0x1
|
|
/* 80036A44 00032884 7C 09 00 34 */ cntlzw r9, r0
|
|
/* 80036A48 00032888 C0 02 86 90 */ lfs f0, "@2788_8055E610"@sda21(r2)
|
|
/* 80036A4C 0003288C EC 64 00 F2 */ fmuls f3, f4, f3
|
|
/* 80036A50 00032890 7C E0 00 34 */ cntlzw r0, r7
|
|
/* 80036A54 00032894 81 43 00 00 */ lwz r10, 0x0(r3)
|
|
/* 80036A58 00032898 38 AD 81 98 */ addi r5, r13, GX2HWFiltConv@sda21
|
|
/* 80036A5C 0003289C FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80036A60 000328A0 FC 60 18 1E */ fctiwz f3, f3
|
|
/* 80036A64 000328A4 D8 61 00 08 */ stfd f3, 0x8(r1)
|
|
/* 80036A68 000328A8 80 E1 00 0C */ lwz r7, 0xc(r1)
|
|
/* 80036A6C 000328AC 50 EA 4B EC */ rlwimi r10, r7, 9, 15, 22
|
|
/* 80036A70 000328B0 51 2A FE F6 */ rlwimi r10, r9, 31, 27, 27
|
|
/* 80036A74 000328B4 91 43 00 00 */ stw r10, 0x0(r3)
|
|
/* 80036A78 000328B8 7C 85 20 AE */ lbzx r4, r5, r4
|
|
/* 80036A7C 000328BC 50 8A 2E 34 */ rlwimi r10, r4, 5, 24, 26
|
|
/* 80036A80 000328C0 50 0A 1D EE */ rlwimi r10, r0, 3, 23, 23
|
|
/* 80036A84 000328C4 55 40 03 D8 */ rlwinm r0, r10, 0, 15, 12
|
|
/* 80036A88 000328C8 51 00 9A D8 */ rlwimi r0, r8, 19, 11, 12
|
|
/* 80036A8C 000328CC 50 C0 AA 94 */ rlwimi r0, r6, 21, 10, 10
|
|
/* 80036A90 000328D0 90 03 00 00 */ stw r0, 0x0(r3)
|
|
/* 80036A94 000328D4 40 80 00 0C */ bge lbl_80036AA0
|
|
/* 80036A98 000328D8 FC 20 00 90 */ fmr f1, f0
|
|
/* 80036A9C 000328DC 48 00 00 14 */ b lbl_80036AB0
|
|
.global lbl_80036AA0
|
|
lbl_80036AA0:
|
|
/* 80036AA0 000328E0 C0 02 86 94 */ lfs f0, "@2789"@sda21(r2)
|
|
/* 80036AA4 000328E4 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80036AA8 000328E8 40 81 00 08 */ ble lbl_80036AB0
|
|
/* 80036AAC 000328EC FC 20 00 90 */ fmr f1, f0
|
|
.global lbl_80036AB0
|
|
lbl_80036AB0:
|
|
/* 80036AB0 000328F0 C0 62 86 70 */ lfs f3, "@2756_8055E5F0"@sda21(r2)
|
|
/* 80036AB4 000328F4 C0 02 86 90 */ lfs f0, "@2788_8055E610"@sda21(r2)
|
|
/* 80036AB8 000328F8 EC 23 00 72 */ fmuls f1, f3, f1
|
|
/* 80036ABC 000328FC FC 02 00 40 */ fcmpo cr0, f2, f0
|
|
/* 80036AC0 00032900 FC 20 08 1E */ fctiwz f1, f1
|
|
/* 80036AC4 00032904 D8 21 00 08 */ stfd f1, 0x8(r1)
|
|
/* 80036AC8 00032908 80 81 00 0C */ lwz r4, 0xc(r1)
|
|
/* 80036ACC 0003290C 40 80 00 0C */ bge lbl_80036AD8
|
|
/* 80036AD0 00032910 FC 40 00 90 */ fmr f2, f0
|
|
/* 80036AD4 00032914 48 00 00 14 */ b lbl_80036AE8
|
|
.global lbl_80036AD8
|
|
lbl_80036AD8:
|
|
/* 80036AD8 00032918 C0 02 86 94 */ lfs f0, "@2789"@sda21(r2)
|
|
/* 80036ADC 0003291C FC 02 00 40 */ fcmpo cr0, f2, f0
|
|
/* 80036AE0 00032920 40 81 00 08 */ ble lbl_80036AE8
|
|
/* 80036AE4 00032924 FC 40 00 90 */ fmr f2, f0
|
|
.global lbl_80036AE8
|
|
lbl_80036AE8:
|
|
/* 80036AE8 00032928 C0 02 86 70 */ lfs f0, "@2756_8055E5F0"@sda21(r2)
|
|
/* 80036AEC 0003292C 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
/* 80036AF0 00032930 50 80 06 3E */ rlwimi r0, r4, 0, 24, 31
|
|
/* 80036AF4 00032934 EC 00 00 B2 */ fmuls f0, f0, f2
|
|
/* 80036AF8 00032938 FC 00 00 1E */ fctiwz f0, f0
|
|
/* 80036AFC 0003293C D8 01 00 08 */ stfd f0, 0x8(r1)
|
|
/* 80036B00 00032940 80 81 00 0C */ lwz r4, 0xc(r1)
|
|
/* 80036B04 00032944 50 80 44 2E */ rlwimi r0, r4, 8, 16, 23
|
|
/* 80036B08 00032948 90 03 00 04 */ stw r0, 0x4(r3)
|
|
/* 80036B0C 0003294C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80036B10 00032950 4E 80 00 20 */ blr
|
|
/* 80036B14 00032954 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036B18 00032958 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036B1C 0003295C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitTexObjWrapMode
|
|
GXInitTexObjWrapMode:
|
|
/* 80036B20 00032960 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
/* 80036B24 00032964 50 80 07 BE */ rlwimi r0, r4, 0, 30, 31
|
|
/* 80036B28 00032968 50 A0 17 3A */ rlwimi r0, r5, 2, 28, 29
|
|
/* 80036B2C 0003296C 90 03 00 00 */ stw r0, 0x0(r3)
|
|
/* 80036B30 00032970 4E 80 00 20 */ blr
|
|
/* 80036B34 00032974 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036B38 00032978 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036B3C 0003297C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitTexObjTlut
|
|
GXInitTexObjTlut:
|
|
/* 80036B40 00032980 90 83 00 18 */ stw r4, 0x18(r3)
|
|
/* 80036B44 00032984 4E 80 00 20 */ blr
|
|
/* 80036B48 00032988 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036B4C 0003298C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitTexObjUserData
|
|
GXInitTexObjUserData:
|
|
/* 80036B50 00032990 90 83 00 10 */ stw r4, 0x10(r3)
|
|
/* 80036B54 00032994 4E 80 00 20 */ blr
|
|
/* 80036B58 00032998 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036B5C 0003299C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXGetTexObjUserData
|
|
GXGetTexObjUserData:
|
|
/* 80036B60 000329A0 80 63 00 10 */ lwz r3, 0x10(r3)
|
|
/* 80036B64 000329A4 4E 80 00 20 */ blr
|
|
/* 80036B68 000329A8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036B6C 000329AC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXGetTexObjWidth
|
|
GXGetTexObjWidth:
|
|
/* 80036B70 000329B0 80 03 00 08 */ lwz r0, 0x8(r3)
|
|
/* 80036B74 000329B4 54 03 05 BE */ clrlwi r3, r0, 22
|
|
/* 80036B78 000329B8 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 80036B7C 000329BC 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80036B80 000329C0 4E 80 00 20 */ blr
|
|
/* 80036B84 000329C4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036B88 000329C8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036B8C 000329CC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXGetTexObjHeight
|
|
GXGetTexObjHeight:
|
|
/* 80036B90 000329D0 80 03 00 08 */ lwz r0, 0x8(r3)
|
|
/* 80036B94 000329D4 54 03 B5 BE */ extrwi r3, r0, 10, 12
|
|
/* 80036B98 000329D8 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 80036B9C 000329DC 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80036BA0 000329E0 4E 80 00 20 */ blr
|
|
/* 80036BA4 000329E4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036BA8 000329E8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036BAC 000329EC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXGetTexObjWrapS
|
|
GXGetTexObjWrapS:
|
|
/* 80036BB0 000329F0 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
/* 80036BB4 000329F4 54 03 07 BE */ clrlwi r3, r0, 30
|
|
/* 80036BB8 000329F8 4E 80 00 20 */ blr
|
|
/* 80036BBC 000329FC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXGetTexObjWrapT
|
|
GXGetTexObjWrapT:
|
|
/* 80036BC0 00032A00 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
/* 80036BC4 00032A04 54 03 F7 BE */ extrwi r3, r0, 2, 28
|
|
/* 80036BC8 00032A08 4E 80 00 20 */ blr
|
|
/* 80036BCC 00032A0C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXGetTexObjMipMap
|
|
GXGetTexObjMipMap:
|
|
/* 80036BD0 00032A10 88 03 00 1F */ lbz r0, 0x1f(r3)
|
|
/* 80036BD4 00032A14 54 03 07 FE */ clrlwi r3, r0, 31
|
|
/* 80036BD8 00032A18 4E 80 00 20 */ blr
|
|
/* 80036BDC 00032A1C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXGetTexObjLODAll
|
|
GXGetTexObjLODAll:
|
|
/* 80036BE0 00032A20 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80036BE4 00032A24 3D 80 43 30 */ lis r12, 0x4330
|
|
/* 80036BE8 00032A28 81 63 00 04 */ lwz r11, 0x4(r3)
|
|
/* 80036BEC 00032A2C 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 80036BF0 00032A30 3B ED 81 A0 */ addi r31, r13, HW2GXFiltConv@sda21
|
|
/* 80036BF4 00032A34 55 60 06 3E */ clrlwi r0, r11, 24
|
|
/* 80036BF8 00032A38 C8 A2 86 78 */ lfd f5, "@2760"@sda21(r2)
|
|
/* 80036BFC 00032A3C 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 80036C00 00032A40 C0 62 86 98 */ lfs f3, "@2862"@sda21(r2)
|
|
/* 80036C04 00032A44 93 A1 00 24 */ stw r29, 0x24(r1)
|
|
/* 80036C08 00032A48 83 A3 00 00 */ lwz r29, 0x0(r3)
|
|
/* 80036C0C 00032A4C 55 63 C6 3E */ extrwi r3, r11, 8, 16
|
|
/* 80036C10 00032A50 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 80036C14 00032A54 57 A0 BE 3E */ extrwi r0, r29, 8, 15
|
|
/* 80036C18 00032A58 57 BE DF 7E */ extrwi r30, r29, 3, 24
|
|
/* 80036C1C 00032A5C 91 81 00 08 */ stw r12, 0x8(r1)
|
|
/* 80036C20 00032A60 7C 00 07 34 */ extsh r0, r0
|
|
/* 80036C24 00032A64 7C 00 07 74 */ extsb r0, r0
|
|
/* 80036C28 00032A68 7F FF F0 AE */ lbzx r31, r31, r30
|
|
/* 80036C2C 00032A6C 6C 0B 80 00 */ xoris r11, r0, 0x8000
|
|
/* 80036C30 00032A70 C8 01 00 08 */ lfd f0, 0x8(r1)
|
|
/* 80036C34 00032A74 90 61 00 14 */ stw r3, 0x14(r1)
|
|
/* 80036C38 00032A78 57 A0 C7 FE */ extrwi r0, r29, 1, 23
|
|
/* 80036C3C 00032A7C EC 20 28 28 */ fsubs f1, f0, f5
|
|
/* 80036C40 00032A80 C8 42 86 A0 */ lfd f2, "@2875"@sda21(r2)
|
|
/* 80036C44 00032A84 91 81 00 10 */ stw r12, 0x10(r1)
|
|
/* 80036C48 00032A88 57 A3 E7 FE */ extrwi r3, r29, 1, 27
|
|
/* 80036C4C 00032A8C 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 80036C50 00032A90 93 E4 00 00 */ stw r31, 0x0(r4)
|
|
/* 80036C54 00032A94 C8 01 00 10 */ lfd f0, 0x10(r1)
|
|
/* 80036C58 00032A98 EC 81 00 F2 */ fmuls f4, f1, f3
|
|
/* 80036C5C 00032A9C 90 65 00 00 */ stw r3, 0x0(r5)
|
|
/* 80036C60 00032AA0 54 03 DE 3E */ extrwi r3, r0, 8, 19
|
|
/* 80036C64 00032AA4 EC 20 28 28 */ fsubs f1, f0, f5
|
|
/* 80036C68 00032AA8 C0 02 86 9C */ lfs f0, "@2863"@sda21(r2)
|
|
/* 80036C6C 00032AAC 91 61 00 1C */ stw r11, 0x1c(r1)
|
|
/* 80036C70 00032AB0 57 A4 5F FE */ extrwi r4, r29, 1, 10
|
|
/* 80036C74 00032AB4 80 A1 00 38 */ lwz r5, 0x38(r1)
|
|
/* 80036C78 00032AB8 91 81 00 18 */ stw r12, 0x18(r1)
|
|
/* 80036C7C 00032ABC EC 61 00 F2 */ fmuls f3, f1, f3
|
|
/* 80036C80 00032AC0 57 A0 6F BE */ extrwi r0, r29, 2, 11
|
|
/* 80036C84 00032AC4 C8 21 00 18 */ lfd f1, 0x18(r1)
|
|
/* 80036C88 00032AC8 D0 86 00 00 */ stfs f4, 0x0(r6)
|
|
/* 80036C8C 00032ACC EC 21 10 28 */ fsubs f1, f1, f2
|
|
/* 80036C90 00032AD0 D0 67 00 00 */ stfs f3, 0x0(r7)
|
|
/* 80036C94 00032AD4 EC 01 00 32 */ fmuls f0, f1, f0
|
|
/* 80036C98 00032AD8 D0 08 00 00 */ stfs f0, 0x0(r8)
|
|
/* 80036C9C 00032ADC 98 89 00 00 */ stb r4, 0x0(r9)
|
|
/* 80036CA0 00032AE0 98 6A 00 00 */ stb r3, 0x0(r10)
|
|
/* 80036CA4 00032AE4 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 80036CA8 00032AE8 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 80036CAC 00032AEC 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 80036CB0 00032AF0 83 A1 00 24 */ lwz r29, 0x24(r1)
|
|
/* 80036CB4 00032AF4 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80036CB8 00032AF8 4E 80 00 20 */ blr
|
|
/* 80036CBC 00032AFC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXLoadTexObjPreLoaded
|
|
GXLoadTexObjPreLoaded:
|
|
/* 80036CC0 00032B00 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80036CC4 00032B04 7C 08 02 A6 */ mflr r0
|
|
/* 80036CC8 00032B08 39 6D 81 60 */ addi r11, r13, GXTexMode0Ids@sda21
|
|
/* 80036CCC 00032B0C 39 4D 81 68 */ addi r10, r13, GXTexMode1Ids@sda21
|
|
/* 80036CD0 00032B10 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80036CD4 00032B14 39 2D 81 70 */ addi r9, r13, GXTexImage0Ids@sda21
|
|
/* 80036CD8 00032B18 81 83 00 00 */ lwz r12, 0x0(r3)
|
|
/* 80036CDC 00032B1C 39 0D 81 78 */ addi r8, r13, GXTexImage1Ids@sda21
|
|
/* 80036CE0 00032B20 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80036CE4 00032B24 38 ED 81 80 */ addi r7, r13, GXTexImage2Ids@sda21
|
|
/* 80036CE8 00032B28 38 CD 81 88 */ addi r6, r13, GXTexImage3Ids@sda21
|
|
/* 80036CEC 00032B2C 7C BF 2B 78 */ mr r31, r5
|
|
/* 80036CF0 00032B30 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80036CF4 00032B34 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80036CF8 00032B38 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80036CFC 00032B3C 3F A0 CC 01 */ lis r29, 0xCC008000@ha
|
|
/* 80036D00 00032B40 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80036D04 00032B44 3B 80 00 61 */ li r28, 0x61
|
|
/* 80036D08 00032B48 7C 0B 28 AE */ lbzx r0, r11, r5
|
|
/* 80036D0C 00032B4C 81 63 00 04 */ lwz r11, 0x4(r3)
|
|
/* 80036D10 00032B50 50 0C C0 0E */ rlwimi r12, r0, 24, 0, 7
|
|
/* 80036D14 00032B54 7C 0A 28 AE */ lbzx r0, r10, r5
|
|
/* 80036D18 00032B58 7D 49 28 AE */ lbzx r10, r9, r5
|
|
/* 80036D1C 00032B5C 50 0B C0 0E */ rlwimi r11, r0, 24, 0, 7
|
|
/* 80036D20 00032B60 7C 07 28 AE */ lbzx r0, r7, r5
|
|
/* 80036D24 00032B64 7D 08 28 AE */ lbzx r8, r8, r5
|
|
/* 80036D28 00032B68 7C A6 28 AE */ lbzx r5, r6, r5
|
|
/* 80036D2C 00032B6C 81 23 00 08 */ lwz r9, 0x8(r3)
|
|
/* 80036D30 00032B70 51 49 C0 0E */ rlwimi r9, r10, 24, 0, 7
|
|
/* 80036D34 00032B74 9B 9D 80 00 */ stb r28, 0xCC008000@l(r29)
|
|
/* 80036D38 00032B78 80 E4 00 00 */ lwz r7, 0x0(r4)
|
|
/* 80036D3C 00032B7C 51 07 C0 0E */ rlwimi r7, r8, 24, 0, 7
|
|
/* 80036D40 00032B80 91 9D 80 00 */ stw r12, -0x8000(r29)
|
|
/* 80036D44 00032B84 80 C4 00 04 */ lwz r6, 0x4(r4)
|
|
/* 80036D48 00032B88 50 06 C0 0E */ rlwimi r6, r0, 24, 0, 7
|
|
/* 80036D4C 00032B8C 9B 9D 80 00 */ stb r28, -0x8000(r29)
|
|
/* 80036D50 00032B90 88 03 00 1F */ lbz r0, 0x1f(r3)
|
|
/* 80036D54 00032B94 91 7D 80 00 */ stw r11, -0x8000(r29)
|
|
/* 80036D58 00032B98 54 00 07 BD */ rlwinm. r0, r0, 0, 30, 30
|
|
/* 80036D5C 00032B9C 80 03 00 0C */ lwz r0, 0xc(r3)
|
|
/* 80036D60 00032BA0 9B 9D 80 00 */ stb r28, -0x8000(r29)
|
|
/* 80036D64 00032BA4 50 A0 C0 0E */ rlwimi r0, r5, 24, 0, 7
|
|
/* 80036D68 00032BA8 91 3D 80 00 */ stw r9, -0x8000(r29)
|
|
/* 80036D6C 00032BAC 9B 9D 80 00 */ stb r28, -0x8000(r29)
|
|
/* 80036D70 00032BB0 90 FD 80 00 */ stw r7, -0x8000(r29)
|
|
/* 80036D74 00032BB4 9B 9D 80 00 */ stb r28, -0x8000(r29)
|
|
/* 80036D78 00032BB8 90 DD 80 00 */ stw r6, -0x8000(r29)
|
|
/* 80036D7C 00032BBC 9B 9D 80 00 */ stb r28, -0x8000(r29)
|
|
/* 80036D80 00032BC0 91 83 00 00 */ stw r12, 0x0(r3)
|
|
/* 80036D84 00032BC4 91 63 00 04 */ stw r11, 0x4(r3)
|
|
/* 80036D88 00032BC8 91 23 00 08 */ stw r9, 0x8(r3)
|
|
/* 80036D8C 00032BCC 90 E4 00 00 */ stw r7, 0x0(r4)
|
|
/* 80036D90 00032BD0 90 C4 00 04 */ stw r6, 0x4(r4)
|
|
/* 80036D94 00032BD4 90 03 00 0C */ stw r0, 0xc(r3)
|
|
/* 80036D98 00032BD8 90 1D 80 00 */ stw r0, -0x8000(r29)
|
|
/* 80036D9C 00032BDC 40 82 00 38 */ bne lbl_80036DD4
|
|
/* 80036DA0 00032BE0 80 82 86 08 */ lwz r4, __GXData@sda21(r2)
|
|
/* 80036DA4 00032BE4 80 63 00 18 */ lwz r3, 0x18(r3)
|
|
/* 80036DA8 00032BE8 81 84 05 1C */ lwz r12, 0x51c(r4)
|
|
/* 80036DAC 00032BEC 7D 89 03 A6 */ mtctr r12
|
|
/* 80036DB0 00032BF0 4E 80 04 21 */ bctrl
|
|
/* 80036DB4 00032BF4 38 8D 81 90 */ addi r4, r13, GXTexTlutIds@sda21
|
|
/* 80036DB8 00032BF8 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
/* 80036DBC 00032BFC 7C 84 F8 AE */ lbzx r4, r4, r31
|
|
/* 80036DC0 00032C00 50 80 C0 0E */ rlwimi r0, r4, 24, 0, 7
|
|
/* 80036DC4 00032C04 90 03 00 04 */ stw r0, 0x4(r3)
|
|
/* 80036DC8 00032C08 9B 9D 80 00 */ stb r28, -0x8000(r29)
|
|
/* 80036DCC 00032C0C 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
/* 80036DD0 00032C10 90 1D 80 00 */ stw r0, -0x8000(r29)
|
|
.global lbl_80036DD4
|
|
lbl_80036DD4:
|
|
/* 80036DD4 00032C14 80 C2 86 08 */ lwz r6, __GXData@sda21(r2)
|
|
/* 80036DD8 00032C18 57 E3 10 3A */ slwi r3, r31, 2
|
|
/* 80036DDC 00032C1C 80 BE 00 08 */ lwz r5, 0x8(r30)
|
|
/* 80036DE0 00032C20 38 00 00 00 */ li r0, 0x0
|
|
/* 80036DE4 00032C24 7C 86 1A 14 */ add r4, r6, r3
|
|
/* 80036DE8 00032C28 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80036DEC 00032C2C 90 A4 05 64 */ stw r5, 0x564(r4)
|
|
/* 80036DF0 00032C30 90 64 05 84 */ stw r3, 0x584(r4)
|
|
/* 80036DF4 00032C34 80 66 05 FC */ lwz r3, 0x5fc(r6)
|
|
/* 80036DF8 00032C38 60 63 00 01 */ ori r3, r3, 0x1
|
|
/* 80036DFC 00032C3C 90 66 05 FC */ stw r3, 0x5fc(r6)
|
|
/* 80036E00 00032C40 B0 06 00 02 */ sth r0, 0x2(r6)
|
|
/* 80036E04 00032C44 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80036E08 00032C48 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80036E0C 00032C4C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80036E10 00032C50 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80036E14 00032C54 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80036E18 00032C58 7C 08 03 A6 */ mtlr r0
|
|
/* 80036E1C 00032C5C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80036E20 00032C60 4E 80 00 20 */ blr
|
|
/* 80036E24 00032C64 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036E28 00032C68 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036E2C 00032C6C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXLoadTexObj
|
|
GXLoadTexObj:
|
|
/* 80036E30 00032C70 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80036E34 00032C74 7C 08 02 A6 */ mflr r0
|
|
/* 80036E38 00032C78 80 A2 86 08 */ lwz r5, __GXData@sda21(r2)
|
|
/* 80036E3C 00032C7C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80036E40 00032C80 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80036E44 00032C84 7C 9F 23 78 */ mr r31, r4
|
|
/* 80036E48 00032C88 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80036E4C 00032C8C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80036E50 00032C90 81 85 05 18 */ lwz r12, 0x518(r5)
|
|
/* 80036E54 00032C94 7D 89 03 A6 */ mtctr r12
|
|
/* 80036E58 00032C98 4E 80 04 21 */ bctrl
|
|
/* 80036E5C 00032C9C 7C 64 1B 78 */ mr r4, r3
|
|
/* 80036E60 00032CA0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80036E64 00032CA4 7F E5 FB 78 */ mr r5, r31
|
|
/* 80036E68 00032CA8 4B FF FE 59 */ bl GXLoadTexObjPreLoaded
|
|
/* 80036E6C 00032CAC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80036E70 00032CB0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80036E74 00032CB4 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80036E78 00032CB8 7C 08 03 A6 */ mtlr r0
|
|
/* 80036E7C 00032CBC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80036E80 00032CC0 4E 80 00 20 */ blr
|
|
/* 80036E84 00032CC4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036E88 00032CC8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036E8C 00032CCC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitTlutObj
|
|
GXInitTlutObj:
|
|
/* 80036E90 00032CD0 80 E3 00 04 */ lwz r7, 0x4(r3)
|
|
/* 80036E94 00032CD4 38 00 00 64 */ li r0, 0x64
|
|
/* 80036E98 00032CD8 50 87 DA 3E */ rlwimi r7, r4, 27, 8, 31
|
|
/* 80036E9C 00032CDC 38 80 00 00 */ li r4, 0x0
|
|
/* 80036EA0 00032CE0 50 A4 55 2A */ rlwimi r4, r5, 10, 20, 21
|
|
/* 80036EA4 00032CE4 B0 C3 00 08 */ sth r6, 0x8(r3)
|
|
/* 80036EA8 00032CE8 50 07 C0 0E */ rlwimi r7, r0, 24, 0, 7
|
|
/* 80036EAC 00032CEC 90 83 00 00 */ stw r4, 0x0(r3)
|
|
/* 80036EB0 00032CF0 90 E3 00 04 */ stw r7, 0x4(r3)
|
|
/* 80036EB4 00032CF4 4E 80 00 20 */ blr
|
|
/* 80036EB8 00032CF8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036EBC 00032CFC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXLoadTlut
|
|
GXLoadTlut:
|
|
/* 80036EC0 00032D00 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80036EC4 00032D04 7C 08 02 A6 */ mflr r0
|
|
/* 80036EC8 00032D08 80 A2 86 08 */ lwz r5, __GXData@sda21(r2)
|
|
/* 80036ECC 00032D0C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80036ED0 00032D10 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80036ED4 00032D14 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80036ED8 00032D18 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80036EDC 00032D1C 7C 83 23 78 */ mr r3, r4
|
|
/* 80036EE0 00032D20 81 85 05 1C */ lwz r12, 0x51c(r5)
|
|
/* 80036EE4 00032D24 7D 89 03 A6 */ mtctr r12
|
|
/* 80036EE8 00032D28 4E 80 04 21 */ bctrl
|
|
/* 80036EEC 00032D2C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80036EF0 00032D30 48 00 0C A1 */ bl __GXFlushTextureState
|
|
/* 80036EF4 00032D34 3C 60 CC 01 */ lis r3, 0xCC008000@ha
|
|
/* 80036EF8 00032D38 38 80 00 61 */ li r4, 0x61
|
|
/* 80036EFC 00032D3C 98 83 80 00 */ stb r4, 0xCC008000@l(r3)
|
|
/* 80036F00 00032D40 80 1E 00 04 */ lwz r0, 0x4(r30)
|
|
/* 80036F04 00032D44 90 03 80 00 */ stw r0, -0x8000(r3)
|
|
/* 80036F08 00032D48 98 83 80 00 */ stb r4, -0x8000(r3)
|
|
/* 80036F0C 00032D4C 80 1F 00 00 */ lwz r0, 0x0(r31)
|
|
/* 80036F10 00032D50 90 03 80 00 */ stw r0, -0x8000(r3)
|
|
/* 80036F14 00032D54 48 00 0C 7D */ bl __GXFlushTextureState
|
|
/* 80036F18 00032D58 80 1F 00 00 */ lwz r0, 0x0(r31)
|
|
/* 80036F1C 00032D5C 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80036F20 00032D60 50 03 05 BE */ rlwimi r3, r0, 0, 22, 31
|
|
/* 80036F24 00032D64 90 7F 00 04 */ stw r3, 0x4(r31)
|
|
/* 80036F28 00032D68 80 1E 00 04 */ lwz r0, 0x4(r30)
|
|
/* 80036F2C 00032D6C 90 1F 00 08 */ stw r0, 0x8(r31)
|
|
/* 80036F30 00032D70 80 1E 00 08 */ lwz r0, 0x8(r30)
|
|
/* 80036F34 00032D74 90 1F 00 0C */ stw r0, 0xc(r31)
|
|
/* 80036F38 00032D78 90 7E 00 00 */ stw r3, 0x0(r30)
|
|
/* 80036F3C 00032D7C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80036F40 00032D80 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80036F44 00032D84 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80036F48 00032D88 7C 08 03 A6 */ mtlr r0
|
|
/* 80036F4C 00032D8C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80036F50 00032D90 4E 80 00 20 */ blr
|
|
/* 80036F54 00032D94 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036F58 00032D98 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036F5C 00032D9C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitTexCacheRegion
|
|
GXInitTexCacheRegion:
|
|
/* 80036F60 00032DA0 2C 06 00 00 */ cmpwi r6, 0x0
|
|
/* 80036F64 00032DA4 41 82 00 18 */ beq lbl_80036F7C
|
|
/* 80036F68 00032DA8 2C 06 00 01 */ cmpwi r6, 0x1
|
|
/* 80036F6C 00032DAC 41 82 00 18 */ beq lbl_80036F84
|
|
/* 80036F70 00032DB0 2C 06 00 02 */ cmpwi r6, 0x2
|
|
/* 80036F74 00032DB4 41 82 00 18 */ beq lbl_80036F8C
|
|
/* 80036F78 00032DB8 48 00 00 18 */ b lbl_80036F90
|
|
.global lbl_80036F7C
|
|
lbl_80036F7C:
|
|
/* 80036F7C 00032DBC 38 C0 00 03 */ li r6, 0x3
|
|
/* 80036F80 00032DC0 48 00 00 10 */ b lbl_80036F90
|
|
.global lbl_80036F84
|
|
lbl_80036F84:
|
|
/* 80036F84 00032DC4 38 C0 00 04 */ li r6, 0x4
|
|
/* 80036F88 00032DC8 48 00 00 08 */ b lbl_80036F90
|
|
.global lbl_80036F8C
|
|
lbl_80036F8C:
|
|
/* 80036F8C 00032DCC 38 C0 00 05 */ li r6, 0x5
|
|
.global lbl_80036F90
|
|
lbl_80036F90:
|
|
/* 80036F90 00032DD0 2C 08 00 00 */ cmpwi r8, 0x0
|
|
/* 80036F94 00032DD4 38 00 00 00 */ li r0, 0x0
|
|
/* 80036F98 00032DD8 50 A0 DC 7E */ rlwimi r0, r5, 27, 17, 31
|
|
/* 80036F9C 00032DDC 50 C0 7B A0 */ rlwimi r0, r6, 15, 14, 16
|
|
/* 80036FA0 00032DE0 50 C0 92 DA */ rlwimi r0, r6, 18, 11, 13
|
|
/* 80036FA4 00032DE4 90 03 00 00 */ stw r0, 0x0(r3)
|
|
/* 80036FA8 00032DE8 41 82 00 20 */ beq lbl_80036FC8
|
|
/* 80036FAC 00032DEC 2C 08 00 01 */ cmpwi r8, 0x1
|
|
/* 80036FB0 00032DF0 41 82 00 20 */ beq lbl_80036FD0
|
|
/* 80036FB4 00032DF4 2C 08 00 02 */ cmpwi r8, 0x2
|
|
/* 80036FB8 00032DF8 41 82 00 20 */ beq lbl_80036FD8
|
|
/* 80036FBC 00032DFC 2C 08 00 03 */ cmpwi r8, 0x3
|
|
/* 80036FC0 00032E00 41 82 00 20 */ beq lbl_80036FE0
|
|
/* 80036FC4 00032E04 48 00 00 20 */ b lbl_80036FE4
|
|
.global lbl_80036FC8
|
|
lbl_80036FC8:
|
|
/* 80036FC8 00032E08 38 C0 00 03 */ li r6, 0x3
|
|
/* 80036FCC 00032E0C 48 00 00 18 */ b lbl_80036FE4
|
|
.global lbl_80036FD0
|
|
lbl_80036FD0:
|
|
/* 80036FD0 00032E10 38 C0 00 04 */ li r6, 0x4
|
|
/* 80036FD4 00032E14 48 00 00 10 */ b lbl_80036FE4
|
|
.global lbl_80036FD8
|
|
lbl_80036FD8:
|
|
/* 80036FD8 00032E18 38 C0 00 05 */ li r6, 0x5
|
|
/* 80036FDC 00032E1C 48 00 00 08 */ b lbl_80036FE4
|
|
.global lbl_80036FE0
|
|
lbl_80036FE0:
|
|
/* 80036FE0 00032E20 38 C0 00 00 */ li r6, 0x0
|
|
.global lbl_80036FE4
|
|
lbl_80036FE4:
|
|
/* 80036FE4 00032E24 38 A0 00 00 */ li r5, 0x0
|
|
/* 80036FE8 00032E28 38 00 00 01 */ li r0, 0x1
|
|
/* 80036FEC 00032E2C 50 E5 DC 7E */ rlwimi r5, r7, 27, 17, 31
|
|
/* 80036FF0 00032E30 98 83 00 0C */ stb r4, 0xc(r3)
|
|
/* 80036FF4 00032E34 50 C5 7B A0 */ rlwimi r5, r6, 15, 14, 16
|
|
/* 80036FF8 00032E38 50 C5 92 DA */ rlwimi r5, r6, 18, 11, 13
|
|
/* 80036FFC 00032E3C 98 03 00 0D */ stb r0, 0xd(r3)
|
|
/* 80037000 00032E40 90 A3 00 04 */ stw r5, 0x4(r3)
|
|
/* 80037004 00032E44 4E 80 00 20 */ blr
|
|
/* 80037008 00032E48 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8003700C 00032E4C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitTlutRegion
|
|
GXInitTlutRegion:
|
|
/* 80037010 00032E50 3C 04 FF F8 */ addis r0, r4, 0xfff8
|
|
/* 80037014 00032E54 38 80 00 00 */ li r4, 0x0
|
|
/* 80037018 00032E58 50 04 BD BE */ rlwimi r4, r0, 23, 22, 31
|
|
/* 8003701C 00032E5C 38 00 00 65 */ li r0, 0x65
|
|
/* 80037020 00032E60 50 A4 52 EA */ rlwimi r4, r5, 10, 11, 21
|
|
/* 80037024 00032E64 50 04 C0 0E */ rlwimi r4, r0, 24, 0, 7
|
|
/* 80037028 00032E68 90 83 00 00 */ stw r4, 0x0(r3)
|
|
/* 8003702C 00032E6C 4E 80 00 20 */ blr
|
|
.global GXInvalidateTexAll
|
|
GXInvalidateTexAll:
|
|
/* 80037030 00032E70 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80037034 00032E74 7C 08 02 A6 */ mflr r0
|
|
/* 80037038 00032E78 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8003703C 00032E7C 48 00 0B 55 */ bl __GXFlushTextureState
|
|
/* 80037040 00032E80 3C A0 CC 01 */ lis r5, 0xCC008000@ha
|
|
/* 80037044 00032E84 3C 60 66 00 */ lis r3, 0x6600
|
|
/* 80037048 00032E88 38 C0 00 61 */ li r6, 0x61
|
|
/* 8003704C 00032E8C 98 C5 80 00 */ stb r6, 0xCC008000@l(r5)
|
|
/* 80037050 00032E90 38 83 10 00 */ addi r4, r3, 0x1000
|
|
/* 80037054 00032E94 38 03 11 00 */ addi r0, r3, 0x1100
|
|
/* 80037058 00032E98 90 85 80 00 */ stw r4, -0x8000(r5)
|
|
/* 8003705C 00032E9C 98 C5 80 00 */ stb r6, -0x8000(r5)
|
|
/* 80037060 00032EA0 90 05 80 00 */ stw r0, -0x8000(r5)
|
|
/* 80037064 00032EA4 48 00 0B 2D */ bl __GXFlushTextureState
|
|
/* 80037068 00032EA8 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8003706C 00032EAC 7C 08 03 A6 */ mtlr r0
|
|
/* 80037070 00032EB0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80037074 00032EB4 4E 80 00 20 */ blr
|
|
/* 80037078 00032EB8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8003707C 00032EBC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXSetTexRegionCallback
|
|
GXSetTexRegionCallback:
|
|
/* 80037080 00032EC0 80 82 86 08 */ lwz r4, __GXData@sda21(r2)
|
|
/* 80037084 00032EC4 7C 60 1B 78 */ mr r0, r3
|
|
/* 80037088 00032EC8 80 64 05 18 */ lwz r3, 0x518(r4)
|
|
/* 8003708C 00032ECC 90 04 05 18 */ stw r0, 0x518(r4)
|
|
/* 80037090 00032ED0 4E 80 00 20 */ blr
|
|
/* 80037094 00032ED4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80037098 00032ED8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8003709C 00032EDC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXSetTlutRegionCallback
|
|
GXSetTlutRegionCallback:
|
|
/* 800370A0 00032EE0 80 82 86 08 */ lwz r4, __GXData@sda21(r2)
|
|
/* 800370A4 00032EE4 7C 60 1B 78 */ mr r0, r3
|
|
/* 800370A8 00032EE8 80 64 05 1C */ lwz r3, 0x51c(r4)
|
|
/* 800370AC 00032EEC 90 04 05 1C */ stw r0, 0x51c(r4)
|
|
/* 800370B0 00032EF0 4E 80 00 20 */ blr
|
|
/* 800370B4 00032EF4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800370B8 00032EF8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800370BC 00032EFC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXSetTexCoordScaleManually
|
|
GXSetTexCoordScaleManually:
|
|
/* 800370C0 00032F00 81 22 86 08 */ lwz r9, __GXData@sda21(r2)
|
|
/* 800370C4 00032F04 38 00 00 01 */ li r0, 0x1
|
|
/* 800370C8 00032F08 7C 07 18 30 */ slw r7, r0, r3
|
|
/* 800370CC 00032F0C 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 800370D0 00032F10 81 09 05 E4 */ lwz r8, 0x5e4(r9)
|
|
/* 800370D4 00032F14 7C 80 18 30 */ slw r0, r4, r3
|
|
/* 800370D8 00032F18 7D 04 38 78 */ andc r4, r8, r7
|
|
/* 800370DC 00032F1C 7C 80 03 78 */ or r0, r4, r0
|
|
/* 800370E0 00032F20 90 09 05 E4 */ stw r0, 0x5e4(r9)
|
|
/* 800370E4 00032F24 4D 82 00 20 */ beqlr
|
|
/* 800370E8 00032F28 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 800370EC 00032F2C 38 65 FF FF */ addi r3, r5, -0x1
|
|
/* 800370F0 00032F30 7D 09 02 14 */ add r8, r9, r0
|
|
/* 800370F4 00032F34 38 A6 FF FF */ addi r5, r6, -0x1
|
|
/* 800370F8 00032F38 80 08 01 08 */ lwz r0, 0x108(r8)
|
|
/* 800370FC 00032F3C 50 60 04 3E */ rlwimi r0, r3, 0, 16, 31
|
|
/* 80037100 00032F40 90 08 01 08 */ stw r0, 0x108(r8)
|
|
/* 80037104 00032F44 3C 80 CC 01 */ lis r4, 0xCC008000@ha
|
|
/* 80037108 00032F48 38 E0 00 61 */ li r7, 0x61
|
|
/* 8003710C 00032F4C 38 00 00 00 */ li r0, 0x0
|
|
/* 80037110 00032F50 80 68 01 28 */ lwz r3, 0x128(r8)
|
|
/* 80037114 00032F54 50 A3 04 3E */ rlwimi r3, r5, 0, 16, 31
|
|
/* 80037118 00032F58 90 68 01 28 */ stw r3, 0x128(r8)
|
|
/* 8003711C 00032F5C 98 E4 80 00 */ stb r7, 0xCC008000@l(r4)
|
|
/* 80037120 00032F60 80 68 01 08 */ lwz r3, 0x108(r8)
|
|
/* 80037124 00032F64 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
/* 80037128 00032F68 98 E4 80 00 */ stb r7, -0x8000(r4)
|
|
/* 8003712C 00032F6C 80 68 01 28 */ lwz r3, 0x128(r8)
|
|
/* 80037130 00032F70 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
/* 80037134 00032F74 B0 09 00 02 */ sth r0, 0x2(r9)
|
|
/* 80037138 00032F78 4E 80 00 20 */ blr
|
|
/* 8003713C 00032F7C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXSetTexCoordCylWrap
|
|
GXSetTexCoordCylWrap:
|
|
/* 80037140 00032F80 81 02 86 08 */ lwz r8, __GXData@sda21(r2)
|
|
/* 80037144 00032F84 54 66 10 3A */ slwi r6, r3, 2
|
|
/* 80037148 00032F88 38 00 00 01 */ li r0, 0x1
|
|
/* 8003714C 00032F8C 7C E8 32 14 */ add r7, r8, r6
|
|
/* 80037150 00032F90 80 C7 01 08 */ lwz r6, 0x108(r7)
|
|
/* 80037154 00032F94 50 86 8B 9C */ rlwimi r6, r4, 17, 14, 14
|
|
/* 80037158 00032F98 90 C7 01 08 */ stw r6, 0x108(r7)
|
|
/* 8003715C 00032F9C 7C 00 18 30 */ slw r0, r0, r3
|
|
/* 80037160 00032FA0 80 67 01 28 */ lwz r3, 0x128(r7)
|
|
/* 80037164 00032FA4 50 A3 8B 9C */ rlwimi r3, r5, 17, 14, 14
|
|
/* 80037168 00032FA8 90 67 01 28 */ stw r3, 0x128(r7)
|
|
/* 8003716C 00032FAC 80 68 05 E4 */ lwz r3, 0x5e4(r8)
|
|
/* 80037170 00032FB0 7C 60 00 39 */ and. r0, r3, r0
|
|
/* 80037174 00032FB4 4D 82 00 20 */ beqlr
|
|
/* 80037178 00032FB8 3C 80 CC 01 */ lis r4, 0xCC008000@ha
|
|
/* 8003717C 00032FBC 38 A0 00 61 */ li r5, 0x61
|
|
/* 80037180 00032FC0 98 A4 80 00 */ stb r5, 0xCC008000@l(r4)
|
|
/* 80037184 00032FC4 38 00 00 00 */ li r0, 0x0
|
|
/* 80037188 00032FC8 80 67 01 08 */ lwz r3, 0x108(r7)
|
|
/* 8003718C 00032FCC 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
/* 80037190 00032FD0 98 A4 80 00 */ stb r5, -0x8000(r4)
|
|
/* 80037194 00032FD4 80 67 01 28 */ lwz r3, 0x128(r7)
|
|
/* 80037198 00032FD8 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
/* 8003719C 00032FDC B0 08 00 02 */ sth r0, 0x2(r8)
|
|
/* 800371A0 00032FE0 4E 80 00 20 */ blr
|
|
/* 800371A4 00032FE4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800371A8 00032FE8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800371AC 00032FEC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXSetTexCoordBias
|
|
GXSetTexCoordBias:
|
|
/* 800371B0 00032FF0 81 02 86 08 */ lwz r8, __GXData@sda21(r2)
|
|
/* 800371B4 00032FF4 54 66 10 3A */ slwi r6, r3, 2
|
|
/* 800371B8 00032FF8 38 00 00 01 */ li r0, 0x1
|
|
/* 800371BC 00032FFC 7C E8 32 14 */ add r7, r8, r6
|
|
/* 800371C0 00033000 80 C7 01 08 */ lwz r6, 0x108(r7)
|
|
/* 800371C4 00033004 50 86 83 DE */ rlwimi r6, r4, 16, 15, 15
|
|
/* 800371C8 00033008 90 C7 01 08 */ stw r6, 0x108(r7)
|
|
/* 800371CC 0003300C 7C 00 18 30 */ slw r0, r0, r3
|
|
/* 800371D0 00033010 80 67 01 28 */ lwz r3, 0x128(r7)
|
|
/* 800371D4 00033014 50 A3 83 DE */ rlwimi r3, r5, 16, 15, 15
|
|
/* 800371D8 00033018 90 67 01 28 */ stw r3, 0x128(r7)
|
|
/* 800371DC 0003301C 80 68 05 E4 */ lwz r3, 0x5e4(r8)
|
|
/* 800371E0 00033020 7C 60 00 39 */ and. r0, r3, r0
|
|
/* 800371E4 00033024 4D 82 00 20 */ beqlr
|
|
/* 800371E8 00033028 3C 80 CC 01 */ lis r4, 0xCC008000@ha
|
|
/* 800371EC 0003302C 38 A0 00 61 */ li r5, 0x61
|
|
/* 800371F0 00033030 98 A4 80 00 */ stb r5, 0xCC008000@l(r4)
|
|
/* 800371F4 00033034 38 00 00 00 */ li r0, 0x0
|
|
/* 800371F8 00033038 80 67 01 08 */ lwz r3, 0x108(r7)
|
|
/* 800371FC 0003303C 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
/* 80037200 00033040 98 A4 80 00 */ stb r5, -0x8000(r4)
|
|
/* 80037204 00033044 80 67 01 28 */ lwz r3, 0x128(r7)
|
|
/* 80037208 00033048 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
/* 8003720C 0003304C B0 08 00 02 */ sth r0, 0x2(r8)
|
|
/* 80037210 00033050 4E 80 00 20 */ blr
|
|
/* 80037214 00033054 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80037218 00033058 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8003721C 0003305C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __SetSURegs
|
|
__SetSURegs:
|
|
/* 80037220 00033060 81 62 86 08 */ lwz r11, __GXData@sda21(r2)
|
|
/* 80037224 00033064 54 86 10 3A */ slwi r6, r4, 2
|
|
/* 80037228 00033068 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8003722C 0003306C 3C A0 CC 01 */ lis r5, 0xCC008000@ha
|
|
/* 80037230 00033070 7D 4B 02 14 */ add r10, r11, r0
|
|
/* 80037234 00033074 7D 2B 32 14 */ add r9, r11, r6
|
|
/* 80037238 00033078 80 6A 05 64 */ lwz r3, 0x564(r10)
|
|
/* 8003723C 0003307C 38 80 00 61 */ li r4, 0x61
|
|
/* 80037240 00033080 81 09 01 08 */ lwz r8, 0x108(r9)
|
|
/* 80037244 00033084 38 00 00 00 */ li r0, 0x0
|
|
/* 80037248 00033088 54 66 05 BE */ clrlwi r6, r3, 22
|
|
/* 8003724C 0003308C 54 63 B5 BE */ extrwi r3, r3, 10, 12
|
|
/* 80037250 00033090 50 C8 04 3E */ rlwimi r8, r6, 0, 16, 31
|
|
/* 80037254 00033094 91 09 01 08 */ stw r8, 0x108(r9)
|
|
/* 80037258 00033098 80 E9 01 28 */ lwz r7, 0x128(r9)
|
|
/* 8003725C 0003309C 50 67 04 3E */ rlwimi r7, r3, 0, 16, 31
|
|
/* 80037260 000330A0 90 E9 01 28 */ stw r7, 0x128(r9)
|
|
/* 80037264 000330A4 80 6A 05 84 */ lwz r3, 0x584(r10)
|
|
/* 80037268 000330A8 54 66 07 BE */ clrlwi r6, r3, 30
|
|
/* 8003726C 000330AC 54 63 F7 BE */ extrwi r3, r3, 2, 28
|
|
/* 80037270 000330B0 38 C6 FF FF */ addi r6, r6, -0x1
|
|
/* 80037274 000330B4 7C C6 00 34 */ cntlzw r6, r6
|
|
/* 80037278 000330B8 38 63 FF FF */ addi r3, r3, -0x1
|
|
/* 8003727C 000330BC 50 C8 5B DE */ rlwimi r8, r6, 11, 15, 15
|
|
/* 80037280 000330C0 91 09 01 08 */ stw r8, 0x108(r9)
|
|
/* 80037284 000330C4 7C 63 00 34 */ cntlzw r3, r3
|
|
/* 80037288 000330C8 50 67 5B DE */ rlwimi r7, r3, 11, 15, 15
|
|
/* 8003728C 000330CC 90 E9 01 28 */ stw r7, 0x128(r9)
|
|
/* 80037290 000330D0 98 85 80 00 */ stb r4, 0xCC008000@l(r5)
|
|
/* 80037294 000330D4 80 69 01 08 */ lwz r3, 0x108(r9)
|
|
/* 80037298 000330D8 90 65 80 00 */ stw r3, -0x8000(r5)
|
|
/* 8003729C 000330DC 98 85 80 00 */ stb r4, -0x8000(r5)
|
|
/* 800372A0 000330E0 80 69 01 28 */ lwz r3, 0x128(r9)
|
|
/* 800372A4 000330E4 90 65 80 00 */ stw r3, -0x8000(r5)
|
|
/* 800372A8 000330E8 B0 0B 00 02 */ sth r0, 0x2(r11)
|
|
/* 800372AC 000330EC 4E 80 00 20 */ blr
|
|
.global __GXSetSUTexRegs
|
|
__GXSetSUTexRegs:
|
|
/* 800372B0 000330F0 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 800372B4 000330F4 7C 08 02 A6 */ mflr r0
|
|
/* 800372B8 000330F8 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 800372BC 000330FC 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 800372C0 00033100 4B FD 00 6D */ bl lbl_8000732C
|
|
/* 800372C4 00033104 83 A2 86 08 */ lwz r29, __GXData@sda21(r2)
|
|
/* 800372C8 00033108 80 1D 05 E4 */ lwz r0, 0x5e4(r29)
|
|
/* 800372CC 0003310C 28 00 00 FF */ cmplwi r0, 0xff
|
|
/* 800372D0 00033110 41 82 01 2C */ beq lbl_800373FC
|
|
/* 800372D4 00033114 80 1D 02 54 */ lwz r0, 0x254(r29)
|
|
/* 800372D8 00033118 3B 80 00 00 */ li r28, 0x0
|
|
/* 800372DC 0003311C 3A E0 00 01 */ li r23, 0x1
|
|
/* 800372E0 00033120 54 03 B7 3E */ extrwi r3, r0, 4, 18
|
|
/* 800372E4 00033124 54 1B 87 7E */ extrwi r27, r0, 3, 13
|
|
/* 800372E8 00033128 3B 43 00 01 */ addi r26, r3, 0x1
|
|
/* 800372EC 0003312C 48 00 00 84 */ b lbl_80037370
|
|
.global lbl_800372F0
|
|
lbl_800372F0:
|
|
/* 800372F0 00033130 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
/* 800372F4 00033134 41 82 00 20 */ beq lbl_80037314
|
|
/* 800372F8 00033138 28 1C 00 01 */ cmplwi r28, 0x1
|
|
/* 800372FC 0003313C 41 82 00 28 */ beq lbl_80037324
|
|
/* 80037300 00033140 28 1C 00 02 */ cmplwi r28, 0x2
|
|
/* 80037304 00033144 41 82 00 30 */ beq lbl_80037334
|
|
/* 80037308 00033148 28 1C 00 03 */ cmplwi r28, 0x3
|
|
/* 8003730C 0003314C 41 82 00 38 */ beq lbl_80037344
|
|
/* 80037310 00033150 48 00 00 40 */ b lbl_80037350
|
|
.global lbl_80037314
|
|
lbl_80037314:
|
|
/* 80037314 00033154 80 1D 01 70 */ lwz r0, 0x170(r29)
|
|
/* 80037318 00033158 54 19 07 7E */ clrlwi r25, r0, 29
|
|
/* 8003731C 0003315C 54 18 EF 7E */ extrwi r24, r0, 3, 26
|
|
/* 80037320 00033160 48 00 00 30 */ b lbl_80037350
|
|
.global lbl_80037324
|
|
lbl_80037324:
|
|
/* 80037324 00033164 80 1D 01 70 */ lwz r0, 0x170(r29)
|
|
/* 80037328 00033168 54 19 D7 7E */ extrwi r25, r0, 3, 23
|
|
/* 8003732C 0003316C 54 18 BF 7E */ extrwi r24, r0, 3, 20
|
|
/* 80037330 00033170 48 00 00 20 */ b lbl_80037350
|
|
.global lbl_80037334
|
|
lbl_80037334:
|
|
/* 80037334 00033174 80 1D 01 70 */ lwz r0, 0x170(r29)
|
|
/* 80037338 00033178 54 19 A7 7E */ extrwi r25, r0, 3, 17
|
|
/* 8003733C 0003317C 54 18 8F 7E */ extrwi r24, r0, 3, 14
|
|
/* 80037340 00033180 48 00 00 10 */ b lbl_80037350
|
|
.global lbl_80037344
|
|
lbl_80037344:
|
|
/* 80037344 00033184 80 1D 01 70 */ lwz r0, 0x170(r29)
|
|
/* 80037348 00033188 54 19 77 7E */ extrwi r25, r0, 3, 11
|
|
/* 8003734C 0003318C 54 18 5F 7E */ extrwi r24, r0, 3, 8
|
|
.global lbl_80037350
|
|
lbl_80037350:
|
|
/* 80037350 00033190 80 7D 05 E4 */ lwz r3, 0x5e4(r29)
|
|
/* 80037354 00033194 7E E0 C0 30 */ slw r0, r23, r24
|
|
/* 80037358 00033198 7C 60 00 39 */ and. r0, r3, r0
|
|
/* 8003735C 0003319C 40 82 00 10 */ bne lbl_8003736C
|
|
/* 80037360 000331A0 7F 23 CB 78 */ mr r3, r25
|
|
/* 80037364 000331A4 7F 04 C3 78 */ mr r4, r24
|
|
/* 80037368 000331A8 4B FF FE B9 */ bl __SetSURegs
|
|
.global lbl_8003736C
|
|
lbl_8003736C:
|
|
/* 8003736C 000331AC 3B 9C 00 01 */ addi r28, r28, 0x1
|
|
.global lbl_80037370
|
|
lbl_80037370:
|
|
/* 80037370 000331B0 7C 1C D8 40 */ cmplw r28, r27
|
|
/* 80037374 000331B4 41 80 FF 7C */ blt lbl_800372F0
|
|
/* 80037378 000331B8 83 82 86 08 */ lwz r28, __GXData@sda21(r2)
|
|
/* 8003737C 000331BC 3B 60 00 00 */ li r27, 0x0
|
|
/* 80037380 000331C0 3A E0 00 01 */ li r23, 0x1
|
|
/* 80037384 000331C4 7F 9F E3 78 */ mr r31, r28
|
|
/* 80037388 000331C8 3B DC 01 50 */ addi r30, r28, 0x150
|
|
/* 8003738C 000331CC 48 00 00 68 */ b lbl_800373F4
|
|
.global lbl_80037390
|
|
lbl_80037390:
|
|
/* 80037390 000331D0 57 60 07 FF */ clrlwi. r0, r27, 31
|
|
/* 80037394 000331D4 80 1F 05 A4 */ lwz r0, 0x5a4(r31)
|
|
/* 80037398 000331D8 57 63 08 3A */ extlwi r3, r27, 30, 1
|
|
/* 8003739C 000331DC 54 19 06 2C */ rlwinm r25, r0, 0, 24, 22
|
|
/* 800373A0 000331E0 41 82 00 10 */ beq lbl_800373B0
|
|
/* 800373A4 000331E4 7C 1E 18 2E */ lwzx r0, r30, r3
|
|
/* 800373A8 000331E8 54 18 8F 7E */ extrwi r24, r0, 3, 14
|
|
/* 800373AC 000331EC 48 00 00 0C */ b lbl_800373B8
|
|
.global lbl_800373B0
|
|
lbl_800373B0:
|
|
/* 800373B0 000331F0 7C 1E 18 2E */ lwzx r0, r30, r3
|
|
/* 800373B4 000331F4 54 18 EF 7E */ extrwi r24, r0, 3, 26
|
|
.global lbl_800373B8
|
|
lbl_800373B8:
|
|
/* 800373B8 000331F8 28 19 00 FF */ cmplwi r25, 0xff
|
|
/* 800373BC 000331FC 41 82 00 30 */ beq lbl_800373EC
|
|
/* 800373C0 00033200 80 7D 05 E4 */ lwz r3, 0x5e4(r29)
|
|
/* 800373C4 00033204 7E E0 C0 30 */ slw r0, r23, r24
|
|
/* 800373C8 00033208 7C 60 00 39 */ and. r0, r3, r0
|
|
/* 800373CC 0003320C 40 82 00 20 */ bne lbl_800373EC
|
|
/* 800373D0 00033210 80 7C 05 E8 */ lwz r3, 0x5e8(r28)
|
|
/* 800373D4 00033214 7E E0 D8 30 */ slw r0, r23, r27
|
|
/* 800373D8 00033218 7C 60 00 39 */ and. r0, r3, r0
|
|
/* 800373DC 0003321C 41 82 00 10 */ beq lbl_800373EC
|
|
/* 800373E0 00033220 7F 23 CB 78 */ mr r3, r25
|
|
/* 800373E4 00033224 7F 04 C3 78 */ mr r4, r24
|
|
/* 800373E8 00033228 4B FF FE 39 */ bl __SetSURegs
|
|
.global lbl_800373EC
|
|
lbl_800373EC:
|
|
/* 800373EC 0003322C 3B FF 00 04 */ addi r31, r31, 0x4
|
|
/* 800373F0 00033230 3B 7B 00 01 */ addi r27, r27, 0x1
|
|
.global lbl_800373F4
|
|
lbl_800373F4:
|
|
/* 800373F4 00033234 7C 1B D0 40 */ cmplw r27, r26
|
|
/* 800373F8 00033238 41 80 FF 98 */ blt lbl_80037390
|
|
.global lbl_800373FC
|
|
lbl_800373FC:
|
|
/* 800373FC 0003323C 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80037400 00033240 4B FC FF 79 */ bl lbl_80007378
|
|
/* 80037404 00033244 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80037408 00033248 7C 08 03 A6 */ mtlr r0
|
|
/* 8003740C 0003324C 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80037410 00033250 4E 80 00 20 */ blr
|
|
/* 80037414 00033254 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80037418 00033258 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8003741C 0003325C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __GXSetTmemConfig
|
|
__GXSetTmemConfig:
|
|
/* 80037420 00033260 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80037424 00033264 28 03 00 02 */ cmplwi r3, 0x2
|
|
/* 80037428 00033268 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8003742C 0003326C 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80037430 00033270 41 82 00 10 */ beq lbl_80037440
|
|
/* 80037434 00033274 28 03 00 01 */ cmplwi r3, 0x1
|
|
/* 80037438 00033278 41 82 01 14 */ beq lbl_8003754C
|
|
/* 8003743C 0003327C 48 00 02 1C */ b lbl_80037658
|
|
.global lbl_80037440
|
|
lbl_80037440:
|
|
/* 80037440 00033280 3C 60 CC 01 */ lis r3, 0xCC008000@ha
|
|
/* 80037444 00033284 38 00 00 61 */ li r0, 0x61
|
|
/* 80037448 00033288 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
|
|
/* 8003744C 0003328C 3C 80 8C 0E */ lis r4, 0x8C0D8000@ha
|
|
/* 80037450 00033290 38 84 80 00 */ addi r4, r4, 0x8C0D8000@l
|
|
/* 80037454 00033294 3C A0 90 0E */ lis r5, 0x900DC000@ha
|
|
/* 80037458 00033298 90 83 80 00 */ stw r4, -0x8000(r3)
|
|
/* 8003745C 0003329C 3C 80 8D 0E */ lis r4, 0x8D0D8800@ha
|
|
/* 80037460 000332A0 3F E0 91 0E */ lis r31, 0x910DC800@ha
|
|
/* 80037464 000332A4 3F C0 8E 0E */ lis r30, 0x8E0D9000@ha
|
|
/* 80037468 000332A8 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 8003746C 000332AC 38 A5 C0 00 */ addi r5, r5, 0x900DC000@l
|
|
/* 80037470 000332B0 3D 80 92 0E */ lis r12, 0x920DD000@ha
|
|
/* 80037474 000332B4 3D 60 8F 0E */ lis r11, 0x8F0D9800@ha
|
|
/* 80037478 000332B8 90 A3 80 00 */ stw r5, -0x8000(r3)
|
|
/* 8003747C 000332BC 3D 40 93 0E */ lis r10, 0x930DD800@ha
|
|
/* 80037480 000332C0 3D 20 AC 0E */ lis r9, 0xAC0DA000@ha
|
|
/* 80037484 000332C4 3D 00 B0 0E */ lis r8, 0xB00DC400@ha
|
|
/* 80037488 000332C8 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 8003748C 000332CC 38 84 88 00 */ addi r4, r4, 0x8D0D8800@l
|
|
/* 80037490 000332D0 3C E0 AD 0E */ lis r7, 0xAD0DA800@ha
|
|
/* 80037494 000332D4 3C C0 B1 0E */ lis r6, 0xB10DCC00@ha
|
|
/* 80037498 000332D8 90 83 80 00 */ stw r4, -0x8000(r3)
|
|
/* 8003749C 000332DC 3C A0 AE 0E */ lis r5, 0xAE0DB000@ha
|
|
/* 800374A0 000332E0 3C 80 B2 0E */ lis r4, 0xB20DD400@ha
|
|
/* 800374A4 000332E4 3B FF C8 00 */ addi r31, r31, 0x910DC800@l
|
|
/* 800374A8 000332E8 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800374AC 000332EC 3B DE 90 00 */ addi r30, r30, 0x8E0D9000@l
|
|
/* 800374B0 000332F0 39 8C D0 00 */ addi r12, r12, 0x920DD000@l
|
|
/* 800374B4 000332F4 39 6B 98 00 */ addi r11, r11, 0x8F0D9800@l
|
|
/* 800374B8 000332F8 93 E3 80 00 */ stw r31, -0x8000(r3)
|
|
/* 800374BC 000332FC 39 4A D8 00 */ addi r10, r10, 0x930DD800@l
|
|
/* 800374C0 00033300 39 29 A0 00 */ addi r9, r9, 0xAC0DA000@l
|
|
/* 800374C4 00033304 39 08 C4 00 */ addi r8, r8, 0xB00DC400@l
|
|
/* 800374C8 00033308 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800374CC 0003330C 38 E7 A8 00 */ addi r7, r7, 0xAD0DA800@l
|
|
/* 800374D0 00033310 38 C6 CC 00 */ addi r6, r6, 0xB10DCC00@l
|
|
/* 800374D4 00033314 38 A5 B0 00 */ addi r5, r5, 0xAE0DB000@l
|
|
/* 800374D8 00033318 93 C3 80 00 */ stw r30, -0x8000(r3)
|
|
/* 800374DC 0003331C 38 84 D4 00 */ addi r4, r4, 0xB20DD400@l
|
|
/* 800374E0 00033320 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800374E4 00033324 91 83 80 00 */ stw r12, -0x8000(r3)
|
|
/* 800374E8 00033328 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800374EC 0003332C 91 63 80 00 */ stw r11, -0x8000(r3)
|
|
/* 800374F0 00033330 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800374F4 00033334 91 43 80 00 */ stw r10, -0x8000(r3)
|
|
/* 800374F8 00033338 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800374FC 0003333C 91 23 80 00 */ stw r9, -0x8000(r3)
|
|
/* 80037500 00033340 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037504 00033344 91 03 80 00 */ stw r8, -0x8000(r3)
|
|
/* 80037508 00033348 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 8003750C 0003334C 90 E3 80 00 */ stw r7, -0x8000(r3)
|
|
/* 80037510 00033350 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037514 00033354 90 C3 80 00 */ stw r6, -0x8000(r3)
|
|
/* 80037518 00033358 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 8003751C 0003335C 90 A3 80 00 */ stw r5, -0x8000(r3)
|
|
/* 80037520 00033360 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037524 00033364 90 83 80 00 */ stw r4, -0x8000(r3)
|
|
/* 80037528 00033368 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 8003752C 0003336C 3C A0 AF 0E */ lis r5, 0xAF0DB800@ha
|
|
/* 80037530 00033370 3C 80 B3 0E */ lis r4, 0xB30DDC00@ha
|
|
/* 80037534 00033374 38 A5 B8 00 */ addi r5, r5, 0xAF0DB800@l
|
|
/* 80037538 00033378 90 A3 80 00 */ stw r5, -0x8000(r3)
|
|
/* 8003753C 0003337C 38 84 DC 00 */ addi r4, r4, 0xB30DDC00@l
|
|
/* 80037540 00033380 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037544 00033384 90 83 80 00 */ stw r4, -0x8000(r3)
|
|
/* 80037548 00033388 48 00 02 18 */ b lbl_80037760
|
|
.global lbl_8003754C
|
|
lbl_8003754C:
|
|
/* 8003754C 0003338C 3C 60 CC 01 */ lis r3, 0xCC008000@ha
|
|
/* 80037550 00033390 38 00 00 61 */ li r0, 0x61
|
|
/* 80037554 00033394 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
|
|
/* 80037558 00033398 3C 80 8C 0E */ lis r4, 0x8C0D8000@ha
|
|
/* 8003755C 0003339C 38 84 80 00 */ addi r4, r4, 0x8C0D8000@l
|
|
/* 80037560 000333A0 3C A0 90 0E */ lis r5, 0x900DC000@ha
|
|
/* 80037564 000333A4 90 83 80 00 */ stw r4, -0x8000(r3)
|
|
/* 80037568 000333A8 3C 80 8D 0E */ lis r4, 0x8D0D8800@ha
|
|
/* 8003756C 000333AC 3F E0 91 0E */ lis r31, 0x910DC800@ha
|
|
/* 80037570 000333B0 3F C0 8E 0E */ lis r30, 0x8E0D9000@ha
|
|
/* 80037574 000333B4 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037578 000333B8 38 A5 C0 00 */ addi r5, r5, 0x900DC000@l
|
|
/* 8003757C 000333BC 3D 80 92 0E */ lis r12, 0x920DD000@ha
|
|
/* 80037580 000333C0 3D 60 8F 0E */ lis r11, 0x8F0D9800@ha
|
|
/* 80037584 000333C4 90 A3 80 00 */ stw r5, -0x8000(r3)
|
|
/* 80037588 000333C8 3D 40 93 0E */ lis r10, 0x930DD800@ha
|
|
/* 8003758C 000333CC 3D 20 AC 0E */ lis r9, 0xAC0DA000@ha
|
|
/* 80037590 000333D0 3D 00 B0 0E */ lis r8, 0xB00DE000@ha
|
|
/* 80037594 000333D4 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037598 000333D8 38 84 88 00 */ addi r4, r4, 0x8D0D8800@l
|
|
/* 8003759C 000333DC 3C E0 AD 0E */ lis r7, 0xAD0DA800@ha
|
|
/* 800375A0 000333E0 3C C0 B1 0E */ lis r6, 0xB10DE800@ha
|
|
/* 800375A4 000333E4 90 83 80 00 */ stw r4, -0x8000(r3)
|
|
/* 800375A8 000333E8 3C A0 AE 0E */ lis r5, 0xAE0DB000@ha
|
|
/* 800375AC 000333EC 3C 80 B2 0E */ lis r4, 0xB20DF000@ha
|
|
/* 800375B0 000333F0 3B FF C8 00 */ addi r31, r31, 0x910DC800@l
|
|
/* 800375B4 000333F4 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800375B8 000333F8 3B DE 90 00 */ addi r30, r30, 0x8E0D9000@l
|
|
/* 800375BC 000333FC 39 8C D0 00 */ addi r12, r12, 0x920DD000@l
|
|
/* 800375C0 00033400 39 6B 98 00 */ addi r11, r11, 0x8F0D9800@l
|
|
/* 800375C4 00033404 93 E3 80 00 */ stw r31, -0x8000(r3)
|
|
/* 800375C8 00033408 39 4A D8 00 */ addi r10, r10, 0x930DD800@l
|
|
/* 800375CC 0003340C 39 29 A0 00 */ addi r9, r9, 0xAC0DA000@l
|
|
/* 800375D0 00033410 39 08 E0 00 */ addi r8, r8, 0xB00DE000@l
|
|
/* 800375D4 00033414 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800375D8 00033418 38 E7 A8 00 */ addi r7, r7, 0xAD0DA800@l
|
|
/* 800375DC 0003341C 38 C6 E8 00 */ addi r6, r6, 0xB10DE800@l
|
|
/* 800375E0 00033420 38 A5 B0 00 */ addi r5, r5, 0xAE0DB000@l
|
|
/* 800375E4 00033424 93 C3 80 00 */ stw r30, -0x8000(r3)
|
|
/* 800375E8 00033428 38 84 F0 00 */ addi r4, r4, 0xB20DF000@l
|
|
/* 800375EC 0003342C 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800375F0 00033430 91 83 80 00 */ stw r12, -0x8000(r3)
|
|
/* 800375F4 00033434 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800375F8 00033438 91 63 80 00 */ stw r11, -0x8000(r3)
|
|
/* 800375FC 0003343C 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037600 00033440 91 43 80 00 */ stw r10, -0x8000(r3)
|
|
/* 80037604 00033444 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037608 00033448 91 23 80 00 */ stw r9, -0x8000(r3)
|
|
/* 8003760C 0003344C 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037610 00033450 91 03 80 00 */ stw r8, -0x8000(r3)
|
|
/* 80037614 00033454 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037618 00033458 90 E3 80 00 */ stw r7, -0x8000(r3)
|
|
/* 8003761C 0003345C 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037620 00033460 90 C3 80 00 */ stw r6, -0x8000(r3)
|
|
/* 80037624 00033464 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037628 00033468 90 A3 80 00 */ stw r5, -0x8000(r3)
|
|
/* 8003762C 0003346C 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037630 00033470 90 83 80 00 */ stw r4, -0x8000(r3)
|
|
/* 80037634 00033474 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037638 00033478 3C A0 AF 0E */ lis r5, 0xAF0DB800@ha
|
|
/* 8003763C 0003347C 3C 80 B3 0E */ lis r4, 0xB30DF800@ha
|
|
/* 80037640 00033480 38 A5 B8 00 */ addi r5, r5, 0xAF0DB800@l
|
|
/* 80037644 00033484 90 A3 80 00 */ stw r5, -0x8000(r3)
|
|
/* 80037648 00033488 38 84 F8 00 */ addi r4, r4, 0xB30DF800@l
|
|
/* 8003764C 0003348C 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037650 00033490 90 83 80 00 */ stw r4, -0x8000(r3)
|
|
/* 80037654 00033494 48 00 01 0C */ b lbl_80037760
|
|
.global lbl_80037658
|
|
lbl_80037658:
|
|
/* 80037658 00033498 3C 60 CC 01 */ lis r3, 0xCC008000@ha
|
|
/* 8003765C 0003349C 38 00 00 61 */ li r0, 0x61
|
|
/* 80037660 000334A0 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
|
|
/* 80037664 000334A4 3C 80 8C 0E */ lis r4, 0x8C0D8000@ha
|
|
/* 80037668 000334A8 38 84 80 00 */ addi r4, r4, 0x8C0D8000@l
|
|
/* 8003766C 000334AC 3C A0 90 0E */ lis r5, 0x900DC000@ha
|
|
/* 80037670 000334B0 90 83 80 00 */ stw r4, -0x8000(r3)
|
|
/* 80037674 000334B4 3C 80 8D 0E */ lis r4, 0x8D0D8400@ha
|
|
/* 80037678 000334B8 3F C0 91 0E */ lis r30, 0x910DC400@ha
|
|
/* 8003767C 000334BC 3F E0 8E 0E */ lis r31, 0x8E0D8800@ha
|
|
/* 80037680 000334C0 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037684 000334C4 38 A5 C0 00 */ addi r5, r5, 0x900DC000@l
|
|
/* 80037688 000334C8 3D 80 92 0E */ lis r12, 0x920DC800@ha
|
|
/* 8003768C 000334CC 3D 60 8F 0E */ lis r11, 0x8F0D8C00@ha
|
|
/* 80037690 000334D0 90 A3 80 00 */ stw r5, -0x8000(r3)
|
|
/* 80037694 000334D4 3D 40 93 0E */ lis r10, 0x930DCC00@ha
|
|
/* 80037698 000334D8 3D 20 AC 0E */ lis r9, 0xAC0D9000@ha
|
|
/* 8003769C 000334DC 3D 00 B0 0E */ lis r8, 0xB00DD000@ha
|
|
/* 800376A0 000334E0 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800376A4 000334E4 38 84 84 00 */ addi r4, r4, 0x8D0D8400@l
|
|
/* 800376A8 000334E8 3C E0 AD 0E */ lis r7, 0xAD0D9400@ha
|
|
/* 800376AC 000334EC 3C C0 B1 0E */ lis r6, 0xB10DD400@ha
|
|
/* 800376B0 000334F0 90 83 80 00 */ stw r4, -0x8000(r3)
|
|
/* 800376B4 000334F4 3C A0 AE 0E */ lis r5, 0xAE0D9800@ha
|
|
/* 800376B8 000334F8 3C 80 B2 0E */ lis r4, 0xB20DD800@ha
|
|
/* 800376BC 000334FC 3B DE C4 00 */ addi r30, r30, 0x910DC400@l
|
|
/* 800376C0 00033500 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800376C4 00033504 3B FF 88 00 */ addi r31, r31, 0x8E0D8800@l
|
|
/* 800376C8 00033508 39 8C C8 00 */ addi r12, r12, 0x920DC800@l
|
|
/* 800376CC 0003350C 39 6B 8C 00 */ addi r11, r11, 0x8F0D8C00@l
|
|
/* 800376D0 00033510 93 C3 80 00 */ stw r30, -0x8000(r3)
|
|
/* 800376D4 00033514 39 4A CC 00 */ addi r10, r10, 0x930DCC00@l
|
|
/* 800376D8 00033518 39 29 90 00 */ addi r9, r9, 0xAC0D9000@l
|
|
/* 800376DC 0003351C 39 08 D0 00 */ addi r8, r8, 0xB00DD000@l
|
|
/* 800376E0 00033520 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800376E4 00033524 38 E7 94 00 */ addi r7, r7, 0xAD0D9400@l
|
|
/* 800376E8 00033528 38 C6 D4 00 */ addi r6, r6, 0xB10DD400@l
|
|
/* 800376EC 0003352C 38 A5 98 00 */ addi r5, r5, 0xAE0D9800@l
|
|
/* 800376F0 00033530 93 E3 80 00 */ stw r31, -0x8000(r3)
|
|
/* 800376F4 00033534 38 84 D8 00 */ addi r4, r4, 0xB20DD800@l
|
|
/* 800376F8 00033538 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 800376FC 0003353C 91 83 80 00 */ stw r12, -0x8000(r3)
|
|
/* 80037700 00033540 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037704 00033544 91 63 80 00 */ stw r11, -0x8000(r3)
|
|
/* 80037708 00033548 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 8003770C 0003354C 91 43 80 00 */ stw r10, -0x8000(r3)
|
|
/* 80037710 00033550 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037714 00033554 91 23 80 00 */ stw r9, -0x8000(r3)
|
|
/* 80037718 00033558 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 8003771C 0003355C 91 03 80 00 */ stw r8, -0x8000(r3)
|
|
/* 80037720 00033560 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037724 00033564 90 E3 80 00 */ stw r7, -0x8000(r3)
|
|
/* 80037728 00033568 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 8003772C 0003356C 90 C3 80 00 */ stw r6, -0x8000(r3)
|
|
/* 80037730 00033570 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037734 00033574 90 A3 80 00 */ stw r5, -0x8000(r3)
|
|
/* 80037738 00033578 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 8003773C 0003357C 90 83 80 00 */ stw r4, -0x8000(r3)
|
|
/* 80037740 00033580 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 80037744 00033584 3C A0 AF 0E */ lis r5, 0xAF0D9C00@ha
|
|
/* 80037748 00033588 3C 80 B3 0E */ lis r4, 0xB30DDC00@ha
|
|
/* 8003774C 0003358C 38 A5 9C 00 */ addi r5, r5, 0xAF0D9C00@l
|
|
/* 80037750 00033590 90 A3 80 00 */ stw r5, -0x8000(r3)
|
|
/* 80037754 00033594 38 84 DC 00 */ addi r4, r4, 0xB30DDC00@l
|
|
/* 80037758 00033598 98 03 80 00 */ stb r0, -0x8000(r3)
|
|
/* 8003775C 0003359C 90 83 80 00 */ stw r4, -0x8000(r3)
|
|
.global lbl_80037760
|
|
lbl_80037760:
|
|
/* 80037760 000335A0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80037764 000335A4 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80037768 000335A8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8003776C 000335AC 4E 80 00 20 */ blr
|
|
.include "macros.inc"
|
|
|
|
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
|
|
.global "@2689_80430D50"
|
|
"@2689_80430D50":
|
|
|
|
.4byte lbl_800365E0
|
|
.4byte lbl_800365EC
|
|
.4byte lbl_800365EC
|
|
.4byte lbl_800365F8
|
|
.4byte lbl_800365F8
|
|
.4byte lbl_800365F8
|
|
.4byte lbl_800365F8
|
|
.4byte lbl_80036604
|
|
.4byte lbl_800365E0
|
|
.4byte lbl_800365EC
|
|
.4byte lbl_800365F8
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_800365E0
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_800365EC
|
|
.4byte lbl_80036604
|
|
.4byte lbl_800365F8
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_800365F8
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_800365E0
|
|
.4byte lbl_80036604
|
|
.4byte lbl_800365EC
|
|
.4byte lbl_800365F8
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_800365EC
|
|
.4byte lbl_800365EC
|
|
.4byte lbl_800365EC
|
|
.4byte lbl_800365EC
|
|
.4byte lbl_800365F8
|
|
.4byte lbl_800365F8
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_800365E0
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_80036604
|
|
.4byte lbl_800365EC
|
|
.4byte lbl_800365EC
|
|
.4byte lbl_80036604
|
|
.4byte lbl_800365F8
|
|
|
|
.global "@2732"
|
|
"@2732":
|
|
|
|
.4byte lbl_80036710
|
|
.4byte lbl_8003671C
|
|
.4byte lbl_8003671C
|
|
.4byte lbl_80036728
|
|
.4byte lbl_80036728
|
|
.4byte lbl_80036728
|
|
.4byte lbl_80036728
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036710
|
|
.4byte lbl_8003671C
|
|
.4byte lbl_80036728
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036710
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_8003671C
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036728
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036728
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036710
|
|
.4byte lbl_80036734
|
|
.4byte lbl_8003671C
|
|
.4byte lbl_80036728
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_8003671C
|
|
.4byte lbl_8003671C
|
|
.4byte lbl_8003671C
|
|
.4byte lbl_8003671C
|
|
.4byte lbl_80036728
|
|
.4byte lbl_80036728
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036710
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036734
|
|
.4byte lbl_8003671C
|
|
.4byte lbl_8003671C
|
|
.4byte lbl_80036734
|
|
.4byte lbl_80036728
|
|
|
|
.global "@2762"
|
|
"@2762":
|
|
|
|
.4byte lbl_800368F4
|
|
.4byte lbl_80036908
|
|
.4byte lbl_80036908
|
|
.4byte lbl_8003691C
|
|
.4byte lbl_8003691C
|
|
.4byte lbl_8003691C
|
|
.4byte lbl_80036930
|
|
.4byte lbl_80036958
|
|
.4byte lbl_800368F4
|
|
.4byte lbl_80036908
|
|
.4byte lbl_8003691C
|
|
.4byte lbl_80036958
|
|
.4byte lbl_80036958
|
|
.4byte lbl_80036958
|
|
.4byte lbl_80036944
|
|
.4byte 0
|
|
.include "macros.inc"
|
|
|
|
.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0
|
|
.global GXTexMode0Ids
|
|
GXTexMode0Ids:
|
|
|
|
.4byte 0x80818283
|
|
.4byte 0xA0A1A2A3
|
|
|
|
.global GXTexMode1Ids
|
|
GXTexMode1Ids:
|
|
|
|
.4byte 0x84858687
|
|
.4byte 0xA4A5A6A7
|
|
|
|
.global GXTexImage0Ids
|
|
GXTexImage0Ids:
|
|
|
|
.4byte 0x88898A8B
|
|
.4byte 0xA8A9AAAB
|
|
|
|
.global GXTexImage1Ids
|
|
GXTexImage1Ids:
|
|
|
|
.4byte 0x8C8D8E8F
|
|
.4byte 0xACADAEAF
|
|
|
|
.global GXTexImage2Ids
|
|
GXTexImage2Ids:
|
|
|
|
.4byte 0x90919293
|
|
.4byte 0xB0B1B2B3
|
|
|
|
.global GXTexImage3Ids
|
|
GXTexImage3Ids:
|
|
|
|
.4byte 0x94959697
|
|
.4byte 0xB4B5B6B7
|
|
|
|
.global GXTexTlutIds
|
|
GXTexTlutIds:
|
|
|
|
.4byte 0x98999A9B
|
|
.4byte 0xB8B9BABB
|
|
|
|
.global GX2HWFiltConv
|
|
GX2HWFiltConv:
|
|
|
|
.4byte 0x00040105
|
|
.4byte 0x02060000
|
|
|
|
.global HW2GXFiltConv
|
|
HW2GXFiltConv:
|
|
|
|
.4byte 0x00020400
|
|
.4byte 0x01030500
|
|
.include "macros.inc"
|
|
|
|
.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440
|
|
.global "@2756_8055E5F0"
|
|
"@2756_8055E5F0":
|
|
|
|
.4byte 0x41800000
|
|
.4byte 0
|
|
|
|
.global "@2760"
|
|
"@2760":
|
|
|
|
.4byte 0x43300000
|
|
.4byte 0
|
|
|
|
.global "@2784"
|
|
"@2784":
|
|
|
|
.4byte 0xC0800000
|
|
|
|
.global "@2785"
|
|
"@2785":
|
|
|
|
.4byte 0x407F5C29
|
|
|
|
.global "@2786_8055E608"
|
|
"@2786_8055E608":
|
|
|
|
.4byte 0x40800000
|
|
|
|
.global "@2787_8055E60C"
|
|
"@2787_8055E60C":
|
|
|
|
.4byte 0x42000000
|
|
|
|
.global "@2788_8055E610"
|
|
"@2788_8055E610":
|
|
|
|
.4byte 0
|
|
|
|
.global "@2789"
|
|
"@2789":
|
|
|
|
.4byte 0x41200000
|
|
|
|
.global "@2862"
|
|
"@2862":
|
|
|
|
.4byte 0x3D800000
|
|
|
|
.global "@2863"
|
|
"@2863":
|
|
|
|
.4byte 0x3D000000
|
|
|
|
.global "@2875"
|
|
"@2875":
|
|
|
|
.4byte 0x43300000
|
|
.4byte 0x80000000
|