mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
oopz
This commit is contained in:
parent
5121395a7e
commit
fc1361c4b8
@ -1,44 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel ActorExists
|
||||
/* 19C73C 8026DE5C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 19C740 8026DE60 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19C744 8026DE64 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 19C748 8026DE68 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 19C74C 8026DE6C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 19C750 8026DE70 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19C754 8026DE74 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19C758 8026DE78 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 19C75C 8026DE7C 3C13800E */ lui $s3, 0x800e
|
||||
/* 19C760 8026DE80 8E73C14C */ lw $s3, -0x3eb4($s3)
|
||||
/* 19C764 8026DE84 8E250000 */ lw $a1, ($s1)
|
||||
/* 19C768 8026DE88 0C0B1EAF */ jal get_variable
|
||||
/* 19C76C 8026DE8C 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19C770 8026DE90 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19C774 8026DE94 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19C778 8026DE98 16020002 */ bne $s0, $v0, .L8026DEA4
|
||||
/* 19C77C 8026DE9C 00000000 */ nop
|
||||
/* 19C780 8026DEA0 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L8026DEA4:
|
||||
/* 19C784 8026DEA4 0C09A75B */ jal get_actor
|
||||
/* 19C788 8026DEA8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 19C78C 8026DEAC 0002302B */ sltu $a2, $zero, $v0
|
||||
/* 19C790 8026DEB0 24020100 */ addiu $v0, $zero, 0x100
|
||||
/* 19C794 8026DEB4 16020003 */ bne $s0, $v0, .L8026DEC4
|
||||
/* 19C798 8026DEB8 00000000 */ nop
|
||||
/* 19C79C 8026DEBC 52600001 */ beql $s3, $zero, .L8026DEC4
|
||||
/* 19C7A0 8026DEC0 0000302D */ daddu $a2, $zero, $zero
|
||||
.L8026DEC4:
|
||||
/* 19C7A4 8026DEC4 8E250000 */ lw $a1, ($s1)
|
||||
/* 19C7A8 8026DEC8 0C0B2026 */ jal set_variable
|
||||
/* 19C7AC 8026DECC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19C7B0 8026DED0 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 19C7B4 8026DED4 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 19C7B8 8026DED8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19C7BC 8026DEDC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19C7C0 8026DEE0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19C7C4 8026DEE4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19C7C8 8026DEE8 03E00008 */ jr $ra
|
||||
/* 19C7CC 8026DEEC 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetActorLevel
|
||||
/* 1AE628 8027FD48 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1AE62C 8027FD4C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1AE630 8027FD50 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1AE634 8027FD54 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1AE638 8027FD58 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1AE63C 8027FD5C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 1AE640 8027FD60 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AE644 8027FD64 0C0B1EAF */ jal get_variable
|
||||
/* 1AE648 8027FD68 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1AE64C 8027FD6C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1AE650 8027FD70 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1AE654 8027FD74 14820002 */ bne $a0, $v0, .L8027FD80
|
||||
/* 1AE658 8027FD78 00000000 */ nop
|
||||
/* 1AE65C 8027FD7C 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L8027FD80:
|
||||
/* 1AE660 8027FD80 0C09A75B */ jal get_actor
|
||||
/* 1AE664 8027FD84 8E100000 */ lw $s0, ($s0)
|
||||
/* 1AE668 8027FD88 8C420008 */ lw $v0, 8($v0)
|
||||
/* 1AE66C 8027FD8C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AE670 8027FD90 90460006 */ lbu $a2, 6($v0)
|
||||
/* 1AE674 8027FD94 0C0B2026 */ jal set_variable
|
||||
/* 1AE678 8027FD98 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1AE67C 8027FD9C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1AE680 8027FDA0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1AE684 8027FDA4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AE688 8027FDA8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AE68C 8027FDAC 03E00008 */ jr $ra
|
||||
/* 1AE690 8027FDB0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
Loading…
Reference in New Issue
Block a user