papermario/asm/nonmatchings/code_B4580/func_8011E224.s
2021-01-14 17:06:56 +09:00

69 lines
3.7 KiB
ArmAsm
Generated

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8011E224
/* B4924 8011E224 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* B4928 8011E228 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* B492C 8011E22C 80420070 */ lb $v0, 0x70($v0)
/* B4930 8011E230 14400016 */ bnez $v0, .L8011E28C
/* B4934 8011E234 2404FFFF */ addiu $a0, $zero, -1
/* B4938 8011E238 3C028015 */ lui $v0, %hi(D_801539C0)
/* B493C 8011E23C 244239C0 */ addiu $v0, $v0, %lo(D_801539C0)
/* B4940 8011E240 3C018015 */ lui $at, %hi(gCurrentAnimMeshListPtr)
/* B4944 8011E244 AC223A40 */ sw $v0, %lo(gCurrentAnimMeshListPtr)($at)
/* B4948 8011E248 2403005F */ addiu $v1, $zero, 0x5f
/* B494C 8011E24C 3C028015 */ lui $v0, %hi(D_801536B8)
/* B4950 8011E250 244236B8 */ addiu $v0, $v0, %lo(D_801536B8)
.L8011E254:
/* B4954 8011E254 AC440000 */ sw $a0, ($v0)
/* B4958 8011E258 2463FFFF */ addiu $v1, $v1, -1
/* B495C 8011E25C 0461FFFD */ bgez $v1, .L8011E254
/* B4960 8011E260 2442FFF8 */ addiu $v0, $v0, -8
/* B4964 8011E264 2404FFFF */ addiu $a0, $zero, -1
/* B4968 8011E268 2403005F */ addiu $v1, $zero, 0x5f
/* B496C 8011E26C 3C028015 */ lui $v0, %hi(D_801539B8)
/* B4970 8011E270 244239B8 */ addiu $v0, $v0, %lo(D_801539B8)
.L8011E274:
/* B4974 8011E274 AC440000 */ sw $a0, ($v0)
/* B4978 8011E278 2463FFFF */ addiu $v1, $v1, -1
/* B497C 8011E27C 0461FFFD */ bgez $v1, .L8011E274
/* B4980 8011E280 2442FFF8 */ addiu $v0, $v0, -8
/* B4984 8011E284 080478A7 */ j .L8011E29C
/* B4988 8011E288 00000000 */ nop
.L8011E28C:
/* B498C 8011E28C 3C028015 */ lui $v0, %hi(D_80153A00)
/* B4990 8011E290 24423A00 */ addiu $v0, $v0, %lo(D_80153A00)
/* B4994 8011E294 3C018015 */ lui $at, %hi(gCurrentAnimMeshListPtr)
/* B4998 8011E298 AC223A40 */ sw $v0, %lo(gCurrentAnimMeshListPtr)($at)
.L8011E29C:
/* B499C 8011E29C 3C028015 */ lui $v0, %hi(gCurrentAnimMeshListPtr)
/* B49A0 8011E2A0 8C423A40 */ lw $v0, %lo(gCurrentAnimMeshListPtr)($v0)
/* B49A4 8011E2A4 2403000F */ addiu $v1, $zero, 0xf
/* B49A8 8011E2A8 2442003C */ addiu $v0, $v0, 0x3c
.L8011E2AC:
/* B49AC 8011E2AC AC400000 */ sw $zero, ($v0)
/* B49B0 8011E2B0 2463FFFF */ addiu $v1, $v1, -1
/* B49B4 8011E2B4 0461FFFD */ bgez $v1, .L8011E2AC
/* B49B8 8011E2B8 2442FFFC */ addiu $v0, $v0, -4
/* B49BC 8011E2BC 2402000A */ addiu $v0, $zero, 0xa
/* B49C0 8011E2C0 3C018015 */ lui $at, %hi(D_80153A48)
/* B49C4 8011E2C4 AC223A48 */ sw $v0, %lo(D_80153A48)($at)
/* B49C8 8011E2C8 3C018015 */ lui $at, %hi(D_80153A4C)
/* B49CC 8011E2CC AC223A4C */ sw $v0, %lo(D_80153A4C)($at)
/* B49D0 8011E2D0 3C018015 */ lui $at, %hi(D_80153A50)
/* B49D4 8011E2D4 AC223A50 */ sw $v0, %lo(D_80153A50)($at)
/* B49D8 8011E2D8 3C018015 */ lui $at, %hi(D_80153A54)
/* B49DC 8011E2DC AC223A54 */ sw $v0, %lo(D_80153A54)($at)
/* B49E0 8011E2E0 24020320 */ addiu $v0, $zero, 0x320
/* B49E4 8011E2E4 3C018015 */ lui $at, %hi(D_80153A58)
/* B49E8 8011E2E8 AC223A58 */ sw $v0, %lo(D_80153A58)($at)
/* B49EC 8011E2EC 240203E8 */ addiu $v0, $zero, 0x3e8
/* B49F0 8011E2F0 3C018015 */ lui $at, %hi(D_801512D4)
/* B49F4 8011E2F4 AC2012D4 */ sw $zero, %lo(D_801512D4)($at)
/* B49F8 8011E2F8 3C018015 */ lui $at, %hi(D_80153A44)
/* B49FC 8011E2FC AC203A44 */ sw $zero, %lo(D_80153A44)($at)
/* B4A00 8011E300 3C018015 */ lui $at, %hi(D_80153A5C)
/* B4A04 8011E304 AC223A5C */ sw $v0, %lo(D_80153A5C)($at)
/* B4A08 8011E308 03E00008 */ jr $ra
/* B4A0C 8011E30C 00000000 */ nop