mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 01:12:28 +01:00
30 lines
1.4 KiB
ArmAsm
30 lines
1.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel rcp
|
|
/* 460C8 8006ACC8 3C11A430 */ lui $s1, 0xa430
|
|
/* 460CC 8006ACCC 8E310008 */ lw $s1, 8($s1)
|
|
/* 460D0 8006ACD0 3C088009 */ lui $t0, 0x8009
|
|
/* 460D4 8006ACD4 25085900 */ addiu $t0, $t0, 0x5900
|
|
/* 460D8 8006ACD8 8D080000 */ lw $t0, ($t0)
|
|
/* 460DC 8006ACDC 00084402 */ srl $t0, $t0, 0x10
|
|
/* 460E0 8006ACE0 02288824 */ and $s1, $s1, $t0
|
|
/* 460E4 8006ACE4 32290001 */ andi $t1, $s1, 1
|
|
/* 460E8 8006ACE8 11200014 */ beqz $t1, vi
|
|
/* 460EC 8006ACEC 00000000 */ nop
|
|
/* 460F0 8006ACF0 3231003E */ andi $s1, $s1, 0x3e
|
|
/* 460F4 8006ACF4 3C0CA404 */ lui $t4, 0xa404
|
|
/* 460F8 8006ACF8 8D8C0010 */ lw $t4, 0x10($t4)
|
|
/* 460FC 8006ACFC 34098008 */ ori $t1, $zero, 0x8008
|
|
/* 46100 8006AD00 3C01A404 */ lui $at, 0xa404
|
|
/* 46104 8006AD04 AC290010 */ sw $t1, 0x10($at)
|
|
/* 46108 8006AD08 318C0300 */ andi $t4, $t4, 0x300
|
|
/* 4610C 8006AD0C 11800007 */ beqz $t4, sp_other_break
|
|
/* 46110 8006AD10 00000000 */ nop
|
|
/* 46114 8006AD14 0C01ABDF */ jal send_mesg
|
|
/* 46118 8006AD18 24040020 */ addiu $a0, $zero, 0x20
|
|
/* 4611C 8006AD1C 12200044 */ beqz $s1, NoMoreRcpInts
|
|
/* 46120 8006AD20 00000000 */ nop
|
|
/* 46124 8006AD24 10000005 */ b vi
|
|
/* 46128 8006AD28 00000000 */ nop
|