mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
116 lines
5.2 KiB
ArmAsm
116 lines
5.2 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
|
||
|
glabel func_800F13B0
|
||
|
/* 08A860 800F13B0 3C028011 */ lui $v0, 0x8011
|
||
|
/* 08A864 800F13B4 8042D68E */ lb $v0, -0x2972($v0)
|
||
|
/* 08A868 800F13B8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||
|
/* 08A86C 800F13BC AFBF0018 */ sw $ra, 0x18($sp)
|
||
|
/* 08A870 800F13C0 AFB10014 */ sw $s1, 0x14($sp)
|
||
|
/* 08A874 800F13C4 1040001A */ beqz $v0, .L800F1430
|
||
|
/* 08A878 800F13C8 AFB00010 */ sw $s0, 0x10($sp)
|
||
|
/* 08A87C 800F13CC 3C028011 */ lui $v0, 0x8011
|
||
|
/* 08A880 800F13D0 8C42D69C */ lw $v0, -0x2964($v0)
|
||
|
/* 08A884 800F13D4 8C430318 */ lw $v1, 0x318($v0)
|
||
|
/* 08A888 800F13D8 2C62000E */ sltiu $v0, $v1, 0xe
|
||
|
/* 08A88C 800F13DC 10400012 */ beqz $v0, .L800F1428
|
||
|
/* 08A890 800F13E0 00031080 */ sll $v0, $v1, 2
|
||
|
/* 08A894 800F13E4 3C018011 */ lui $at, 0x8011
|
||
|
/* 08A898 800F13E8 00220821 */ addu $at, $at, $v0
|
||
|
/* 08A89C 800F13EC 8C22C330 */ lw $v0, -0x3cd0($at)
|
||
|
/* 08A8A0 800F13F0 00400008 */ jr $v0
|
||
|
/* 08A8A4 800F13F4 00000000 */ nop
|
||
|
/* 08A8A8 800F13F8 2404000E */ addiu $a0, $zero, 0xe
|
||
|
/* 08A8AC 800F13FC 3C108014 */ lui $s0, 0x8014
|
||
|
/* 08A8B0 800F1400 26107574 */ addiu $s0, $s0, 0x7574
|
||
|
/* 08A8B4 800F1404 0C051F9F */ jal func_80147E7C
|
||
|
/* 08A8B8 800F1408 0200282D */ daddu $a1, $s0, $zero
|
||
|
/* 08A8BC 800F140C 0803C506 */ j .L800F1418
|
||
|
/* 08A8C0 800F1410 24040013 */ addiu $a0, $zero, 0x13
|
||
|
|
||
|
/* 08A8C4 800F1414 2404000E */ addiu $a0, $zero, 0xe
|
||
|
.L800F1418:
|
||
|
/* 08A8C8 800F1418 3C058014 */ lui $a1, 0x8014
|
||
|
/* 08A8CC 800F141C 24A57574 */ addiu $a1, $a1, 0x7574
|
||
|
/* 08A8D0 800F1420 0C051F9F */ jal func_80147E7C
|
||
|
/* 08A8D4 800F1424 00000000 */ nop
|
||
|
.L800F1428:
|
||
|
/* 08A8D8 800F1428 0803C51D */ j .L800F1474
|
||
|
/* 08A8DC 800F142C 24040015 */ addiu $a0, $zero, 0x15
|
||
|
|
||
|
.L800F1430:
|
||
|
/* 08A8E0 800F1430 3C028011 */ lui $v0, 0x8011
|
||
|
/* 08A8E4 800F1434 8C42D69C */ lw $v0, -0x2964($v0)
|
||
|
/* 08A8E8 800F1438 8C430318 */ lw $v1, 0x318($v0)
|
||
|
/* 08A8EC 800F143C 2C62000E */ sltiu $v0, $v1, 0xe
|
||
|
/* 08A8F0 800F1440 1040000E */ beqz $v0, .L800F147C
|
||
|
/* 08A8F4 800F1444 00031080 */ sll $v0, $v1, 2
|
||
|
/* 08A8F8 800F1448 3C018011 */ lui $at, 0x8011
|
||
|
/* 08A8FC 800F144C 00220821 */ addu $at, $at, $v0
|
||
|
/* 08A900 800F1450 8C22C368 */ lw $v0, -0x3c98($at)
|
||
|
/* 08A904 800F1454 00400008 */ jr $v0
|
||
|
/* 08A908 800F1458 00000000 */ nop
|
||
|
/* 08A90C 800F145C 2404000E */ addiu $a0, $zero, 0xe
|
||
|
/* 08A910 800F1460 0C051F9F */ jal func_80147E7C
|
||
|
/* 08A914 800F1464 24050002 */ addiu $a1, $zero, 2
|
||
|
/* 08A918 800F1468 0803C51D */ j .L800F1474
|
||
|
/* 08A91C 800F146C 24040013 */ addiu $a0, $zero, 0x13
|
||
|
|
||
|
/* 08A920 800F1470 2404000E */ addiu $a0, $zero, 0xe
|
||
|
.L800F1474:
|
||
|
/* 08A924 800F1474 0C051F9F */ jal func_80147E7C
|
||
|
/* 08A928 800F1478 24050002 */ addiu $a1, $zero, 2
|
||
|
.L800F147C:
|
||
|
/* 08A92C 800F147C 3C118011 */ lui $s1, 0x8011
|
||
|
/* 08A930 800F1480 2631D69C */ addiu $s1, $s1, -0x2964
|
||
|
/* 08A934 800F1484 8E220000 */ lw $v0, ($s1)
|
||
|
/* 08A938 800F1488 8C430318 */ lw $v1, 0x318($v0)
|
||
|
/* 08A93C 800F148C 24020003 */ addiu $v0, $zero, 3
|
||
|
/* 08A940 800F1490 14620008 */ bne $v1, $v0, .L800F14B4
|
||
|
/* 08A944 800F1494 24040010 */ addiu $a0, $zero, 0x10
|
||
|
/* 08A948 800F1498 3C108014 */ lui $s0, 0x8014
|
||
|
/* 08A94C 800F149C 26107574 */ addiu $s0, $s0, 0x7574
|
||
|
/* 08A950 800F14A0 0C051F9F */ jal func_80147E7C
|
||
|
/* 08A954 800F14A4 0200282D */ daddu $a1, $s0, $zero
|
||
|
/* 08A958 800F14A8 24040014 */ addiu $a0, $zero, 0x14
|
||
|
/* 08A95C 800F14AC 0C051F9F */ jal func_80147E7C
|
||
|
/* 08A960 800F14B0 0200282D */ daddu $a1, $s0, $zero
|
||
|
.L800F14B4:
|
||
|
/* 08A964 800F14B4 8E220000 */ lw $v0, ($s1)
|
||
|
/* 08A968 800F14B8 8C430318 */ lw $v1, 0x318($v0)
|
||
|
/* 08A96C 800F14BC 24020004 */ addiu $v0, $zero, 4
|
||
|
/* 08A970 800F14C0 14620005 */ bne $v1, $v0, .L800F14D8
|
||
|
/* 08A974 800F14C4 00000000 */ nop
|
||
|
/* 08A978 800F14C8 3C058014 */ lui $a1, 0x8014
|
||
|
/* 08A97C 800F14CC 24A57574 */ addiu $a1, $a1, 0x7574
|
||
|
/* 08A980 800F14D0 0C051F9F */ jal func_80147E7C
|
||
|
/* 08A984 800F14D4 24040012 */ addiu $a0, $zero, 0x12
|
||
|
.L800F14D8:
|
||
|
/* 08A988 800F14D8 8E220000 */ lw $v0, ($s1)
|
||
|
/* 08A98C 800F14DC 8C430318 */ lw $v1, 0x318($v0)
|
||
|
/* 08A990 800F14E0 24020005 */ addiu $v0, $zero, 5
|
||
|
/* 08A994 800F14E4 14620008 */ bne $v1, $v0, .L800F1508
|
||
|
/* 08A998 800F14E8 24040010 */ addiu $a0, $zero, 0x10
|
||
|
/* 08A99C 800F14EC 3C108014 */ lui $s0, 0x8014
|
||
|
/* 08A9A0 800F14F0 26107574 */ addiu $s0, $s0, 0x7574
|
||
|
/* 08A9A4 800F14F4 0C051F9F */ jal func_80147E7C
|
||
|
/* 08A9A8 800F14F8 0200282D */ daddu $a1, $s0, $zero
|
||
|
/* 08A9AC 800F14FC 24040014 */ addiu $a0, $zero, 0x14
|
||
|
/* 08A9B0 800F1500 0C051F9F */ jal func_80147E7C
|
||
|
/* 08A9B4 800F1504 0200282D */ daddu $a1, $s0, $zero
|
||
|
.L800F1508:
|
||
|
/* 08A9B8 800F1508 3C038011 */ lui $v1, 0x8011
|
||
|
/* 08A9BC 800F150C 8063D692 */ lb $v1, -0x296e($v1)
|
||
|
/* 08A9C0 800F1510 8FBF0018 */ lw $ra, 0x18($sp)
|
||
|
/* 08A9C4 800F1514 8FB10014 */ lw $s1, 0x14($sp)
|
||
|
/* 08A9C8 800F1518 8FB00010 */ lw $s0, 0x10($sp)
|
||
|
/* 08A9CC 800F151C 2402000A */ addiu $v0, $zero, 0xa
|
||
|
/* 08A9D0 800F1520 3C018011 */ lui $at, 0x8011
|
||
|
/* 08A9D4 800F1524 AC22D640 */ sw $v0, -0x29c0($at)
|
||
|
/* 08A9D8 800F1528 3C018011 */ lui $at, 0x8011
|
||
|
/* 08A9DC 800F152C AC23D644 */ sw $v1, -0x29bc($at)
|
||
|
/* 08A9E0 800F1530 03E00008 */ jr $ra
|
||
|
/* 08A9E4 800F1534 27BD0020 */ addiu $sp, $sp, 0x20
|
||
|
|