mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 09:22:30 +01:00
3315d6010f
* all non-world rodata migrated * data disasm * kinda working * updated yaml * bloop * linker header * configure 2.0 * bin * mass rename to remove code_ * pause rename * battle partner stuff * whew * more renames * more renames * more renaming * it builds! * updates * remove main prefix * one more thing * crc, yay0 * .data, .rodata, .bss * img * dead_atan2 * it buildsgit add -A * split battle/partner/6FAD10 * rm &s on sleepy_sheep syms * sha1sum ninja rule description * OK but commented out PaperMarioMapFS and PaperMarioNpcSprites * uncomment * fix mapfs * match func_8003CFB4 * . * clean up and name npc_iter_no_op * npc.c * enable cc warnings * name npc_find_near * use singular options.asset_path * smores * cc_dsl only when needed * kinda fix configure for splat refactor2 * ok! * new msg format * remove old msg format docs * slight bug fixes, splat adjustment * git subrepo pull (merge) --force tools/splat subrepo: subdir: "tools/splat" merged: "cfc140bb76" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "cfc140bb76" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * git subrepo pull (merge) --force tools/splat subrepo: subdir: "tools/splat" merged: "85349befcd" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "85349befcd" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * Update symbol addrs * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "a44631e194" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "a44631e194" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" Co-authored-by: Alex Bates <hi@imalex.xyz>
326 lines
16 KiB
ArmAsm
326 lines
16 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80042E9C
|
|
/* 1E29C 80042E9C 27BDFF58 */ addiu $sp, $sp, -0xa8
|
|
/* 1E2A0 80042EA0 3C03FDFF */ lui $v1, 0xfdff
|
|
/* 1E2A4 80042EA4 AFB40060 */ sw $s4, 0x60($sp)
|
|
/* 1E2A8 80042EA8 3C148011 */ lui $s4, %hi(D_8010F188)
|
|
/* 1E2AC 80042EAC 2694F188 */ addiu $s4, $s4, %lo(D_8010F188)
|
|
/* 1E2B0 80042EB0 AFBF0074 */ sw $ra, 0x74($sp)
|
|
/* 1E2B4 80042EB4 AFBE0070 */ sw $fp, 0x70($sp)
|
|
/* 1E2B8 80042EB8 AFB7006C */ sw $s7, 0x6c($sp)
|
|
/* 1E2BC 80042EBC AFB60068 */ sw $s6, 0x68($sp)
|
|
/* 1E2C0 80042EC0 AFB50064 */ sw $s5, 0x64($sp)
|
|
/* 1E2C4 80042EC4 AFB3005C */ sw $s3, 0x5c($sp)
|
|
/* 1E2C8 80042EC8 AFB20058 */ sw $s2, 0x58($sp)
|
|
/* 1E2CC 80042ECC AFB10054 */ sw $s1, 0x54($sp)
|
|
/* 1E2D0 80042ED0 AFB00050 */ sw $s0, 0x50($sp)
|
|
/* 1E2D4 80042ED4 F7BE00A0 */ sdc1 $f30, 0xa0($sp)
|
|
/* 1E2D8 80042ED8 F7BC0098 */ sdc1 $f28, 0x98($sp)
|
|
/* 1E2DC 80042EDC F7BA0090 */ sdc1 $f26, 0x90($sp)
|
|
/* 1E2E0 80042EE0 F7B80088 */ sdc1 $f24, 0x88($sp)
|
|
/* 1E2E4 80042EE4 F7B60080 */ sdc1 $f22, 0x80($sp)
|
|
/* 1E2E8 80042EE8 F7B40078 */ sdc1 $f20, 0x78($sp)
|
|
/* 1E2EC 80042EEC 8E820000 */ lw $v0, ($s4)
|
|
/* 1E2F0 80042EF0 3463FFFF */ ori $v1, $v1, 0xffff
|
|
/* 1E2F4 80042EF4 00431024 */ and $v0, $v0, $v1
|
|
/* 1E2F8 80042EF8 3C038007 */ lui $v1, %hi(D_800773E0)
|
|
/* 1E2FC 80042EFC 8C6373E0 */ lw $v1, %lo(D_800773E0)($v1)
|
|
/* 1E300 80042F00 3C04800B */ lui $a0, %hi(D_800B1D60)
|
|
/* 1E304 80042F04 24841D60 */ addiu $a0, $a0, %lo(D_800B1D60)
|
|
/* 1E308 80042F08 AE8000C8 */ sw $zero, 0xc8($s4)
|
|
/* 1E30C 80042F0C AE820000 */ sw $v0, ($s4)
|
|
/* 1E310 80042F10 00031080 */ sll $v0, $v1, 2
|
|
/* 1E314 80042F14 00431021 */ addu $v0, $v0, $v1
|
|
/* 1E318 80042F18 00021080 */ sll $v0, $v0, 2
|
|
/* 1E31C 80042F1C 00431023 */ subu $v0, $v0, $v1
|
|
/* 1E320 80042F20 000218C0 */ sll $v1, $v0, 3
|
|
/* 1E324 80042F24 00431021 */ addu $v0, $v0, $v1
|
|
/* 1E328 80042F28 000210C0 */ sll $v0, $v0, 3
|
|
/* 1E32C 80042F2C 0044B821 */ addu $s7, $v0, $a0
|
|
/* 1E330 80042F30 868200B0 */ lh $v0, 0xb0($s4)
|
|
/* 1E334 80042F34 968300B2 */ lhu $v1, 0xb2($s4)
|
|
/* 1E338 80042F38 44823000 */ mtc1 $v0, $f6
|
|
/* 1E33C 80042F3C 00000000 */ nop
|
|
/* 1E340 80042F40 468031A0 */ cvt.s.w $f6, $f6
|
|
/* 1E344 80042F44 00031C00 */ sll $v1, $v1, 0x10
|
|
/* 1E348 80042F48 00031403 */ sra $v0, $v1, 0x10
|
|
/* 1E34C 80042F4C 00031FC2 */ srl $v1, $v1, 0x1f
|
|
/* 1E350 80042F50 00431021 */ addu $v0, $v0, $v1
|
|
/* 1E354 80042F54 00021043 */ sra $v0, $v0, 1
|
|
/* 1E358 80042F58 44824000 */ mtc1 $v0, $f8
|
|
/* 1E35C 80042F5C 00000000 */ nop
|
|
/* 1E360 80042F60 46804220 */ cvt.s.w $f8, $f8
|
|
/* 1E364 80042F64 E7A6003C */ swc1 $f6, 0x3c($sp)
|
|
/* 1E368 80042F68 E7A80040 */ swc1 $f8, 0x40($sp)
|
|
/* 1E36C 80042F6C C6860028 */ lwc1 $f6, 0x28($s4)
|
|
/* 1E370 80042F70 3C028011 */ lui $v0, %hi(D_8010ED70)
|
|
/* 1E374 80042F74 8042ED70 */ lb $v0, %lo(D_8010ED70)($v0)
|
|
/* 1E378 80042F78 E7A60030 */ swc1 $f6, 0x30($sp)
|
|
/* 1E37C 80042F7C C688002C */ lwc1 $f8, 0x2c($s4)
|
|
/* 1E380 80042F80 E7A80034 */ swc1 $f8, 0x34($sp)
|
|
/* 1E384 80042F84 C6860030 */ lwc1 $f6, 0x30($s4)
|
|
/* 1E388 80042F88 144000E6 */ bnez $v0, .L80043324
|
|
/* 1E38C 80042F8C E7A60038 */ swc1 $f6, 0x38($sp)
|
|
/* 1E390 80042F90 0000F02D */ daddu $fp, $zero, $zero
|
|
/* 1E394 80042F94 03C0A82D */ daddu $s5, $fp, $zero
|
|
/* 1E398 80042F98 3C02800B */ lui $v0, %hi(D_800B0F0C)
|
|
/* 1E39C 80042F9C 80420F0C */ lb $v0, %lo(D_800B0F0C)($v0)
|
|
/* 1E3A0 80042FA0 3C01477F */ lui $at, 0x477f
|
|
/* 1E3A4 80042FA4 3421FF00 */ ori $at, $at, 0xff00
|
|
/* 1E3A8 80042FA8 44814000 */ mtc1 $at, $f8
|
|
/* 1E3AC 80042FAC 03C0B02D */ daddu $s6, $fp, $zero
|
|
/* 1E3B0 80042FB0 AFA0002C */ sw $zero, 0x2c($sp)
|
|
/* 1E3B4 80042FB4 184000B8 */ blez $v0, .L80043298
|
|
/* 1E3B8 80042FB8 E7A80048 */ swc1 $f8, 0x48($sp)
|
|
/* 1E3BC 80042FBC 00151080 */ sll $v0, $s5, 2
|
|
.L80042FC0:
|
|
/* 1E3C0 80042FC0 3C08800B */ lui $t0, %hi(D_800B0EF0)
|
|
/* 1E3C4 80042FC4 25080EF0 */ addiu $t0, $t0, %lo(D_800B0EF0)
|
|
/* 1E3C8 80042FC8 01021021 */ addu $v0, $t0, $v0
|
|
/* 1E3CC 80042FCC 8C530028 */ lw $s3, 0x28($v0)
|
|
/* 1E3D0 80042FD0 126000AB */ beqz $s3, .L80043280
|
|
/* 1E3D4 80042FD4 00000000 */ nop
|
|
/* 1E3D8 80042FD8 8E620000 */ lw $v0, ($s3)
|
|
/* 1E3DC 80042FDC 184000A8 */ blez $v0, .L80043280
|
|
/* 1E3E0 80042FE0 0000902D */ daddu $s2, $zero, $zero
|
|
/* 1E3E4 80042FE4 00121080 */ sll $v0, $s2, 2
|
|
.L80042FE8:
|
|
/* 1E3E8 80042FE8 02621021 */ addu $v0, $s3, $v0
|
|
/* 1E3EC 80042FEC 8C510004 */ lw $s1, 4($v0)
|
|
/* 1E3F0 80042FF0 1220009E */ beqz $s1, .L8004326C
|
|
/* 1E3F4 80042FF4 3C028000 */ lui $v0, 0x8000
|
|
/* 1E3F8 80042FF8 8E230000 */ lw $v1, ($s1)
|
|
/* 1E3FC 80042FFC 34420020 */ ori $v0, $v0, 0x20
|
|
/* 1E400 80043000 00621024 */ and $v0, $v1, $v0
|
|
/* 1E404 80043004 14400099 */ bnez $v0, .L8004326C
|
|
/* 1E408 80043008 30620001 */ andi $v0, $v1, 1
|
|
/* 1E40C 8004300C 10400097 */ beqz $v0, .L8004326C
|
|
/* 1E410 80043010 3C020800 */ lui $v0, 0x800
|
|
/* 1E414 80043014 00621024 */ and $v0, $v1, $v0
|
|
/* 1E418 80043018 14400094 */ bnez $v0, .L8004326C
|
|
/* 1E41C 8004301C 00000000 */ nop
|
|
/* 1E420 80043020 8E220020 */ lw $v0, 0x20($s1)
|
|
/* 1E424 80043024 10400091 */ beqz $v0, .L8004326C
|
|
/* 1E428 80043028 00000000 */ nop
|
|
/* 1E42C 8004302C 0C00E9EB */ jal func_8003A7AC
|
|
/* 1E430 80043030 86240008 */ lh $a0, 8($s1)
|
|
/* 1E434 80043034 0040802D */ daddu $s0, $v0, $zero
|
|
/* 1E438 80043038 C45A0038 */ lwc1 $f26, 0x38($v0)
|
|
/* 1E43C 8004303C C7A60030 */ lwc1 $f6, 0x30($sp)
|
|
/* 1E440 80043040 4606D081 */ sub.s $f2, $f26, $f6
|
|
/* 1E444 80043044 46021082 */ mul.s $f2, $f2, $f2
|
|
/* 1E448 80043048 00000000 */ nop
|
|
/* 1E44C 8004304C C61C0040 */ lwc1 $f28, 0x40($s0)
|
|
/* 1E450 80043050 C7A80038 */ lwc1 $f8, 0x38($sp)
|
|
/* 1E454 80043054 4608E001 */ sub.s $f0, $f28, $f8
|
|
/* 1E458 80043058 46000002 */ mul.s $f0, $f0, $f0
|
|
/* 1E45C 8004305C 00000000 */ nop
|
|
/* 1E460 80043060 860200A8 */ lh $v0, 0xa8($s0)
|
|
/* 1E464 80043064 860300A6 */ lh $v1, 0xa6($s0)
|
|
/* 1E468 80043068 44823000 */ mtc1 $v0, $f6
|
|
/* 1E46C 8004306C 00000000 */ nop
|
|
/* 1E470 80043070 468031A0 */ cvt.s.w $f6, $f6
|
|
/* 1E474 80043074 4483F000 */ mtc1 $v1, $f30
|
|
/* 1E478 80043078 00000000 */ nop
|
|
/* 1E47C 8004307C 4680F7A0 */ cvt.s.w $f30, $f30
|
|
/* 1E480 80043080 46001300 */ add.s $f12, $f2, $f0
|
|
/* 1E484 80043084 E7A60044 */ swc1 $f6, 0x44($sp)
|
|
/* 1E488 80043088 C618003C */ lwc1 $f24, 0x3c($s0)
|
|
/* 1E48C 8004308C 46006104 */ sqrt.s $f4, $f12
|
|
/* 1E490 80043090 46042032 */ c.eq.s $f4, $f4
|
|
/* 1E494 80043094 00000000 */ nop
|
|
/* 1E498 80043098 45010004 */ bc1t .L800430AC
|
|
/* 1E49C 8004309C 00000000 */ nop
|
|
/* 1E4A0 800430A0 0C0187B0 */ jal func_80061EC0
|
|
/* 1E4A4 800430A4 00000000 */ nop
|
|
/* 1E4A8 800430A8 46000106 */ mov.s $f4, $f0
|
|
.L800430AC:
|
|
/* 1E4AC 800430AC C7A80040 */ lwc1 $f8, 0x40($sp)
|
|
/* 1E4B0 800430B0 461E4000 */ add.s $f0, $f8, $f30
|
|
/* 1E4B4 800430B4 46002586 */ mov.s $f22, $f4
|
|
/* 1E4B8 800430B8 4616003E */ c.le.s $f0, $f22
|
|
/* 1E4BC 800430BC 00000000 */ nop
|
|
/* 1E4C0 800430C0 4501006A */ bc1t .L8004326C
|
|
/* 1E4C4 800430C4 00000000 */ nop
|
|
/* 1E4C8 800430C8 C7A60044 */ lwc1 $f6, 0x44($sp)
|
|
/* 1E4CC 800430CC 4606C000 */ add.s $f0, $f24, $f6
|
|
/* 1E4D0 800430D0 C7A80034 */ lwc1 $f8, 0x34($sp)
|
|
/* 1E4D4 800430D4 4608003C */ c.lt.s $f0, $f8
|
|
/* 1E4D8 800430D8 00000000 */ nop
|
|
/* 1E4DC 800430DC 45010063 */ bc1t .L8004326C
|
|
/* 1E4E0 800430E0 00000000 */ nop
|
|
/* 1E4E4 800430E4 C7A6003C */ lwc1 $f6, 0x3c($sp)
|
|
/* 1E4E8 800430E8 46064000 */ add.s $f0, $f8, $f6
|
|
/* 1E4EC 800430EC 4618003C */ c.lt.s $f0, $f24
|
|
/* 1E4F0 800430F0 00000000 */ nop
|
|
/* 1E4F4 800430F4 4501005D */ bc1t .L8004326C
|
|
/* 1E4F8 800430F8 00000000 */ nop
|
|
/* 1E4FC 800430FC 0C00A6B9 */ jal func_80029AE4
|
|
/* 1E500 80043100 C68C00A8 */ lwc1 $f12, 0xa8($s4)
|
|
/* 1E504 80043104 3C014334 */ lui $at, 0x4334
|
|
/* 1E508 80043108 44811000 */ mtc1 $at, $f2
|
|
/* 1E50C 8004310C 00000000 */ nop
|
|
/* 1E510 80043110 4602003C */ c.lt.s $f0, $f2
|
|
/* 1E514 80043114 00000000 */ nop
|
|
/* 1E518 80043118 4500000F */ bc1f .L80043158
|
|
/* 1E51C 8004311C 00000000 */ nop
|
|
/* 1E520 80043120 C6EC006C */ lwc1 $f12, 0x6c($s7)
|
|
/* 1E524 80043124 3C0142F0 */ lui $at, 0x42f0
|
|
/* 1E528 80043128 44814000 */ mtc1 $at, $f8
|
|
/* 1E52C 8004312C 0C00A6B9 */ jal func_80029AE4
|
|
/* 1E530 80043130 46086301 */ sub.s $f12, $f12, $f8
|
|
/* 1E534 80043134 8E8200A4 */ lw $v0, 0xa4($s4)
|
|
/* 1E538 80043138 3C080100 */ lui $t0, 0x100
|
|
/* 1E53C 8004313C 00481024 */ and $v0, $v0, $t0
|
|
/* 1E540 80043140 10400016 */ beqz $v0, .L8004319C
|
|
/* 1E544 80043144 46000506 */ mov.s $f20, $f0
|
|
/* 1E548 80043148 3C014270 */ lui $at, 0x4270
|
|
/* 1E54C 8004314C 44813000 */ mtc1 $at, $f6
|
|
/* 1E550 80043150 08010C64 */ j .L80043190
|
|
/* 1E554 80043154 4606A300 */ add.s $f12, $f20, $f6
|
|
.L80043158:
|
|
/* 1E558 80043158 C6EC006C */ lwc1 $f12, 0x6c($s7)
|
|
/* 1E55C 8004315C 3C0142F0 */ lui $at, 0x42f0
|
|
/* 1E560 80043160 44814000 */ mtc1 $at, $f8
|
|
/* 1E564 80043164 0C00A6B9 */ jal func_80029AE4
|
|
/* 1E568 80043168 46086300 */ add.s $f12, $f12, $f8
|
|
/* 1E56C 8004316C 8E8200A4 */ lw $v0, 0xa4($s4)
|
|
/* 1E570 80043170 3C080100 */ lui $t0, 0x100
|
|
/* 1E574 80043174 00481024 */ and $v0, $v0, $t0
|
|
/* 1E578 80043178 10400008 */ beqz $v0, .L8004319C
|
|
/* 1E57C 8004317C 46000506 */ mov.s $f20, $f0
|
|
/* 1E580 80043180 3C014270 */ lui $at, 0x4270
|
|
/* 1E584 80043184 44813000 */ mtc1 $at, $f6
|
|
/* 1E588 80043188 00000000 */ nop
|
|
/* 1E58C 8004318C 4606A301 */ sub.s $f12, $f20, $f6
|
|
.L80043190:
|
|
/* 1E590 80043190 0C00A6B9 */ jal func_80029AE4
|
|
/* 1E594 80043194 00000000 */ nop
|
|
/* 1E598 80043198 46000506 */ mov.s $f20, $f0
|
|
.L8004319C:
|
|
/* 1E59C 8004319C C7AC0030 */ lwc1 $f12, 0x30($sp)
|
|
/* 1E5A0 800431A0 4406D000 */ mfc1 $a2, $f26
|
|
/* 1E5A4 800431A4 4407E000 */ mfc1 $a3, $f28
|
|
/* 1E5A8 800431A8 0C00A710 */ jal func_80029C40
|
|
/* 1E5AC 800431AC C7AE0038 */ lwc1 $f14, 0x38($sp)
|
|
/* 1E5B0 800431B0 4600A306 */ mov.s $f12, $f20
|
|
/* 1E5B4 800431B4 0C00A6FA */ jal func_80029BE8
|
|
/* 1E5B8 800431B8 46000386 */ mov.s $f14, $f0
|
|
/* 1E5BC 800431BC 3C0142B4 */ lui $at, 0x42b4
|
|
/* 1E5C0 800431C0 44811000 */ mtc1 $at, $f2
|
|
/* 1E5C4 800431C4 46000005 */ abs.s $f0, $f0
|
|
/* 1E5C8 800431C8 4600103C */ c.lt.s $f2, $f0
|
|
/* 1E5CC 800431CC 00000000 */ nop
|
|
/* 1E5D0 800431D0 45010026 */ bc1t .L8004326C
|
|
/* 1E5D4 800431D4 3C030001 */ lui $v1, 1
|
|
/* 1E5D8 800431D8 8E220000 */ lw $v0, ($s1)
|
|
/* 1E5DC 800431DC 00431024 */ and $v0, $v0, $v1
|
|
/* 1E5E0 800431E0 14400019 */ bnez $v0, .L80043248
|
|
/* 1E5E4 800431E4 3C032000 */ lui $v1, 0x2000
|
|
/* 1E5E8 800431E8 8E020000 */ lw $v0, ($s0)
|
|
/* 1E5EC 800431EC 00431024 */ and $v0, $v0, $v1
|
|
/* 1E5F0 800431F0 10400015 */ beqz $v0, .L80043248
|
|
/* 1E5F4 800431F4 4600D306 */ mov.s $f12, $f26
|
|
/* 1E5F8 800431F8 8FA60030 */ lw $a2, 0x30($sp)
|
|
/* 1E5FC 800431FC 8FA70038 */ lw $a3, 0x38($sp)
|
|
/* 1E600 80043200 4600E386 */ mov.s $f14, $f28
|
|
/* 1E604 80043204 E7AC0020 */ swc1 $f12, 0x20($sp)
|
|
/* 1E608 80043208 E7B80024 */ swc1 $f24, 0x24($sp)
|
|
/* 1E60C 8004320C 0C00A710 */ jal func_80029C40
|
|
/* 1E610 80043210 E7AE0028 */ swc1 $f14, 0x28($sp)
|
|
/* 1E614 80043214 0000202D */ daddu $a0, $zero, $zero
|
|
/* 1E618 80043218 27A60024 */ addiu $a2, $sp, 0x24
|
|
/* 1E61C 8004321C 27A70028 */ addiu $a3, $sp, 0x28
|
|
/* 1E620 80043220 27A50020 */ addiu $a1, $sp, 0x20
|
|
/* 1E624 80043224 C7A80044 */ lwc1 $f8, 0x44($sp)
|
|
/* 1E628 80043228 461EF080 */ add.s $f2, $f30, $f30
|
|
/* 1E62C 8004322C E7B60010 */ swc1 $f22, 0x10($sp)
|
|
/* 1E630 80043230 E7A00014 */ swc1 $f0, 0x14($sp)
|
|
/* 1E634 80043234 E7A80018 */ swc1 $f8, 0x18($sp)
|
|
/* 1E638 80043238 0C0376B1 */ jal func_800DDAC4
|
|
/* 1E63C 8004323C E7A2001C */ swc1 $f2, 0x1c($sp)
|
|
/* 1E640 80043240 1440000A */ bnez $v0, .L8004326C
|
|
/* 1E644 80043244 00000000 */ nop
|
|
.L80043248:
|
|
/* 1E648 80043248 C7A60048 */ lwc1 $f6, 0x48($sp)
|
|
/* 1E64C 8004324C 4606B03C */ c.lt.s $f22, $f6
|
|
/* 1E650 80043250 00000000 */ nop
|
|
/* 1E654 80043254 45000005 */ bc1f .L8004326C
|
|
/* 1E658 80043258 00000000 */ nop
|
|
/* 1E65C 8004325C 0200F02D */ daddu $fp, $s0, $zero
|
|
/* 1E660 80043260 0220B02D */ daddu $s6, $s1, $zero
|
|
/* 1E664 80043264 E7B60048 */ swc1 $f22, 0x48($sp)
|
|
/* 1E668 80043268 AFB3002C */ sw $s3, 0x2c($sp)
|
|
.L8004326C:
|
|
/* 1E66C 8004326C 8E620000 */ lw $v0, ($s3)
|
|
/* 1E670 80043270 26520001 */ addiu $s2, $s2, 1
|
|
/* 1E674 80043274 0242102A */ slt $v0, $s2, $v0
|
|
/* 1E678 80043278 1440FF5B */ bnez $v0, .L80042FE8
|
|
/* 1E67C 8004327C 00121080 */ sll $v0, $s2, 2
|
|
.L80043280:
|
|
/* 1E680 80043280 3C02800B */ lui $v0, %hi(D_800B0F0C)
|
|
/* 1E684 80043284 80420F0C */ lb $v0, %lo(D_800B0F0C)($v0)
|
|
/* 1E688 80043288 26B50001 */ addiu $s5, $s5, 1
|
|
/* 1E68C 8004328C 02A2102A */ slt $v0, $s5, $v0
|
|
/* 1E690 80043290 1440FF4B */ bnez $v0, .L80042FC0
|
|
/* 1E694 80043294 00151080 */ sll $v0, $s5, 2
|
|
.L80043298:
|
|
/* 1E698 80043298 8E820004 */ lw $v0, 4($s4)
|
|
/* 1E69C 8004329C 30424000 */ andi $v0, $v0, 0x4000
|
|
/* 1E6A0 800432A0 14400021 */ bnez $v0, .L80043328
|
|
/* 1E6A4 800432A4 0000102D */ daddu $v0, $zero, $zero
|
|
/* 1E6A8 800432A8 13C0001F */ beqz $fp, .L80043328
|
|
/* 1E6AC 800432AC 00000000 */ nop
|
|
/* 1E6B0 800432B0 0C04E4CF */ jal func_8013933C
|
|
/* 1E6B4 800432B4 00000000 */ nop
|
|
/* 1E6B8 800432B8 1440001B */ bnez $v0, .L80043328
|
|
/* 1E6BC 800432BC 0000102D */ daddu $v0, $zero, $zero
|
|
/* 1E6C0 800432C0 8E830000 */ lw $v1, ($s4)
|
|
/* 1E6C4 800432C4 8E8400E0 */ lw $a0, 0xe0($s4)
|
|
/* 1E6C8 800432C8 3C020200 */ lui $v0, 0x200
|
|
/* 1E6CC 800432CC AE9E00C8 */ sw $fp, 0xc8($s4)
|
|
/* 1E6D0 800432D0 00621825 */ or $v1, $v1, $v0
|
|
/* 1E6D4 800432D4 30848000 */ andi $a0, $a0, 0x8000
|
|
/* 1E6D8 800432D8 10800012 */ beqz $a0, .L80043324
|
|
/* 1E6DC 800432DC AE830000 */ sw $v1, ($s4)
|
|
/* 1E6E0 800432E0 0C03A5D6 */ jal func_800E9758
|
|
/* 1E6E4 800432E4 00000000 */ nop
|
|
/* 1E6E8 800432E8 24020001 */ addiu $v0, $zero, 1
|
|
/* 1E6EC 800432EC 24030005 */ addiu $v1, $zero, 5
|
|
/* 1E6F0 800432F0 3C01800B */ lui $at, %hi(D_800B0EF5)
|
|
/* 1E6F4 800432F4 A0230EF5 */ sb $v1, %lo(D_800B0EF5)($at)
|
|
/* 1E6F8 800432F8 A2C30005 */ sb $v1, 5($s6)
|
|
/* 1E6FC 800432FC 8FA8002C */ lw $t0, 0x2c($sp)
|
|
/* 1E700 80043300 0040182D */ daddu $v1, $v0, $zero
|
|
/* 1E704 80043304 3C01800B */ lui $at, %hi(D_800B0F7C)
|
|
/* 1E708 80043308 AC360F7C */ sw $s6, %lo(D_800B0F7C)($at)
|
|
/* 1E70C 8004330C 3C01800B */ lui $at, %hi(D_800B0EF4)
|
|
/* 1E710 80043310 A0230EF4 */ sb $v1, %lo(D_800B0EF4)($at)
|
|
/* 1E714 80043314 3C01800B */ lui $at, %hi(D_800B0F78)
|
|
/* 1E718 80043318 AC280F78 */ sw $t0, %lo(D_800B0F78)($at)
|
|
/* 1E71C 8004331C 08010CCA */ j .L80043328
|
|
/* 1E720 80043320 00000000 */ nop
|
|
.L80043324:
|
|
/* 1E724 80043324 0000102D */ daddu $v0, $zero, $zero
|
|
.L80043328:
|
|
/* 1E728 80043328 8FBF0074 */ lw $ra, 0x74($sp)
|
|
/* 1E72C 8004332C 8FBE0070 */ lw $fp, 0x70($sp)
|
|
/* 1E730 80043330 8FB7006C */ lw $s7, 0x6c($sp)
|
|
/* 1E734 80043334 8FB60068 */ lw $s6, 0x68($sp)
|
|
/* 1E738 80043338 8FB50064 */ lw $s5, 0x64($sp)
|
|
/* 1E73C 8004333C 8FB40060 */ lw $s4, 0x60($sp)
|
|
/* 1E740 80043340 8FB3005C */ lw $s3, 0x5c($sp)
|
|
/* 1E744 80043344 8FB20058 */ lw $s2, 0x58($sp)
|
|
/* 1E748 80043348 8FB10054 */ lw $s1, 0x54($sp)
|
|
/* 1E74C 8004334C 8FB00050 */ lw $s0, 0x50($sp)
|
|
/* 1E750 80043350 D7BE00A0 */ ldc1 $f30, 0xa0($sp)
|
|
/* 1E754 80043354 D7BC0098 */ ldc1 $f28, 0x98($sp)
|
|
/* 1E758 80043358 D7BA0090 */ ldc1 $f26, 0x90($sp)
|
|
/* 1E75C 8004335C D7B80088 */ ldc1 $f24, 0x88($sp)
|
|
/* 1E760 80043360 D7B60080 */ ldc1 $f22, 0x80($sp)
|
|
/* 1E764 80043364 D7B40078 */ ldc1 $f20, 0x78($sp)
|
|
/* 1E768 80043368 03E00008 */ jr $ra
|
|
/* 1E76C 8004336C 27BD00A8 */ addiu $sp, $sp, 0xa8
|