mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
30 lines
1.0 KiB
ArmAsm
30 lines
1.0 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
|
||
|
glabel func_8011BE14
|
||
|
/* 0B2514 8011BE14 14800005 */ bnez $a0, .L8011BE2C
|
||
|
/* 0B2518 8011BE18 0000282D */ daddu $a1, $zero, $zero
|
||
|
/* 0B251C 8011BE1C 03E00008 */ jr $ra
|
||
|
/* 0B2520 8011BE20 24020001 */ addiu $v0, $zero, 1
|
||
|
|
||
|
.L8011BE24:
|
||
|
/* 0B2524 8011BE24 03E00008 */ jr $ra
|
||
|
/* 0B2528 8011BE28 0000102D */ daddu $v0, $zero, $zero
|
||
|
|
||
|
.L8011BE2C:
|
||
|
/* 0B252C 8011BE2C 3C068015 */ lui $a2, 0x8015
|
||
|
/* 0B2530 8011BE30 24C6B768 */ addiu $a2, $a2, -0x4898
|
||
|
.L8011BE34:
|
||
|
/* 0B2534 8011BE34 8C830000 */ lw $v1, ($a0)
|
||
|
/* 0B2538 8011BE38 8CC20000 */ lw $v0, ($a2)
|
||
|
/* 0B253C 8011BE3C 1462FFF9 */ bne $v1, $v0, .L8011BE24
|
||
|
/* 0B2540 8011BE40 24A50001 */ addiu $a1, $a1, 1
|
||
|
/* 0B2544 8011BE44 24840004 */ addiu $a0, $a0, 4
|
||
|
/* 0B2548 8011BE48 28A20010 */ slti $v0, $a1, 0x10
|
||
|
/* 0B254C 8011BE4C 1440FFF9 */ bnez $v0, .L8011BE34
|
||
|
/* 0B2550 8011BE50 24C60004 */ addiu $a2, $a2, 4
|
||
|
/* 0B2554 8011BE54 03E00008 */ jr $ra
|
||
|
/* 0B2558 8011BE58 24020001 */ addiu $v0, $zero, 1
|
||
|
|