papermario/asm/nonmatchings/code_16c8e0/set_cam_zoffset.s
2020-08-12 22:37:16 -04:00

16 lines
509 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel set_cam_zoffset
/* 17CEC0 8024E5E0 3C028028 */ lui $v0, 0x8028
/* 17CEC4 8024E5E4 80420CE0 */ lb $v0, 0xce0($v0)
/* 17CEC8 8024E5E8 14400003 */ bnez $v0, .L8024E5F8
/* 17CECC 8024E5EC 00000000 */ nop
/* 17CED0 8024E5F0 3C01802A */ lui $at, 0x802a
/* 17CED4 8024E5F4 A424F286 */ sh $a0, -0xd7a($at)
.L8024E5F8:
/* 17CED8 8024E5F8 03E00008 */ jr $ra
/* 17CEDC 8024E5FC 00000000 */ nop