mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 13:02:41 +01:00
83 lines
3.7 KiB
ArmAsm
83 lines
3.7 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel DispatchEvent
|
|
/* 1ABB44 8027D264 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 1ABB48 8027D268 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 1ABB4C 8027D26C 0080882D */ daddu $s1, $a0, $zero
|
|
/* 1ABB50 8027D270 AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 1ABB54 8027D274 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 1ABB58 8027D278 8E30000C */ lw $s0, 0xc($s1)
|
|
/* 1ABB5C 8027D27C 8E050000 */ lw $a1, ($s0)
|
|
/* 1ABB60 8027D280 0C0B1EAF */ jal get_variable
|
|
/* 1ABB64 8027D284 26100004 */ addiu $s0, $s0, 4
|
|
/* 1ABB68 8027D288 0040202D */ daddu $a0, $v0, $zero
|
|
/* 1ABB6C 8027D28C 2402FF81 */ addiu $v0, $zero, -0x7f
|
|
/* 1ABB70 8027D290 14820002 */ bne $a0, $v0, .L8027D29C
|
|
/* 1ABB74 8027D294 00000000 */ nop
|
|
/* 1ABB78 8027D298 8E240148 */ lw $a0, 0x148($s1)
|
|
.L8027D29C:
|
|
/* 1ABB7C 8027D29C 0C09A75B */ jal get_actor
|
|
/* 1ABB80 8027D2A0 00000000 */ nop
|
|
/* 1ABB84 8027D2A4 0220202D */ daddu $a0, $s1, $zero
|
|
/* 1ABB88 8027D2A8 8E050000 */ lw $a1, ($s0)
|
|
/* 1ABB8C 8027D2AC 0C0B1EAF */ jal get_variable
|
|
/* 1ABB90 8027D2B0 0040802D */ daddu $s0, $v0, $zero
|
|
/* 1ABB94 8027D2B4 0200202D */ daddu $a0, $s0, $zero
|
|
/* 1ABB98 8027D2B8 0C09DC58 */ jal dispatch_event_actor
|
|
/* 1ABB9C 8027D2BC 0040282D */ daddu $a1, $v0, $zero
|
|
/* 1ABBA0 8027D2C0 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 1ABBA4 8027D2C4 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 1ABBA8 8027D2C8 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 1ABBAC 8027D2CC 24020002 */ addiu $v0, $zero, 2
|
|
/* 1ABBB0 8027D2D0 03E00008 */ jr $ra
|
|
/* 1ABBB4 8027D2D4 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|
|
/* 1ABBB8 8027D2D8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 1ABBBC 8027D2DC AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 1ABBC0 8027D2E0 0080802D */ daddu $s0, $a0, $zero
|
|
/* 1ABBC4 8027D2E4 AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* 1ABBC8 8027D2E8 8E02000C */ lw $v0, 0xc($s0)
|
|
/* 1ABBCC 8027D2EC 0C0B1EAF */ jal get_variable
|
|
/* 1ABBD0 8027D2F0 8C450000 */ lw $a1, ($v0)
|
|
/* 1ABBD4 8027D2F4 0040202D */ daddu $a0, $v0, $zero
|
|
/* 1ABBD8 8027D2F8 2402FF81 */ addiu $v0, $zero, -0x7f
|
|
/* 1ABBDC 8027D2FC 14820002 */ bne $a0, $v0, .L8027D308
|
|
/* 1ABBE0 8027D300 00000000 */ nop
|
|
/* 1ABBE4 8027D304 8E040148 */ lw $a0, 0x148($s0)
|
|
.L8027D308:
|
|
/* 1ABBE8 8027D308 0C09A75B */ jal get_actor
|
|
/* 1ABBEC 8027D30C 00000000 */ nop
|
|
/* 1ABBF0 8027D310 0C099AB7 */ jal func_80266ADC
|
|
/* 1ABBF4 8027D314 0040202D */ daddu $a0, $v0, $zero
|
|
/* 1ABBF8 8027D318 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* 1ABBFC 8027D31C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 1ABC00 8027D320 24020002 */ addiu $v0, $zero, 2
|
|
/* 1ABC04 8027D324 03E00008 */ jr $ra
|
|
/* 1ABC08 8027D328 27BD0018 */ addiu $sp, $sp, 0x18
|
|
|
|
/* 1ABC0C 8027D32C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 1ABC10 8027D330 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 1ABC14 8027D334 0080802D */ daddu $s0, $a0, $zero
|
|
/* 1ABC18 8027D338 AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* 1ABC1C 8027D33C 8E02000C */ lw $v0, 0xc($s0)
|
|
/* 1ABC20 8027D340 0C0B1EAF */ jal get_variable
|
|
/* 1ABC24 8027D344 8C450000 */ lw $a1, ($v0)
|
|
/* 1ABC28 8027D348 0040202D */ daddu $a0, $v0, $zero
|
|
/* 1ABC2C 8027D34C 2402FF81 */ addiu $v0, $zero, -0x7f
|
|
/* 1ABC30 8027D350 14820002 */ bne $a0, $v0, .L8027D35C
|
|
/* 1ABC34 8027D354 00000000 */ nop
|
|
/* 1ABC38 8027D358 8E040148 */ lw $a0, 0x148($s0)
|
|
.L8027D35C:
|
|
/* 1ABC3C 8027D35C 0C09A75B */ jal get_actor
|
|
/* 1ABC40 8027D360 00000000 */ nop
|
|
/* 1ABC44 8027D364 0C099ABE */ jal func_80266AF8
|
|
/* 1ABC48 8027D368 0040202D */ daddu $a0, $v0, $zero
|
|
/* 1ABC4C 8027D36C 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* 1ABC50 8027D370 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 1ABC54 8027D374 24020002 */ addiu $v0, $zero, 2
|
|
/* 1ABC58 8027D378 03E00008 */ jr $ra
|
|
/* 1ABC5C 8027D37C 27BD0018 */ addiu $sp, $sp, 0x18
|
|
|