mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
358 lines
18 KiB
ArmAsm
358 lines
18 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_E0022000
|
|
/* 337240 E0022000 27BDFF80 */ addiu $sp, $sp, -0x80
|
|
/* 337244 E0022004 F7B40050 */ sdc1 $f20, 0x50($sp)
|
|
/* 337248 E0022008 4485A000 */ mtc1 $a1, $f20
|
|
/* 33724C E002200C AFB5003C */ sw $s5, 0x3c($sp)
|
|
/* 337250 E0022010 0080A82D */ daddu $s5, $a0, $zero
|
|
/* 337254 E0022014 F7B60058 */ sdc1 $f22, 0x58($sp)
|
|
/* 337258 E0022018 4486B000 */ mtc1 $a2, $f22
|
|
/* 33725C E002201C F7B80060 */ sdc1 $f24, 0x60($sp)
|
|
/* 337260 E0022020 4487C000 */ mtc1 $a3, $f24
|
|
/* 337264 E0022024 24020001 */ addiu $v0, $zero, 1
|
|
/* 337268 E0022028 AFBF0048 */ sw $ra, 0x48($sp)
|
|
/* 33726C E002202C AFB70044 */ sw $s7, 0x44($sp)
|
|
/* 337270 E0022030 AFB60040 */ sw $s6, 0x40($sp)
|
|
/* 337274 E0022034 AFB40038 */ sw $s4, 0x38($sp)
|
|
/* 337278 E0022038 AFB30034 */ sw $s3, 0x34($sp)
|
|
/* 33727C E002203C AFB20030 */ sw $s2, 0x30($sp)
|
|
/* 337280 E0022040 AFB1002C */ sw $s1, 0x2c($sp)
|
|
/* 337284 E0022044 AFB00028 */ sw $s0, 0x28($sp)
|
|
/* 337288 E0022048 F7BE0078 */ sdc1 $f30, 0x78($sp)
|
|
/* 33728C E002204C F7BC0070 */ sdc1 $f28, 0x70($sp)
|
|
/* 337290 E0022050 F7BA0068 */ sdc1 $f26, 0x68($sp)
|
|
/* 337294 E0022054 12A20011 */ beq $s5, $v0, .LE002209C
|
|
/* 337298 E0022058 27A40010 */ addiu $a0, $sp, 0x10
|
|
/* 33729C E002205C 2AA20002 */ slti $v0, $s5, 2
|
|
/* 3372A0 E0022060 10400005 */ beqz $v0, .LE0022078
|
|
/* 3372A4 E0022064 24020002 */ addiu $v0, $zero, 2
|
|
/* 3372A8 E0022068 12A00009 */ beqz $s5, .LE0022090
|
|
/* 3372AC E002206C 24120008 */ addiu $s2, $zero, 8
|
|
/* 3372B0 E0022070 0800882E */ j .LE00220B8
|
|
/* 3372B4 E0022074 00000000 */ nop
|
|
.LE0022078:
|
|
/* 3372B8 E0022078 12A2000B */ beq $s5, $v0, .LE00220A8
|
|
/* 3372BC E002207C 24020003 */ addiu $v0, $zero, 3
|
|
/* 3372C0 E0022080 12A2000C */ beq $s5, $v0, .LE00220B4
|
|
/* 3372C4 E0022084 24120008 */ addiu $s2, $zero, 8
|
|
/* 3372C8 E0022088 0800882E */ j .LE00220B8
|
|
/* 3372CC E002208C 00000000 */ nop
|
|
.LE0022090:
|
|
/* 3372D0 E0022090 C7BE0090 */ lwc1 $f30, 0x90($sp)
|
|
/* 3372D4 E0022094 08008830 */ j .LE00220C0
|
|
/* 3372D8 E0022098 24120024 */ addiu $s2, $zero, 0x24
|
|
.LE002209C:
|
|
/* 3372DC E002209C C7BE0090 */ lwc1 $f30, 0x90($sp)
|
|
/* 3372E0 E00220A0 08008830 */ j .LE00220C0
|
|
/* 3372E4 E00220A4 24120004 */ addiu $s2, $zero, 4
|
|
.LE00220A8:
|
|
/* 3372E8 E00220A8 C7BE0090 */ lwc1 $f30, 0x90($sp)
|
|
/* 3372EC E00220AC 08008830 */ j .LE00220C0
|
|
/* 3372F0 E00220B0 24120008 */ addiu $s2, $zero, 8
|
|
.LE00220B4:
|
|
/* 3372F4 E00220B4 24120004 */ addiu $s2, $zero, 4
|
|
.LE00220B8:
|
|
/* 3372F8 E00220B8 3C014100 */ lui $at, 0x4100
|
|
/* 3372FC E00220BC 4481F000 */ mtc1 $at, $f30
|
|
.LE00220C0:
|
|
/* 337300 E00220C0 26520001 */ addiu $s2, $s2, 1
|
|
/* 337304 E00220C4 3C02E002 */ lui $v0, %hi(func_E0022544)
|
|
/* 337308 E00220C8 24422544 */ addiu $v0, $v0, %lo(func_E0022544)
|
|
/* 33730C E00220CC AC820008 */ sw $v0, 8($a0)
|
|
/* 337310 E00220D0 3C02E002 */ lui $v0, %hi(func_E002254C)
|
|
/* 337314 E00220D4 2442254C */ addiu $v0, $v0, %lo(func_E002254C)
|
|
/* 337318 E00220D8 AC82000C */ sw $v0, 0xc($a0)
|
|
/* 33731C E00220DC 3C02E002 */ lui $v0, %hi(func_E0022960)
|
|
/* 337320 E00220E0 24422960 */ addiu $v0, $v0, %lo(func_E0022960)
|
|
/* 337324 E00220E4 AC820010 */ sw $v0, 0x10($a0)
|
|
/* 337328 E00220E8 24020011 */ addiu $v0, $zero, 0x11
|
|
/* 33732C E00220EC AC800000 */ sw $zero, ($a0)
|
|
/* 337330 E00220F0 AC800014 */ sw $zero, 0x14($a0)
|
|
/* 337334 E00220F4 0C080124 */ jal func_E0200490
|
|
/* 337338 E00220F8 AC820004 */ sw $v0, 4($a0)
|
|
/* 33733C E00220FC 00122040 */ sll $a0, $s2, 1
|
|
/* 337340 E0022100 00922021 */ addu $a0, $a0, $s2
|
|
/* 337344 E0022104 00042100 */ sll $a0, $a0, 4
|
|
/* 337348 E0022108 0040802D */ daddu $s0, $v0, $zero
|
|
/* 33734C E002210C 0C08012C */ jal func_E02004B0
|
|
/* 337350 E0022110 AE120008 */ sw $s2, 8($s0)
|
|
/* 337354 E0022114 0040202D */ daddu $a0, $v0, $zero
|
|
/* 337358 E0022118 14800003 */ bnez $a0, .LE0022128
|
|
/* 33735C E002211C AE04000C */ sw $a0, 0xc($s0)
|
|
.LE0022120:
|
|
/* 337360 E0022120 08008848 */ j .LE0022120
|
|
/* 337364 E0022124 00000000 */ nop
|
|
.LE0022128:
|
|
/* 337368 E0022128 2402001E */ addiu $v0, $zero, 0x1e
|
|
/* 33736C E002212C E4940004 */ swc1 $f20, 4($a0)
|
|
/* 337370 E0022130 E4960008 */ swc1 $f22, 8($a0)
|
|
/* 337374 E0022134 E498000C */ swc1 $f24, 0xc($a0)
|
|
/* 337378 E0022138 AC800020 */ sw $zero, 0x20($a0)
|
|
/* 33737C E002213C AC950000 */ sw $s5, ($a0)
|
|
/* 337380 E0022140 AC820024 */ sw $v0, 0x24($a0)
|
|
/* 337384 E0022144 24110001 */ addiu $s1, $zero, 1
|
|
/* 337388 E0022148 0232102A */ slt $v0, $s1, $s2
|
|
/* 33738C E002214C 104000EC */ beqz $v0, .LE0022500
|
|
/* 337390 E0022150 24840030 */ addiu $a0, $a0, 0x30
|
|
/* 337394 E0022154 3C03E002 */ lui $v1, %hi(D_E0022D30)
|
|
/* 337398 E0022158 24632D30 */ addiu $v1, $v1, %lo(D_E0022D30)
|
|
/* 33739C E002215C 3C01447A */ lui $at, 0x447a
|
|
/* 3373A0 E0022160 4481E000 */ mtc1 $at, $f28
|
|
/* 3373A4 E0022164 C7A60090 */ lwc1 $f6, 0x90($sp)
|
|
/* 3373A8 E0022168 00151080 */ sll $v0, $s5, 2
|
|
/* 3373AC E002216C 461C3002 */ mul.s $f0, $f6, $f28
|
|
/* 3373B0 E0022170 00000000 */ nop
|
|
/* 3373B4 E0022174 0043B821 */ addu $s7, $v0, $v1
|
|
/* 3373B8 E0022178 2654FFFF */ addiu $s4, $s2, -1
|
|
/* 3373BC E002217C 24900020 */ addiu $s0, $a0, 0x20
|
|
/* 3373C0 E0022180 24130002 */ addiu $s3, $zero, 2
|
|
/* 3373C4 E0022184 4600018D */ trunc.w.s $f6, $f0
|
|
/* 3373C8 E0022188 44163000 */ mfc1 $s6, $f6
|
|
.LE002218C:
|
|
/* 3373CC E002218C 0C080138 */ jal func_E02004E0
|
|
/* 3373D0 E0022190 02C0202D */ daddu $a0, $s6, $zero
|
|
/* 3373D4 E0022194 461CF002 */ mul.s $f0, $f30, $f28
|
|
/* 3373D8 E0022198 00000000 */ nop
|
|
/* 3373DC E002219C 4600018D */ trunc.w.s $f6, $f0
|
|
/* 3373E0 E00221A0 44043000 */ mfc1 $a0, $f6
|
|
/* 3373E4 E00221A4 44820000 */ mtc1 $v0, $f0
|
|
/* 3373E8 E00221A8 00000000 */ nop
|
|
/* 3373EC E00221AC 46800020 */ cvt.s.w $f0, $f0
|
|
/* 3373F0 E00221B0 0C080138 */ jal func_E02004E0
|
|
/* 3373F4 E00221B4 461C0503 */ div.s $f20, $f0, $f28
|
|
/* 3373F8 E00221B8 44820000 */ mtc1 $v0, $f0
|
|
/* 3373FC E00221BC 00000000 */ nop
|
|
/* 337400 E00221C0 46800020 */ cvt.s.w $f0, $f0
|
|
/* 337404 E00221C4 2EA20005 */ sltiu $v0, $s5, 5
|
|
/* 337408 E00221C8 10400088 */ beqz $v0, .LE00223EC
|
|
/* 33740C E00221CC 461C0583 */ div.s $f22, $f0, $f28
|
|
/* 337410 E00221D0 8EE20000 */ lw $v0, ($s7)
|
|
/* 337414 E00221D4 00400008 */ jr $v0
|
|
/* 337418 E00221D8 00000000 */ nop
|
|
/* 33741C E00221DC 44942000 */ mtc1 $s4, $f4
|
|
/* 337420 E00221E0 00000000 */ nop
|
|
/* 337424 E00221E4 46802120 */ cvt.s.w $f4, $f4
|
|
/* 337428 E00221E8 3C0143B4 */ lui $at, 0x43b4
|
|
/* 33742C E00221EC 44813000 */ mtc1 $at, $f6
|
|
/* 337430 E00221F0 44911000 */ mtc1 $s1, $f2
|
|
/* 337434 E00221F4 00000000 */ nop
|
|
/* 337438 E00221F8 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 33743C E00221FC 46043003 */ div.s $f0, $f6, $f4
|
|
/* 337440 E0022200 46020682 */ mul.s $f26, $f0, $f2
|
|
/* 337444 E0022204 00000000 */ nop
|
|
/* 337448 E0022208 3C0144E1 */ lui $at, 0x44e1
|
|
/* 33744C E002220C 4481B000 */ mtc1 $at, $f22
|
|
/* 337450 E0022210 00000000 */ nop
|
|
/* 337454 E0022214 4604B583 */ div.s $f22, $f22, $f4
|
|
/* 337458 E0022218 4602B582 */ mul.s $f22, $f22, $f2
|
|
/* 33745C E002221C 00000000 */ nop
|
|
/* 337460 E0022220 AE00FFF8 */ sw $zero, -8($s0)
|
|
/* 337464 E0022224 3C0142B4 */ lui $at, 0x42b4
|
|
/* 337468 E0022228 44810000 */ mtc1 $at, $f0
|
|
/* 33746C E002222C 4600D306 */ mov.s $f12, $f26
|
|
/* 337470 E0022230 0C080140 */ jal func_E0200500
|
|
/* 337474 E0022234 4600B581 */ sub.s $f22, $f22, $f0
|
|
/* 337478 E0022238 46000506 */ mov.s $f20, $f0
|
|
/* 33747C E002223C 0C080140 */ jal func_E0200500
|
|
/* 337480 E0022240 4600B306 */ mov.s $f12, $f22
|
|
/* 337484 E0022244 3C014170 */ lui $at, 0x4170
|
|
/* 337488 E0022248 44813000 */ mtc1 $at, $f6
|
|
/* 33748C E002224C 00000000 */ nop
|
|
/* 337490 E0022250 46060002 */ mul.s $f0, $f0, $f6
|
|
/* 337494 E0022254 00000000 */ nop
|
|
/* 337498 E0022258 32230001 */ andi $v1, $s1, 1
|
|
/* 33749C E002225C 3C0142AA */ lui $at, 0x42aa
|
|
/* 3374A0 E0022260 44813000 */ mtc1 $at, $f6
|
|
/* 3374A4 E0022264 00031080 */ sll $v0, $v1, 2
|
|
/* 3374A8 E0022268 46003001 */ sub.s $f0, $f6, $f0
|
|
/* 3374AC E002226C 00431021 */ addu $v0, $v0, $v1
|
|
/* 3374B0 E0022270 4482C000 */ mtc1 $v0, $f24
|
|
/* 3374B4 E0022274 00000000 */ nop
|
|
/* 3374B8 E0022278 4680C620 */ cvt.s.w $f24, $f24
|
|
/* 3374BC E002227C 46180001 */ sub.s $f0, $f0, $f24
|
|
/* 3374C0 E0022280 4600A502 */ mul.s $f20, $f20, $f0
|
|
/* 3374C4 E0022284 00000000 */ nop
|
|
/* 3374C8 E0022288 3C0142C8 */ lui $at, 0x42c8
|
|
/* 3374CC E002228C 44813000 */ mtc1 $at, $f6
|
|
/* 3374D0 E0022290 00000000 */ nop
|
|
/* 3374D4 E0022294 4606A503 */ div.s $f20, $f20, $f6
|
|
/* 3374D8 E0022298 C7A60090 */ lwc1 $f6, 0x90($sp)
|
|
/* 3374DC E002229C 4606A502 */ mul.s $f20, $f20, $f6
|
|
/* 3374E0 E00222A0 00000000 */ nop
|
|
/* 3374E4 E00222A4 4600D306 */ mov.s $f12, $f26
|
|
/* 3374E8 E00222A8 0C080144 */ jal func_E0200510
|
|
/* 3374EC E00222AC E614FFF0 */ swc1 $f20, -0x10($s0)
|
|
/* 3374F0 E00222B0 4600B306 */ mov.s $f12, $f22
|
|
/* 3374F4 E00222B4 0C080140 */ jal func_E0200500
|
|
/* 3374F8 E00222B8 46000506 */ mov.s $f20, $f0
|
|
/* 3374FC E00222BC 3C014170 */ lui $at, 0x4170
|
|
/* 337500 E00222C0 44813000 */ mtc1 $at, $f6
|
|
/* 337504 E00222C4 00000000 */ nop
|
|
/* 337508 E00222C8 46060002 */ mul.s $f0, $f0, $f6
|
|
/* 33750C E00222CC 00000000 */ nop
|
|
/* 337510 E00222D0 3C0142AA */ lui $at, 0x42aa
|
|
/* 337514 E00222D4 44813000 */ mtc1 $at, $f6
|
|
/* 337518 E00222D8 00000000 */ nop
|
|
/* 33751C E00222DC 46003001 */ sub.s $f0, $f6, $f0
|
|
/* 337520 E00222E0 46180001 */ sub.s $f0, $f0, $f24
|
|
/* 337524 E00222E4 4600A502 */ mul.s $f20, $f20, $f0
|
|
/* 337528 E00222E8 00000000 */ nop
|
|
/* 33752C E00222EC 3C0142C8 */ lui $at, 0x42c8
|
|
/* 337530 E00222F0 44813000 */ mtc1 $at, $f6
|
|
/* 337534 E00222F4 00000000 */ nop
|
|
/* 337538 E00222F8 4606A503 */ div.s $f20, $f20, $f6
|
|
/* 33753C E00222FC C7A60090 */ lwc1 $f6, 0x90($sp)
|
|
/* 337540 E0022300 4606A502 */ mul.s $f20, $f20, $f6
|
|
/* 337544 E0022304 00000000 */ nop
|
|
/* 337548 E0022308 AE00FFEC */ sw $zero, -0x14($s0)
|
|
/* 33754C E002230C AE000008 */ sw $zero, 8($s0)
|
|
/* 337550 E0022310 0800893B */ j .LE00224EC
|
|
/* 337554 E0022314 E614FFF4 */ swc1 $f20, -0xc($s0)
|
|
/* 337558 E0022318 0C080138 */ jal func_E02004E0
|
|
/* 33755C E002231C 24040167 */ addiu $a0, $zero, 0x167
|
|
/* 337560 E0022320 44941000 */ mtc1 $s4, $f2
|
|
/* 337564 E0022324 00000000 */ nop
|
|
/* 337568 E0022328 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 33756C E002232C 3C0143B4 */ lui $at, 0x43b4
|
|
/* 337570 E0022330 44813000 */ mtc1 $at, $f6
|
|
/* 337574 E0022334 44910000 */ mtc1 $s1, $f0
|
|
/* 337578 E0022338 00000000 */ nop
|
|
/* 33757C E002233C 46800020 */ cvt.s.w $f0, $f0
|
|
/* 337580 E0022340 46023083 */ div.s $f2, $f6, $f2
|
|
/* 337584 E0022344 46001082 */ mul.s $f2, $f2, $f0
|
|
/* 337588 E0022348 00000000 */ nop
|
|
/* 33758C E002234C 44820000 */ mtc1 $v0, $f0
|
|
/* 337590 E0022350 00000000 */ nop
|
|
/* 337594 E0022354 46800020 */ cvt.s.w $f0, $f0
|
|
/* 337598 E0022358 32220001 */ andi $v0, $s1, 1
|
|
/* 33759C E002235C 10400014 */ beqz $v0, .LE00223B0
|
|
/* 3375A0 E0022360 46001680 */ add.s $f26, $f2, $f0
|
|
/* 3375A4 E0022364 0C080138 */ jal func_E02004E0
|
|
/* 3375A8 E0022368 24040032 */ addiu $a0, $zero, 0x32
|
|
/* 3375AC E002236C 3C031062 */ lui $v1, 0x1062
|
|
/* 3375B0 E0022370 34634DD3 */ ori $v1, $v1, 0x4dd3
|
|
/* 3375B4 E0022374 00430018 */ mult $v0, $v1
|
|
/* 3375B8 E0022378 000217C3 */ sra $v0, $v0, 0x1f
|
|
/* 3375BC E002237C 3C01E002 */ lui $at, %hi(D_E0022D48)
|
|
/* 3375C0 E0022380 D4222D48 */ ldc1 $f2, %lo(D_E0022D48)($at)
|
|
/* 3375C4 E0022384 00004010 */ mfhi $t0
|
|
/* 3375C8 E0022388 00081983 */ sra $v1, $t0, 6
|
|
/* 3375CC E002238C 00621823 */ subu $v1, $v1, $v0
|
|
/* 3375D0 E0022390 44830000 */ mtc1 $v1, $f0
|
|
/* 3375D4 E0022394 00000000 */ nop
|
|
/* 3375D8 E0022398 46800021 */ cvt.d.w $f0, $f0
|
|
/* 3375DC E002239C 46220000 */ add.d $f0, $f0, $f2
|
|
/* 3375E0 E00223A0 46200007 */ neg.d $f0, $f0
|
|
/* 3375E4 E00223A4 46200020 */ cvt.s.d $f0, $f0
|
|
/* 3375E8 E00223A8 080088ED */ j .LE00223B4
|
|
/* 3375EC E00223AC E600FFF8 */ swc1 $f0, -8($s0)
|
|
.LE00223B0:
|
|
/* 3375F0 E00223B0 AE00FFF8 */ sw $zero, -8($s0)
|
|
.LE00223B4:
|
|
/* 3375F4 E00223B4 4600D306 */ mov.s $f12, $f26
|
|
/* 3375F8 E00223B8 AE00FFF0 */ sw $zero, -0x10($s0)
|
|
/* 3375FC E00223BC 0C080140 */ jal func_E0200500
|
|
/* 337600 E00223C0 AE00FFF4 */ sw $zero, -0xc($s0)
|
|
/* 337604 E00223C4 4600A002 */ mul.s $f0, $f20, $f0
|
|
/* 337608 E00223C8 00000000 */ nop
|
|
/* 33760C E00223CC 4600D306 */ mov.s $f12, $f26
|
|
/* 337610 E00223D0 0C080144 */ jal func_E0200510
|
|
/* 337614 E00223D4 E600FFE4 */ swc1 $f0, -0x1c($s0)
|
|
/* 337618 E00223D8 3C035555 */ lui $v1, 0x5555
|
|
/* 33761C E00223DC 34635556 */ ori $v1, $v1, 0x5556
|
|
/* 337620 E00223E0 02230018 */ mult $s1, $v1
|
|
/* 337624 E00223E4 0800892B */ j .LE00224AC
|
|
/* 337628 E00223E8 2662001E */ addiu $v0, $s3, 0x1e
|
|
.LE00223EC:
|
|
/* 33762C E00223EC 0C080138 */ jal func_E02004E0
|
|
/* 337630 E00223F0 24040167 */ addiu $a0, $zero, 0x167
|
|
/* 337634 E00223F4 44941000 */ mtc1 $s4, $f2
|
|
/* 337638 E00223F8 00000000 */ nop
|
|
/* 33763C E00223FC 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 337640 E0022400 3C0143B4 */ lui $at, 0x43b4
|
|
/* 337644 E0022404 44813000 */ mtc1 $at, $f6
|
|
/* 337648 E0022408 44910000 */ mtc1 $s1, $f0
|
|
/* 33764C E002240C 00000000 */ nop
|
|
/* 337650 E0022410 46800020 */ cvt.s.w $f0, $f0
|
|
/* 337654 E0022414 46023083 */ div.s $f2, $f6, $f2
|
|
/* 337658 E0022418 46001082 */ mul.s $f2, $f2, $f0
|
|
/* 33765C E002241C 00000000 */ nop
|
|
/* 337660 E0022420 24040032 */ addiu $a0, $zero, 0x32
|
|
/* 337664 E0022424 44820000 */ mtc1 $v0, $f0
|
|
/* 337668 E0022428 00000000 */ nop
|
|
/* 33766C E002242C 46800020 */ cvt.s.w $f0, $f0
|
|
/* 337670 E0022430 0C080138 */ jal func_E02004E0
|
|
/* 337674 E0022434 46001680 */ add.s $f26, $f2, $f0
|
|
/* 337678 E0022438 3C031062 */ lui $v1, 0x1062
|
|
/* 33767C E002243C 34634DD3 */ ori $v1, $v1, 0x4dd3
|
|
/* 337680 E0022440 00430018 */ mult $v0, $v1
|
|
/* 337684 E0022444 3C01E002 */ lui $at, %hi(D_E0022D50)
|
|
/* 337688 E0022448 D4222D50 */ ldc1 $f2, %lo(D_E0022D50)($at)
|
|
/* 33768C E002244C 000217C3 */ sra $v0, $v0, 0x1f
|
|
/* 337690 E0022450 AE00FFF0 */ sw $zero, -0x10($s0)
|
|
/* 337694 E0022454 00004010 */ mfhi $t0
|
|
/* 337698 E0022458 00081983 */ sra $v1, $t0, 6
|
|
/* 33769C E002245C 00621823 */ subu $v1, $v1, $v0
|
|
/* 3376A0 E0022460 44830000 */ mtc1 $v1, $f0
|
|
/* 3376A4 E0022464 00000000 */ nop
|
|
/* 3376A8 E0022468 46800021 */ cvt.d.w $f0, $f0
|
|
/* 3376AC E002246C 46220000 */ add.d $f0, $f0, $f2
|
|
/* 3376B0 E0022470 AE00FFF4 */ sw $zero, -0xc($s0)
|
|
/* 3376B4 E0022474 4600D306 */ mov.s $f12, $f26
|
|
/* 3376B8 E0022478 46200007 */ neg.d $f0, $f0
|
|
/* 3376BC E002247C 46200020 */ cvt.s.d $f0, $f0
|
|
/* 3376C0 E0022480 0C080140 */ jal func_E0200500
|
|
/* 3376C4 E0022484 E600FFF8 */ swc1 $f0, -8($s0)
|
|
/* 3376C8 E0022488 4600A002 */ mul.s $f0, $f20, $f0
|
|
/* 3376CC E002248C 00000000 */ nop
|
|
/* 3376D0 E0022490 4600D306 */ mov.s $f12, $f26
|
|
/* 3376D4 E0022494 0C080144 */ jal func_E0200510
|
|
/* 3376D8 E0022498 E600FFE4 */ swc1 $f0, -0x1c($s0)
|
|
/* 3376DC E002249C 3C035555 */ lui $v1, 0x5555
|
|
/* 3376E0 E00224A0 34635556 */ ori $v1, $v1, 0x5556
|
|
/* 3376E4 E00224A4 02230018 */ mult $s1, $v1
|
|
/* 3376E8 E00224A8 26620012 */ addiu $v0, $s3, 0x12
|
|
.LE00224AC:
|
|
/* 3376EC E00224AC 00111FC3 */ sra $v1, $s1, 0x1f
|
|
/* 3376F0 E00224B0 3C013F80 */ lui $at, 0x3f80
|
|
/* 3376F4 E00224B4 44811000 */ mtc1 $at, $f2
|
|
/* 3376F8 E00224B8 4600B002 */ mul.s $f0, $f22, $f0
|
|
/* 3376FC E00224BC 00000000 */ nop
|
|
/* 337700 E00224C0 AE00FFEC */ sw $zero, -0x14($s0)
|
|
/* 337704 E00224C4 AE020004 */ sw $v0, 4($s0)
|
|
/* 337708 E00224C8 AE000000 */ sw $zero, ($s0)
|
|
/* 33770C E00224CC E602FFFC */ swc1 $f2, -4($s0)
|
|
/* 337710 E00224D0 00004010 */ mfhi $t0
|
|
/* 337714 E00224D4 01031823 */ subu $v1, $t0, $v1
|
|
/* 337718 E00224D8 00031040 */ sll $v0, $v1, 1
|
|
/* 33771C E00224DC 00431021 */ addu $v0, $v0, $v1
|
|
/* 337720 E00224E0 02221023 */ subu $v0, $s1, $v0
|
|
/* 337724 E00224E4 E600FFE8 */ swc1 $f0, -0x18($s0)
|
|
/* 337728 E00224E8 AE020008 */ sw $v0, 8($s0)
|
|
.LE00224EC:
|
|
/* 33772C E00224EC 26730002 */ addiu $s3, $s3, 2
|
|
/* 337730 E00224F0 26310001 */ addiu $s1, $s1, 1
|
|
/* 337734 E00224F4 0232102A */ slt $v0, $s1, $s2
|
|
/* 337738 E00224F8 1440FF24 */ bnez $v0, .LE002218C
|
|
/* 33773C E00224FC 26100030 */ addiu $s0, $s0, 0x30
|
|
.LE0022500:
|
|
/* 337740 E0022500 8FBF0048 */ lw $ra, 0x48($sp)
|
|
/* 337744 E0022504 8FB70044 */ lw $s7, 0x44($sp)
|
|
/* 337748 E0022508 8FB60040 */ lw $s6, 0x40($sp)
|
|
/* 33774C E002250C 8FB5003C */ lw $s5, 0x3c($sp)
|
|
/* 337750 E0022510 8FB40038 */ lw $s4, 0x38($sp)
|
|
/* 337754 E0022514 8FB30034 */ lw $s3, 0x34($sp)
|
|
/* 337758 E0022518 8FB20030 */ lw $s2, 0x30($sp)
|
|
/* 33775C E002251C 8FB1002C */ lw $s1, 0x2c($sp)
|
|
/* 337760 E0022520 8FB00028 */ lw $s0, 0x28($sp)
|
|
/* 337764 E0022524 D7BE0078 */ ldc1 $f30, 0x78($sp)
|
|
/* 337768 E0022528 D7BC0070 */ ldc1 $f28, 0x70($sp)
|
|
/* 33776C E002252C D7BA0068 */ ldc1 $f26, 0x68($sp)
|
|
/* 337770 E0022530 D7B80060 */ ldc1 $f24, 0x60($sp)
|
|
/* 337774 E0022534 D7B60058 */ ldc1 $f22, 0x58($sp)
|
|
/* 337778 E0022538 D7B40050 */ ldc1 $f20, 0x50($sp)
|
|
/* 33777C E002253C 03E00008 */ jr $ra
|
|
/* 337780 E0022540 27BD0080 */ addiu $sp, $sp, 0x80
|