mirror of https://github.com/PrimeDecomp/prime.git
448 lines
21 KiB
ArmAsm
448 lines
21 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax"
|
|
|
|
.global CreateFrameEnd__7MakeMsgF14EArchMsgTargetRCi
|
|
CreateFrameEnd__7MakeMsgF14EArchMsgTargetRCi:
|
|
/* 800517BC 0004E71C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 800517C0 0004E720 7C 08 02 A6 */ mflr r0
|
|
/* 800517C4 0004E724 3C C0 80 3D */ lis r6, lbl_803CCF20@ha
|
|
/* 800517C8 0004E728 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800517CC 0004E72C 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l
|
|
/* 800517D0 0004E730 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 800517D4 0004E734 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 800517D8 0004E738 7C BE 2B 78 */ mr r30, r5
|
|
/* 800517DC 0004E73C 38 A0 00 00 */ li r5, 0
|
|
/* 800517E0 0004E740 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 800517E4 0004E744 7C 9D 23 78 */ mr r29, r4
|
|
/* 800517E8 0004E748 7C 04 03 78 */ mr r4, r0
|
|
/* 800517EC 0004E74C 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 800517F0 0004E750 7C 7C 1B 78 */ mr r28, r3
|
|
/* 800517F4 0004E754 38 60 00 08 */ li r3, 8
|
|
/* 800517F8 0004E758 48 2C 40 75 */ bl __nw__FUlPCcPCc
|
|
/* 800517FC 0004E75C 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 80051800 0004E760 41 82 00 10 */ beq lbl_80051810
|
|
/* 80051804 0004E764 80 9E 00 00 */ lwz r4, 0(r30)
|
|
/* 80051808 0004E768 4B FF FE 1D */ bl __ct__17CArchMsgParmInt32Fi
|
|
/* 8005180C 0004E76C 7C 7F 1B 78 */ mr r31, r3
|
|
lbl_80051810:
|
|
/* 80051810 0004E770 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
|
|
/* 80051814 0004E774 38 60 00 08 */ li r3, 8
|
|
/* 80051818 0004E778 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
|
|
/* 8005181C 0004E77C 38 A0 00 00 */ li r5, 0
|
|
/* 80051820 0004E780 48 2C 40 4D */ bl __nw__FUlPCcPCc
|
|
/* 80051824 0004E784 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80051828 0004E788 41 82 00 10 */ beq lbl_80051838
|
|
/* 8005182C 0004E78C 93 E3 00 00 */ stw r31, 0(r3)
|
|
/* 80051830 0004E790 38 00 00 01 */ li r0, 1
|
|
/* 80051834 0004E794 90 03 00 04 */ stw r0, 4(r3)
|
|
lbl_80051838:
|
|
/* 80051838 0004E798 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 8005183C 0004E79C 38 00 00 0B */ li r0, 0xb
|
|
/* 80051840 0004E7A0 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80051844 0004E7A4 93 BC 00 00 */ stw r29, 0(r28)
|
|
/* 80051848 0004E7A8 90 1C 00 04 */ stw r0, 4(r28)
|
|
/* 8005184C 0004E7AC 80 01 00 08 */ lwz r0, 8(r1)
|
|
/* 80051850 0004E7B0 90 1C 00 08 */ stw r0, 8(r28)
|
|
/* 80051854 0004E7B4 80 BC 00 08 */ lwz r5, 8(r28)
|
|
/* 80051858 0004E7B8 80 85 00 04 */ lwz r4, 4(r5)
|
|
/* 8005185C 0004E7BC 38 04 00 01 */ addi r0, r4, 1
|
|
/* 80051860 0004E7C0 90 05 00 04 */ stw r0, 4(r5)
|
|
/* 80051864 0004E7C4 4B FB 6E A9 */ bl sub_8000870c
|
|
/* 80051868 0004E7C8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8005186C 0004E7CC 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80051870 0004E7D0 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80051874 0004E7D4 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80051878 0004E7D8 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 8005187C 0004E7DC 7C 08 03 A6 */ mtlr r0
|
|
/* 80051880 0004E7E0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80051884 0004E7E4 4E 80 00 20 */ blr
|
|
|
|
.global GetParm__20CArchitectureMessageCFv
|
|
GetParm__20CArchitectureMessageCFv:
|
|
/* 80051888 0004E7E8 80 63 00 08 */ lwz r3, 8(r3)
|
|
/* 8005188C 0004E7EC 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 80051890 0004E7F0 4E 80 00 20 */ blr
|
|
|
|
.global CreateFrameBegin__7MakeMsgF14EArchMsgTargetRCi
|
|
CreateFrameBegin__7MakeMsgF14EArchMsgTargetRCi:
|
|
/* 80051894 0004E7F4 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80051898 0004E7F8 7C 08 02 A6 */ mflr r0
|
|
/* 8005189C 0004E7FC 3C C0 80 3D */ lis r6, lbl_803CCF20@ha
|
|
/* 800518A0 0004E800 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800518A4 0004E804 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l
|
|
/* 800518A8 0004E808 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 800518AC 0004E80C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 800518B0 0004E810 7C BE 2B 78 */ mr r30, r5
|
|
/* 800518B4 0004E814 38 A0 00 00 */ li r5, 0
|
|
/* 800518B8 0004E818 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 800518BC 0004E81C 7C 9D 23 78 */ mr r29, r4
|
|
/* 800518C0 0004E820 7C 04 03 78 */ mr r4, r0
|
|
/* 800518C4 0004E824 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 800518C8 0004E828 7C 7C 1B 78 */ mr r28, r3
|
|
/* 800518CC 0004E82C 38 60 00 08 */ li r3, 8
|
|
/* 800518D0 0004E830 48 2C 3F 9D */ bl __nw__FUlPCcPCc
|
|
/* 800518D4 0004E834 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 800518D8 0004E838 41 82 00 10 */ beq lbl_800518E8
|
|
/* 800518DC 0004E83C 80 9E 00 00 */ lwz r4, 0(r30)
|
|
/* 800518E0 0004E840 4B FF FD 45 */ bl __ct__17CArchMsgParmInt32Fi
|
|
/* 800518E4 0004E844 7C 7F 1B 78 */ mr r31, r3
|
|
lbl_800518E8:
|
|
/* 800518E8 0004E848 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
|
|
/* 800518EC 0004E84C 38 60 00 08 */ li r3, 8
|
|
/* 800518F0 0004E850 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
|
|
/* 800518F4 0004E854 38 A0 00 00 */ li r5, 0
|
|
/* 800518F8 0004E858 48 2C 3F 75 */ bl __nw__FUlPCcPCc
|
|
/* 800518FC 0004E85C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80051900 0004E860 41 82 00 10 */ beq lbl_80051910
|
|
/* 80051904 0004E864 93 E3 00 00 */ stw r31, 0(r3)
|
|
/* 80051908 0004E868 38 00 00 01 */ li r0, 1
|
|
/* 8005190C 0004E86C 90 03 00 04 */ stw r0, 4(r3)
|
|
lbl_80051910:
|
|
/* 80051910 0004E870 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80051914 0004E874 38 00 00 0A */ li r0, 0xa
|
|
/* 80051918 0004E878 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8005191C 0004E87C 93 BC 00 00 */ stw r29, 0(r28)
|
|
/* 80051920 0004E880 90 1C 00 04 */ stw r0, 4(r28)
|
|
/* 80051924 0004E884 80 01 00 08 */ lwz r0, 8(r1)
|
|
/* 80051928 0004E888 90 1C 00 08 */ stw r0, 8(r28)
|
|
/* 8005192C 0004E88C 80 BC 00 08 */ lwz r5, 8(r28)
|
|
/* 80051930 0004E890 80 85 00 04 */ lwz r4, 4(r5)
|
|
/* 80051934 0004E894 38 04 00 01 */ addi r0, r4, 1
|
|
/* 80051938 0004E898 90 05 00 04 */ stw r0, 4(r5)
|
|
/* 8005193C 0004E89C 4B FB 6D D1 */ bl sub_8000870c
|
|
/* 80051940 0004E8A0 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80051944 0004E8A4 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80051948 0004E8A8 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8005194C 0004E8AC 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80051950 0004E8B0 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80051954 0004E8B4 7C 08 03 A6 */ mtlr r0
|
|
/* 80051958 0004E8B8 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8005195C 0004E8BC 4E 80 00 20 */ blr
|
|
|
|
.global CreateQuitGameplay__7MakeMsgF14EArchMsgTarget
|
|
CreateQuitGameplay__7MakeMsgF14EArchMsgTarget:
|
|
/* 80051960 0004E8C0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80051964 0004E8C4 7C 08 02 A6 */ mflr r0
|
|
/* 80051968 0004E8C8 3C A0 80 3D */ lis r5, lbl_803CCF20@ha
|
|
/* 8005196C 0004E8CC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80051970 0004E8D0 38 05 CF 20 */ addi r0, r5, lbl_803CCF20@l
|
|
/* 80051974 0004E8D4 38 A0 00 00 */ li r5, 0
|
|
/* 80051978 0004E8D8 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8005197C 0004E8DC 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80051980 0004E8E0 7C 9E 23 78 */ mr r30, r4
|
|
/* 80051984 0004E8E4 7C 04 03 78 */ mr r4, r0
|
|
/* 80051988 0004E8E8 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8005198C 0004E8EC 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80051990 0004E8F0 38 60 00 04 */ li r3, 4
|
|
/* 80051994 0004E8F4 48 2C 3E D9 */ bl __nw__FUlPCcPCc
|
|
/* 80051998 0004E8F8 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 8005199C 0004E8FC 41 82 00 0C */ beq lbl_800519A8
|
|
/* 800519A0 0004E900 4B FF FD 85 */ bl __ct__16CArchMsgParmNullFv
|
|
/* 800519A4 0004E904 7C 7F 1B 78 */ mr r31, r3
|
|
lbl_800519A8:
|
|
/* 800519A8 0004E908 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
|
|
/* 800519AC 0004E90C 38 60 00 08 */ li r3, 8
|
|
/* 800519B0 0004E910 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
|
|
/* 800519B4 0004E914 38 A0 00 00 */ li r5, 0
|
|
/* 800519B8 0004E918 48 2C 3E B5 */ bl __nw__FUlPCcPCc
|
|
/* 800519BC 0004E91C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 800519C0 0004E920 41 82 00 10 */ beq lbl_800519D0
|
|
/* 800519C4 0004E924 93 E3 00 00 */ stw r31, 0(r3)
|
|
/* 800519C8 0004E928 38 00 00 01 */ li r0, 1
|
|
/* 800519CC 0004E92C 90 03 00 04 */ stw r0, 4(r3)
|
|
lbl_800519D0:
|
|
/* 800519D0 0004E930 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 800519D4 0004E934 38 00 00 08 */ li r0, 8
|
|
/* 800519D8 0004E938 38 61 00 08 */ addi r3, r1, 8
|
|
/* 800519DC 0004E93C 93 DD 00 00 */ stw r30, 0(r29)
|
|
/* 800519E0 0004E940 90 1D 00 04 */ stw r0, 4(r29)
|
|
/* 800519E4 0004E944 80 01 00 08 */ lwz r0, 8(r1)
|
|
/* 800519E8 0004E948 90 1D 00 08 */ stw r0, 8(r29)
|
|
/* 800519EC 0004E94C 80 BD 00 08 */ lwz r5, 8(r29)
|
|
/* 800519F0 0004E950 80 85 00 04 */ lwz r4, 4(r5)
|
|
/* 800519F4 0004E954 38 04 00 01 */ addi r0, r4, 1
|
|
/* 800519F8 0004E958 90 05 00 04 */ stw r0, 4(r5)
|
|
/* 800519FC 0004E95C 4B FB 6D 11 */ bl sub_8000870c
|
|
/* 80051A00 0004E960 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80051A04 0004E964 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80051A08 0004E968 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80051A0C 0004E96C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80051A10 0004E970 7C 08 03 A6 */ mtlr r0
|
|
/* 80051A14 0004E974 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80051A18 0004E978 4E 80 00 20 */ blr
|
|
|
|
.global CreateControllerStatus__7MakeMsgF14EArchMsgTargetRCsRCb
|
|
CreateControllerStatus__7MakeMsgF14EArchMsgTargetRCsRCb:
|
|
/* 80051A1C 0004E97C 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80051A20 0004E980 7C 08 02 A6 */ mflr r0
|
|
/* 80051A24 0004E984 3C E0 80 3D */ lis r7, lbl_803CCF20@ha
|
|
/* 80051A28 0004E988 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80051A2C 0004E98C 38 07 CF 20 */ addi r0, r7, lbl_803CCF20@l
|
|
/* 80051A30 0004E990 BF 61 00 1C */ stmw r27, 0x1c(r1)
|
|
/* 80051A34 0004E994 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80051A38 0004E998 7C 9C 23 78 */ mr r28, r4
|
|
/* 80051A3C 0004E99C 7C BD 2B 78 */ mr r29, r5
|
|
/* 80051A40 0004E9A0 7C DE 33 78 */ mr r30, r6
|
|
/* 80051A44 0004E9A4 7C 04 03 78 */ mr r4, r0
|
|
/* 80051A48 0004E9A8 38 60 00 08 */ li r3, 8
|
|
/* 80051A4C 0004E9AC 38 A0 00 00 */ li r5, 0
|
|
/* 80051A50 0004E9B0 48 2C 3E 1D */ bl __nw__FUlPCcPCc
|
|
/* 80051A54 0004E9B4 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 80051A58 0004E9B8 41 82 00 14 */ beq lbl_80051A6C
|
|
/* 80051A5C 0004E9BC A8 9D 00 00 */ lha r4, 0(r29)
|
|
/* 80051A60 0004E9C0 88 BE 00 00 */ lbz r5, 0(r30)
|
|
/* 80051A64 0004E9C4 48 00 86 89 */ bl __ct__28CArchMsgParmControllerStatusFsb
|
|
/* 80051A68 0004E9C8 7C 7F 1B 78 */ mr r31, r3
|
|
lbl_80051A6C:
|
|
/* 80051A6C 0004E9CC 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
|
|
/* 80051A70 0004E9D0 38 60 00 08 */ li r3, 8
|
|
/* 80051A74 0004E9D4 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
|
|
/* 80051A78 0004E9D8 38 A0 00 00 */ li r5, 0
|
|
/* 80051A7C 0004E9DC 48 2C 3D F1 */ bl __nw__FUlPCcPCc
|
|
/* 80051A80 0004E9E0 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80051A84 0004E9E4 41 82 00 10 */ beq lbl_80051A94
|
|
/* 80051A88 0004E9E8 93 E3 00 00 */ stw r31, 0(r3)
|
|
/* 80051A8C 0004E9EC 38 00 00 01 */ li r0, 1
|
|
/* 80051A90 0004E9F0 90 03 00 04 */ stw r0, 4(r3)
|
|
lbl_80051A94:
|
|
/* 80051A94 0004E9F4 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80051A98 0004E9F8 38 00 00 07 */ li r0, 7
|
|
/* 80051A9C 0004E9FC 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80051AA0 0004EA00 93 9B 00 00 */ stw r28, 0(r27)
|
|
/* 80051AA4 0004EA04 90 1B 00 04 */ stw r0, 4(r27)
|
|
/* 80051AA8 0004EA08 80 01 00 08 */ lwz r0, 8(r1)
|
|
/* 80051AAC 0004EA0C 90 1B 00 08 */ stw r0, 8(r27)
|
|
/* 80051AB0 0004EA10 80 BB 00 08 */ lwz r5, 8(r27)
|
|
/* 80051AB4 0004EA14 80 85 00 04 */ lwz r4, 4(r5)
|
|
/* 80051AB8 0004EA18 38 04 00 01 */ addi r0, r4, 1
|
|
/* 80051ABC 0004EA1C 90 05 00 04 */ stw r0, 4(r5)
|
|
/* 80051AC0 0004EA20 4B FB 6C 4D */ bl sub_8000870c
|
|
/* 80051AC4 0004EA24 BB 61 00 1C */ lmw r27, 0x1c(r1)
|
|
/* 80051AC8 0004EA28 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80051ACC 0004EA2C 7C 08 03 A6 */ mtlr r0
|
|
/* 80051AD0 0004EA30 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80051AD4 0004EA34 4E 80 00 20 */ blr
|
|
|
|
.global GetParmNewGameflowState__7MakeMsgFRC20CArchitectureMessage
|
|
GetParmNewGameflowState__7MakeMsgFRC20CArchitectureMessage:
|
|
/* 80051AD8 0004EA38 80 63 00 08 */ lwz r3, 8(r3)
|
|
/* 80051ADC 0004EA3C 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 80051AE0 0004EA40 4E 80 00 20 */ blr
|
|
|
|
.global GetParmUserInput__7MakeMsgFRC20CArchitectureMessage
|
|
GetParmUserInput__7MakeMsgFRC20CArchitectureMessage:
|
|
/* 80051AE4 0004EA44 80 63 00 08 */ lwz r3, 8(r3)
|
|
/* 80051AE8 0004EA48 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 80051AEC 0004EA4C 4E 80 00 20 */ blr
|
|
|
|
.global CreateUserInput__7MakeMsgF14EArchMsgTargetRC11CFinalInput
|
|
CreateUserInput__7MakeMsgF14EArchMsgTargetRC11CFinalInput:
|
|
/* 80051AF0 0004EA50 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80051AF4 0004EA54 7C 08 02 A6 */ mflr r0
|
|
/* 80051AF8 0004EA58 3C C0 80 3D */ lis r6, lbl_803CCF20@ha
|
|
/* 80051AFC 0004EA5C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80051B00 0004EA60 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l
|
|
/* 80051B04 0004EA64 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80051B08 0004EA68 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80051B0C 0004EA6C 7C BE 2B 78 */ mr r30, r5
|
|
/* 80051B10 0004EA70 38 A0 00 00 */ li r5, 0
|
|
/* 80051B14 0004EA74 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80051B18 0004EA78 7C 9D 23 78 */ mr r29, r4
|
|
/* 80051B1C 0004EA7C 7C 04 03 78 */ mr r4, r0
|
|
/* 80051B20 0004EA80 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80051B24 0004EA84 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80051B28 0004EA88 38 60 00 34 */ li r3, 0x34
|
|
/* 80051B2C 0004EA8C 48 2C 3D 41 */ bl __nw__FUlPCcPCc
|
|
/* 80051B30 0004EA90 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 80051B34 0004EA94 41 82 00 10 */ beq lbl_80051B44
|
|
/* 80051B38 0004EA98 7F C4 F3 78 */ mr r4, r30
|
|
/* 80051B3C 0004EA9C 4B FC 9F 0D */ bl __ct__21CArchMsgParmUserInputFRC11CFinalInput
|
|
/* 80051B40 0004EAA0 7C 7F 1B 78 */ mr r31, r3
|
|
lbl_80051B44:
|
|
/* 80051B44 0004EAA4 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
|
|
/* 80051B48 0004EAA8 38 60 00 08 */ li r3, 8
|
|
/* 80051B4C 0004EAAC 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
|
|
/* 80051B50 0004EAB0 38 A0 00 00 */ li r5, 0
|
|
/* 80051B54 0004EAB4 48 2C 3D 19 */ bl __nw__FUlPCcPCc
|
|
/* 80051B58 0004EAB8 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80051B5C 0004EABC 41 82 00 10 */ beq lbl_80051B6C
|
|
/* 80051B60 0004EAC0 93 E3 00 00 */ stw r31, 0(r3)
|
|
/* 80051B64 0004EAC4 38 00 00 01 */ li r0, 1
|
|
/* 80051B68 0004EAC8 90 03 00 04 */ stw r0, 4(r3)
|
|
lbl_80051B6C:
|
|
/* 80051B6C 0004EACC 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80051B70 0004EAD0 38 00 00 05 */ li r0, 5
|
|
/* 80051B74 0004EAD4 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80051B78 0004EAD8 93 BC 00 00 */ stw r29, 0(r28)
|
|
/* 80051B7C 0004EADC 90 1C 00 04 */ stw r0, 4(r28)
|
|
/* 80051B80 0004EAE0 80 01 00 08 */ lwz r0, 8(r1)
|
|
/* 80051B84 0004EAE4 90 1C 00 08 */ stw r0, 8(r28)
|
|
/* 80051B88 0004EAE8 80 BC 00 08 */ lwz r5, 8(r28)
|
|
/* 80051B8C 0004EAEC 80 85 00 04 */ lwz r4, 4(r5)
|
|
/* 80051B90 0004EAF0 38 04 00 01 */ addi r0, r4, 1
|
|
/* 80051B94 0004EAF4 90 05 00 04 */ stw r0, 4(r5)
|
|
/* 80051B98 0004EAF8 4B FB 6B 75 */ bl sub_8000870c
|
|
/* 80051B9C 0004EAFC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80051BA0 0004EB00 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80051BA4 0004EB04 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80051BA8 0004EB08 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80051BAC 0004EB0C 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80051BB0 0004EB10 7C 08 03 A6 */ mtlr r0
|
|
/* 80051BB4 0004EB14 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80051BB8 0004EB18 4E 80 00 20 */ blr
|
|
|
|
.global GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage
|
|
GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage:
|
|
/* 80051BBC 0004EB1C 80 63 00 08 */ lwz r3, 8(r3)
|
|
/* 80051BC0 0004EB20 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 80051BC4 0004EB24 4E 80 00 20 */ blr
|
|
|
|
.global CreateTimerTick__7MakeMsgF14EArchMsgTargetRCf
|
|
CreateTimerTick__7MakeMsgF14EArchMsgTargetRCf:
|
|
/* 80051BC8 0004EB28 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80051BCC 0004EB2C 7C 08 02 A6 */ mflr r0
|
|
/* 80051BD0 0004EB30 3C C0 80 3D */ lis r6, lbl_803CCF20@ha
|
|
/* 80051BD4 0004EB34 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80051BD8 0004EB38 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l
|
|
/* 80051BDC 0004EB3C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80051BE0 0004EB40 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80051BE4 0004EB44 7C BE 2B 78 */ mr r30, r5
|
|
/* 80051BE8 0004EB48 38 A0 00 00 */ li r5, 0
|
|
/* 80051BEC 0004EB4C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80051BF0 0004EB50 7C 9D 23 78 */ mr r29, r4
|
|
/* 80051BF4 0004EB54 7C 04 03 78 */ mr r4, r0
|
|
/* 80051BF8 0004EB58 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80051BFC 0004EB5C 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80051C00 0004EB60 38 60 00 08 */ li r3, 8
|
|
/* 80051C04 0004EB64 48 2C 3C 69 */ bl __nw__FUlPCcPCc
|
|
/* 80051C08 0004EB68 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 80051C0C 0004EB6C 41 82 00 10 */ beq lbl_80051C1C
|
|
/* 80051C10 0004EB70 C0 3E 00 00 */ lfs f1, 0(r30)
|
|
/* 80051C14 0004EB74 4B FF FB 89 */ bl __ct__18CArchMsgParmReal32Ff
|
|
/* 80051C18 0004EB78 7C 7F 1B 78 */ mr r31, r3
|
|
lbl_80051C1C:
|
|
/* 80051C1C 0004EB7C 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
|
|
/* 80051C20 0004EB80 38 60 00 08 */ li r3, 8
|
|
/* 80051C24 0004EB84 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
|
|
/* 80051C28 0004EB88 38 A0 00 00 */ li r5, 0
|
|
/* 80051C2C 0004EB8C 48 2C 3C 41 */ bl __nw__FUlPCcPCc
|
|
/* 80051C30 0004EB90 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80051C34 0004EB94 41 82 00 10 */ beq lbl_80051C44
|
|
/* 80051C38 0004EB98 93 E3 00 00 */ stw r31, 0(r3)
|
|
/* 80051C3C 0004EB9C 38 00 00 01 */ li r0, 1
|
|
/* 80051C40 0004EBA0 90 03 00 04 */ stw r0, 4(r3)
|
|
lbl_80051C44:
|
|
/* 80051C44 0004EBA4 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80051C48 0004EBA8 38 00 00 04 */ li r0, 4
|
|
/* 80051C4C 0004EBAC 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80051C50 0004EBB0 93 BC 00 00 */ stw r29, 0(r28)
|
|
/* 80051C54 0004EBB4 90 1C 00 04 */ stw r0, 4(r28)
|
|
/* 80051C58 0004EBB8 80 01 00 08 */ lwz r0, 8(r1)
|
|
/* 80051C5C 0004EBBC 90 1C 00 08 */ stw r0, 8(r28)
|
|
/* 80051C60 0004EBC0 80 BC 00 08 */ lwz r5, 8(r28)
|
|
/* 80051C64 0004EBC4 80 85 00 04 */ lwz r4, 4(r5)
|
|
/* 80051C68 0004EBC8 38 04 00 01 */ addi r0, r4, 1
|
|
/* 80051C6C 0004EBCC 90 05 00 04 */ stw r0, 4(r5)
|
|
/* 80051C70 0004EBD0 4B FB 6A 9D */ bl sub_8000870c
|
|
/* 80051C74 0004EBD4 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80051C78 0004EBD8 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80051C7C 0004EBDC 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80051C80 0004EBE0 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80051C84 0004EBE4 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80051C88 0004EBE8 7C 08 03 A6 */ mtlr r0
|
|
/* 80051C8C 0004EBEC 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80051C90 0004EBF0 4E 80 00 20 */ blr
|
|
|
|
.global GetParmChangeIOWinPriority__7MakeMsgFRC20CArchitectureMessage
|
|
GetParmChangeIOWinPriority__7MakeMsgFRC20CArchitectureMessage:
|
|
/* 80051C94 0004EBF4 80 63 00 08 */ lwz r3, 8(r3)
|
|
/* 80051C98 0004EBF8 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 80051C9C 0004EBFC 4E 80 00 20 */ blr
|
|
|
|
.global GetParmCreateIOWin__7MakeMsgFRC20CArchitectureMessage
|
|
GetParmCreateIOWin__7MakeMsgFRC20CArchitectureMessage:
|
|
/* 80051CA0 0004EC00 80 63 00 08 */ lwz r3, 8(r3)
|
|
/* 80051CA4 0004EC04 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 80051CA8 0004EC08 4E 80 00 20 */ blr
|
|
|
|
.global CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin
|
|
CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin:
|
|
/* 80051CAC 0004EC0C 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80051CB0 0004EC10 7C 08 02 A6 */ mflr r0
|
|
/* 80051CB4 0004EC14 3D 00 80 3D */ lis r8, lbl_803CCF20@ha
|
|
/* 80051CB8 0004EC18 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80051CBC 0004EC1C 38 08 CF 20 */ addi r0, r8, lbl_803CCF20@l
|
|
/* 80051CC0 0004EC20 BF 41 00 18 */ stmw r26, 0x18(r1)
|
|
/* 80051CC4 0004EC24 7C 7A 1B 78 */ mr r26, r3
|
|
/* 80051CC8 0004EC28 7C 9B 23 78 */ mr r27, r4
|
|
/* 80051CCC 0004EC2C 7C BC 2B 78 */ mr r28, r5
|
|
/* 80051CD0 0004EC30 7C DD 33 78 */ mr r29, r6
|
|
/* 80051CD4 0004EC34 7C FE 3B 78 */ mr r30, r7
|
|
/* 80051CD8 0004EC38 7C 04 03 78 */ mr r4, r0
|
|
/* 80051CDC 0004EC3C 38 60 00 10 */ li r3, 0x10
|
|
/* 80051CE0 0004EC40 38 A0 00 00 */ li r5, 0
|
|
/* 80051CE4 0004EC44 48 2C 3B 89 */ bl __nw__FUlPCcPCc
|
|
/* 80051CE8 0004EC48 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 80051CEC 0004EC4C 41 82 00 18 */ beq lbl_80051D04
|
|
/* 80051CF0 0004EC50 80 9C 00 00 */ lwz r4, 0(r28)
|
|
/* 80051CF4 0004EC54 80 BD 00 00 */ lwz r5, 0(r29)
|
|
/* 80051CF8 0004EC58 80 DE 00 00 */ lwz r6, 0(r30)
|
|
/* 80051CFC 0004EC5C 4B FF F9 A5 */ bl __ct__29CArchMsgParmInt32Int32VoidPtrFiiPCv
|
|
/* 80051D00 0004EC60 7C 7F 1B 78 */ mr r31, r3
|
|
lbl_80051D04:
|
|
/* 80051D04 0004EC64 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
|
|
/* 80051D08 0004EC68 38 60 00 08 */ li r3, 8
|
|
/* 80051D0C 0004EC6C 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
|
|
/* 80051D10 0004EC70 38 A0 00 00 */ li r5, 0
|
|
/* 80051D14 0004EC74 48 2C 3B 59 */ bl __nw__FUlPCcPCc
|
|
/* 80051D18 0004EC78 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80051D1C 0004EC7C 41 82 00 10 */ beq lbl_80051D2C
|
|
/* 80051D20 0004EC80 93 E3 00 00 */ stw r31, 0(r3)
|
|
/* 80051D24 0004EC84 38 00 00 01 */ li r0, 1
|
|
/* 80051D28 0004EC88 90 03 00 04 */ stw r0, 4(r3)
|
|
lbl_80051D2C:
|
|
/* 80051D2C 0004EC8C 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80051D30 0004EC90 38 00 00 01 */ li r0, 1
|
|
/* 80051D34 0004EC94 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80051D38 0004EC98 93 7A 00 00 */ stw r27, 0(r26)
|
|
/* 80051D3C 0004EC9C 90 1A 00 04 */ stw r0, 4(r26)
|
|
/* 80051D40 0004ECA0 80 01 00 08 */ lwz r0, 8(r1)
|
|
/* 80051D44 0004ECA4 90 1A 00 08 */ stw r0, 8(r26)
|
|
/* 80051D48 0004ECA8 80 BA 00 08 */ lwz r5, 8(r26)
|
|
/* 80051D4C 0004ECAC 80 85 00 04 */ lwz r4, 4(r5)
|
|
/* 80051D50 0004ECB0 38 04 00 01 */ addi r0, r4, 1
|
|
/* 80051D54 0004ECB4 90 05 00 04 */ stw r0, 4(r5)
|
|
/* 80051D58 0004ECB8 4B FB 69 B5 */ bl sub_8000870c
|
|
/* 80051D5C 0004ECBC BB 41 00 18 */ lmw r26, 0x18(r1)
|
|
/* 80051D60 0004ECC0 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80051D64 0004ECC4 7C 08 03 A6 */ mtlr r0
|
|
/* 80051D68 0004ECC8 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80051D6C 0004ECCC 4E 80 00 20 */ blr
|
|
|
|
.global GetParmDeleteIOWin__7MakeMsgFRC20CArchitectureMessage
|
|
GetParmDeleteIOWin__7MakeMsgFRC20CArchitectureMessage:
|
|
/* 80051D70 0004ECD0 80 63 00 08 */ lwz r3, 8(r3)
|
|
/* 80051D74 0004ECD4 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 80051D78 0004ECD8 4E 80 00 20 */ blr
|
|
|
|
.section .rodata
|
|
.global lbl_803CCF20
|
|
lbl_803CCF20:
|
|
# ROM: 0x3C9F20
|
|
.asciz "??(??)"
|
|
.balign 4
|
|
|
|
.global lbl_803CCF28
|
|
lbl_803CCF28:
|
|
# ROM: 0x3C9F28
|
|
.asciz "Msg[%3d] %s"
|
|
.asciz "-------------------------"
|
|
.byte 0x44, 0x72
|
|
.asciz "aw[%3d] %s"
|
|
.byte 0x3F
|
|
.asciz "?(??)"
|
|
.balign 4
|
|
.4byte 0
|
|
|