2020-09-24 05:16:13 +02:00
|
|
|
.set noat # allow manual use of $at
|
|
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
2021-01-20 16:42:05 +01:00
|
|
|
glabel init_entity_models
|
2020-09-28 03:13:56 +02:00
|
|
|
/* B7358 80120C58 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
|
|
/* B735C 80120C5C 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* B7360 80120C60 80420070 */ lb $v0, 0x70($v0)
|
|
|
|
/* B7364 80120C64 14400005 */ bnez $v0, .L80120C7C
|
2021-01-12 16:42:27 +01:00
|
|
|
/* B7368 80120C68 00000000 */ nop
|
2021-01-20 16:42:05 +01:00
|
|
|
/* B736C 80120C6C 3C028015 */ lui $v0, %hi(gWorldEntityModelList)
|
|
|
|
/* B7370 80120C70 24423B70 */ addiu $v0, $v0, %lo(gWorldEntityModelList)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* B7374 80120C74 08048321 */ j .L80120C84
|
2021-01-12 16:42:27 +01:00
|
|
|
/* B7378 80120C78 00000000 */ nop
|
2020-09-24 05:16:13 +02:00
|
|
|
.L80120C7C:
|
2021-01-20 16:42:05 +01:00
|
|
|
/* B737C 80120C7C 3C028015 */ lui $v0, %hi(gBattleEntityModelList)
|
|
|
|
/* B7380 80120C80 24423F70 */ addiu $v0, $v0, %lo(gBattleEntityModelList)
|
2020-09-24 05:16:13 +02:00
|
|
|
.L80120C84:
|
2021-01-20 16:42:05 +01:00
|
|
|
/* B7384 80120C84 3C018015 */ lui $at, %hi(gCurrentEntityModelList)
|
|
|
|
/* B7388 80120C88 AC224370 */ sw $v0, %lo(gCurrentEntityModelList)($at)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* B738C 80120C8C 2402000A */ addiu $v0, $zero, 0xa
|
2020-11-29 08:13:07 +01:00
|
|
|
/* B7390 80120C90 3C018015 */ lui $at, %hi(D_8015437C)
|
|
|
|
/* B7394 80120C94 AC22437C */ sw $v0, %lo(D_8015437C)($at)
|
|
|
|
/* B7398 80120C98 3C018015 */ lui $at, %hi(D_80154380)
|
|
|
|
/* B739C 80120C9C AC224380 */ sw $v0, %lo(D_80154380)($at)
|
|
|
|
/* B73A0 80120CA0 3C018015 */ lui $at, %hi(D_80154384)
|
|
|
|
/* B73A4 80120CA4 AC224384 */ sw $v0, %lo(D_80154384)($at)
|
|
|
|
/* B73A8 80120CA8 3C018015 */ lui $at, %hi(D_80154388)
|
|
|
|
/* B73AC 80120CAC AC224388 */ sw $v0, %lo(D_80154388)($at)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* B73B0 80120CB0 24020320 */ addiu $v0, $zero, 0x320
|
2020-11-29 08:13:07 +01:00
|
|
|
/* B73B4 80120CB4 3C018015 */ lui $at, %hi(D_8015438C)
|
|
|
|
/* B73B8 80120CB8 AC22438C */ sw $v0, %lo(D_8015438C)($at)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* B73BC 80120CBC 240203E8 */ addiu $v0, $zero, 0x3e8
|
2021-01-20 16:42:05 +01:00
|
|
|
/* B73C0 80120CC0 3C018015 */ lui $at, %hi(gEntityModelCount)
|
|
|
|
/* B73C4 80120CC4 AC201318 */ sw $zero, %lo(gEntityModelCount)($at)
|
2020-11-29 08:13:07 +01:00
|
|
|
/* B73C8 80120CC8 3C018015 */ lui $at, %hi(D_80154378)
|
|
|
|
/* B73CC 80120CCC AC204378 */ sw $zero, %lo(D_80154378)($at)
|
|
|
|
/* B73D0 80120CD0 3C018015 */ lui $at, %hi(D_80154390)
|
|
|
|
/* B73D4 80120CD4 AC224390 */ sw $v0, %lo(D_80154390)($at)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* B73D8 80120CD8 03E00008 */ jr $ra
|
2021-01-12 16:42:27 +01:00
|
|
|
/* B73DC 80120CDC 00000000 */ nop
|