prime/asm/Kyoto/Animation/CPASParmInfo.s

143 lines
6.7 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
2022-07-14 05:36:41 +00:00
.section .text, "ax"
.global __ct__12CPASParmInfoFR12CInputStream
__ct__12CPASParmInfoFR12CInputStream:
/* 802E5750 002E26B0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 802E5754 002E26B4 7C 08 02 A6 */ mflr r0
/* 802E5758 002E26B8 C0 02 C5 E0 */ lfs f0, lbl_805AE300@sda21(r2)
/* 802E575C 002E26BC 90 01 00 34 */ stw r0, 0x34(r1)
/* 802E5760 002E26C0 38 00 FF FF */ li r0, -1
/* 802E5764 002E26C4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 802E5768 002E26C8 93 C1 00 28 */ stw r30, 0x28(r1)
/* 802E576C 002E26CC 7C 9E 23 78 */ mr r30, r4
/* 802E5770 002E26D0 38 80 00 00 */ li r4, 0
/* 802E5774 002E26D4 93 A1 00 24 */ stw r29, 0x24(r1)
/* 802E5778 002E26D8 7C 7D 1B 78 */ mr r29, r3
/* 802E577C 002E26DC 90 03 00 00 */ stw r0, 0(r3)
/* 802E5780 002E26E0 38 61 00 10 */ addi r3, r1, 0x10
/* 802E5784 002E26E4 90 1D 00 04 */ stw r0, 4(r29)
/* 802E5788 002E26E8 D0 1D 00 08 */ stfs f0, 8(r29)
/* 802E578C 002E26EC 4B FF D8 C1 */ bl FromInt32__12CPASAnimParmFi
/* 802E5790 002E26F0 80 01 00 10 */ lwz r0, 0x10(r1)
/* 802E5794 002E26F4 38 61 00 08 */ addi r3, r1, 8
/* 802E5798 002E26F8 38 80 00 00 */ li r4, 0
/* 802E579C 002E26FC 90 1D 00 0C */ stw r0, 0xc(r29)
/* 802E57A0 002E2700 4B FF D8 AD */ bl FromInt32__12CPASAnimParmFi
/* 802E57A4 002E2704 80 01 00 08 */ lwz r0, 8(r1)
/* 802E57A8 002E2708 7F C3 F3 78 */ mr r3, r30
/* 802E57AC 002E270C 90 1D 00 10 */ stw r0, 0x10(r29)
/* 802E57B0 002E2710 48 05 94 D5 */ bl ReadLong__12CInputStreamFv
/* 802E57B4 002E2714 7C 7F 1B 78 */ mr r31, r3
/* 802E57B8 002E2718 7F C3 F3 78 */ mr r3, r30
/* 802E57BC 002E271C 93 FD 00 00 */ stw r31, 0(r29)
/* 802E57C0 002E2720 48 05 94 C5 */ bl ReadLong__12CInputStreamFv
/* 802E57C4 002E2724 90 7D 00 04 */ stw r3, 4(r29)
/* 802E57C8 002E2728 7F C3 F3 78 */ mr r3, r30
/* 802E57CC 002E272C 48 05 94 5D */ bl ReadFloat__12CInputStreamFv
/* 802E57D0 002E2730 2C 1F 00 02 */ cmpwi r31, 2
/* 802E57D4 002E2734 D0 3D 00 08 */ stfs f1, 8(r29)
/* 802E57D8 002E2738 41 82 00 60 */ beq lbl_802E5838
/* 802E57DC 002E273C 40 80 00 14 */ bge lbl_802E57F0
/* 802E57E0 002E2740 2C 1F 00 00 */ cmpwi r31, 0
/* 802E57E4 002E2744 41 82 00 1C */ beq lbl_802E5800
/* 802E57E8 002E2748 40 80 00 34 */ bge lbl_802E581C
/* 802E57EC 002E274C 48 00 00 9C */ b lbl_802E5888
lbl_802E57F0:
/* 802E57F0 002E2750 2C 1F 00 04 */ cmpwi r31, 4
/* 802E57F4 002E2754 41 82 00 7C */ beq lbl_802E5870
/* 802E57F8 002E2758 40 80 00 90 */ bge lbl_802E5888
/* 802E57FC 002E275C 48 00 00 58 */ b lbl_802E5854
lbl_802E5800:
/* 802E5800 002E2760 7F C3 F3 78 */ mr r3, r30
/* 802E5804 002E2764 48 05 94 81 */ bl ReadLong__12CInputStreamFv
/* 802E5808 002E2768 90 7D 00 0C */ stw r3, 0xc(r29)
/* 802E580C 002E276C 7F C3 F3 78 */ mr r3, r30
/* 802E5810 002E2770 48 05 94 75 */ bl ReadLong__12CInputStreamFv
/* 802E5814 002E2774 90 7D 00 10 */ stw r3, 0x10(r29)
/* 802E5818 002E2778 48 00 00 70 */ b lbl_802E5888
lbl_802E581C:
/* 802E581C 002E277C 7F C3 F3 78 */ mr r3, r30
/* 802E5820 002E2780 48 05 94 65 */ bl ReadLong__12CInputStreamFv
/* 802E5824 002E2784 90 7D 00 0C */ stw r3, 0xc(r29)
/* 802E5828 002E2788 7F C3 F3 78 */ mr r3, r30
/* 802E582C 002E278C 48 05 94 59 */ bl ReadLong__12CInputStreamFv
/* 802E5830 002E2790 90 7D 00 10 */ stw r3, 0x10(r29)
/* 802E5834 002E2794 48 00 00 54 */ b lbl_802E5888
lbl_802E5838:
/* 802E5838 002E2798 7F C3 F3 78 */ mr r3, r30
/* 802E583C 002E279C 48 05 93 ED */ bl ReadFloat__12CInputStreamFv
/* 802E5840 002E27A0 D0 3D 00 0C */ stfs f1, 0xc(r29)
/* 802E5844 002E27A4 7F C3 F3 78 */ mr r3, r30
/* 802E5848 002E27A8 48 05 93 E1 */ bl ReadFloat__12CInputStreamFv
/* 802E584C 002E27AC D0 3D 00 10 */ stfs f1, 0x10(r29)
/* 802E5850 002E27B0 48 00 00 38 */ b lbl_802E5888
lbl_802E5854:
/* 802E5854 002E27B4 7F C3 F3 78 */ mr r3, r30
/* 802E5858 002E27B8 48 05 94 85 */ bl ReadBool__12CInputStreamFv
/* 802E585C 002E27BC 98 7D 00 0C */ stb r3, 0xc(r29)
/* 802E5860 002E27C0 7F C3 F3 78 */ mr r3, r30
/* 802E5864 002E27C4 48 05 94 79 */ bl ReadBool__12CInputStreamFv
/* 802E5868 002E27C8 98 7D 00 10 */ stb r3, 0x10(r29)
/* 802E586C 002E27CC 48 00 00 1C */ b lbl_802E5888
lbl_802E5870:
/* 802E5870 002E27D0 7F C3 F3 78 */ mr r3, r30
/* 802E5874 002E27D4 48 05 94 11 */ bl ReadLong__12CInputStreamFv
/* 802E5878 002E27D8 90 7D 00 0C */ stw r3, 0xc(r29)
/* 802E587C 002E27DC 7F C3 F3 78 */ mr r3, r30
/* 802E5880 002E27E0 48 05 94 05 */ bl ReadLong__12CInputStreamFv
/* 802E5884 002E27E4 90 7D 00 10 */ stw r3, 0x10(r29)
lbl_802E5888:
/* 802E5888 002E27E8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802E588C 002E27EC 7F A3 EB 78 */ mr r3, r29
/* 802E5890 002E27F0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802E5894 002E27F4 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 802E5898 002E27F8 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 802E589C 002E27FC 7C 08 03 A6 */ mtlr r0
/* 802E58A0 002E2800 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 802E58A4 002E2804 4E 80 00 20 */ blr
.global PutTo__10CPrimitiveCFR13COutputStream
PutTo__10CPrimitiveCFR13COutputStream:
/* 802E58A8 002E2808 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802E58AC 002E280C 7C 08 02 A6 */ mflr r0
/* 802E58B0 002E2810 90 01 00 24 */ stw r0, 0x24(r1)
/* 802E58B4 002E2814 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802E58B8 002E2818 7C 9F 23 78 */ mr r31, r4
/* 802E58BC 002E281C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802E58C0 002E2820 7C 7E 1B 78 */ mr r30, r3
/* 802E58C4 002E2824 80 03 00 00 */ lwz r0, 0(r3)
/* 802E58C8 002E2828 7F E3 FB 78 */ mr r3, r31
/* 802E58CC 002E282C 90 01 00 0C */ stw r0, 0xc(r1)
/* 802E58D0 002E2830 48 05 9B E9 */ bl FlushShiftRegister__13COutputStreamFv
/* 802E58D4 002E2834 7F E3 FB 78 */ mr r3, r31
/* 802E58D8 002E2838 38 81 00 0C */ addi r4, r1, 0xc
/* 802E58DC 002E283C 38 A0 00 04 */ li r5, 4
/* 802E58E0 002E2840 48 05 9C C9 */ bl DoPut__13COutputStreamFPCvUl
/* 802E58E4 002E2844 80 1E 00 04 */ lwz r0, 4(r30)
/* 802E58E8 002E2848 7F E3 FB 78 */ mr r3, r31
/* 802E58EC 002E284C 90 01 00 08 */ stw r0, 8(r1)
/* 802E58F0 002E2850 48 05 9B C9 */ bl FlushShiftRegister__13COutputStreamFv
/* 802E58F4 002E2854 7F E3 FB 78 */ mr r3, r31
/* 802E58F8 002E2858 38 81 00 08 */ addi r4, r1, 8
/* 802E58FC 002E285C 38 A0 00 04 */ li r5, 4
/* 802E5900 002E2860 48 05 9C A9 */ bl DoPut__13COutputStreamFPCvUl
/* 802E5904 002E2864 7F E4 FB 78 */ mr r4, r31
/* 802E5908 002E2868 38 7E 00 08 */ addi r3, r30, 8
/* 802E590C 002E286C 48 05 83 A9 */ bl "PutTo__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>CFR13COutputStream"
/* 802E5910 002E2870 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802E5914 002E2874 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802E5918 002E2878 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802E591C 002E287C 7C 08 03 A6 */ mtlr r0
/* 802E5920 002E2880 38 21 00 20 */ addi r1, r1, 0x20
/* 802E5924 002E2884 4E 80 00 20 */ blr
2022-07-18 05:20:04 +00:00
.section .sdata2, "a"
.global lbl_805AE300
lbl_805AE300:
# ROM: 0x3FABA0
.4byte 0
.4byte 0