papermario/asm/nonmatchings/code_1776B0/add_cam_zoom.s

17 lines
738 B
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
2020-08-04 08:49:11 +02:00
.set noreorder # don't insert nops after branches
glabel add_cam_zoom
2020-11-29 08:13:07 +01:00
/* 17CE94 8024E5B4 3C028028 */ lui $v0, %hi(D_80280CE0)
/* 17CE98 8024E5B8 80420CE0 */ lb $v0, %lo(D_80280CE0)($v0)
2020-09-24 05:16:13 +02:00
/* 17CE9C 8024E5BC 14400006 */ bnez $v0, .L8024E5D8
/* 17CEA0 8024E5C0 00000000 */ nop
2020-11-29 08:13:07 +01:00
/* 17CEA4 8024E5C4 3C03802A */ lui $v1, %hi(D_8029F280)
/* 17CEA8 8024E5C8 2463F280 */ addiu $v1, $v1, %lo(D_8029F280)
2020-09-24 05:16:13 +02:00
/* 17CEAC 8024E5CC 94620000 */ lhu $v0, ($v1)
/* 17CEB0 8024E5D0 00441021 */ addu $v0, $v0, $a0
/* 17CEB4 8024E5D4 A4620000 */ sh $v0, ($v1)
2020-08-04 08:49:11 +02:00
.L8024E5D8:
2020-09-24 05:16:13 +02:00
/* 17CEB8 8024E5D8 03E00008 */ jr $ra
/* 17CEBC 8024E5DC 00000000 */ nop