123 lines
5.5 KiB
ArmAsm
123 lines
5.5 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global GetAnmResult__Q34nw4r3g3d9ResAnmClrCFPQ34nw4r3g3d12ClrAnmResultUlf
|
|
GetAnmResult__Q34nw4r3g3d9ResAnmClrCFPQ34nw4r3g3d12ClrAnmResultUlf:
|
|
/* 800CF7D0 000CB610 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
/* 800CF7D4 000CB614 7C 08 02 A6 */ mflr r0
|
|
/* 800CF7D8 000CB618 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 800CF7DC 000CB61C 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 800CF7E0 000CB620 DB E1 00 30 */ stfd f31, 0x30(r1)
|
|
/* 800CF7E4 000CB624 F3 E1 00 38 */ psq_st f31, 0x38(r1), 0, qr0
|
|
/* 800CF7E8 000CB628 4B F3 7B 51 */ bl lbl_80007338
|
|
/* 800CF7EC 000CB62C 80 C3 00 00 */ lwz r6, 0x0(r3)
|
|
/* 800CF7F0 000CB630 7C 9E 23 78 */ mr r30, r4
|
|
/* 800CF7F4 000CB634 80 06 00 10 */ lwz r0, 0x10(r6)
|
|
/* 800CF7F8 000CB638 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800CF7FC 000CB63C 41 82 00 0C */ beq lbl_800CF808
|
|
/* 800CF800 000CB640 7C 06 02 14 */ add r0, r6, r0
|
|
/* 800CF804 000CB644 48 00 00 08 */ b lbl_800CF80C
|
|
.global lbl_800CF808
|
|
lbl_800CF808:
|
|
/* 800CF808 000CB648 38 00 00 00 */ li r0, 0x0
|
|
.global lbl_800CF80C
|
|
lbl_800CF80C:
|
|
/* 800CF80C 000CB64C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800CF810 000CB650 41 82 00 2C */ beq lbl_800CF83C
|
|
/* 800CF814 000CB654 38 A5 00 01 */ addi r5, r5, 0x1
|
|
/* 800CF818 000CB658 54 A5 20 36 */ slwi r5, r5, 4
|
|
/* 800CF81C 000CB65C 7C A0 2A 14 */ add r5, r0, r5
|
|
/* 800CF820 000CB660 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
/* 800CF824 000CB664 2C 05 00 00 */ cmpwi r5, 0x0
|
|
/* 800CF828 000CB668 41 82 00 0C */ beq lbl_800CF834
|
|
/* 800CF82C 000CB66C 7C A0 2A 14 */ add r5, r0, r5
|
|
/* 800CF830 000CB670 48 00 00 10 */ b lbl_800CF840
|
|
.global lbl_800CF834
|
|
lbl_800CF834:
|
|
/* 800CF834 000CB674 38 A0 00 00 */ li r5, 0x0
|
|
/* 800CF838 000CB678 48 00 00 08 */ b lbl_800CF840
|
|
.global lbl_800CF83C
|
|
lbl_800CF83C:
|
|
/* 800CF83C 000CB67C 38 A0 00 00 */ li r5, 0x0
|
|
.global lbl_800CF840
|
|
lbl_800CF840:
|
|
/* 800CF840 000CB680 83 E5 00 04 */ lwz r31, 0x4(r5)
|
|
/* 800CF844 000CB684 38 00 00 00 */ li r0, 0x0
|
|
/* 800CF848 000CB688 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
/* 800CF84C 000CB68C 3B 65 00 08 */ addi r27, r5, 0x8
|
|
/* 800CF850 000CB690 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 800CF854 000CB694 90 04 00 00 */ stw r0, 0x0(r4)
|
|
/* 800CF858 000CB698 41 82 00 C4 */ beq lbl_800CF91C
|
|
/* 800CF85C 000CB69C C3 E2 8F 18 */ lfs f31, "@5911"@sda21(r2)
|
|
/* 800CF860 000CB6A0 FC 01 F8 40 */ fcmpo cr0, f1, f31
|
|
/* 800CF864 000CB6A4 4C 40 13 82 */ cror eq, lt, eq
|
|
/* 800CF868 000CB6A8 40 82 00 08 */ bne lbl_800CF870
|
|
/* 800CF86C 000CB6AC 48 00 00 44 */ b lbl_800CF8B0
|
|
.global lbl_800CF870
|
|
lbl_800CF870:
|
|
/* 800CF870 000CB6B0 A0 63 00 20 */ lhz r3, 0x20(r3)
|
|
/* 800CF874 000CB6B4 3C 00 43 30 */ lis r0, 0x4330
|
|
/* 800CF878 000CB6B8 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 800CF87C 000CB6BC C8 42 8F 20 */ lfd f2, "@5915"@sda21(r2)
|
|
/* 800CF880 000CB6C0 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 800CF884 000CB6C4 C8 01 00 08 */ lfd f0, 0x8(r1)
|
|
/* 800CF888 000CB6C8 EC 00 10 28 */ fsubs f0, f0, f2
|
|
/* 800CF88C 000CB6CC FC 00 08 40 */ fcmpo cr0, f0, f1
|
|
/* 800CF890 000CB6D0 4C 40 13 82 */ cror eq, lt, eq
|
|
/* 800CF894 000CB6D4 40 82 00 18 */ bne lbl_800CF8AC
|
|
/* 800CF898 000CB6D8 90 61 00 14 */ stw r3, 0x14(r1)
|
|
/* 800CF89C 000CB6DC 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 800CF8A0 000CB6E0 C8 01 00 10 */ lfd f0, 0x10(r1)
|
|
/* 800CF8A4 000CB6E4 EF E0 10 28 */ fsubs f31, f0, f2
|
|
/* 800CF8A8 000CB6E8 48 00 00 08 */ b lbl_800CF8B0
|
|
.global lbl_800CF8AC
|
|
lbl_800CF8AC:
|
|
/* 800CF8AC 000CB6EC FF E0 08 90 */ fmr f31, f1
|
|
.global lbl_800CF8B0
|
|
lbl_800CF8B0:
|
|
/* 800CF8B0 000CB6F0 7F DC F3 78 */ mr r28, r30
|
|
/* 800CF8B4 000CB6F4 3B 40 00 00 */ li r26, 0x0
|
|
/* 800CF8B8 000CB6F8 3B A0 00 01 */ li r29, 0x1
|
|
.global lbl_800CF8BC
|
|
lbl_800CF8BC:
|
|
/* 800CF8BC 000CB6FC 57 E0 07 FF */ clrlwi. r0, r31, 31
|
|
/* 800CF8C0 000CB700 41 82 00 48 */ beq lbl_800CF908
|
|
/* 800CF8C4 000CB704 80 9E 00 00 */ lwz r4, 0x0(r30)
|
|
/* 800CF8C8 000CB708 57 E0 07 BD */ rlwinm. r0, r31, 0, 30, 30
|
|
/* 800CF8CC 000CB70C 7F A3 D0 30 */ slw r3, r29, r26
|
|
/* 800CF8D0 000CB710 7C 80 1B 78 */ or r0, r4, r3
|
|
/* 800CF8D4 000CB714 90 1E 00 00 */ stw r0, 0x0(r30)
|
|
/* 800CF8D8 000CB718 80 1B 00 00 */ lwz r0, 0x0(r27)
|
|
/* 800CF8DC 000CB71C 90 1C 00 30 */ stw r0, 0x30(r28)
|
|
/* 800CF8E0 000CB720 41 82 00 0C */ beq lbl_800CF8EC
|
|
/* 800CF8E4 000CB724 80 7B 00 04 */ lwz r3, 0x4(r27)
|
|
/* 800CF8E8 000CB728 48 00 00 18 */ b lbl_800CF900
|
|
.global lbl_800CF8EC
|
|
lbl_800CF8EC:
|
|
/* 800CF8EC 000CB72C 80 1B 00 04 */ lwz r0, 0x4(r27)
|
|
/* 800CF8F0 000CB730 FC 20 F8 90 */ fmr f1, f31
|
|
/* 800CF8F4 000CB734 7C 7B 02 14 */ add r3, r27, r0
|
|
/* 800CF8F8 000CB738 38 63 00 04 */ addi r3, r3, 0x4
|
|
/* 800CF8FC 000CB73C 4B FF FC A5 */ bl GetResColorAnmResult__Q34nw4r3g3d6detailFPCQ34nw4r3g3d21ResColorAnmFramesDataf
|
|
.global lbl_800CF900
|
|
lbl_800CF900:
|
|
/* 800CF900 000CB740 90 7C 00 04 */ stw r3, 0x4(r28)
|
|
/* 800CF904 000CB744 3B 7B 00 08 */ addi r27, r27, 0x8
|
|
.global lbl_800CF908
|
|
lbl_800CF908:
|
|
/* 800CF908 000CB748 3B 5A 00 01 */ addi r26, r26, 0x1
|
|
/* 800CF90C 000CB74C 57 FF F0 BE */ srwi r31, r31, 2
|
|
/* 800CF910 000CB750 2C 1A 00 0B */ cmpwi r26, 0xb
|
|
/* 800CF914 000CB754 3B 9C 00 04 */ addi r28, r28, 0x4
|
|
/* 800CF918 000CB758 41 80 FF A4 */ blt lbl_800CF8BC
|
|
.global lbl_800CF91C
|
|
lbl_800CF91C:
|
|
/* 800CF91C 000CB75C 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 800CF920 000CB760 E3 E1 00 38 */ psq_l f31, 0x38(r1), 0, qr0
|
|
/* 800CF924 000CB764 CB E1 00 30 */ lfd f31, 0x30(r1)
|
|
/* 800CF928 000CB768 4B F3 7A 5D */ bl lbl_80007384
|
|
/* 800CF92C 000CB76C 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 800CF930 000CB770 7C 08 03 A6 */ mtlr r0
|
|
/* 800CF934 000CB774 38 21 00 40 */ addi r1, r1, 0x40
|
|
/* 800CF938 000CB778 4E 80 00 20 */ blr
|
|
/* 800CF93C 000CB77C 00 00 00 00 */ .4byte 0x00000000
|