mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-14 05:19:36 +00:00
173 lines
7.4 KiB
ArmAsm
173 lines
7.4 KiB
ArmAsm
|
.rdata
|
||
|
glabel D_801461E0
|
||
|
.asciz "%08d:待機中\n"
|
||
|
# EUC-JP: 待機中 | Waiting
|
||
|
.balign 4
|
||
|
|
||
|
glabel D_801461F0
|
||
|
.asciz "%08d:ENTRY_MSG\n"
|
||
|
.balign 4
|
||
|
|
||
|
glabel D_80146200
|
||
|
.asciz "%08d:RSP_DONE_MSG\n"
|
||
|
.balign 4
|
||
|
|
||
|
glabel D_80146214
|
||
|
.asciz "%08d:RDP_DONE_MSG\n"
|
||
|
.balign 4
|
||
|
|
||
|
.text
|
||
|
glabel func_800C9644
|
||
|
/* B407E4 800C9644 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||
|
/* B407E8 800C9648 AFB10018 */ sw $s1, 0x18($sp)
|
||
|
/* B407EC 800C964C AFB00014 */ sw $s0, 0x14($sp)
|
||
|
/* B407F0 800C9650 3C118013 */ lui $s1, %hi(D_8012D290) # $s1, 0x8013
|
||
|
/* B407F4 800C9654 00808025 */ move $s0, $a0
|
||
|
/* B407F8 800C9658 AFBF001C */ sw $ra, 0x1c($sp)
|
||
|
/* B407FC 800C965C AFA00044 */ sw $zero, 0x44($sp)
|
||
|
/* B40800 800C9660 2631D290 */ addiu $s1, %lo(D_8012D290) # addiu $s1, $s1, -0x2d70
|
||
|
/* B40804 800C9664 8E2E0000 */ lw $t6, ($s1)
|
||
|
.L800C9668:
|
||
|
/* B40808 800C9668 51C00012 */ beql $t6, $zero, .L800C96B4
|
||
|
/* B4080C 800C966C 02002025 */ move $a0, $s0
|
||
|
/* B40810 800C9670 0C001A78 */ jal osGetTime
|
||
|
/* B40814 800C9674 00000000 */ nop
|
||
|
/* B40818 800C9678 00402025 */ move $a0, $v0
|
||
|
/* B4081C 800C967C 00602825 */ move $a1, $v1
|
||
|
/* B40820 800C9680 24060000 */ li $a2, 0
|
||
|
/* B40824 800C9684 0C000E1E */ jal __ll_mul
|
||
|
/* B40828 800C9688 24070040 */ li $a3, 64
|
||
|
/* B4082C 800C968C 00402025 */ move $a0, $v0
|
||
|
/* B40830 800C9690 00602825 */ move $a1, $v1
|
||
|
/* B40834 800C9694 24060000 */ li $a2, 0
|
||
|
/* B40838 800C9698 0C000DDE */ jal __ull_div
|
||
|
/* B4083C 800C969C 24070BB8 */ li $a3, 3000
|
||
|
/* B40840 800C96A0 3C048014 */ lui $a0, %hi(D_801461E0) # $a0, 0x8014
|
||
|
/* B40844 800C96A4 248461E0 */ addiu $a0, %lo(D_801461E0) # addiu $a0, $a0, 0x61e0
|
||
|
/* B40848 800C96A8 0C00084C */ jal osSyncPrintf
|
||
|
/* B4084C 800C96AC 00602825 */ move $a1, $v1
|
||
|
/* B40850 800C96B0 02002025 */ move $a0, $s0
|
||
|
.L800C96B4:
|
||
|
/* B40854 800C96B4 27A50044 */ addiu $a1, $sp, 0x44
|
||
|
/* B40858 800C96B8 0C000CA0 */ jal osRecvMesg
|
||
|
/* B4085C 800C96BC 24060001 */ li $a2, 1
|
||
|
/* B40860 800C96C0 8FAF0044 */ lw $t7, 0x44($sp)
|
||
|
/* B40864 800C96C4 2401029B */ li $at, 667
|
||
|
/* B40868 800C96C8 11E1001C */ beq $t7, $at, .L800C973C
|
||
|
/* B4086C 800C96CC 2401029C */ li $at, 668
|
||
|
/* B40870 800C96D0 11E10031 */ beq $t7, $at, .L800C9798
|
||
|
/* B40874 800C96D4 2401029E */ li $at, 670
|
||
|
/* B40878 800C96D8 15E10046 */ bne $t7, $at, .L800C97F4
|
||
|
/* B4087C 800C96DC 8FA90044 */ lw $t1, 0x44($sp)
|
||
|
/* B40880 800C96E0 8E380000 */ lw $t8, ($s1)
|
||
|
/* B40884 800C96E4 13000011 */ beqz $t8, .L800C972C
|
||
|
/* B40888 800C96E8 00000000 */ nop
|
||
|
/* B4088C 800C96EC 0C001A78 */ jal osGetTime
|
||
|
/* B40890 800C96F0 00000000 */ nop
|
||
|
/* B40894 800C96F4 00402025 */ move $a0, $v0
|
||
|
/* B40898 800C96F8 00602825 */ move $a1, $v1
|
||
|
/* B4089C 800C96FC 24060000 */ li $a2, 0
|
||
|
/* B408A0 800C9700 0C000E1E */ jal __ll_mul
|
||
|
/* B408A4 800C9704 24070040 */ li $a3, 64
|
||
|
/* B408A8 800C9708 00402025 */ move $a0, $v0
|
||
|
/* B408AC 800C970C 00602825 */ move $a1, $v1
|
||
|
/* B408B0 800C9710 24060000 */ li $a2, 0
|
||
|
/* B408B4 800C9714 0C000DDE */ jal __ull_div
|
||
|
/* B408B8 800C9718 24070BB8 */ li $a3, 3000
|
||
|
/* B408BC 800C971C 3C048014 */ lui $a0, %hi(D_801461F0) # $a0, 0x8014
|
||
|
/* B408C0 800C9720 248461F0 */ addiu $a0, %lo(D_801461F0) # addiu $a0, $a0, 0x61f0
|
||
|
/* B408C4 800C9724 0C00084C */ jal osSyncPrintf
|
||
|
/* B408C8 800C9728 00602825 */ move $a1, $v1
|
||
|
.L800C972C:
|
||
|
/* B408CC 800C972C 0C0323B7 */ jal func_800C8EDC
|
||
|
/* B408D0 800C9730 02002025 */ move $a0, $s0
|
||
|
/* B408D4 800C9734 1000FFCC */ b .L800C9668
|
||
|
/* B408D8 800C9738 8E2E0000 */ lw $t6, ($s1)
|
||
|
.L800C973C:
|
||
|
/* B408DC 800C973C 8E390000 */ lw $t9, ($s1)
|
||
|
/* B408E0 800C9740 13200011 */ beqz $t9, .L800C9788
|
||
|
/* B408E4 800C9744 00000000 */ nop
|
||
|
/* B408E8 800C9748 0C001A78 */ jal osGetTime
|
||
|
/* B408EC 800C974C 00000000 */ nop
|
||
|
/* B408F0 800C9750 00402025 */ move $a0, $v0
|
||
|
/* B408F4 800C9754 00602825 */ move $a1, $v1
|
||
|
/* B408F8 800C9758 24060000 */ li $a2, 0
|
||
|
/* B408FC 800C975C 0C000E1E */ jal __ll_mul
|
||
|
/* B40900 800C9760 24070040 */ li $a3, 64
|
||
|
/* B40904 800C9764 00402025 */ move $a0, $v0
|
||
|
/* B40908 800C9768 00602825 */ move $a1, $v1
|
||
|
/* B4090C 800C976C 24060000 */ li $a2, 0
|
||
|
/* B40910 800C9770 0C000DDE */ jal __ull_div
|
||
|
/* B40914 800C9774 24070BB8 */ li $a3, 3000
|
||
|
/* B40918 800C9778 3C048014 */ lui $a0, %hi(D_80146200) # $a0, 0x8014
|
||
|
/* B4091C 800C977C 24846200 */ addiu $a0, %lo(D_80146200) # addiu $a0, $a0, 0x6200
|
||
|
/* B40920 800C9780 0C00084C */ jal osSyncPrintf
|
||
|
/* B40924 800C9784 00602825 */ move $a1, $v1
|
||
|
.L800C9788:
|
||
|
/* B40928 800C9788 0C03246F */ jal func_800C91BC
|
||
|
/* B4092C 800C978C 02002025 */ move $a0, $s0
|
||
|
/* B40930 800C9790 1000FFB5 */ b .L800C9668
|
||
|
/* B40934 800C9794 8E2E0000 */ lw $t6, ($s1)
|
||
|
.L800C9798:
|
||
|
/* B40938 800C9798 8E280000 */ lw $t0, ($s1)
|
||
|
/* B4093C 800C979C 11000011 */ beqz $t0, .L800C97E4
|
||
|
/* B40940 800C97A0 00000000 */ nop
|
||
|
/* B40944 800C97A4 0C001A78 */ jal osGetTime
|
||
|
/* B40948 800C97A8 00000000 */ nop
|
||
|
/* B4094C 800C97AC 00402025 */ move $a0, $v0
|
||
|
/* B40950 800C97B0 00602825 */ move $a1, $v1
|
||
|
/* B40954 800C97B4 24060000 */ li $a2, 0
|
||
|
/* B40958 800C97B8 0C000E1E */ jal __ll_mul
|
||
|
/* B4095C 800C97BC 24070040 */ li $a3, 64
|
||
|
/* B40960 800C97C0 00402025 */ move $a0, $v0
|
||
|
/* B40964 800C97C4 00602825 */ move $a1, $v1
|
||
|
/* B40968 800C97C8 24060000 */ li $a2, 0
|
||
|
/* B4096C 800C97CC 0C000DDE */ jal __ull_div
|
||
|
/* B40970 800C97D0 24070BB8 */ li $a3, 3000
|
||
|
/* B40974 800C97D4 3C048014 */ lui $a0, %hi(D_80146214) # $a0, 0x8014
|
||
|
/* B40978 800C97D8 24846214 */ addiu $a0, %lo(D_80146214) # addiu $a0, $a0, 0x6214
|
||
|
/* B4097C 800C97DC 0C00084C */ jal osSyncPrintf
|
||
|
/* B40980 800C97E0 00602825 */ move $a1, $v1
|
||
|
.L800C97E4:
|
||
|
/* B40984 800C97E4 0C03252D */ jal func_800C94B4
|
||
|
/* B40988 800C97E8 02002025 */ move $a0, $s0
|
||
|
/* B4098C 800C97EC 1000FF9E */ b .L800C9668
|
||
|
/* B40990 800C97F0 8E2E0000 */ lw $t6, ($s1)
|
||
|
.L800C97F4:
|
||
|
/* B40994 800C97F4 85220000 */ lh $v0, ($t1)
|
||
|
/* B40998 800C97F8 24010001 */ li $at, 1
|
||
|
/* B4099C 800C97FC 10410007 */ beq $v0, $at, .L800C981C
|
||
|
/* B409A0 800C9800 24010003 */ li $at, 3
|
||
|
/* B409A4 800C9804 1041000D */ beq $v0, $at, .L800C983C
|
||
|
/* B409A8 800C9808 24010004 */ li $at, 4
|
||
|
/* B409AC 800C980C 10410007 */ beq $v0, $at, .L800C982C
|
||
|
/* B409B0 800C9810 00000000 */ nop
|
||
|
/* B409B4 800C9814 1000FF94 */ b .L800C9668
|
||
|
/* B409B8 800C9818 8E2E0000 */ lw $t6, ($s1)
|
||
|
.L800C981C:
|
||
|
/* B409BC 800C981C 0C032406 */ jal func_800C9018
|
||
|
/* B409C0 800C9820 02002025 */ move $a0, $s0
|
||
|
/* B409C4 800C9824 1000FF90 */ b .L800C9668
|
||
|
/* B409C8 800C9828 8E2E0000 */ lw $t6, ($s1)
|
||
|
.L800C982C:
|
||
|
/* B409CC 800C982C 0C03214D */ jal func_800C8534
|
||
|
/* B409D0 800C9830 02002025 */ move $a0, $s0
|
||
|
/* B409D4 800C9834 1000FF8C */ b .L800C9668
|
||
|
/* B409D8 800C9838 8E2E0000 */ lw $t6, ($s1)
|
||
|
.L800C983C:
|
||
|
/* B409DC 800C983C 0C0321F3 */ jal func_800C87CC
|
||
|
/* B409E0 800C9840 02002025 */ move $a0, $s0
|
||
|
/* B409E4 800C9844 1000FF88 */ b .L800C9668
|
||
|
/* B409E8 800C9848 8E2E0000 */ lw $t6, ($s1)
|
||
|
/* B409F0 800C984C 00000000 */ nop
|
||
|
/* B409F0 800C9850 00000000 */ nop
|
||
|
/* B409F4 800C9854 00000000 */ nop
|
||
|
/* B409F8 800C9858 00000000 */ nop
|
||
|
/* B409FC 800C985C 00000000 */ nop
|
||
|
/* B40A00 800C9860 8FBF001C */ lw $ra, 0x1c($sp)
|
||
|
/* B40A04 800C9864 8FB00014 */ lw $s0, 0x14($sp)
|
||
|
/* B40A08 800C9868 8FB10018 */ lw $s1, 0x18($sp)
|
||
|
/* B40A0C 800C986C 03E00008 */ jr $ra
|
||
|
/* B40A10 800C9870 27BD0048 */ addiu $sp, $sp, 0x48
|
||
|
|